On Tue 21 Jul 15:58 2009 eial@xxxxxxxxxxxx wrote: > > hello. > I'm running gentoo with kernel tuxonice 2.6.29, hal 0.5.12_rc1, dbus 1.2.12, xorg-server 1.6.2 and udev 140. > I have these following three rules: > ACTION=="add", SUBSYSTEM=="input", ENV{ID_CLASS}=="mouse", RUN+="/usr/bin/synclient TouchpadOff=1" > ACTION=="remove", SUBSYSTEM=="input", ENV{ID_CLASS}=="mouse", RUN+="/usr/bin/synclient TouchpadOff=0" > SUBSYSTEM=="bluetooth", KERNEL=="hci[0-9]*", RUN+="bluetooth.sh" > > but when I turn on the adapter, the modules won't load, when I plug the mouse, the touchpad is still working and when I unplug it, if it is off, it won't come back on. > I've tried to change the mouse line to these line: > ACTION=="add", SUBSYSTEM=="usb", ATTRS{product}=="USB_PS2 Optical Mouse" , RUN+="/usr/bin/synclient TouchpadOff=1" > ACTION=="remove", SUBSYSTEM=="usb", ATTRS{product}=="USB_PS2 Optical Mouse" , RUN+="/usr/bin/synclient TouchpadOff=0" > but no luck, when I check /var/log/messages I see this: > Jul 20 19:05:12 NCC-5001-D udevadm[5426]: bind failed: Operation not permitted > Jul 20 19:05:18 NCC-5001-D usb 6-1: USB disconnect, address 6 > Jul 20 19:05:22 NCC-5001-D usb 6-1: new low speed USB device using uhci_hcd and address 7 > Jul 20 19:05:22 NCC-5001-D usb 6-1: configuration #1 chosen from 1 choice > Jul 20 19:05:22 NCC-5001-D input: USB_PS2 Optical Mouse as /class/input/input19 > Jul 20 19:05:22 NCC-5001-D generic-usb 0003:15CA:00C3.0008: input: USB HID v1.10 Mouse [USB_PS2 Optical Mouse] on usb-0000:00:1d.1-1/input0 > Jul 20 19:05:58 NCC-5001-D udevadm[5556]: bind failed: Operation not permitted . > -- > To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > my mail was cut short for some reason, here is what was cut: Jul 20 19:10:37 NCC-5001-D udevadm[6232]: bind failed: Operation not permitted Jul 20 19:10:45 NCC-5001-D usb 6-1: USB disconnect, address 7 Jul 20 19:10:57 NCC-5001-D usb 6-1: new low speed USB device using uhci_hcd and address 8 Jul 20 19:10:57 NCC-5001-D usb 6-1: configuration #1 chosen from 1 choice Jul 20 19:10:57 NCC-5001-D input: USB_PS2 Optical Mouse as /class/input/input20 Jul 20 19:10:57 NCC-5001-D generic-usb 0003:15CA:00C3.0009: input: USB HID v1.10 Mouse [USB_PS2 Optical Mouse] on usb-0000:00:1d.1-1/input0 -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html