You are not logged in.

#1 2007-04-21 14:47:34

brucebertrand
Member
Registered: 2006-07-24
Posts: 52

Mouse moving to random /dev/input/mouseX [SOLVED]

My mouse keeps moving between /dev/input/mouse1 and /dev/input/mouse2 when I reboot. 

I have a PS2 mouse and a USB Wacom tablet. I do not want to use /dev/input/mice because I've had problems with that and my wacom tablet.
Both 'psmouse' and 'wacom' are modules, not compiled into the kernel.

This behavior started when I upgraded to kernel 2.6.20.7

I've had this same problem with previous kernels, but a kernel update usually fixed it (I'm pretty lazy, so I'd just deal w/ it till the next kernel update...pathetic, I know)

Any suggestions on how to stop it?

[edit]
The solution is that adding the applicable modules to /etc/rc.conf forces them to be loaded in a specific order, resulting in consistent /dev naming.

Last edited by brucebertrand (2007-04-22 18:09:56)

Offline

#2 2007-04-22 06:50:03

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Mouse moving to random /dev/input/mouseX [SOLVED]

Offline

#3 2007-04-22 16:49:59

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Mouse moving to random /dev/input/mouseX [SOLVED]

I have a similar but different problem. My /dev/input now has mouse0 and mouse1 entries. I only have a single USB mouse. Why would this happen>?

Offline

#4 2007-04-22 16:58:55

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Mouse moving to random /dev/input/mouseX [SOLVED]

iBertus wrote:

I have a similar but different problem. My /dev/input now has mouse0 and mouse1 entries. I only have a single USB mouse. Why would this happen>?

Option "Device" "/dev/input/mice" is recommended.

We added support for some Mac hardware that always wants to become the first "mouse0". But that behavior we already have for some weeks.

Offline

#5 2007-04-22 18:05:10

brucebertrand
Member
Registered: 2006-07-24
Posts: 52

Re: Mouse moving to random /dev/input/mouseX [SOLVED]

Sometimes /dev/input/mice is not acceptable, such as when using a Wacom tablet.

Offline

#6 2007-04-22 18:07:47

brucebertrand
Member
Registered: 2006-07-24
Posts: 52

Re: Mouse moving to random /dev/input/mouseX [SOLVED]

Thanks for the tip Snowman.
I do believe that the problem was udev loading modules in a different order.
Adding the modules to rc.conf seems to have solved the problem.

Offline

Board footer

Powered by FluxBB