Re: [BUG] 2.6.12-rc1/rc2 mouse0 became mouse1

From: Dmitry Torokhov
Date: Fri Apr 08 2005 - 09:15:54 EST


Hi,

On Apr 8, 2005 6:58 AM, Ali Akcaagac <aliakc@xxxxxx> wrote:
> Hello,
>
> This doesn't sound right to me. After upgrading from 2.6.11.5/6 to
> 2.6.12-rc1/rc2 I detected that my mouse didn't operate anymore when
> loading up XOrg, I realized that /dev/input/mouse0 (which worked for
> years) had to be changed to /dev/input/mouse1. Anyone care to explain
> why this had to be changed or what the intention behind this was ?
>

Input devices names are not guaranteed to be stable, they get them in
order of their registration and therefore can change based on config,
order in which modules are loaded and changes in other modules. In
this case shift was caused by scroll support recently added to atkbd.

Ideally hotplug system should notify interested parties about current
layout, but for programs that do not support dynamic setup changes
please use mice multiplexor device (/dev/input/mice) that gives access
to data from _all_ mouse-like devices in the system.

Hope that helps.

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/