[sane-devel] libsane udev rules for 2.6.22
Julien BLACHE
jb at jblache.org
Wed Jul 25 09:22:38 UTC 2007
ael <law_ence.dev at ntlworld.com> wrote:
Hi,
> If USB_DEVICE_CLASS is not asserted, and the rule suggested in the
> configuration help text
>
> SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device",\
> NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644"
>
> is included under /etc/udev/rules.d/ then although /dev/bus/xxx/nnn
> is then created, the libsane.rules are no longer triggered, and the
> group is not changed.
>
> Changing the libsane.rules first section above to
>
> ACTION!="add", GOTO="libsane_rules_end"
> ENV{DEVTYPE}=="usb_device", GOTO="tests"
> SUBSYSTEM!="usb_device", GOTO="libsane_rules_end"
>
> LABEL="tests"
I've committed the changes to sane-desc.c in CVS. Could you please
give it a try to make sure it works as intended ?
Thanks,
JB.
--
Julien BLACHE <http://www.jblache.org>
<jb at jblache.org> GPG KeyID 0xF5D65169
More information about the sane-devel
mailing list