Package: gnomad2 Version: 2.5.0-2 Severity: normal gnomad2 runs fine as root - running as user gives:
usb_set_configuration: Operation not permitted Following the comment listed here: http://www.linuxquestions.org/questions/showthread.php?postid=1097795 then it runs fine as user - so - it appears you need two files: /etc/hotplug/usb/nomad.usermap /etc/hotplug/usb/nomadjukebox and the second needs to be executable (I needed 755 permissions). Taken from the post above here are the contents (from what I recall last time I compiled gnomad 2.4 and njb there somewhere in the source too): nomad.usermap ---------- # Creative Nomad Jukebox nomadjukebox 0x0000 0x0471 0x0222 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 # Creative Nomad Jukebox 2 nomadjukebox 0x0000 0x041e 0x4100 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 # Creative Nomad Jukebox 3 nomadjukebox 0x0000 0x041e 0x4101 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 # Creative Nomad Jukebox Zen nomadjukebox 0x0000 0x041e 0x4108 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 # Creative Nomad Jukebox Zen USB 2.0 nomadjukebox 0x0000 0x041e 0x410b 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 # Creative Nomad Jukebox Zen NX nomadjukebox 0x0000 0x041e 0x4109 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 # Creative Nomad Jukebox Zen Xtra nomadjukebox 0x0000 0x041e 0x4110 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 # Dell Digital Jukebox nomadjukebox 0x0000 0x041e 0x4111 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 ---------- nomadjukebox ---------- #!/bin/sh # Lifts a plugged in nomad jukebox to user space and # optionally runs a client program. # Written by Linus Walleij 2004, based on the "usbcam" # script by Nalin Dahyabhai. DEVICEOWNER=root DEVICEPERMS=0666 PROGRAM="cd ~; gnomad2 --display=localhost:0" if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ] then # New code, using lock files instead of copying /dev/console permissions # This also works with non-gdm logins (e.g. on a virtual terminal) # Idea and code from Nalin Dahyabhai <[EMAIL PROTECTED]> if [ "x$DEVICEOWNER" = "xCONSOLE" ] then if [ -f /var/run/console.lock ] then DEVICEOWNER=`cat /var/run/console.lock` elif [ -f /var/lock/console.lock ] then DEVICEOWNER=`cat /var/lock/console.lock` else DEVICEOWNER= fi fi if [ -n "$DEVICEOWNER" ] then chmod 0000 "${DEVICE}" chown "${DEVICEOWNER}" "${DEVICE}" chmod "${DEVICEPERMS}" "${DEVICE}" # Then run an optional program - this does not work yet. # su "${CONSOLEOWNER}" -c "${PROGRAM}" fi fi ---------- -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-686 Locale: LANG=C, LC_CTYPE=en_GB.ISO-8859-1 (charmap=ISO-8859-1) Versions of packages gnomad2 depends on: ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi ii libatk1.0-0 1.8.0-4 The ATK accessibility toolkit ii libbonobo2-0 2.8.1-1 Bonobo CORBA interfaces library ii libbonoboui2-0 2.8.1-1 The Bonobo UI library ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libgconf2-4 2.8.1-4 GNOME configuration database syste ii libglib2.0-0 2.6.2-1 The GLib library of C routines ii libgnome2-0 2.8.0-6 The GNOME 2 library - runtime file ii libgnomecanvas2-0 2.8.0-1 A powerful object-oriented display ii libgnomeui-0 2.8.0-3 The GNOME 2 libraries (User Interf ii libgnomevfs2-0 2.8.3-11 The GNOME virtual file-system libr ii libgtk2.0-0 2.6.2-2 The GTK+ graphical user interface ii libice6 4.3.0.dfsg.1-10 Inter-Client Exchange library ii libid3tag0 0.15.1b-3 ID3 tag reading library from the M ii libnjb0 1.2-2 Creative Labs Nomad Jukebox librar ii liborbit2 1:2.10.2-1.1 libraries for ORBit2 - a CORBA ORB ii libpango1.0-0 1.8.0-3 Layout and rendering of internatio ii libpopt0 1.7-5 lib for parsing cmdline parameters ii libsm6 4.3.0.dfsg.1-10 X Window System Session Management ii libusb-0.1-4 1:0.1.9-2 userspace USB programming library ii libxml2 2.6.16-2 GNOME XML library ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu ii zlib1g 1:1.2.2-4 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]