View previous topic :: View next topic |
Author |
Message |
Bangz Tux's lil' helper
Joined: 23 Jan 2003 Posts: 148 Location: Brisbane/Austrralia
|
Posted: Sun Feb 23, 2003 9:26 am Post subject: Problems getting USB mouse working! |
|
|
OK, sorta of a continuation of my other thread.
OK, I have managed to compile my kernel with module support for everything I need.
modprobe input
modprobe mousedev
modprobe hid
all work fine.
However, when I:
modprobe usb-ohci
I get this:
Quote: |
modprobe usb-ohci
/lib/modules/2.4.19-gentoo-r10/kernel/drivers/usb/usb-ohci.o: init_module: No such Device
Hint: insmod errors can be caused by incorrect odule parameters, including invalid IO and IRQ parameters.
You may find more information in syslog or in the output of dmesg.
|
This is /var/log/everything/everything:
Quote: | Feb 24 04:59:11 [kernel] PCI: No IRQ known for interrupt Pin A of device 00:02.0. Try using pci=biosirq
|
When I use modprobe usb-ohci pci=biosirq - it says "Warning: Ignoring pci=biosirq. No such parameter in this module."
This is output of dmesg:
Quote: | found OHCI device with no IRQ assigned. Check BIOS settings! |
Thats basically it. Seems like Linux wants the IRQ of the USB host controller. I looked thru the BIOS but couldn't see anything useful. All I found was a setting for USB which either disables USB, makes it 1.1, or makes it 1.1+2.0.
Any help appreciated it.
Yes, I'm fairly certain its usb-ohci, because the README for my nForce drivers says so... |
|
Back to top |
|
|
modal Apprentice
Joined: 02 Oct 2002 Posts: 277
|
Posted: Sun Feb 23, 2003 9:30 am Post subject: |
|
|
One thing that i've found out with my nforce board is that it hates to add modules without being rebooted first.
So add the modules you NEED into the /etc/modules.autoload file, and then reboot.
For some reason, it clears up all exsisting irq problems for me. |
|
Back to top |
|
|
Bangz Tux's lil' helper
Joined: 23 Jan 2003 Posts: 148 Location: Brisbane/Austrralia
|
Posted: Sun Feb 23, 2003 9:32 am Post subject: |
|
|
I did that :/
When I recompiled my kernel.
My added them into modules.autoload, then rebooted. Everything except usb-ohci worked.
Im gonna try giving the kernel pci=biosirq with grub now. |
|
Back to top |
|
|
puddpunk l33t
Joined: 20 Jul 2002 Posts: 681 Location: New Zealand
|
Posted: Sun Feb 23, 2003 9:39 am Post subject: |
|
|
There should be a option in your BIOS about the USB IRQ settings. Look harder?
Anyway, seems like a perfect candidate for the "Hardware and Laptops" forum. |
|
Back to top |
|
|
Bangz Tux's lil' helper
Joined: 23 Jan 2003 Posts: 148 Location: Brisbane/Austrralia
|
Posted: Sun Feb 23, 2003 9:40 am Post subject: |
|
|
I tried passing the kernel pci=biosirq
didnt change anything. |
|
Back to top |
|
|
Bangz Tux's lil' helper
Joined: 23 Jan 2003 Posts: 148 Location: Brisbane/Austrralia
|
Posted: Sun Feb 23, 2003 9:50 am Post subject: |
|
|
puddpunk wrote: | There should be a option in your BIOS about the USB IRQ settings. Look harder? |
There isn't.
I looked again to confirm.
In PNP/PCI COnfig, it only has assign IRQ to VGA. (doesnt have Assign IRQ to USB). |
|
Back to top |
|
|
Bangz Tux's lil' helper
Joined: 23 Jan 2003 Posts: 148 Location: Brisbane/Austrralia
|
Posted: Mon Feb 24, 2003 12:12 pm Post subject: |
|
|
OK. I have managed to get all nesscary modules loaded (by changing IRQs etc in BIOS).
However, my mouse is still not working.
I think all the modules are loaded, but cat /dev/input/mice, or /dev/usbmouse do nothing.
input
mousedev
hid
usb-ohci
Are all loaded (as well as keybdev (which hid loads)). In that order.
Microsoft Intellmouse Explorer V3 via USB. |
|
Back to top |
|
|
pinguin751 n00b
Joined: 24 Feb 2003 Posts: 3
|
Posted: Mon Feb 24, 2003 4:25 pm Post subject: |
|
|
hi,
i have/had a similar problem. i use usb-uhci and usb microsoft trackball. loading modules worked fine but mouse did not move. so i configured and started gpm and now it works; gpm & X.
recently i had no time to figure out. perhaps someone of you will do so.
bye |
|
Back to top |
|
|
Bangz Tux's lil' helper
Joined: 23 Jan 2003 Posts: 148 Location: Brisbane/Austrralia
|
Posted: Wed Feb 26, 2003 6:24 am Post subject: |
|
|
Still had no luck. Anyone? |
|
Back to top |
|
|
Air-Op n00b
Joined: 02 Apr 2003 Posts: 52
|
Posted: Wed Apr 02, 2003 3:59 pm Post subject: There are 2 usb possiblities |
|
|
The guy who configured my kernel didn't add OHCI to it.
we didn't know exactly what we were doing... but there are at least two USB controllers possible...
I personally haven't gotten my usb mouse to work. and GNOME sucks at being usefull without a mouse... and gdm reloads itself whenever one tells it to shut down... |
|
Back to top |
|
|
Tiganu Tux's lil' helper
Joined: 02 Oct 2002 Posts: 105 Location: Montreal
|
Posted: Wed Apr 02, 2003 4:06 pm Post subject: |
|
|
For my KT333 & USB Logitech:
In /etc/modules.autoload:
I don't use OHCI from the kernel(gentoo-2.4.20-r1) config, I use the UHCI Alternate (JE) driver, and HID as module + HID Input Layer Support.
My mouse lights up once hid module is loaded.
In XF86Config:
Code: | Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "off"
EndSection
|
In /etc/devfsd.conf:
Code: |
# Create /dev/mouse
LOOKUP ^mouse$ CFUNCTION GLOBAL mksymlink misc/psaux mouse
REGISTER ^misc/psaux$ CFUNCTION GLOBAL mksymlink $devname mouse
UNREGISTER ^misc/psaux$ CFUNCTION GLOBAL unlink mouse
# Manage USB mouse
REGISTER ^input/mouse0$ CFUNCTION GLOBAL mksymlink $devname usbmouse
UNREGISTER ^input/mouse0$ CFUNCTION GLOBAL unlink usbmouse
REGISTER ^input/mice$ CFUNCTION GLOBAL mksymlink $devname usbmouse
UNREGISTER ^input/mice$ CFUNCTION GLOBAL unlink usbmouse
|
|
|
Back to top |
|
|
|