View previous topic :: View next topic |
Author |
Message |
Kepp n00b
Joined: 09 Sep 2002 Posts: 18
|
Posted: Mon Sep 09, 2002 1:56 pm Post subject: Installing USB mouse in X |
|
|
So I'm still learning linux and I'm trying to get my usb mouse installed. I found the guide posted here about how to do it but I'm having trouble. I recompiled my kernel with the correct modules and then I added them to the modue autoload file.
The file was currently just a comment, I'm hoping that's normal. Anyway, they don't get loaded correctly and when I check on them each module fails.
Anyone know what is going on here, I'd like to get KDE up and running but I guess I'm ok just running apache and samba until then. |
|
Back to top |
|
|
pascall Tux's lil' helper
Joined: 29 Aug 2002 Posts: 101 Location: Montreal, Qc
|
Posted: Mon Sep 09, 2002 2:46 pm Post subject: |
|
|
Kepp,
Could you please post your modules.autoload file here (without the commented lines) ? That way i could compare with mine.
Could you also post the result of the modprobe command applied to the various modules, that could help us narrow the problem.
By the way, is the symlink /dev/input/mice created on your system ? If yes, the modules were loaded correctly and the problem is in your XFree86 config.
Hope I ll be able to help you further with your feedback. |
|
Back to top |
|
|
Kepp n00b
Joined: 09 Sep 2002 Posts: 18
|
Posted: Tue Sep 10, 2002 4:26 am Post subject: |
|
|
Here is an example of a modprobe:
Quote: | modprobe input
/lib/modules/2.4.19-gentoo-r7/kernel/drivers/input/input.o unresolved symbol preempt_schedule
/lib/modules/2.4.19-gentoo-r7/kernel/drivers/input/input.o: insmod /lib/modules/2.4.19-gentoo-r7/kernel/drivers/input/input.o failed
/lib/modules/2.4.19-gentoo-r7/kernel/drivers/input/input.o failed
/lib/modules/2.4.19-gentoo-r7/kernel/drivers/input/input.o insmod input failed |
Here is my modules.autoload file:
Quote: | input
mousedev
hid
usb-uhci (or uhci)
|
I used this guide: https://forums.gentoo.org/viewtopic.php?t=79 when I did everything. |
|
Back to top |
|
|
Kepp n00b
Joined: 09 Sep 2002 Posts: 18
|
Posted: Wed Sep 11, 2002 12:59 pm Post subject: |
|
|
Bump. |
|
Back to top |
|
|
jules n00b
Joined: 25 Aug 2002 Posts: 29 Location: Denton, TX
|
Posted: Wed Sep 11, 2002 2:54 pm Post subject: |
|
|
Quote: | /lib/modules/2.4.19-gentoo-r7/kernel/drivers/input/input.o unresolved symbol preempt_schedule |
have you enabled Preemptible kernel under Processor type and features when doing make menuconfig? what about low-latency scheduling?
if they're enabled, try re-compiling with them disabled.
i'm a kernel newbie, but i've seen errors like this when you enable something that depends on something "above" it in the kernel .config, without enabling what it depnds on.
hope that made at least _some_ sense.
good luck. |
|
Back to top |
|
|
pascall Tux's lil' helper
Joined: 29 Aug 2002 Posts: 101 Location: Montreal, Qc
|
Posted: Wed Sep 11, 2002 6:46 pm Post subject: |
|
|
Quote: |
/lib/modules/2.4.19-gentoo-r7/kernel/drivers/input/input.o unresolved symbol preempt_schedule
|
I have to say this one is pretty bizzare... Like Jules advises, you could try to recompile a kernel with pre-emptible and low latency disabled, but i am pretty sure I compiled a kernel once with them enabled and with the same mouse config than you. Strange indeed...
Another thing you could try is compiling the input and mouse stuff directly into the kernel, and not as modules. I ll check tonight on my box at home if my input stuff is compiled as modules or directly into the kernel. I ll keep you posted.
Take care. |
|
Back to top |
|
|
rafeco n00b
Joined: 31 Aug 2002 Posts: 17
|
Posted: Wed Sep 11, 2002 8:51 pm Post subject: Getting your mouse to work |
|
|
One thing I can say for sure is that your modules.autoload should contain "uhci" or "usb-uhci", not "uhci (or usb-uhci)". Check out the kernel modules that you generated and put the correct name in modules.autoload. On my system, the USB controller uses the "uhci" module.
Also, is it possible that you have an "ohci" USB controller, not "uhci"? |
|
Back to top |
|
|
Kepp n00b
Joined: 09 Sep 2002 Posts: 18
|
Posted: Thu Sep 12, 2002 2:38 am Post subject: |
|
|
Thanks for the responses, I do have preemptive scheduling installed, not sure about the low lantency beind disabled. How do I check wether or not my mouse is UHCI or the other one so I can change it. |
|
Back to top |
|
|
splooge l33t
Joined: 30 Aug 2002 Posts: 636
|
Posted: Thu Sep 12, 2002 2:44 am Post subject: |
|
|
You probably didn't mount your /boot partition before copying over your new bzImage, so you got new modules trying to be fit into a kernel they don't think they belong in. |
|
Back to top |
|
|
Kepp n00b
Joined: 09 Sep 2002 Posts: 18
|
Posted: Fri Sep 13, 2002 2:16 am Post subject: |
|
|
Yeah I did. |
|
Back to top |
|
|
aaronminute n00b
Joined: 02 Sep 2002 Posts: 50 Location: Bakersfield, California
|
Posted: Fri Sep 13, 2002 3:52 am Post subject: Try this |
|
|
This is at least the problem that I had with my USB mouse: I did not have "preliminary USB filesystem" selected. Then I needed to mount the USB filesystem this way:
none /proc/bus/usb usbdevfs defaults 0 0
That fixed everything. _________________ Aaron Meyer | "The search for truth is more
RLU# 283393 | precious than its possession"
RLC# 165786 | --Albert Einstein
Visit my website at http://aaron.hopto.org |
|
Back to top |
|
|
|