Jump to content

Recommended Posts

Posted

I have attached sc16is740 to the I2C port of BPI. sc16is740 is a device that lets me work with i2c like a uart. The device is detected with the comand:

sudo i2cdetect -y 0

nº48

00: – -- – -- – -- – -- – -- – -- –

10: – -- – -- – -- – -- – -- – -- – -- – --

20: – -- – -- – -- – -- – -- – -- – -- – --

30: – -- – -- – -- – -- – -- – -- – -- – --

40: 40 – -- – -- – -- – 48 – -- – -- – -- –

50: – -- – -- – -- – -- – -- – -- – -- – --

60: – -- – -- – -- – -- – -- – -- – -- – --

70: 70 – -- – -- – -- –

Then I have load the driver with: sudo  modprobe sc16is7xx 0x48

Using:

sudo  modprobe sc16is7xx 

I see the module sc16is7xx loaded using:

sudo lsmod

However, the system does not created a new interface like ttySC0 and I do not know how to tell the driver which IRQ Pin should use.

I have tested also:

sudo modprobe i2c:sc16is740  int_pin=4 addr=0x48

Then, I have added the module to: /etc/modules-load.d/module_name.conf
 

I am missing some steps.

Could someone help to load this driver?


 

PSD: I have try also to load this driver in an Radxa Zero. Same result

Thanks

Posted

sudo cat /proc/tty/drivers
/dev/tty             /dev/tty        5       0 system:/dev/tty
/dev/console         /dev/console    5       1 system:console
dev/ptmx            /dev/ptmx       5       2 system
/dev/vc/0            /dev/vc/0       4       0 system:vtmaster
usbserial            /dev/ttyUSB   188 0-511 serial
g_serial             /dev/ttyGS    242 0-7 serial
unknown              /dev/ttySC    243 0-7 serial
serial               /dev/ttyS       4 64-71 serial
pty_slave            /dev/pts      136 0-1048575 pty:slave
pty_master           /dev/ptm      128 0-1048575 pty:master
unknown              /dev/tty        4 1-63 console

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines