All of lore.kernel.org
 help / color / mirror / Atom feed
* My udev rule doesn't work
@ 2007-04-07 13:44 Michael Buesch
  2007-04-08 19:37 ` Kay Sievers
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Michael Buesch @ 2007-04-07 13:44 UTC (permalink / raw)
  To: linux-hotplug

Hi,

I have the following rule:

mb@powermac:/etc/udev/rules.d$ cat 01-deathadder.rules 
# Configure the Razer DeathAdder mouse
ACTION="add", SUBSYSTEM="usb_device", SYSFS{idVendor}="1532", SYSFS{idProduct}="0007", RUN+="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_device'
run_program: 'usb_device_name --export usbdev1.8'
run_program: '/lib/udev/usb_device_name' (stdout) 'USB_BUS\01'
run_program: '/lib/udev/usb_device_name' (stdout) 'USB_DEV\08'
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, remove possible symlinks
udev_node_add: creating device node '/dev/bus/usb/001/008', major = '189', minor = '7', mode = '0664', uid = '0', gid = '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!

-- 
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=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-04-08 20:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-07 13:44 My udev rule doesn't work Michael Buesch
2007-04-08 19:37 ` Kay Sievers
2007-04-08 19:53 ` Michael Buesch
2007-04-08 19:58 ` Michael Buesch
2007-04-08 19:59 ` Michael Buesch
2007-04-08 20:28 ` Bryan Kadzban

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.