Greg KH wrote:
> On Mon, Jul 16, 2007 at 03:21:33PM +0100, ael wrote:
>> I reported two days ago that libusb could not find an usb scanner when
>> run from a member of the scanner group, but that the scanner was found
>> when run by root. This happened under kernel 2.6.22.1 but was fine under
>> 2.6.21.*.
>>
>> I now discover that /dev/bus/usb/ exists and is populated under 2.6.21.6
>> but is not created under 2.6.22.1. I am hazy about how udev creates
>> these files, and now suspect that this is the root cause of the original
>> problem. I will need to read some udev documentation, I guess, but can
>> anyone confirm this or suggest what may be wrong.
> 
> Hm, do you have CONFIG_USB_DEVICE_CLASS disabled?
> 
> If so, and you enable it, does that solve your problem?

Yes that was it. Thanks. I will add the rule you suggest there to my
udev and then turn it off again, I guess.

> What distro are you using?

Debian etch. Using udev-0.105-4 which doesn't have your new rule.

Apologies for missing CONFIG_USB_DEVICE_CLASS. I had looked through the
configuration several times (using gconfig) but there is so much there,
it is very easy to miss stuff. make oldconfig from 2.6.21.6 to 2.6.22.1
threw up so much that I must have forgotten about that option. I guess
if I have stayed with the linus tree, changes would have been more
incremental.

I did skim your usb patches and I saw the documentation updates but not
the config changes. I guess that you don't have the time, but it would
be nice to see something about the config choices in Documentation/usb/.
But then you would have to keep it in sync, which would be another
burden :-(

Thanks for your enormous contributions!

ael


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to