generally, i know how to write udev rules.  but i'm not sure how to
write one for libsane.

scanimage -L returns something like:
device `canon_dr:libusb:001:002' is a CANON DR-2580C scanner

where the 001:002 is always changing.  :005, :008, etc.

so in 55-libsane.rules there is:
# Canon DR-2580C
ATTR{idVendor}=="04a9", ATTR{idProduct}=="1608", MODE="0664",
GROUP="lp", ENV{libsane_matched}="yes"

what do i add to the rule to force this device to always have the same
libusb name?


thanks.

-- 
sane-devel mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [email protected]

Reply via email to