Prolific technology USB serial driver Linux
When you connect USB (or serial to USB) to your Linux device and if it recognises the USB but A in a little different manner e.g usbdev1.XX and
Not in the expected format like ttyUSB0 (ttyUSB1 , ttyUSB2 .....) . I am lising Out the the Steps which I have followed to Solve the problem.
First I checked What are the Devices are present in my dev directory by following command
# ls /dev/
and the response is as follows
usbdev1.1
usbdev1.2
usbdev1.3
usbdev1.4
usbdev1.5
ttyS0
ttyS1
ttyS2
ttyS3
Now I Give the Following command to Know the Devices specifications
# lsusb
The response is as follows
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1a40:0101 TERMINUS TECHNOLOGY INC.
Bus 001 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
So I know which device I am looking for . The Device is "Bus 001 Device 010: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port"
and its 'usbdev1.3'
Now I Give the followin command to find if the PL2303 driver is present on my kernal or not
# find /lib/modules -name *2303*
this replys me
/lib/modules/3.2.29-00165-gd626b6d/kernel/drivers/usb/serial/pl2303.ko
So the .ko file is present .Now All I need to do is to Initialise the pl2303.ko to recognize my USB as ttyUSB*
Give the following command to initialize the pl2303.ko
# insmod /lib/modules/3.2.29-00165-gd626b6d/kernel/drivers/usb/serial/pl2303.ko
Now once again check fot the device
# ls /dev/
and This time I gives me the response
usbdev1.1
usbdev1.2
usbdev1.4
usbdev1.5
ttyS0
ttyS1
ttyS2
ttyS3
ttyUSB1
Now I can Use ttyUSB1 as normar USB .
I also created the bash file with the content
#!/bin/bash
insmod /lib/modules/3.2.29-00165-gd626b6d/kernel/drivers/usb/serial/pl2303.ko
and put it into the /etc/profile.d/ folder with 'chmod a+x' privlages
-----------------------------------------------------------
Following Problem
insmod: error inserting 'pl2303.ko'
insmod error -- Invalid module format
prolific technology usb serial driver linux
Prolific USB-to-Serial Comm Port LINUX DRIVER
prolific usb serial driver linux ubuntu fedora
Fedora Hardware :: Prolific Pl2303 + Serial Modem - Dials But PPP Won't Authenticate
map usbdev1.xx to ttyusb
As a side note, I went to the root file system, there is no /dev/ttyUSB anything...
There is /dev/usbdev1.1, /dev/usbdev1.2, etc...does this help??
usb1
usb2
usb3
usbdev1.1_epXX <-Several
usbdev1.2_epXX <-Several
usbdev2.1_epXX <- Several
usbdev3.1_epXX <- Several
Bus 003 Device 009: ID 1199:6880 Sierra Wireless, Inc.
Bus 003 Device 001: ID 1d6b:001
Bus 002 Device 001: ID 1d6b:001
Bus 003 Device 001: ID 1d6b:002
USB Serial Converter support
insmod: can't read 'usbserial': No such file or directory
insmod: error inserting 'usbserial.ko':
insmod: Invalid module format
copy linux ubuntu usb driver from one computer to another
modprobe vendor=0x067b product=0x2303
activate PL2303 Serial Port linux
PL2303 serial port.
0 comments:
Post a Comment