Hello, I've got a laptop that usually resides in a docking station at work, where it is connected to an ordinary wheelmouse. That works fine. When I take the laptop out of the docking station, disconnect the mouse, and start up Linux again (so using the touchpad), the pointer tends to go crazy. Now, I know the reason for this is the protocol is wrong in the XF86Config file. The wheelmouse uses IMPS/2 with 5 buttons (3+wheel), the touchpad PS/2 with 2 buttons. I can fix this by editing the XF86Config file appropriately, and the touchpad works fine. Now, my question is: Is there any way to get Linux to automatically figure out that the mouse is not attached, and so fall back on the touchpad? BTW, I've set up two "Pointer" sections in XF86Config, and just adjust the CorePointer line to reference the correct one. XFree doesn't like having two CorePointers. I'm using SuSE 7.3, XFree86 4.x if it matters. Thanks, -Adam
Hmm... I did this a while back, setting up a serial trackball in addition to my PS2 mouse on my desktop... you have to load a the XInput module, and do some XF86Config tweaking... I don't have the config file I used anymore, but I recall figuring out how to do it by reading the XF86Config man page... here's an example... Here is an example of a ServerLayout section for a dual headed configuration with two mice: Section "ServerLayout" Identifier "Layout 1" Screen "MGA 1" Screen "MGA 2" RightOf "MGA 1" InputDevice "Keyboard 1" "CoreKeyboard" InputDevice "Mouse 1" "CorePointer" InputDevice "Mouse 2" "SendCoreEvents" Option "BlankTime" "5" EndSection My G4 Powerbook actually seems to be able to do this automatically, I'll go boot that over to Linux and post the XF86Config file... Nate -- Experience is not what happens to you; it is what you do with what happens to you. -- Aldous Huxley
Mandrake's got kudzu, so if I plug in another mouse it'll detect it during boot and ask to set it up. It's an absolute pain, but it works. And init script should be able to probe for a mouse and load the correct XF86config, but it's beyond me. Did you try a #linux irc channel? They usually know what's going on with that stuff. Wes On Tue, 4 Jun 2002 10:39:07 -0400 (EDT) Nate Godin <nate@WPI.EDU> wrote:
Hmm... I did this a while back, setting up a serial trackball in addition to my PS2 mouse on my desktop... you have to load a the XInput module, and do some XF86Config tweaking... I don't have the config file I used anymore, but I recall figuring out how to do it by reading the XF86Config man page... here's an example...
Here is an example of a ServerLayout section for a dual headed configuration with two mice:
Section "ServerLayout" Identifier "Layout 1" Screen "MGA 1" Screen "MGA 2" RightOf "MGA 1" InputDevice "Keyboard 1" "CoreKeyboard" InputDevice "Mouse 1" "CorePointer" InputDevice "Mouse 2" "SendCoreEvents" Option "BlankTime" "5" EndSection
My G4 Powerbook actually seems to be able to do this automatically, I'll go boot that over to Linux and post the XF86Config file...
Nate --
Experience is not what happens to you; it is what you do with what happens to you. -- Aldous Huxley
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
participants (3)
-
Adam Elliott
-
Nate Godin
-
Wesley Allen