Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel update, usb mouse, udev
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
homry
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2005
Posts: 146
Location: Karlsruhe, Germany

PostPosted: Wed Jan 25, 2006 8:51 pm    Post subject: kernel update, usb mouse, udev Reply with quote

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
Code:
make oldconfig
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
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Wed Jan 25, 2006 8:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
homry
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2005
Posts: 146
Location: Karlsruhe, Germany

PostPosted: Wed Jan 25, 2006 9:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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