Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usbmouse and ps/2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
madpenguin8
n00b
n00b


Joined: 19 Jun 2002
Posts: 38
Location: Detroit MI

PostPosted: Wed Feb 12, 2003 12:32 am    Post subject: usbmouse and ps/2 Reply with quote

I've tried several how-to articles on the web on making a usb mouse and ps/2 mouse work together with X, but I have not been able to get it to work. I do have a working usb mouse device, but I'm not sure what I am doing wrong in XF86config. If anyone has this working please post your input section from XF86config. And also can this work hot plugable?

Thanks.
_________________
Have you ever stopped to think...............and never start again?
Back to top
View user's profile Send private message
taorob
n00b
n00b


Joined: 11 Feb 2003
Posts: 2

PostPosted: Wed Feb 12, 2003 5:12 am    Post subject: here's part of my setup file Reply with quote

Here's the pertinent sections cut from my /etc/X11/XF86Config file. This is working just fine for me.

The only limitation I've noticed is needing to have the USB mouse plugged in before starting X in order to have it work. These entries support a mouse with a scroll wheel and 2 or 3-button devices. (My touchpad has 2 buttons with a scroll slider and my USB mouse has 3 buttons with a scroll wheel).

Code:
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"
    Option "Emulate3Buttons"
    Option      "ZAxisMapping"   "4 5"
    Option      "Buttons"        "5"
EndSection
Section "InputDevice"
    Identifier  "USB Mouse"
    Driver      "mouse"
    Option      "Protocol"   "IMPS/2"
    Option      "Device"     "/dev/input/mice"
    Option      "ZAxisMapping"   "4 5"
    Option      "Buttons"        "5"
EndSection

Section "ServerLayout"
...extra stuff

    InputDevice "Mouse1" "CorePointer"
    InputDevice "USB Mouse" "SendCoreEvents"
...extra stuff
EndSection
Back to top
View user's profile Send private message
krt
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2002
Posts: 102
Location: Earth

PostPosted: Wed Feb 12, 2003 9:35 am    Post subject: Reply with quote

as long as you have hotplug support in your kernel, and point your usb device to /dev/usb/mice (and not mouse0, mouse1, etc.) you should be able to plug and unplug your usb mouse at will.. inclusive of not having it plugged in until after X is started (I do this all the time..)
_________________
Everyone has something clever for a signature but me.
Back to top
View user's profile Send private message
slougi
Apprentice
Apprentice


Joined: 12 Nov 2002
Posts: 222
Location: Oulu, Finland

PostPosted: Wed Feb 12, 2003 10:02 am    Post subject: Reply with quote

Also make sure the hotplug package is installed ("emerge hotplug" iirc)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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