View previous topic :: View next topic |
Author |
Message |
-=LeXuS=- n00b
Joined: 04 Nov 2003 Posts: 56
|
Posted: Sat Nov 29, 2003 1:19 pm Post subject: XFree and dynamic attached usb-mouse |
|
|
Hi,
I'm running gentoo on a notebook and I use an external mouse attached to usb if i'm at home. The problem is, if i'm on the road I doesn't has attached the mouse, but XFree doensnt like that and exits, I has do uncomment the input section where my mouse is defined. Is there any special switch that says XFree that this mouse doesn't has to be there...
Bye |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Sat Nov 29, 2003 3:19 pm Post subject: |
|
|
-=LeXuS=-
In your USB Mouse section in /etc/X11/XF86Config
include
[/quote] Option "SendCoreEvents" [quote]
Then in the ServerLayout Section, list both mice devices
[quote]#
"SendCoreEvents".
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse2"
EndSection
[/quote]
It will work with any one or even both mice now.
Regards,
NeddySeagoon _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Sat Nov 29, 2003 3:20 pm Post subject: |
|
|
-=LeXuS=-
In your USB Mouse section in /etc/X11/XF86Config
include
Quote: | Option "SendCoreEvents" Quote: |
Then in the ServerLayout Section, list both mice devices
| #
"SendCoreEvents".
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse2"
EndSection
|
It will work with any one or even both mice now.
Regards,
NeddySeagoon
edit: Sorry about the mangled formatting _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
-=LeXuS=- n00b
Joined: 04 Nov 2003 Posts: 56
|
Posted: Sat Nov 29, 2003 6:08 pm Post subject: |
|
|
I use SendCoreEvents, but the mouse driver complains about missing dev files. Thats right, they will be only available if the mouse is plugged in... |
|
Back to top |
|
|
|