On Wed, 26 Jun 2002 19:22, Marek Michalkiewicz wrote:
> > On Wed, 26 Jun 2002 08:43, Marek Michalkiewicz wrote:
> > > > What happens if you don't load the printer driver (ie does lsusb
> > > > work?, the printer clearly won't...)
> > >
> > > No difference - lsusb times out, but still prints some info (see
> > > below).
> >
> > That is a world of difference. The timeouts are because the device
> > doesn't support getting string descriptors for language (probably).
>
> By "no difference" I meant: I tried both with and without the printer
> driver loaded, and it behaves exactly the same way.
OK. From your original report, I assumed that lsusb didn't work.

> Also, usbview doesn't cause these timeouts, probably because it does
> not ask for the language descriptors (I have a USB-CF adapter which
> reports them, lsusb shows them and usbview doesn't).  Now, is there
> any way to tell that the printer does (or does not) support getting
> them, without actually asking and timing out?
1. usbview is a completely different approach. It just parses 
/proc/bus/usb/devices. By contrast, lsusb actually opens each of the files in 
/proc/bus/usb/XXX/YYY (where XXX is the various busses, and YYY is the device 
on that bus).
2. I'm not sure of a way for testing for the language settings. If you aren't 
worried about the language, just comment out that part of the lsusb code.

Brad

-- 
http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.


-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to