USB mouse works with bare.i kernel, but not with the one I compiled.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
USB mouse works with bare.i kernel, but not with the one I compiled.
I'm using Slackware 9.1 on an IBM Thinkpad, and the mouse on the laptop works fine, but I can't get my USB mouse to work on the kernel I compiled. It works on the bare.i kernel though. The error I see when it's booting up is modprobe:modprobe:Can't locate module mousedev. Should I have compiled mouse support as a module instead of directly into the kernel?
For my part I enabled USB things as modules but I give you relevant part of my .config to let you see needed features for usb mouse.
Code:
# USB support
CONFIG_USB=y
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
# USB Host Controller Drivers
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
# USB Human Interface Devices (HID)
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
All other USB features are not set in my system, mouse works well
Well I got it to work, but I ended up finding the config file for the bare.i kernel and then just taking out what I was sure I didn't need out of there using menuconfig, and it worked when I booted up. I tried both of ya'lls suggestions, but I was never able to get anything to work. However, I am now having an error whenever I am booting up.
insmod: /lib/modules/2.4.22/kernel/dirvers/usb/host/uhci.o: unresolved symbol...
This message repeats about 50 or so times wtih something different after unresolved symbol everytime. Anyone have any ideas?
Yeah. I ran make dep, make clean, make bzImage, make modules, and then I catted the bzImage to /boot, and then copied the system map, and edited the lilo.conf file and then ran /sbin/lilo.
Originally posted by blk96gt Yeah. I ran make dep, make clean, make bzImage, make modules, and then I catted the bzImage to /boot, and then copied the system map, and edited the lilo.conf file and then ran /sbin/lilo.
It that's exact, then you didn't run make modules_install as root. That's what puts them into your kernel.
Dang, I didn't even think of that. The kernel installation instructions on slackware.org dont have that part in there, so I just never bothered doing it. So I guess I need to recompile the kernel again, or can I run that after I've already booted the kernel up.
Originally posted by blk96gt Dang, I didn't even think of that. The kernel installation instructions on slackware.org dont have that part in there, so I just never bothered doing it. So I guess I need to recompile the kernel again, or can I run that after I've already booted the kernel up.
I didn't think you were correct, but you are - those instructions don't say to run "make modules_install", but they do tell you how to get modules loaded if you read it carefully.
AFAIK you can run "make modules_install" as root and then run "lilo" and reboot and you'll get them. However, since you'd rather be safe than sorry, just login as root, then cd to /usr/src/linux and run "make oldconfig". This will read the defaults from your existing .config and rewrite necessary links and files. Since you've not made any changes, it should just rip through to the end. Then, issue the following command
bash-2.05b# make dep; make clean; make bzImage;make modules;make modules_install
and go take a nap or something. It will run the whole process unless you have an error, which you shouldn't. Then you'll need to copy your bzImage and System.map as before. You should be able to scroll back through your bash commands with the up arrow key and find them, so you can just hit enter.
Hope you get it working properly, and don't forget to read one of those good kernel guides. I would suggest backing up any important data as a precaution before recompiling a kernel - always. It's just good practice.
Well I did exactly what you said, and now I don't get the uhci error, but the mouse doesn't work anymore. And now im getting an insmod error with the i810_rn or something like that. When I get some time I'm going to read those kernel guides and give it another shot. Thanks for all the help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.