Arthur Marsh wrote, on 08/06/07 04:38:
Please see:
http://readlist.com/lists/vger.kernel.org/linux-kernel/70/351707.html
Greg KH's message in lkml:
[quote]
Subject: Re: usb-scanner-cameras kernel-2.6.22 and udev-095 problem
Group: Linux-kernel
From: Greg KH
Date: 7 Jun 2007
On Wed, Jun 06, 2007 at 10:11:20PM -0500, art wrote:
> greg
> with CONFIG_USB_DEVICE_CLASS=y
> scanner /dev/scanner-xxxx show up xsane is working now
>
> SCANNER PROBLEM SOLVED
Great, thanks for verifying this. This config option is by default
enabled, so you need to work hard to disable it :)
thanks,
greg k-h
[end quote]
It appears that the test kernels from kernel-archive.buildserver.net had
CONFIG_USB_DEVICE_CLASS not defined.
I'm rebuilding 2.6.22-rc4 with CONFIG_USB_DEVICE_CLASS=y (will not have
time to test it until about 24 hours from now).
It appears that the udev in Debian unstable still requires the backward
compatibility provided by CONFIG_USB_DEVICE_CLASS=y
Arthur.
I've rebuilt kernel 2.6.22-rc4 with CONFIG_USB_DEVICE_CLASS=y and
successfully used gthumb to access a Canon IXUS V camera.
The udev rules for libgphoto2-2 in this case changed the permissions for
/dev/bus/usb/003/004 to allow group plugdev to access the camera:
/dev/bus/usb/003$ ls -al
total 0
drwxr-xr-x 2 root root 80 2007-06-09 08:54 .
drwxr-xr-x 6 root root 120 2007-06-09 18:02 ..
crw-rw-r-- 1 root root 189, 256 2007-06-09 18:02 001
crw-rw---- 1 root plugdev 189, 259 2007-06-09 08:54 004
It appears that further work is needed on the udev rules for
libgphoto2-2 in order for them to work with 2.6.22-rc4 and later kernels
built that don't have CONFIG_USB_DEVICE_CLASS=y set.
Regards,
Arthur.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]