Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual mouse (USB/PS2) on notebook
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
fre
n00b
n00b


Joined: 19 Apr 2002
Posts: 9
Location: Belgium

PostPosted: Fri Apr 19, 2002 6:36 pm    Post subject: Dual mouse (USB/PS2) on notebook Reply with quote

Hi guys,

I was wondering how to configure the following. Currently I'm using KDE on a notebook which has a touchpad that interfaces via the PS2 interface. I'm using the PS2 interface for the mouse in X.

Previously I also got my USB mouse working under X, but then the PS2 didn't work anymore (had to remove that from XF86Config).


Anybody got a clue how to enable both and make it dynamic so that it also works when the USB mouse is not there.

Thanks in advance,

Frederik.

PS: Gentoo made me finally switch my main machine to Linux after 2 years of doubt. Great stuff!!
Back to top
View user's profile Send private message
stt hand
Guest





PostPosted: Fri Apr 19, 2002 10:28 pm    Post subject: re: usb and ps/2 mouse Reply with quote

A copy of your /etc/X11/XF86Config and your /var/log/XFree86.0.log would help greatly
Back to top
ElCondor
Guru
Guru


Joined: 10 Apr 2002
Posts: 520
Location: Vienna, Austria, Europe

PostPosted: Sat Apr 20, 2002 9:49 am    Post subject: Re: Dual mouse (USB/PS2) on notebook Reply with quote

fre wrote:
Hi guys,

Previously I also got my USB mouse working under X, but then the PS2 didn't work anymore (had to remove that from XF86Config).



Here a sample I use on my Vaio (just the necessary parts): Mouse0 is the touchpad, Mouse1 is a Logitech Wheel Mouse on USB:

:!: XF86Config
----------------------- *snip* -------------------------
Code:

Section "ServerLayout"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice     "Mouse1" "AlwaysCore"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/mouse"
        Option      "Emulate3Buttons"
        Option      "Emulate3Timeout" "50"
EndSection

Section "InputDevice"
        Identifier      "Mouse1"
        Driver          "mouse"
        Option          "Protocol" "IMPS/2"
        Option          "Device" "/dev/input/mouse0"
        Option          "ZAxisMapping" "4 5"
EndSection

------------------------ *snap* --------------------------------

:?: My problem currently is, that i have to connect the usb-mouse during booting, otherways X will not detect it - got someone a solution for that?

ElCondor
Back to top
View user's profile Send private message
geburns
n00b
n00b


Joined: 19 Apr 2002
Posts: 65
Location: st paul, mn

PostPosted: Sat Apr 20, 2002 12:11 pm    Post subject: Re: Dual mouse (USB/PS2) on notebook Reply with quote

elcondor:

try this:

InputDevice "Mouse1" "SendCoreEvents" (instead of "AlwaysCore")

-g
Back to top
View user's profile Send private message
ElCondor
Guru
Guru


Joined: 10 Apr 2002
Posts: 520
Location: Vienna, Austria, Europe

PostPosted: Sat Apr 20, 2002 4:02 pm    Post subject: Reply with quote

geburns: i tried the "SondCoreEvents" option, but no change. connecting the usb-mouse later or dis-and-re-connecting it makes is unavailable :(

thanks for the try

ElCondor
Back to top
View user's profile Send private message
geburns
n00b
n00b


Joined: 19 Apr 2002
Posts: 65
Location: st paul, mn

PostPosted: Mon Apr 22, 2002 5:24 am    Post subject: Reply with quote

elcondor:

ok ... try using /dev/input/mice, but first cat /dev/input/mice, move the usb mouse around and see if you get wierd characters as below:

gali root # cat /dev/input/mice
??ÿ?ÿ8ÿÿ8ÿþ8ÿÿ(þ(þ(ý(ý(ü(ý(þ(ü(þ(ÿ(ÿ(ÿ(ÿ(ÿ(þ(þ(ÿ(þ(ÿ

the usb howto docs suggested using /dev/input/mice

hope this helps

-g
Back to top
View user's profile Send private message
ElCondor
Guru
Guru


Joined: 10 Apr 2002
Posts: 520
Location: Vienna, Austria, Europe

PostPosted: Mon Apr 22, 2002 9:07 am    Post subject: Reply with quote

@geburns: That did the trick! now with SendCoreEvents in XF86Config and /dev/input/mice as mouse-device the usb-mouse finally is as hot-pluggable as meant to be :D

Thanks a lot!

ElCondor
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum