Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-29-2002, 09:03 AM
|
#1
|
Member
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297
Rep:
|
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?
|
|
|
12-03-2002, 12:19 AM
|
#2
|
LQ Newbie
Registered: Dec 2002
Location: USA, DC
Distribution: debian
Posts: 1
Rep:
|
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
Last edited by heartsblood; 12-03-2002 at 12:21 AM.
|
|
|
12-03-2002, 02:31 AM
|
#3
|
Member
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297
Original Poster
Rep:
|
well, i dont have apt-get anymore, and i found a way to set up XFree86 to use 2 mice.
thanks anyway
raven
|
|
|
12-06-2002, 01:15 PM
|
#4
|
LQ Newbie
Registered: Dec 2002
Posts: 6
Rep:
|
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.
|
|
|
12-06-2002, 05:07 PM
|
#5
|
Member
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297
Original Poster
Rep:
|
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
|
|
|
12-06-2002, 11:15 PM
|
#6
|
LQ Newbie
Registered: Dec 2002
Posts: 6
Rep:
|
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?
|
|
|
12-07-2002, 06:19 AM
|
#7
|
Member
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297
Original Poster
Rep:
|
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 11:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|