[Mageia-dev] Upgrade udev 175
Colin Guthrie
mageia at colin.guthr.ie
Sun Dec 18 02:59:21 CET 2011
'Twas brillig, and Colin Guthrie at 18/12/11 01:23 did gyre and gimble:
> 'Twas brillig, and Colin Guthrie at 17/12/11 23:10 did gyre and gimble:
>> On 17 Dec 2011, at 23:00, "D.Morgan" <dmorganec at gmail.com> wrote:
>>> /sbin/usb_id is needed by mouse.pm to generate
>>> /dev/input/by-id/xxx seems we need to migrate using udevadm now.
>
>> Hmm. Not at my computer but I thought it still existed but under a
>> different path. Maybe not, but I'll check when I get back later.
>
> Yup, it's still there in /lib/udev/usb_id.
Erm, forget me, I forgot I'd reverted to test something :s It's gone.
> Perhaps the udevadm way is better tho'. I'll try and review.
Doing this would get the correct device path:
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
Col
--
Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the Mageia-dev
mailing list