Re: Modified usb-devices.sh script

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

 



On Tuesday 23 June 2009, you wrote:
> On Tue, 23 Jun 2009, Frans Pop wrote:
> > On Friday 19 June 2009, Frans Pop wrote:
> > > On Friday 19 June 2009, Alan Stern wrote:
> > > > On second thought, maybe it is better for sysfs to continue
> > > > exporting the raw value in hex. ?The script can do all the
> > > > necessary processing.
> > >
> > > Hmm. What about the discrepancy that remains between
> > > bMaxPacketSize0 and ep_*/wMaxPacketSize in that case?
> >
> > Alan?
>
> Oh, sorry -- I lost your earlier message.
>
> There is no problem.  What you thought was a discrepancy really wasn't.
> Run your new script and you'll see.  It only _looked_ like a
> discrepancy because you were comparing a decimal value to a hex value.

Yes of course, but what I mean is that this decision means that still 
bMaxPacketSize0 will be binary while wMaxPacketSize is hex in sysfs.
Having two variables that essentially contain the same info in a differing 
format seems illogical to me.

It also means we cannot display the multiplier for ep00 (we dropped its E: 
line after all), while we do display it for the other end points.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

  Powered by Linux