Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing USB mouse in X
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
Kepp
n00b
n00b


Joined: 09 Sep 2002
Posts: 18

PostPosted: Mon Sep 09, 2002 1:56 pm    Post subject: Installing USB mouse in X Reply with quote

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


Joined: 29 Aug 2002
Posts: 101
Location: Montreal, Qc

PostPosted: Mon Sep 09, 2002 2:46 pm    Post subject: Reply with quote

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


Joined: 09 Sep 2002
Posts: 18

PostPosted: Tue Sep 10, 2002 4:26 am    Post subject: Reply with quote

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


Joined: 09 Sep 2002
Posts: 18

PostPosted: Wed Sep 11, 2002 12:59 pm    Post subject: Reply with quote

Bump.
Back to top
View user's profile Send private message
jules
n00b
n00b


Joined: 25 Aug 2002
Posts: 29
Location: New Lebanon, NY

PostPosted: Wed Sep 11, 2002 2:54 pm    Post subject: Reply with quote

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


Joined: 29 Aug 2002
Posts: 101
Location: Montreal, Qc

PostPosted: Wed Sep 11, 2002 6:46 pm    Post subject: Reply with quote

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


Joined: 31 Aug 2002
Posts: 17

PostPosted: Wed Sep 11, 2002 8:51 pm    Post subject: Getting your mouse to work Reply with quote

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


Joined: 09 Sep 2002
Posts: 18

PostPosted: Thu Sep 12, 2002 2:38 am    Post subject: Reply with quote

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


Joined: 30 Aug 2002
Posts: 636

PostPosted: Thu Sep 12, 2002 2:44 am    Post subject: Reply with quote

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


Joined: 09 Sep 2002
Posts: 18

PostPosted: Fri Sep 13, 2002 2:16 am    Post subject: Reply with quote

Yeah I did.
Back to top
View user's profile Send private message
aaronminute
n00b
n00b


Joined: 02 Sep 2002
Posts: 50
Location: Bakersfield, California

PostPosted: Fri Sep 13, 2002 3:52 am    Post subject: Try this Reply with quote

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
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