View previous topic :: View next topic |
Author |
Message |
homry Tux's lil' helper
Joined: 01 Apr 2005 Posts: 146 Location: Karlsruhe, Germany
|
Posted: Wed Jan 25, 2006 8:51 pm Post subject: kernel update, usb mouse, udev |
|
|
hi there,
i alwayys have troubles with my usb mouse after kernel updates. first of all, i will explain what i did.
i emerged the new gentoo-sources and copied my old config to /usr/src/linux. then i made a and compiled the kernel and installed it (handbook).
with my udev-rule Code: | BUS="usb", SYSFS{idProduct}=="c00b", SYSFS{product}=="USB Mouse", NAME="input/%k", SYMLINK="input/usbmouse" | with kernel version 2.6.13-r5 my mouse got recognized without any problem and i configured it in /etc/X11/xorg.conf like follows Code: | Option "Device" "/dev/input/usbmouse" | . but with the newly compiled kernel (2.6.15-r1, but also before 2.6.14-r5) this does not work anymore. i changed my xorg.conf to Code: | Option "Device" "/dev/input/mice" | and the mouse works fine. why is that so and do i need that rule in the first place? i heard, one should use a udev-rule, because if i use Code: | Option "Device" "..../something" | and the mouse gets plugged in and out, it does not have the same name anymore necessarily. so with the rule i make sure, that my mouse can always be configured as Code: | Option "Device" "/dev/input/usbmouse" | . is that right or is "..../mice" sufficient? if a udev-rule is recommended, can anyone help me with my problem? thanks,
homry _________________ IBM ThinkPad R51 |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Wed Jan 25, 2006 8:55 pm Post subject: |
|
|
theres not much point in a udev rule for mice, since all mice are aggregated to /dev/input/mice _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
homry Tux's lil' helper
Joined: 01 Apr 2005 Posts: 146 Location: Karlsruhe, Germany
|
Posted: Wed Jan 25, 2006 9:04 pm Post subject: |
|
|
ok, thanks. that is good to hear. so i can never go wrong with Code: | Option "Device" "/dev/input/mice" | . that makes things easier.
in the german gentoo-wiki i got the info, that it can be useful to make a rule for your mouse (http://de.gentoo-wiki.com/Udev), but maybe i got that info wrong. practice, however, tells me that you are right .
homry _________________ IBM ThinkPad R51 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|