View previous topic :: View next topic |
Author |
Message |
Hieronymus n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/112341942645a8aac9d3475.png)
Joined: 04 Jan 2005 Posts: 38 Location: Terborg, The Netherlands
|
Posted: Tue Jan 18, 2005 7:31 am Post subject: USB mouse will not show up |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
yaneurabeya Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/847170557425b4ae95a2e6.gif)
Joined: 13 May 2004 Posts: 1754 Location: Seattle
|
Posted: Tue Jan 18, 2005 8:45 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Hieronymus n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/112341942645a8aac9d3475.png)
Joined: 04 Jan 2005 Posts: 38 Location: Terborg, The Netherlands
|
Posted: Tue Jan 18, 2005 12:02 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Tuna Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/8812564904eea5ab5ef976.png)
Joined: 19 Jul 2002 Posts: 485 Location: Berlin
|
Posted: Tue Jan 18, 2005 12:46 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Hieronymus n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/112341942645a8aac9d3475.png)
Joined: 04 Jan 2005 Posts: 38 Location: Terborg, The Netherlands
|
Posted: Tue Jan 18, 2005 1:06 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
wimbo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/208517254145869ec9d2211.jpg)
Joined: 19 Aug 2004 Posts: 110 Location: Ninove - Belgium
|
Posted: Tue Jan 18, 2005 2:43 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
yaneurabeya Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/847170557425b4ae95a2e6.gif)
Joined: 13 May 2004 Posts: 1754 Location: Seattle
|
Posted: Tue Jan 18, 2005 7:03 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Hieronymus n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/112341942645a8aac9d3475.png)
Joined: 04 Jan 2005 Posts: 38 Location: Terborg, The Netherlands
|
Posted: Wed Jan 19, 2005 8:05 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
yaneurabeya Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/847170557425b4ae95a2e6.gif)
Joined: 13 May 2004 Posts: 1754 Location: Seattle
|
Posted: Wed Jan 19, 2005 8:52 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|