i was trying to use a usb to serial cable with Prolific PL2303 chipset.
i did install the FTDI driver stock from dm920 using the package manager.
i managed to get the serial port listed in the /dev/ttyUSB0 he after the below commands.
# modprobe ftdi-sio
# echo 0403 f248 > /sys/bus/usb-serial/drivers/ftdi_sio/new_id
After this the i can see the below ports in /dev
crw-rw---- 1 root dialout 188, 0 Mar 31 17:34 ttyUSB0
drwxr-xr-x 4 root root 80 Mar 31 17:34 serial
drwxr-xr-x 2 root root 4840 Mar 31 17:34 char
dmesg listed the below lines
[ 1578.723158] ftdi_sio 6-1:1.0: FTDI USB Serial Device converter detected
[ 1578.723353] usb 6-1: Detected FT8U232AM
[ 1578.723364] usb 6-1: Number of endpoints 3
[ 1578.723374] usb 6-1: Endpoint 1 MaxPacketSize 10
[ 1578.723381] usb 6-1: Endpoint 2 MaxPacketSize 64
[ 1578.723388] usb 6-1: Endpoint 3 MaxPacketSize 64
[ 1578.723394] usb 6-1: Setting MaxPacketSize 64
[ 1578.727500] ftdi_sio ttyUSB0: Unable to read latency timer: -32
[ 1578.728216] ftdi_sio ttyUSB0: Unable to write latency timer: -32
[ 1578.728417] usb 6-1: FTDI USB Serial Device converter now attached to ttyUSB0
lsusb -v listed as below
Bus 006 Device 002: ID 067b:2303
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x067b
idProduct 0x2303
bcdDevice 3.00
iManufacturer 1 Prolific Technology Inc.
iProduct 2 USB-Serial Controller
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
but when i run any serial loger commands such as cat /dev/ttyUSB0 i get the below error in dmesg
[ 1579.805161] usb 6-1: usbfs: USBDEVFS_CONTROL failed cmd enigma2 rqt 128 rq 6 len 255 ret -62
[ 1667.640153] ftdi_sio ttyUSB0: ftdi_set_termios FAILED to set databits/stopbits/parity
[ 1667.642267] ftdi_sio ttyUSB0: ftdi_set_termios urb failed to set baudrate
[ 1667.644155] ftdi_sio ttyUSB0: urb failed to clear flow control
[ 1672.640168] ftdi_sio ttyUSB0: failed to get modem status: -32
[ 1672.642212] ftdi_sio ttyUSB0: error from flowcontrol urb
i know the solution is to put the correct pl2303.ko file for arm7 and modprobe it.
can someone help please.