I have both Xpmac and gpm. Here are the relevant settings:
(Note I have to use different keycodes to use F9 as middle- and F10 as
right button -- YMMV).
Kernel arguments in BootX:
/etc/gdm/gdm.conf (only the relevant section):
0=/usr/bin/X11/X vt7 -depth 16 -middlekey 109 -rightkey 117 -nooptionmouse -once dpms r -f 0 +kb
# /etc/gpm.conf - configuration file for gpm(1)
append="-g2 -l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\""
(/etc/gpm-root.conf out of the box)
[andre@mir ~]$ ls -la /dev/adbmouse
crw-rw---- 1 root root 10, 10 Apr 10 04:13 /dev/adbmouse
[andre@mir ~]$ ls -la /dev/mouse
lrwxrwxrwx 1 root root 8 Jun 1 11:52 /dev/mouse -> adbmouse
[andre@mir ~]$ ls -la /dev/gpmctl
srwxrwxrwx 1 root root 0 Jun 26 01:57 /dev/gpmctl
Selected text (give an extra tip on the touchpad if you use it as the
button) can also be pasted with option-Trackpad; this
won't work if you switch from X to console or vice versa, and may
according to a security setting (see man gpm), not work between
different consoles either.
pohl <email@example.com> writes:
> Today's thread on Xpmac spurred me to resume my efforts to get
> it running. It turned out to be very easy after all, with one
> exception: in the debian/x86 universe, I was never able to get
> mouse support under X unless "gpm" was running, but under Xpmac
> the exact opposite was the case: my mouse would only work after
> executing "/etc/init.d/gpm stop".
> Now that it's running, I have a configuration question: I'm used to
> tweaking XF86Config to get the resolution/bit-depth that I want, but
> Xpmac operates on some magic principles that I don't understand. How
> do I tell it these configuration values? Are there any arbitrary
> limitations that I need to know about?
> G4 w/ Rage128Pro(ATI)
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com