cubieplayer / Cubian

Debian for Cubieboard
http://cubian.org
271 stars 49 forks source link

FT232 USB-Serial (UART) IC not working #304

Open valentin-fischer opened 10 years ago

valentin-fischer commented 10 years ago

Hi,

I have a FT232 USB-Serial (UART) IC plugged in my cubieboard2 and using cubian with kernel 3.4.79-sun7i that refuses to work. It is listed and seen by the kernel but it's not receiving anything over the ttyUSB0 port. I have connected to it a LED sign that is receiving messages over serial. If anyone has any suggestions, I would be very grateful.

lsusb

root@monitor:~# lsusb Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 004 Device 002: ID 046d:c52f Logitech, Inc. Wireless Mouse M305 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 148f:5572 Ralink Technology, Corp. Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver

dmesg messages

[ 1269.169777] usbcore: registered new interface driver ftdi_sio [ 1269.178975] USB Serial support registered for FTDI USB Serial Device [ 1269.185245] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected [ 1269.190114] usb 1-1.3: Detected FT232BM [ 1269.193436] usb 1-1.3: Number of endpoints 2 [ 1269.198579] usb 1-1.3: Endpoint 1 MaxPacketSize 64 [ 1269.202789] usb 1-1.3: Endpoint 2 MaxPacketSize 64 [ 1269.206427] usb 1-1.3: Setting MaxPacketSize 64 [ 1269.216765] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0

[ 1269.223873] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver

lsmod

Module Size Used by ftdi_sio 34090 0 cpufreq_userspace 3532 0 cpufreq_conservative 5720 0 cpufreq_fantasy 3855 0 cpufreq_powersave 1242 0 mali 113927 0 ump 57111 1 mali gpio_sunxi 9258 0

rt5572sta 778570 1

/dev/ttyUSB0 permissions

ls -lah /dev/ttyUSB0

crw-rw---T 1 root dialout 188, 0 May 15 14:06 /dev/ttyUSB0

stty settings

stty -F /dev/ttyUSB0 -cstopb -parenb -parity raw speed 2400

valentin-fischer commented 10 years ago

Could this be because usbserial (usbserial.ko) module is not present in the kernel? I don't see it in /lib/modules.