Skip to contentSkip to conversation

cannot reliably detect USB device

DISCUSSION Greg KH 4 participants 5 messages Dec 23, 2008 – Jan 5, 2009 1 message not in the archive

lore
Share & tools
lore

Greg KH

author
#1 lore raw
In reply to a message not in the archive
Quoted 3 lines · Wu Fengguang

Hi Greg,

I have a pl2303 USB-RS232 converter that cannot be reliably detected.

Faulty hardware? Flaky cables? Bad connections? If this is reproducable for the same device on multiple machines, I'd just go buy a new device :)

Other than that, sorry, I don't have any ideas.

greg k-h

#2 lore raw
Quoted 8 lines · Greg KH
Quoted 3 lines · Wu Fengguang

Hi Greg,

I have a pl2303 USB-RS232 converter that cannot be reliably detected.

Faulty hardware? Flaky cables? Bad connections? If this is reproducable for the same device on multiple machines, I'd just go buy a new device :)

I decided to give it a last try before planning a replacement - then I find that /dev/ttyUSB0 could be created if I enlarge the retry times.

It could take 10 seconds to get a valid response. It must go crazy.

Thanks,
Fengguang

#3 lore raw

Hi,

Quoted 8 lines
Quoted 7 lines
Quoted 2 lines

I have a pl2303 USB-RS232 converter that cannot be reliably detected.

Faulty hardware? Flaky cables? Bad connections? If this is reproducable for the same device on multiple machines, I'd just go buy a
new device :)

Quoted 4 lines

I decided to give it a last try before planning a replacement - then I find that /dev/ttyUSB0 could be created if I enlarge the retry times.

It could take 10 seconds to get a valid response. It must go crazy.

Detected _instantly_ on 2.6.28 here:

[59750.560209] usb 1-1: USB disconnect, address 5
[59750.561888] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[59750.561970] pl2303 1-1:1.0: device disconnected
[59752.904108] usb 1-1: new full speed USB device using uhci_hcd and address 6
[59753.059546] usb 1-1: configuration #1 chosen from 1 choice
[59753.061460] pl2303 1-1:1.0: pl2303 converter detected
[59753.114738] usb 1-1: pl2303 converter now attached to ttyUSB0

(the 3-second delay basically was me waiting before reinserting)

Bus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

Label: "GMUS-03 USB Serial Adapter"

Detection test only, _not_ used for actual serial communication currently...

But there are more PL2303 adapters than flies on this planet, thus someone else also has some input on this?

Andreas Mohr

#4 lore raw
Quoted 28 lines · Andreas Mohr
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines

I have a pl2303 USB-RS232 converter that cannot be reliably detected.

Faulty hardware? Flaky cables? Bad connections? If this is reproducable for the same device on multiple machines, I'd just go buy a
new device :)

Quoted 4 lines

I decided to give it a last try before planning a replacement - then I find that /dev/ttyUSB0 could be created if I enlarge the retry times.

It could take 10 seconds to get a valid response. It must go crazy.

Detected _instantly_ on 2.6.28 here:

[59750.560209] usb 1-1: USB disconnect, address 5
[59750.561888] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[59750.561970] pl2303 1-1:1.0: device disconnected
[59752.904108] usb 1-1: new full speed USB device using uhci_hcd and address 6
[59753.059546] usb 1-1: configuration #1 chosen from 1 choice
[59753.061460] pl2303 1-1:1.0: pl2303 converter detected
[59753.114738] usb 1-1: pl2303 converter now attached to ttyUSB0

(the 3-second delay basically was me waiting before reinserting)

Bus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

Quoted 7 lines

Label: "GMUS-03 USB Serial Adapter"

Detection test only, _not_ used for actual serial communication currently...

But there are more PL2303 adapters than flies on this planet, thus someone else also has some input on this?

Mine works fine with today's Linux git tree:
usb 1-2.2: new full speed USB device using uhci_hcd and address 11 usb 1-2.2: configuration #1 chosen from 1 choice
pl2303 1-2.2:1.0: pl2303 converter detected
usb 1-2.2: pl2303 converter now attached to ttyUSB0

Kay

#5 lore raw
Quoted 34 lines · Kay Sievers
Quoted 33 lines · Andreas Mohr
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines

I have a pl2303 USB-RS232 converter that cannot be reliably detected.

Faulty hardware? Flaky cables? Bad connections? If this is reproducable for the same device on multiple machines, I'd just go buy a
new device :)

Quoted 4 lines

I decided to give it a last try before planning a replacement - then I find that /dev/ttyUSB0 could be created if I enlarge the retry times.

It could take 10 seconds to get a valid response. It must go crazy.

Detected _instantly_ on 2.6.28 here:

[59750.560209] usb 1-1: USB disconnect, address 5
[59750.561888] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[59750.561970] pl2303 1-1:1.0: device disconnected
[59752.904108] usb 1-1: new full speed USB device using uhci_hcd and address 6
[59753.059546] usb 1-1: configuration #1 chosen from 1 choice
[59753.061460] pl2303 1-1:1.0: pl2303 converter detected
[59753.114738] usb 1-1: pl2303 converter now attached to ttyUSB0

(the 3-second delay basically was me waiting before reinserting)

Bus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

Label: "GMUS-03 USB Serial Adapter"

Detection test only, _not_ used for actual serial communication currently...

Quoted 8 lines
Quoted 2 lines

But there are more PL2303 adapters than flies on this planet, thus someone else also has some input on this?

Mine works fine with today's Linux git tree:
usb 1-2.2: new full speed USB device using uhci_hcd and address 11 usb 1-2.2: configuration #1 chosen from 1 choice
pl2303 1-2.2:1.0: pl2303 converter detected
usb 1-2.2: pl2303 converter now attached to ttyUSB0

Experiments show that my old pl2303 can only be detected in one particular USB port of HP 6910p, but no luck for lenovo T61.

Till now I have tried one new pl2303 device and two more ch341 devices, and all of them can be detected happily :-)

[27492.928651] usb 3-2: new full speed USB device using uhci_hcd and address 8
[27493.084947] usb 3-2: configuration #1 chosen from 1 choice
[27493.087322] pl2303 3-2:1.0: pl2303 converter detected
[27493.099552] usb 3-2: pl2303 converter now attached to ttyUSB0
[27493.100171] drivers/usb/core/inode.c: creating file '008'
[27493.100440] usb 3-2: New USB device found, idVendor=067b, idProduct=2303
[27493.100447] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[28481.464217] usb 3-2: USB disconnect, address 8
[28481.465219] usb 3-2: pl2303_write_bulk_callback - failed resubmitting write urb, error -19
[28481.465229] pl2303 ttyUSB0: pl2303_send - failed submitting write urb, error -19
[28481.468514] pl2303 3-2:1.0: device disconnected
[28481.570055] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[28487.656159] usb 3-2: new full speed USB device using uhci_hcd and address 9
[28487.816708] usb 3-2: configuration #1 chosen from 1 choice
[28487.819107] drivers/usb/core/inode.c: creating file '009'
[28487.819439] usb 3-2: New USB device found, idVendor=4348, idProduct=5523
[28487.819447] usb 3-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[28487.819453] usb 3-2: Product: USB-SER!
[28487.879918] USB Serial support registered for ch341-uart
[28487.880045] ch341 3-2:1.0: ch341-uart converter detected
[28487.892767] usb 3-2: ch341-uart converter now attached to ttyUSB0
[28487.892856] usbcore: registered new interface driver ch341
[28489.400229] usb 3-2: USB disconnect, address 9
[28489.406187] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[28489.406273] ch341 3-2:1.0: device disconnected
[28494.105148] usb 3-2: new full speed USB device using uhci_hcd and address 10
[28494.269692] usb 3-2: configuration #1 chosen from 1 choice
[28494.271475] ch341 3-2:1.0: ch341-uart converter detected
[28494.284668] usb 3-2: ch341-uart converter now attached to ttyUSB0
[28494.285594] drivers/usb/core/inode.c: creating file '010'
[28494.285862] usb 3-2: New USB device found, idVendor=4348, idProduct=5523
[28494.285870] usb 3-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[28494.285877] usb 3-2: Product: USB-SER!
[28496.344254] usb 3-2: USB disconnect, address 10
[28496.347735] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[28496.347819] ch341 3-2:1.0: device disconnected

Thanks,
Fengguang