I can't update udev for the moment because this would break the installed, usb_id doesn't exist anymore but is a built in command. usb_id seems at least needed in mouse.pm to generate /dev/input/by-id/xxx
CC: (none) => mageia, thierry.vignaud
Source RPM: drakx => drakx-net
Isn't it a simple matter of running "udevadm test-builtin usb_ids" instead of usb_ids? Just try a locally build udev-174+ and reports back whether "udevadm test-builtin usb_ids" works or not
Dexter? Ping?
Keywords: (none) => NEEDINFOComponent: Installer => RPM PackagesHardware: i586 => All
CC: (none) => mageia
test-builtin is an invalid command apparently. Are you sure that's the right syntax?
Arg... I had older udev installed for testing and forgot :s I can run this (singular usb_id, not usb_ids plural as in your example - I presume that was a typo): [colin@jimmy ~]$ udevadm test-builtin usb_id /devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/input/input9/mouse1 ID_VENDOR=Microsoft ID_VENDOR_ENC=Microsoft ID_VENDOR_ID=045e ID_MODEL=Microsoft_Optical_Mouse_with_Tilt_Wheel ID_MODEL_ENC=Microsoft\x20Optical\x20Mouse\x20with\x20Tilt\x20Wheel ID_MODEL_ID=00d1 ID_REVISION=0120 ID_SERIAL=Microsoft_Microsoft_Optical_Mouse_with_Tilt_Wheel ID_TYPE=hid ID_BUS=usb ID_USB_INTERFACES=:030102: ID_USB_INTERFACE_NUM=00 ID_USB_DRIVER=usbhid But, this returns likely better info: [colin@jimmy ~]$ udevadm info --query=symlink --path=/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/input/input9/mouse1 | cut -d' ' -f1 input/by-id/usb-Microsoft_Microsoft_Optical_Mouse_with_Tilt_Wheel-mouse Thus we can use this easily... will test a patch.
Created attachment 1262 [details] Patch to use udevadm info to get the serial This is a patch that basically replaces the current use of usb_id command with a udevadm command. I would have preferred to use a variation on the previous command syntax I posted but it gets the path to the mouse dev node, not the event dev node, but as I can't easily test this, I just replaced things and used the serial number as before. My perl-fu is weak so please review and I'll commit it and push a new update and push new udev.
Keywords: (none) => PATCHAssignee: bugsquad => mageia
if you want to commit, new udev is on cauldron core/release
Source RPM: drakx-net => drakx-kbd-mouse-x11
New version of drak-kbd-mouse-x11 now pushed.
OK, so I think this bug can be closed, but it would be nice if Blino could test (I'm assuming you have the necessary h/w?)
(In reply to comment #8) > OK, so I think this bug can be closed, but it would be nice if Blino could test > (I'm assuming you have the necessary h/w?) @ Blino Ping?
CC: (none) => marja11
Fixed long time ago in 0.99
Status: NEW => RESOLVEDResolution: (none) => FIXED