Re: pl2303 regression after v4.17. Bisected to 7041d9c3f01b

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 23, 2018 at 04:19:49AM +0100, Florian Zumbiehl wrote:
> Hi,
> 
> > T:  Bus=01 Lev=02 Prnt=03 Port=01 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
> > D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> > P:  Vendor=0557 ProdID=2008 Rev=03.00
> > S:  Manufacturer=Prolific Technology Inc.
> > S:  Product=USB-Serial Controller D
> > C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
> > I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=pl2303
> > 
> > and
> > 
> > T:  Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#=  6 Spd=12  MxCh= 0
> > D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> > P:  Vendor=067b ProdID=2303 Rev=04.00
> > S:  Manufacturer=Prolific Technology Inc.
> > S:  Product=USB-Serial Controller D
> > C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
> > I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=pl2303
> 
> The ones that I have at hand all look like this:
> 
> T:  Bus=05 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=067b ProdID=2303 Rev=03.00
> S:  Manufacturer=Prolific Technology Inc.
> S:  Product=USB-Serial Controller
> C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=pl2303
> 
> So, yours and mine are all type 'HX' according to the driver's
> categorization ...
> 
> The only common differences would be the product description string having a
> "D" suffix in your version and bmAttributes being 0xa0 vs. 0x80, so yours
> claim to support remote wakeup. The former seems like a bad idea to base
> hardware detection on, but the latter might indicate a different chip with
> different features?!
> 
> Can you tell what the physical chip is labeled as, if anything?
> 
> @Johan: What does the USB device info of your adapter(s) say?

Almost the same as Jarkko's second device:

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=067b ProdID=2303 Rev=04.00
S:  Manufacturer=Prolific Technology Inc. 
S:  Product=USB-Serial Controller D
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=pl2303

The only difference appears to be bmAttributes not having Remote Wakeup
set.

I also just confirmed that my device works fine as console and with a
(busybox) getty running. I can stop and start the flow using stop and
star chars and disabling IXON transmits any buffered chars while
stopped.

Jarkko, does software flow control work if you run a terminal program
instead of a getty?

And could you try enabling debugging for pl2303 so we can see what
commands are sent when your getty is started?

And what is the output of stty -a -F /dev/ttyUSB0 when the getty has
been started?

Thanks,
Johan



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux