Re: udev and Logitech mouse applet

2005-10-18 Thread Christopher Martin
On October 18, 2005 03:30, Marco d'Itri wrote: > OK, as it turns out I was half wrong: /proc/bus/ is not syncronous, so > scripts still need to wait (they may use the wait_for_file function from > /lib/hotplug/hotplug.functions). OTOH, RUN is still the correct keyword > to use, because PROGRAM has

Re: udev and Logitech mouse applet

2005-10-18 Thread Marco d'Itri
reassign 334068 libsane thanks On Oct 17, Christopher Martin <[EMAIL PROTECTED]> wrote: > On October 17, 2005 13:03, Marco d'Itri wrote: > > > The problem seems to be that udev runs lmctl before the usbfs entry > > > corresponding to your mouse has been created under /proc/bus/usb. The > > > > By

Re: udev and Logitech mouse applet

2005-10-17 Thread Christopher Martin
On October 17, 2005 13:03, Marco d'Itri wrote: > > The problem seems to be that udev runs lmctl before the usbfs entry > > corresponding to your mouse has been created under /proc/bus/usb. The > > By design. The correct rule would be: > > BUS=="usb", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c025

Re: udev and Logitech mouse applet

2005-10-17 Thread Marco d'Itri
On Oct 17, Christopher Martin <[EMAIL PROTECTED]> wrote: > > BUS="usb", SYSFS{idVendor}="046d", SYSFS{idProduct}="c025", > > PROGRAM="/usr/bin/lmctl -8 --sms" > The problem seems to be that udev runs lmctl before the usbfs entry > corresponding to your mouse has been created under /proc/bus/usb.

Re: udev and Logitech mouse applet

2005-10-17 Thread Christopher Martin
On October 16, 2005 18:12, Frank Hart wrote: > I use the following udev rule to let the Logitech applet change the dpi > from 400 to 800: > > BUS="usb", SYSFS{idVendor}="046d", SYSFS{idProduct}="c025", > PROGRAM="/usr/bin/lmctl -8 --sms" > > This worked with udev 0.068. After I installed 0.070 I ha

udev and Logitech mouse applet

2005-10-16 Thread Frank Hart
I use the following udev rule to let the Logitech applet change the dpi from 400 to 800: BUS="usb", SYSFS{idVendor}="046d", SYSFS{idProduct}="c025", PROGRAM="/usr/bin/lmctl -8 --sms" This worked with udev 0.068. After I installed 0.070 I have to do a 'udevstart' after booting and then the rule