Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems getting USB mouse working!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Bangz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2003
Posts: 148
Location: Brisbane/Austrralia

PostPosted: Sun Feb 23, 2003 9:26 am    Post subject: Problems getting USB mouse working! Reply with quote

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


Joined: 02 Oct 2002
Posts: 277

PostPosted: Sun Feb 23, 2003 9:30 am    Post subject: Reply with quote

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


Joined: 23 Jan 2003
Posts: 148
Location: Brisbane/Austrralia

PostPosted: Sun Feb 23, 2003 9:32 am    Post subject: Reply with quote

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


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Sun Feb 23, 2003 9:39 am    Post subject: Reply with quote

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


Joined: 23 Jan 2003
Posts: 148
Location: Brisbane/Austrralia

PostPosted: Sun Feb 23, 2003 9:40 am    Post subject: Reply with quote

I tried passing the kernel pci=biosirq

didnt change anything.
Back to top
View user's profile Send private message
Bangz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2003
Posts: 148
Location: Brisbane/Austrralia

PostPosted: Sun Feb 23, 2003 9:50 am    Post subject: Reply with quote

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


Joined: 23 Jan 2003
Posts: 148
Location: Brisbane/Austrralia

PostPosted: Mon Feb 24, 2003 12:12 pm    Post subject: Reply with quote

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


Joined: 24 Feb 2003
Posts: 3

PostPosted: Mon Feb 24, 2003 4:25 pm    Post subject: Reply with quote

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


Joined: 23 Jan 2003
Posts: 148
Location: Brisbane/Austrralia

PostPosted: Wed Feb 26, 2003 6:24 am    Post subject: Reply with quote

Still had no luck. Anyone?
Back to top
View user's profile Send private message
Air-Op
n00b
n00b


Joined: 02 Apr 2003
Posts: 52

PostPosted: Wed Apr 02, 2003 3:59 pm    Post subject: There are 2 usb possiblities Reply with quote

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


Joined: 02 Oct 2002
Posts: 105
Location: Montreal

PostPosted: Wed Apr 02, 2003 4:06 pm    Post subject: Reply with quote

For my KT333 & USB Logitech:

In /etc/modules.autoload:
Code:
hid
mousedev


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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