diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-01-22 16:55:54 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-01-22 16:55:54 +0000 |
commit | 74021cf45ddd28df5521372b96c7ab5982b403aa (patch) | |
tree | 810e14b3072362b1bee20ff29301a7d2941b8001 | |
parent | bc8ead61ff4e9b35eb3ca2a11d6a45f56f2693c0 (diff) | |
download | drakx-kbd-mouse-x11-74021cf45ddd28df5521372b96c7ab5982b403aa.tar drakx-kbd-mouse-x11-74021cf45ddd28df5521372b96c7ab5982b403aa.tar.gz drakx-kbd-mouse-x11-74021cf45ddd28df5521372b96c7ab5982b403aa.tar.bz2 drakx-kbd-mouse-x11-74021cf45ddd28df5521372b96c7ab5982b403aa.tar.xz drakx-kbd-mouse-x11-74021cf45ddd28df5521372b96c7ab5982b403aa.zip |
- mousedrake:
o use udev in $PATH instead of /lib/udev/usb_id
(need latest udev pkg)
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | lib/mouse.pm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -2,6 +2,9 @@ o sort monitors in text mode so that "Generic|..." monitors do not appear in the middle of "Vendor|..." monitors - use SendCoreEvents instead of AlwaysCore for wacoms +- mousedrake: + o use udev in $PATH instead of /lib/udev/usb_id + (need latest udev pkg) Version 0.41 - 14 December 2007, by Olivier "blino" Blin diff --git a/lib/mouse.pm b/lib/mouse.pm index 39e5564..a0814e7 100644 --- a/lib/mouse.pm +++ b/lib/mouse.pm @@ -245,7 +245,7 @@ sub write { sub input_entry_to_device_by_id { my ($input) = @_; - my $ID_SERIAL = chomp_(run_program::get_stdout('/lib/udev/usb_id', $input->{sysfs_path})); + my $ID_SERIAL = chomp_(run_program::get_stdout('usb_id', $input->{sysfs_path})); $ID_SERIAL =~ s/[^\w#+\-.:=@_]/_/g; #- udev do a further cleanup, eg: "Wacom_Co.,Ltd._MTE-450" => "Wacom_Co._Ltd._MTE-450". cf ALLOWED_CHARS udev.h my $sysfs_device = "input/by-id/usb-$ID_SERIAL-event-mouse"; #- from /etc/udev/rules.d/60-persistent-input.rules if ($::isInstall || -e "/dev/$sysfs_device") { |