tullamore
04-05-2001, 06:49 PM
I finally got LinuxPPC working on my Apple Network Server 700 and I can't do much with just one button, does anyone know how to set it up to emulate the 3 button mouse using the function keys?
|
Click to See Complete Forum and Search --> : Mouse Emulation Problem tullamore 04-05-2001, 06:49 PM I finally got LinuxPPC working on my Apple Network Server 700 and I can't do much with just one button, does anyone know how to set it up to emulate the 3 button mouse using the function keys? slydoggy 04-05-2001, 07:44 PM If you want a three button mouse you need to edit the sysctl.conf file which is in etc/. Edit below the line that has # Enables 3-button mouse emulation on PPC dev.mac_hid.mouse_button_emulation = 1 and add dev.mac_hid.mouse_button2_keycode = 65 dev.mac_hid.mouse_button3_keycode = 125 I believe 125 is the command key, at least on my PB it is I set it as right button since the command key does nothing in linux. Before you enter the code, in a term window type showkey and when you press and release the key code shows up for the keys you press. and restart. There is a line command to get it working without restart but I forget. ciao [ 05 April 2001: Message edited by: slydoggy ] [ 05 April 2001: Message edited by: slydoggy ] tullamore 04-05-2001, 10:03 PM I didn't have that file on my system but if I use the following kernal command on startup it works with the F11 and F12 keys. adb_buttons=1,103,111 slydoggy 04-06-2001, 02:13 PM I came across something like that recently. How do write to the kernel? Where is the kernel? I still got to figure those things out. I know you can past arguements to the kernel through yaboot.conf but how else does one do that? Steep learning curve. ciao tullamore 04-06-2001, 02:36 PM I am running Linux on an Apple Network Server 700 and as you might know it can't boot MacOS because the ROM was built for Apple's AIX system. To address the kernel I enter the command after my boot statement in OpenFirmware. However I still haven't found where in the OF printenv to put a kernel command so I still have to give the boot cammands manually. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |