On Tue, 5 Nov 2002, Alex Horvath wrote:

> Stew,
> 
> I wiped out my 2+3 button mappings.
> 
> Could you give me the config lines and the file they are from so I can get
> them back ?
> 

They are currently only done by the installer:

/etc/sysctl.conf:

dev.mac_hid.mouse_button_emulation = 1
dev.mac_hid.mouse_button2_keycode = 87
dev.mac_hid.mouse_button3_keycode = 88

sysctl -p will reload the settings

mouse.pm in the install source has more codes, the above are F11, F12

As you found out, mousedrake will nicely wipe those settings out.

Stew

> Thanks,
> 
> AH
> ----- Original Message -----
> From: "Stew Benedict" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 05, 2002 6:37 AM
> Subject: Re: [Cooker-PPC] Changing display mode
> 
> 
> >
> > On Mon, 4 Nov 2002, Alex Horvath wrote:
> >
> > > Could it have something to do with my mouse ?  If I try to change it
> from
> > > inside X, using the control centre, the display blanks, then when it
> comes
> > > back, it gives me an error about IMPS2 not being a correct mode.
> > >
> > > Any other ideas ?
> >
> > IMPS2 should be valid, although in the XConfig it's written IMPS/2.
> > Here's a snippet of mine, altered by using mousedrake:
> >
> > Section "InputDevice"
> >     Identifier "Mouse1"
> >     Driver "mouse"
> >     Option "Protocol" "IMPS/2"
> >     Option "Device" "/dev/usbmouse"
> >     Option "ZAxisMapping" "4 5"
> > EndSection
> >
> > I'm using both the Powerbook trackpad and a wheeled Logitech USB mouse.
> > You should be aware that mousedrake isn't PPC savvy, and will wipe out
> > your 2nd, 3rd button emulations for you :(.
> >
> > Even a bad mouseconfig shouldn't be giving you signal 11.  That's a fairly
> > severe error:
> >
> > SIGSEGV      11       Core    Invalid memory reference
> >
> > You can readily eliminate the mouse from your troubleshooting by using:
> >
> > startx -- -allowMouseOpenFail
> >
> > Stew Benedict
> >
> > --
> > MandrakeSoft
> > PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
> > IRC: irc.openproject.net #cooker-ppc
> > Archives: http://marc.theaimsgroup.com/?l=mandrake-cooker-ppc&r=1&w=2
> >
> >
> 
> 

Stew Benedict

-- 
MandrakeSoft    
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc
Archives: http://marc.theaimsgroup.com/?l=mandrake-cooker-ppc&r=1&w=2


Reply via email to