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

Re: mouse configuration



On Thu, Jan 04, 2001 at 10:38:20AM -0500, Mithras wrote:
...
> Thanks to everyone that replied!  The key for me was hearing about
> "gpm".  I can't recall all the combinations I tried last night, but I
> was successful setting up the mouse to work with both X and the
> console.  After configuring gpm for the console, I changed the Pointer
> declaration in XF86Config to use ttyS0, but I had to rename
> /dev/gpmdata for X to listen to the serial port.

This doesn't sound right! (maybe it's just me failing to understand you)
You should not touch /dev/gpmdata, let alone rename it.  Let me recap:

In XF86Config you should use:

   Protocol        "whatever suits your mouse"
   Device          "/dev/mouse"

Now you have two options:
1) use gpm
2) do'n use gpm


If yoy don't plan to use gpm make sure that:

   $ ls -l /dev/mouse
   lrwxrwxrwx    1 root     root    7 Aug 16 21:07 /dev/mouse -> ttyS0

If you do use gpm make sure that:

   $ ls -l /dev/mouse
   lrwxrwxrwx    1 root     root    7 Aug 16 21:07 /dev/mouse -> gpmdata

and setup gpm to use:
   device=/dev/ttyS0
   type=whatever-suits-your-mouse
   repeat_type=raw
   append="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\""

Be aware that gpm's `type' should correspond to XF86Config's `Protocol'.

-- 
groetjes, carel



Reply to: