View previous topic :: View next topic |
Author |
Message |
sciclipse n00b
Joined: 22 Feb 2004 Posts: 8
|
Posted: Sun Feb 22, 2004 6:04 am Post subject: Need help getting usb mouse to work. |
|
|
Hey,
This is my first time using linux, but for some reason my /dev does not contain a /input nor a usbmouse... could someone please tell me how I could go about fixing this or getting them?
I've tried looking at the kernel nothing there
I've tried searching emerge for usb and mouse and mice
I've tried editing /usr/src/linux/.config
So please.. if anyone could help it's muchly appreciated. _________________ Have a great one!
Sciclipse |
|
Back to top |
|
|
pinr Apprentice
Joined: 26 Jan 2003 Posts: 241 Location: Monterrey, Mexico
|
Posted: Sun Feb 22, 2004 6:13 am Post subject: |
|
|
Hi I think you need to enable the following in the kernel:
in the usb section enable usb human interface device, HID Input layer support and Raw hid device support. And in the Input core support section enable mouse support. Hope this helps |
|
Back to top |
|
|
sciclipse n00b
Joined: 22 Feb 2004 Posts: 8
|
Posted: Sun Feb 22, 2004 6:25 pm Post subject: Now what? |
|
|
Thank you, but now I enabled
the raw HID input device and still have
no usbmouse.. maybe I'm putting
the wrong command in for X, so if
someone could help me it would be muchly
appreciated thanx. _________________ Have a great one!
Sciclipse |
|
Back to top |
|
|
pinr Apprentice
Joined: 26 Jan 2003 Posts: 241 Location: Monterrey, Mexico
|
Posted: Sun Feb 22, 2004 7:29 pm Post subject: |
|
|
Did you enable all the kernel options? I don't use a usb mouse but I think you need to put somthing like this in the XF86Config-4
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
|
Back to top |
|
|
sciclipse n00b
Joined: 22 Feb 2004 Posts: 8
|
Posted: Wed Feb 25, 2004 5:36 am Post subject: |
|
|
Ok I made sure everything in the kernel was good to go. Reinstalled it. I also made sure the configuration file was set correctly. But my issue is that there is no usbmouse, input... the files don't exist.. so what do i do? Is there away that I could install them or emerge them i should say.. please help if possible. _________________ Have a great one!
Sciclipse |
|
Back to top |
|
|
Fubarovic Tux's lil' helper
Joined: 18 Aug 2003 Posts: 115 Location: Belgium
|
Posted: Wed Feb 25, 2004 1:57 pm Post subject: |
|
|
Are you sure you're using the newly compiled kernel? _________________ Orbis non sufficit |
|
Back to top |
|
|
sciclipse n00b
Joined: 22 Feb 2004 Posts: 8
|
Posted: Thu Feb 26, 2004 7:36 am Post subject: |
|
|
yes. i deleted my old one and reinstalled the new one. _________________ Have a great one!
Sciclipse |
|
Back to top |
|
|
koprimer n00b
Joined: 29 Feb 2004 Posts: 64
|
Posted: Sun Feb 29, 2004 9:56 am Post subject: |
|
|
I had the same problem, and found that my kernel wasn't at all set up properly. Luckly, I found the problem and now have a working Microsoft Wireless Intellimouse Explorer.
Here's a snip of the kernel config (btw, using gentoo-sources 2.4.22):
Code: |
Input core support --->
<*> Input core support
<*> Keboard support
<*> Mouse support
(1024) Horizontal screen relosution
(768) Vertical screen resolution
<*> Joystick support
<*> Event interface support
USB support --->
<*> Preliminary USB device filesystem
<*> UHCI Alternate Driver (JE) Support
<*> USB Human Interface Devices (HID)
[*] HID input layer support
[*] /dev/hiddev raw HID device support
< > USB HIDBP Keyboard (basic) support
< > USB HIDBP Mouse (basic) support
|
BTW, if you want to use /dev/usbmouse then either:
1. make a link to /dev/input/mice or
2. don't include USB Human Interface Devices, instead inlucde USB HIDBP.
If you compile USB HID as modules then make sure to add them to the modules.autoload file.
Thanks to Vlad's HOWTO https://forums.gentoo.org/viewtopic.php?t=79&highlight=
Quote: |
Edit your /etc/modules.autoload file and add the following lines:
Code: |
input
mousedev
hid
usb-uhci (or uhci)
|
|
Snip of the /etc/X11/XF86Config (for the Microsoft Intellimouse Explorer)
Code: |
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection
|
Note: if you were to use usbmouse, then use:
Code: |
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/usbmouse"
|
also make sure you have hotplug installed and added to your default startup.
Code: |
emerge hotplug
rc-update add hotplug default
|
Hope this helps...
Last edited by koprimer on Mon Mar 01, 2004 7:31 am; edited 2 times in total |
|
Back to top |
|
|
soroh6 Apprentice
Joined: 07 Nov 2002 Posts: 232
|
Posted: Sun Feb 29, 2004 11:40 pm Post subject: |
|
|
A little bit useless if you're compiling them built in, as apposed to modules which is how you had it:) [not trying to go against you, just prevent any confusion] _________________ :: soroh -*~ |
|
Back to top |
|
|
koprimer n00b
Joined: 29 Feb 2004 Posts: 64
|
Posted: Mon Mar 01, 2004 7:36 am Post subject: |
|
|
Thanks soroh6 for spotting that out. I added that in for those who may have needed it but didn't clarify. I went ahead and made a note of it above.
You are right though that the modules don't need to be added to modules.autoload if compiled in, if done it won't cause a kernel panic yet does generate errors. |
|
Back to top |
|
|
|