Hi, i have attached a libnjb.rules to this report to have udev set
the rights permissions for the /proc/bus/usb/x/x device for the
creative jukeboxes.
The nomad.usermap is no longer needed since these informations are
in the rules file.

I dont know if i should report this to upstream or not, for now i
put it here :)

To install it just copy it into /etc/udev and add u symlink to it
in /etc/udev/rules.d/
# This file is part of the SANE distribution
#
# udev rules file for supported scanners
#
#
# For now, only USB scanners are listed/supported by this set of rules;
# feel free to add support for other busses.
#
# To add an USB scanner, add a rule to the list below between the SUBSYSTEM...
# and LABEL... lines.
#
# To run a script when your scanner is plugged in, add RUN="/path/to/script"
# to the appropriate rule.
#

SUBSYSTEM!="usb", ACTION!="add", GOTO="libnjb_rules_end"

# Creative Nomad Jukebox
SYSFS{idVendor}=="0471", SYSFS{idProduct}=="0222", 
RUN+="/etc/hotplug/usb/nomadjukebox"
# Creative Nomad Jukebox 2
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4100", 
RUN+="/etc/hotplug/usb/nomadjukebox"
# Creative Nomad Jukebox 3
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4101", 
RUN+="/etc/hotplug/usb/nomadjukebox"
# Creative Nomad Jukebox Zen
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4108", 
RUN+="/etc/hotplug/usb/nomadjukebox"
# Creative Nomad Jukebox Zen USB 2.0
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="410b", 
RUN+="/etc/hotplug/usb/nomadjukebox"
# Creative Nomad Jukebox Zen NX
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4109", 
RUN+="/etc/hotplug/usb/nomadjukebox"
# Creative Nomad Jukebox Zen Xtra
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4110", 
RUN+="/etc/hotplug/usb/nomadjukebox"
# Dell Digital Jukebox
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4111", 
RUN+="/etc/hotplug/usb/nomadjukebox"
# Creative Nomad Jukebox Zen Touch
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="411b", 
RUN+="/etc/hotplug/usb/nomadjukebox"
# Creative Nomad Jukebox Zen Micro
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="411e", 
RUN+="/etc/hotplug/usb/nomadjukebox"
# Second Generation Dell Digital Jukebox
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4126", 
RUN+="/etc/hotplug/usb/nomadjukebox"
# Dell Pocket DJ
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4127", 
RUN+="/etc/hotplug/usb/nomadjukebox"
# Creative Zen Sleek
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4136", 
RUN+="/etc/hotplug/usb/nomadjukebox"

LABEL="libnjb_rules_end"

Attachment: signature.asc
Description: Digital signature

Reply via email to