LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 11-29-2002, 09:03 AM   #1
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 31
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?
 
Old 12-03-2002, 12:19 AM   #2
heartsblood
LQ Newbie
 
Registered: Dec 2002
Location: USA, DC
Distribution: debian
Posts: 1

Rep: Reputation: 0
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.
 
Old 12-03-2002, 02:31 AM   #3
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 31
well, i dont have apt-get anymore, and i found a way to set up XFree86 to use 2 mice.

thanks anyway

raven
 
Old 12-06-2002, 01:15 PM   #4
lhillu
LQ Newbie
 
Registered: Dec 2002
Posts: 6

Rep: Reputation: 0
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.
 
Old 12-06-2002, 05:07 PM   #5
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 31
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
 
Old 12-06-2002, 11:15 PM   #6
lhillu
LQ Newbie
 
Registered: Dec 2002
Posts: 6

Rep: Reputation: 0
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?
 
Old 12-07-2002, 06:19 AM   #7
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 31
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is a major number and a minor number ? Menestrel Linux - Newbie 2 10-11-2004 07:53 AM
why there is a need for minor number and major number for monitor/keyboard in pc? tripathi Solaris / OpenSolaris 1 11-07-2003 09:36 AM
Mouse mknod major/minor numbers? BlurredWeasel Linux - Hardware 2 11-06-2003 02:22 PM
major/minor number zyan Linux - Newbie 2 06-25-2001 06:57 PM
major /minor number zyan Linux - General 0 06-22-2001 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration