View previous topic :: View next topic |
Author |
Message |
ryouga n00b
Joined: 07 Jun 2003 Posts: 4
|
Posted: Sat Jun 07, 2003 10:29 pm Post subject: Possible locations for USB mouse |
|
|
Hi.
I'm installing Gentoo for the first time and having some problems running startx - specifically providing the right mouse location.
I'm using a USB Intellimouse Explorer that seems to be detected fine (according to kernel logs), but I can't find where it is stored in /dev. ...There are no /input /*mouse* or /*usb* folders for it to be stored, so I cannot modify xf86config correctly.
All USB HID support is included in the Kernel (and my USB keyboard works fine), but startx spits out an error that it cannot find the mouse in the default location /dev/mouse - and probably for good reason... because that location doesn't exist.
After scouring posts, I can't seem to find anyone with the same problem - only some issues with getting USB to work at all. I'm sure my problem is only a matter of finding where the mouse is in /dev, but I don't know where else to look.
Any advice/help would be appreciated!
-David Hembree
david at resnet.gatech.edu
some possibly relevant specs:
USB Microsoft Intellimouse Explorer
motherboard: ABIT AT7 (all USB in the back)
OHCI enabled
UHCI enabled (I've tried both versions of this, with no affect)
USB - full HID support, HID input layer support
USB - /dev/hiddev raw HID device support (have tried this on and off with no affect)
input core mouse/keyboard support is enabled as well |
|
Back to top |
|
|
gearheadsmp n00b
Joined: 05 Jun 2002 Posts: 38 Location: Memphis, Tennessee
|
Posted: Sat Jun 07, 2003 10:40 pm Post subject: mine is |
|
|
My USB mouse shows up as /dev/usbmouse. It too doesn't show up in either /dev/usb/ or /dev/usb/hid. _________________ "Captain, yer overloadin' her as it is. The power supply just isn't built to take two hard drrrives." |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Jun 07, 2003 10:49 pm Post subject: |
|
|
I use "/dev/input/mice"
You can use multiple USB mice at the same time like this.
Also make sure you have input core support compiled in. |
|
Back to top |
|
|
ryouga n00b
Joined: 07 Jun 2003 Posts: 4
|
Posted: Sat Jun 07, 2003 10:53 pm Post subject: |
|
|
Right, it should be in one of those places - but I have no /dev/usbmouse or /dev/input .... or /dev/usb, /dev/BLAHusbBLAH, /dev/BLAHmouseBLAH, etc...
perplexing.
-David |
|
Back to top |
|
|
tphamm Tux's lil' helper
Joined: 01 Jun 2003 Posts: 112 Location: Saskatoon, SK, CA
|
Posted: Sat Jun 07, 2003 11:00 pm Post subject: |
|
|
My USB mouse (Logitech optical wheelmouse) uses /dev/input/mice in X11. Here are my particulars, maybe they will work for you too.
My entry in /etc/X11/XF86Config:
Code: | Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
|
My modules.autoload file:
Code: | # For the USB mouse
usbcore
usb-uhci
hid
mousedev
|
This loads the following modules:
mousedev.o
hid.o
input.o
usb-uhci.o
usbcore.o
Hopefully this gives you some ideas. If everything is loaded correctly, you should be able to 'cat /dev/input/mice' and see funny characters output to the screen whenever you move the mouse. _________________ "This is a UNIX system! I know this!" -- little girl from dinasaur park |
|
Back to top |
|
|
ryouga n00b
Joined: 07 Jun 2003 Posts: 4
|
Posted: Mon Jun 09, 2003 5:08 pm Post subject: |
|
|
Thanks for the suggestions - but still I have no /dev/input folder; I could only think I had a borked Kernel, but all USB, HID, input and filesystem support seems to be compiled statically as in install notes.
Perhaps USB HID devices can be stored at another location? |
|
Back to top |
|
|
incubator Guru
Joined: 05 Jun 2003 Posts: 584 Location: Belgium
|
Posted: Mon Jun 09, 2003 5:15 pm Post subject: |
|
|
hmm, i have amicrosoft Intellimouse optical usb and is detected perfectly in /dev/input/mice
but´s thats what I read from booting with the cd though, so I hope the X-server get´s it allright |
|
Back to top |
|
|
t1deman n00b
Joined: 10 May 2003 Posts: 65 Location: california
|
Posted: Mon Jun 09, 2003 8:30 pm Post subject: |
|
|
does the mouse light up? do you see it detected on boot? _________________ t1deman |
|
Back to top |
|
|
|