Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help getting usb mouse to work.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sciclipse
n00b
n00b


Joined: 22 Feb 2004
Posts: 8

PostPosted: Sun Feb 22, 2004 6:04 am    Post subject: Need help getting usb mouse to work. Reply with quote

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
View user's profile Send private message
pinr
Apprentice
Apprentice


Joined: 26 Jan 2003
Posts: 241
Location: Monterrey, Mexico

PostPosted: Sun Feb 22, 2004 6:13 am    Post subject: Reply with quote

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
View user's profile Send private message
sciclipse
n00b
n00b


Joined: 22 Feb 2004
Posts: 8

PostPosted: Sun Feb 22, 2004 6:25 pm    Post subject: Now what? Reply with quote

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
View user's profile Send private message
pinr
Apprentice
Apprentice


Joined: 26 Jan 2003
Posts: 241
Location: Monterrey, Mexico

PostPosted: Sun Feb 22, 2004 7:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Piratetrader
Apprentice
Apprentice


Joined: 25 Dec 2003
Posts: 156
Location: Wasilla, Alaska

PostPosted: Sun Feb 22, 2004 8:09 pm    Post subject: Reply with quote

Read this.http://www.gentoo.org/doc/en/desktop.xml

Pirate
_________________
The Bark is worse then the Bite!
Back to top
View user's profile Send private message
sciclipse
n00b
n00b


Joined: 22 Feb 2004
Posts: 8

PostPosted: Wed Feb 25, 2004 5:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Fubarovic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2003
Posts: 115
Location: Belgium

PostPosted: Wed Feb 25, 2004 1:57 pm    Post subject: Reply with quote

Are you sure you're using the newly compiled kernel?
_________________
Orbis non sufficit
Back to top
View user's profile Send private message
sciclipse
n00b
n00b


Joined: 22 Feb 2004
Posts: 8

PostPosted: Thu Feb 26, 2004 7:36 am    Post subject: Reply with quote

yes. i deleted my old one and reinstalled the new one.
_________________
Have a great one!
Sciclipse
Back to top
View user's profile Send private message
koprimer
n00b
n00b


Joined: 29 Feb 2004
Posts: 64

PostPosted: Sun Feb 29, 2004 9:56 am    Post subject: Reply with quote

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
View user's profile Send private message
soroh6
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 232

PostPosted: Sun Feb 29, 2004 11:40 pm    Post subject: Reply with quote

koprimer wrote:

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)


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
View user's profile Send private message
koprimer
n00b
n00b


Joined: 29 Feb 2004
Posts: 64

PostPosted: Mon Mar 01, 2004 7:36 am    Post subject: Reply with quote

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. :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum