hammack wrote:

Long time and still no cursor. I've tried two pointers, Kensington "Expert Mouse" serial, and a PS/2 Generic. I have tried all the combinations of Protocol and Device that I can and still don't have a pointer in X. Below are files and excerpts of interest. Any Help appreciated John [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

Do you have it working in the text-based console? If not, you might try to get it to work there before tackling X, just to make sure the hardware is functional. Also, if you use gpmdata, you need to have a working console mouse, as the gpmdata grabs it's mouse information from gpm.

apt-get install gpm
gpmconfig

dir of home files for the below: What is "p" and "c" in the 2nd and 3rd lines? gpmdata appears to be an empty file and psaux is very small.
lrwxrwxrwx    1 root     root            7 Dec 20 22:49 mouse -> gpmdata
prw-r--r--    1 root     root            0 Jan 25 15:33 gpmdata
crw-------    1 root     root      10,   1 Jul  5  2000 psaux

"c" means it's a character device, sending one character of data at a time, like a mouse or keyboard. "b" is a block device, like a hard drive, where a whole chunk of information (sector? cluster?) is sent at a time. I'm not sure what "p" means, but it may be part of the /proc system, which is not real devices but temporary "magic" ones, in this case, being a temporary magic device that reads mouse movement from the gpm program and passing it on to the X server.


XF86Config:
Section "Pointer"
Protocol        "MouseMan"
Device "/dev/mouse" ## Protocol "PS/2"
##  Device     "/dev/gpmdata"
   BaudRate        1200
   Emulate3Timeout 50
   Resolution      100
#   Buttons         3
   Emulate3Buttons
EndSection

gpmconf:

device=/dev/gpmdata responsiveness= repeat_type=raw type=MouseMan append=""

gpm.conf's "device=" line needs to point to the real mouse device; gpmdata is only a middle-man between gpm and X. If it's a ps/2 style connector, you probably want it to read "device=psaux". For a generic PS/2 mouse, the "type=" line probably needs to read "type=ps/2" (or "type=imps2" if you have a wheel).

hth
Kent

Reply via email to