From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Buesch Date: Sat, 07 Apr 2007 13:44:36 +0000 Subject: My udev rule doesn't work Message-Id: <200704071544.36669.mb@bu3sch.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Hi, I have the following rule: mb@powermac:/etc/udev/rules.d$ cat 01-deathadder.rules=20 # Configure the Razer DeathAdder mouse ACTION=3D"add", SUBSYSTEM=3D"usb_device", SYSFS{idVendor}=3D"1532", SYSFS{i= dProduct}=3D"0007", RUN+=3D"deathaddercfg -C" It's for autoconfiguration of the mouse when it's hotplugged. But somehow this doesn't work. It seems like the program is not called. Does someone have an idea what could cause this? mb@powermac:~$ udevtest /class/usb_device/usbdev1.8/ main: looking at device '/class/usb_device/usbdev1.8' from subsystem 'usb_d= evice' run_program: 'usb_device_name --export usbdev1.8' run_program: '/lib/udev/usb_device_name' (stdout) 'USB_BUS=001' run_program: '/lib/udev/usb_device_name' (stdout) 'USB_DEV=008' run_program: '/lib/udev/usb_device_name' returned with status 0 udev_rules_get_name: rule applied, 'usbdev1.8' becomes 'bus/usb/001/008' udev_device_event: device '/class/usb_device/usbdev1.8' already known, remo= ve possible symlinks udev_node_add: creating device node '/dev/bus/usb/001/008', major =3D '189'= , minor =3D '7', mode =3D '0664', uid =3D '0', gid =3D '0' main: run: 'deathaddercfg -C' main: run: 'socket:/org/freedesktop/hal/udev_event' main: run: 'socket:/org/kernel/udev/monitor' I'm on Ubuntu Breezy. Thanks! --=20 Greetings Michael. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel