G3 Powerbook (Wallstreet), ADB Mouse PPC 2000 Q4, 3 button emulation

G3 Powerbook (Wallstreet), ADB Mouse PPC 2000 Q4, 3 button emulation

Post by David Cluni » Mon, 19 Feb 2001 06:06:44



I know this is an FAQ, but none of the frequent answers solve my problem !

On a G3 Powerbook (Wallstreet) with an ordinary one-button ADB Mouse using
PPC 2000 Q4 I am trying to set up the 3 button emulation (for KDE as it
happens).

None of the suggestions (like clearing the Xmodmap) to turn of the alt
mapping of the option key work.

Using "adb_buttons=" in the boot options doesn't seem to work either. The
Yellow Dog suggestion of "adb_buttons=1,102,111" doesn't seem to work.

Using "showkey" to find out the mappings of F11 and F12 respectively
gives 87 and 88, but neither "adb_buttons=1,87,88" nor "adb_buttons=87,88"
seems to work.

If anyone has solved this problem for this particular hardware combination
I would love to know.

I did try looking for a 3-button ADB mouse somewhere (like Kensington) but
can't find one anywhere. Any suggestions ?

david
--

Development Director, Medical Imaging Products  http://www.comview.com/
ComView Corporation                  Work 914-332-4800 Fax 208-445-5867
220 White Plains Road, 5th Floor     Home 570-897-7123 Fax 570-897-5117
Tarrytown NY 10591                              http://www.dclunie.com/

 
 
 

G3 Powerbook (Wallstreet), ADB Mouse PPC 2000 Q4, 3 button emulation

Post by Scott » Mon, 19 Feb 2001 08:43:13



Quote:> I know this is an FAQ, but none of the frequent answers solve my problem !

> On a G3 Powerbook (Wallstreet) with an ordinary one-button ADB Mouse using
> PPC 2000 Q4 I am trying to set up the 3 button emulation (for KDE as it
> happens).

<snip>
> david

I don't know if this will help, but take a look at:

http://www.linuxppc.com/support/updates/product/?category=2000publicb...
ject=mouse-buttons

The interactive faq off of the LinuxPPC site may not have the latest tips
for Q4.

Scott A

 
 
 

G3 Powerbook (Wallstreet), ADB Mouse PPC 2000 Q4, 3 button emulation

Post by David Cluni » Tue, 20 Feb 2001 03:40:46


Thanks Scott

That update was indeed the solution to my problem.

Specifically, one needs to forget all about adb_buttons as a kernel
argument, forget Xmodmap and instead:

% cd /proc/sys/dev/mac_hid
% echo 87 >mousebutton2_keycode
% echo 88 >mousebutton3_keycode

where 87 is F11 and 88 is F12 as shown by showkeys.

david




> > I know this is an FAQ, but none of the frequent answers solve my problem !

> > On a G3 Powerbook (Wallstreet) with an ordinary one-button ADB Mouse using
> > PPC 2000 Q4 I am trying to set up the 3 button emulation (for KDE as it
> > happens).

> <snip>
> > david

> I don't know if this will help, but take a look at:

> http://www.linuxppc.com/support/updates/product/?category=2000publicb...

> The interactive faq off of the LinuxPPC site may not have the latest tips
> for Q4.

> Scott A

--

Development Director, Medical Imaging Products  http://www.comview.com/
ComView Corporation                  Work 914-332-4800 Fax 208-445-5867
220 White Plains Road, 5th Floor     Home 570-897-7123 Fax 570-897-5117
Tarrytown NY 10591                              http://www.dclunie.com/
 
 
 

G3 Powerbook (Wallstreet), ADB Mouse PPC 2000 Q4, 3 button emulation

Post by David Cluni » Wed, 21 Feb 2001 01:55:48


Oh I forgot to mention, these settings don't seem to "stick" on
a reboot, you probably need to add them to rc.local or similar.

Presumably there is something somewhere to configure these (e.g.
in sysconfig) but I couldn't find an obvious place.

david


> Thanks Scott

> That update was indeed the solution to my problem.

> Specifically, one needs to forget all about adb_buttons as a kernel
> argument, forget Xmodmap and instead:

> % cd /proc/sys/dev/mac_hid
> % echo 87 >mousebutton2_keycode
> % echo 88 >mousebutton3_keycode

> where 87 is F11 and 88 is F12 as shown by showkeys.

> david




> > > I know this is an FAQ, but none of the frequent answers solve my problem !

> > > On a G3 Powerbook (Wallstreet) with an ordinary one-button ADB Mouse using
> > > PPC 2000 Q4 I am trying to set up the 3 button emulation (for KDE as it
> > > happens).

> > <snip>
> > > david

> > I don't know if this will help, but take a look at:

> > http://www.linuxppc.com/support/updates/product/?category=2000publicb...

> > The interactive faq off of the LinuxPPC site may not have the latest tips
> > for Q4.

> > Scott A

> --

> Development Director, Medical Imaging Products  http://www.comview.com/
> ComView Corporation                  Work 914-332-4800 Fax 208-445-5867
> 220 White Plains Road, 5th Floor     Home 570-897-7123 Fax 570-897-5117
> Tarrytown NY 10591                              http://www.dclunie.com/

--

Development Director, Medical Imaging Products  http://www.comview.com/
ComView Corporation                  Work 914-332-4800 Fax 208-445-5867
220 White Plains Road, 5th Floor     Home 570-897-7123 Fax 570-897-5117
Tarrytown NY 10591                              http://www.dclunie.com/
 
 
 

G3 Powerbook (Wallstreet), ADB Mouse PPC 2000 Q4, 3 button emulation

Post by Martin Costabe » Wed, 21 Feb 2001 05:34:48



> Oh I forgot to mention, these settings don't seem to "stick" on
> a reboot, you probably need to add them to rc.local or similar.

> Presumably there is something somewhere to configure these (e.g.
> in sysconfig) but I couldn't find an obvious place.

/etc/sysctl.conf, comes with recent versions of initscripts.

--
Martin