RE: Keyboard/mouse problems with X
Erik Mouw writes:
>
> Yes, it sure is. I already investigated this on a Sparc Classic (and
> reported it to the list), to the point of running a strace on the X
> server binary.
>
> The problem is that /dev/sunmouse is a "single open" device, so that
> means that only one process is allowed to open the device. If you
> install gpm, it will open /dev/sunmouse, so the X server can't use the
> device. Gpm has a solution for this: the /dev/gpmdata repeater.
> Unfortunately, the Xsun server tries to do some ioctl()s on its mouse
> device which miserably fail, and the server decides to crash (no, it
> doesn't matter which protocol /dev/gpmdata speaks).
>
> There are two solutions:
>
> - Mark gpm as conflicting with Xsun
> - Modify the Xsun source to ignore the ioctl() errors so it will work
> with /dev/gpmdata
It works on my Sun IPX and IPC, but I have noticed that gpm is killed
after Xsun has started.
--
PHAM Dinh Tuan | e-mail: Dinh-Tuan.Pham@imag.fr
Laboratoire de Modelisation et Calcul | Tel: +33 4 76 51 44 23
BP 53, 38041 Grenoble cedex 9 (France) | Fax: +33 4 76 63 12 63
-----------------------------------------------------------------------
Reply to: