Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB mouse will not show up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Hieronymus
n00b
n00b


Joined: 04 Jan 2005
Posts: 38
Location: Terborg, The Netherlands

PostPosted: Tue Jan 18, 2005 7:31 am    Post subject: USB mouse will not show up Reply with quote

Ok, I am using the 2.6.10 kernel in an i386 arch (32bit).
I have checkt what usb drivers I must load with lspci -v and they are loaded on boot. From the ohci drivers I get the message that the hardware can't reset. I do not know if the usb ports itself work, the /dev/usb dir is empty. When I choose cat /dev/usbmouse or cat /dev/psaux or cat /dev/mice etc I get garbage only from my tochpad (working on a laptop). Does anyone know what could be wrong and more important what I can do to fix it?

Jeroen
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Tue Jan 18, 2005 8:45 am    Post subject: Reply with quote

What mouse are you trying to use and are you using udev or devfs?

Also, did you compile the other USB options for your kernel (EHCI, HID, UHCI) just in case?
Back to top
View user's profile Send private message
Hieronymus
n00b
n00b


Joined: 04 Jan 2005
Posts: 38
Location: Terborg, The Netherlands

PostPosted: Tue Jan 18, 2005 12:02 pm    Post subject: Reply with quote

yaneurabeya wrote:
What mouse are you trying to use and are you using udev or devfs?

Also, did you compile the other USB options for your kernel (EHCI, HID, UHCI) just in case?


I'm trying to use a logitch trackman usb mouse using devfs. I only compiled the EHCI, OHCI and HID drivers and raw hid usb drivers.
Back to top
View user's profile Send private message
Tuna
Guru
Guru


Joined: 19 Jul 2002
Posts: 485
Location: Berlin

PostPosted: Tue Jan 18, 2005 12:46 pm    Post subject: Reply with quote

i think the correct way would be to test /dev/input/mice. if the device still does not work or i would try to load the UHCI modules aswell. for testing i recommend an optical mouse. if the light of the device wont turn on while moving the mouse something is wrong with the usb drivers. if the light goes on but /dev/input/mice (/dev/input/mouse0 respectivly) shows no activity i suspect the HID drivers not to work correctly. either way. take a look at 'dmesg' after plugging the device.
Back to top
View user's profile Send private message
Hieronymus
n00b
n00b


Joined: 04 Jan 2005
Posts: 38
Location: Terborg, The Netherlands

PostPosted: Tue Jan 18, 2005 1:06 pm    Post subject: Reply with quote

Tuna wrote:
i think the correct way would be to test /dev/input/mice. if the device still does not work or i would try to load the UHCI modules aswell. for testing i recommend an optical mouse. if the light of the device wont turn on while moving the mouse something is wrong with the usb drivers. if the light goes on but /dev/input/mice (/dev/input/mouse0 respectivly) shows no activity i suspect the HID drivers not to work correctly. either way. take a look at 'dmesg' after plugging the device.


Ok, I checked the /dev/mice and the same problem occurs, only my touchpad shows up. After plugging in/out my mouse dmesg doesn't show any change. Besides this the mouse was working on cd boot. uhci drivers didn't either, I checked that allready.
Back to top
View user's profile Send private message
wimbo
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 110
Location: Ninove - Belgium

PostPosted: Tue Jan 18, 2005 2:43 pm    Post subject: Reply with quote

i have the same mouse problem. i'm using an optical usb mouse. it worked fine in 2.6.9 but now in 2.6.10 the kernel doesn't recognize it anymore

i compiled OHCI and HID in the kernel, but no luck.

i'm using udev now, did'nt use that in 2.6.9

greetz
wimbo
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Tue Jan 18, 2005 7:03 pm    Post subject: Reply with quote

If memory serves me correctly devfs doesn't map to /dev/input/mice. That's a udev thing.

Here are some of your options for a mouse mapping under devfs:
/dev/usbmouse
/dev/psaux

Also, from the fact that you're not getting anything to light up, I would suspect that you haven't loaded your kernel modules yet. Therefore, I bet the problem is dealing with the fact that you don't have coldplug/hotplug emerged or running at boot time. Those are essential services for peripherials unless you intend to load everything using /etc/modules.autoload.d/kernel-2.x.

How do you add them to your runlevels? Simply like this:
Code:

rc-update add hotplug default
rc-update add coldplug default


Make sure you're logged in as root though.

Hope that helps. Cheers!

//This was edited
Back to top
View user's profile Send private message
Hieronymus
n00b
n00b


Joined: 04 Jan 2005
Posts: 38
Location: Terborg, The Netherlands

PostPosted: Wed Jan 19, 2005 8:05 am    Post subject: Reply with quote

yaneurabeya wrote:
If memory serves me correctly devfs doesn't map to /dev/input/mice. That's a udev thing.

Here are some of your options for a mouse mapping under devfs:
/dev/usbmouse
/dev/psaux

Also, from the fact that you're not getting anything to light up, I would suspect that you haven't loaded your kernel modules yet. Therefore, I bet the problem is dealing with the fact that you don't have coldplug/hotplug emerged or running at boot time. Those are essential services for peripherials unless you intend to load everything using /etc/modules.autoload.d/kernel-2.x.

How do you add them to your runlevels? Simply like this:
Code:

rc-update add hotplug default
rc-update add coldplug default


Make sure you're logged in as root though.

Hope that helps. Cheers!

//This was edited


Ok, I switched to udev, installed hotplug/coldplug and when I plug in my mouse and run dmesg I see that the system has noticed the mouse. But I still can't find the devicename it is given to it. I tried all the devices I thought could be my mouse but again only my touchpad gave rubbisch on a cat command. So, the system sees that I have a device attached to the system, but I can't fing the device to use it.....
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Wed Jan 19, 2005 8:52 am    Post subject: Reply with quote

If you want to use your mouse, either in X or in a tty, I would refer to this other thread I'm helping out someone with: https://forums.gentoo.org/viewtopic.php?t=281977 . Just look for my posts ;).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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