(Answer) (Category) Linux on PowerPC FAQ-O-Matic : (Category) System Configuration : (Category) MkLinux specific :
How do I get GPM to work under MkLinux?
In MkLinux you must set a boot parameter in /mach_servers/bootstrap.conf. If your previous bootstrap.conf file looked like this:
  -w default_pager /dev/boot_device/mach_servers/default_pager
  -k -S 524288000 startup /dev/boot_device/mach_servers/vmlinux
Add a "-c" switch to set "environment variables" for vmlinux when it starts.
  -w default_pager /dev/boot_device/mach_servers/default_pager
  -k -S 524288000 startup /dev/boot_device/mach_servers/vmlinux -c "root=/dev/sdb9 adb_buttons=X,YY,ZZ"
If you already had a "-c" switch, separate variables and variable=value pairs with spaces.

YOU MUST LIST YOUR ROOT DEVICE WHEN USING "-c"!

The "X" stands for the number of buttons to emulate (generally either 2 or 3). The "YY" stands for the button 2 modifier keycode. The "ZZ" stands for the button 3 modifier keycode. The "ZZ" argument is no required if you only want to emulate two buttons (for a total of three).

To determine your keycodes, run showkey(1). Note that you can only use MODIFIER keys in conjunction with the single mouse button. My modifier keys are defined as follows on my US Apple Extended Keyboard II (YMMV):

  control    54
  command    55
  shift      56
  capslock   57
  option/alt 58
I'm using 58 (option/alt) for button 2 and 55 (command) for button 3.

[NOTE: I haven't actually gotten this working yet. I'll probably give up for now. Not sure what I'm doing wrong.]

Info courtesy Tom Rini <tmrini@ntplx.net> on the mklinux-development-system mail list.

[Append to This Answer]
Previous: (Answer) How do I change the Linux Server in Mac OS?
This document is: http://www.jonh.net/cgi-bin/lppcfom/fom?file=520
[Search] [Appearance]
This is a Faq-O-Matic 2.717d.
Hosted by anduin.org and SourceForge Logo