LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   usb mouse major/minor number (https://www.linuxquestions.org/questions/linux-hardware-18/usb-mouse-major-minor-number-36801/)

raven 11-29-2002 09:03 AM

usb mouse major/minor number
 
hello

i have installed usb sucsessfully, the moouse i plugged into the usb hub is recognised.
i already have an entry in /dev called usbmouse with 10,32 as char major and char minor number.

how do I need to set up XFree86 to use a second mouse (but leave the first one)?

i modified my XF86Config this way:

added lines:

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Devise" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection

still the mouse wont move. what do i need to do? is it possible that I need other char major/minor numbers for the usb device?

heartsblood 12-03-2002 12:19 AM

USBMICE
 
i've herd that you can do that with gpm
if your using debian,
apt-get install gpm
man gpm
there is a way to make 2 mice work with it, i just can't remember of the top of my head, but i know for a fact its in the man

raven 12-03-2002 02:31 AM

well, i dont have apt-get anymore, and i found a way to set up XFree86 to use 2 mice.

thanks anyway

raven

lhillu 12-06-2002 01:15 PM

2 mice? show me
 
How did you get the second mouse working? I currently have 1 USB mouse working, and would also like to enable my touchpad. I have a dell latitude cpx h running redhat 7.3.

raven 12-06-2002 05:07 PM

you have to configure an "InputDevice" section in your XF86Config file.
ant then add a line th the "ServerLayout" section that defines your second mouse as another pointer device.

please refer to the man page (or other doc) because i am not sure what i did is correct, the mouse isnt working (because of usb), so i cant tell you if i did everything right.

raven

lhillu 12-06-2002 11:15 PM

Well, I found one way around it. I unplugged my usb mouse before booting, then my touchpad was recognized. Configured that and it works fine now. However, I would like to be able to have my usb mouse config there so I don't have to redo that config every time I want to use the usb mouse. Is this possible? To have the touchpad work all the time and have the USB mouse work as soon as I plug it in?

raven 12-07-2002 06:19 AM

then you should configure your usb mouse as secondary mouse.

this stuff is all set up in the XF86Config file. as I said, I am not sure weather my config worked right, cos usb didnt do the job, it should have. so i cant really say this "worked" at my site.

you wont get around tweaking your configs, cos as far as I remeber, there is no option setting up two mice under X in any installer.

raven


All times are GMT -5. The time now is 01:35 AM.