LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PL2303 & Pl2303x usb serial device (https://www.linuxquestions.org/questions/linux-newbie-8/pl2303-and-pl2303x-usb-serial-device-614758/)

alokm 01-19-2008 09:47 AM

PL2303 & Pl2303x usb serial device
 
hi,
I've been looking for a way to connect my nokia 5070 with the cable CA-42 to act as modem on my computer running fedora 6.
It picks up the PL2303 but nothing further. From all that I have been able to figure out on google is that I have PL 2303X and not PL2303. The 2303 driver is already there I presume but what can I do to connect 2303x ???

I cannot detect the phone through PPP??
What am I doing wrong

I presume it is 2303X from the
bMaxPacketSize0 64......
read on the forum & now what......




# lsusb
Bus 001 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 002: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
Bus 002 Device 001: ID 0000:0000

-----------------------------------------

# lsusb -v -d 067b:2303

Bus 001 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x067b Prolific Technology, Inc.
idProduct 0x2303 PL2303 Serial Port
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
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x000a 1x 10 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterva

ThanX
Alok

mal205 02-09-2008 09:56 PM

I found this answer on a Ubuntu forum, here: http://ubuntuforums.org/archive/index.php/t-322770.html

Quote:

Hi,
I installed ubuntu to use a tool not included in windows, and linux is much better the last time I installed linux.
I'm trying to work with a PL-2303X serial adaptar too, and came to this thread.

Found this link http://koti.mbnet.fi/lonnberg/pl2303x.html, but my problem was not to link to /dev/ttyS0 with the command ln -b /dev/ttyUSB0 /dev/ttyS0 :D The following patch modifies the driver for the Prolific PL-2303 USB-serial adapter to add support for the highly similar but incompatible PL-2303X adapter. The PL-2303X has the same vendor ID and product ID as the older PL-2303, which means that it will be incorrectly detected as a PL-2303 by the driver currently in the Linux kernel.

Attempting to use a PL-2303X as a PL-2303 simply results in an inability to transfer data through the serial port. In other words, nothing happens. This patch autodetects whether a PL-2303 or a PL-2303X is used and changes the initialisation sequence accordingly.

The PL-2303X can be distinguished from a PL-2303 by checking bMaxPacketSize0 for the device using lsusb -v -d 067b:2303 (as root). If bMaxPacketSize0 is 64, you probably have a PL-2303X and need this patch.The main kernel tree includes PL-2303X support starting from 2.6.8 (I can confirm that PL-2303X works on 2.6.11rc2 without my patch), making this patch unnecessary.

ubmac
Hope that helps.


All times are GMT -5. The time now is 04:57 PM.