[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no mouse in X mode



hej,

> > In th XF86Config the pointer section indicates BusMouse 
> > for protocol and /Dev/mouse for device.
>  FAQ: how do I set up X for the mouse.
>  answer: device = /dev/input/mice,  protocol = "ImPS/2"
>  for GPM, use the same device, protocol = "ps2".

don't forget to mention that one needs to have /dev/input
support compiled in the kernel. if he's using an older default
kernel, this might not be true.

thus, two solutions:

a) default kernel (2.2.x, x <= 18 AFAIK)
create the /dev/adbmouse devices yourselves, using
the mknod command. the major and minor numbers can
be found somewhere in the kernel documentation (don't
have it handy, sorrry)
protocol is then BusMouse, /dev/adbmouse.
gpm and X have trouble working concurrently, so it's
best to disable gpm.

b) get a more recent kernel (2.2.x x >= 19 or 2.4.x)
and have /dev/input support compiled in. make sure to
create the devices in /dev/input (mouse0, mice).
protocol is then ImPS/2, device /dev/input/mice
gpm and X work nicely together. further advantage: you
can emulate a three button mouse using key-combinations.

Landry: btw, there's a list archive set up somewhere.


bye
Philipp Kaeser



Reply to: