* Re: cannot reliably detect USB device
[not found] <20081222084249.GA5845@localhost>
@ 2008-12-23 4:37 ` Greg KH
2008-12-25 10:47 ` Wu Fengguang
0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2008-12-23 4:37 UTC (permalink / raw)
To: Wu Fengguang; +Cc: linux-usb, LKML
On Mon, Dec 22, 2008 at 04:42:49PM +0800, Wu Fengguang wrote:
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cannot reliably detect USB device
2008-12-23 4:37 ` cannot reliably detect USB device Greg KH
@ 2008-12-25 10:47 ` Wu Fengguang
2009-01-01 17:44 ` Andreas Mohr
0 siblings, 1 reply; 5+ messages in thread
From: Wu Fengguang @ 2008-12-25 10:47 UTC (permalink / raw)
Cc: linux-usb@vger.kernel.org, LKML
On Tue, Dec 23, 2008 at 06:37:14AM +0200, Greg KH wrote:
> On Mon, Dec 22, 2008 at 04:42:49PM +0800, Wu Fengguang wrote:
> > 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cannot reliably detect USB device
2008-12-25 10:47 ` Wu Fengguang
@ 2009-01-01 17:44 ` Andreas Mohr
2009-01-03 22:07 ` Kay Sievers
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Mohr @ 2009-01-01 17:44 UTC (permalink / raw)
To: Wu Fengguang; +Cc: linux-usb@vger.kernel.org, LKML
Hi,
> > > 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.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cannot reliably detect USB device
2009-01-01 17:44 ` Andreas Mohr
@ 2009-01-03 22:07 ` Kay Sievers
2009-01-05 9:03 ` Wu Fengguang
0 siblings, 1 reply; 5+ messages in thread
From: Kay Sievers @ 2009-01-03 22:07 UTC (permalink / raw)
To: Andreas Mohr; +Cc: Wu Fengguang, linux-usb@vger.kernel.org, LKML
On Thu, Jan 1, 2009 at 18:44, Andreas Mohr <andi@lisas.de> wrote:
>> > > 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.
>
> 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?
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cannot reliably detect USB device
2009-01-03 22:07 ` Kay Sievers
@ 2009-01-05 9:03 ` Wu Fengguang
0 siblings, 0 replies; 5+ messages in thread
From: Wu Fengguang @ 2009-01-05 9:03 UTC (permalink / raw)
To: Kay Sievers; +Cc: Andreas Mohr, linux-usb@vger.kernel.org, LKML
On Sun, Jan 04, 2009 at 12:07:46AM +0200, Kay Sievers wrote:
> On Thu, Jan 1, 2009 at 18:44, Andreas Mohr <andi@lisas.de> wrote:
> >> > > 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.
> >
> > 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?
>
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-01-05 9:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20081222084249.GA5845@localhost>
2008-12-23 4:37 ` cannot reliably detect USB device Greg KH
2008-12-25 10:47 ` Wu Fengguang
2009-01-01 17:44 ` Andreas Mohr
2009-01-03 22:07 ` Kay Sievers
2009-01-05 9:03 ` Wu Fengguang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox