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.
I compiled a 2.6.8.1 kernel this evening, and the mouse was not working after a reboot. I found 'modprobe psmouse' (as root, and only as root) from the console got it working.
Why is this module not getting loaded during boot, whereas mousedev is being loaded in my 2.4 kernel? I don't see anywhere in /etc/rc.d where mousedev is being loaded.
Originally posted by Cedrik try enable hotplug with 2.6.8.1 kernel.
If it fails again, try :
# where is mousedev in rc.d ?
grep mousedev /etc/rc.d/*
# ok found it
uncomment /sbin/modprobe mousedev in rc.modules
As far I know, only root can modprobe modules, for security reason (did you know that a bad module can tweak your system or worst it can be a trojan)
I do have hotplug enabled. Also, I did grep for mousedev in rc.d and found it in rc.modules, like you said. However, the line is commented. I'm thinking mousedev was being autoloaded during boot, maybe when gpm executes? But, psmouse does not seem to be autoloaded.
I can add a modprobe psmouse to rc.modules, I suppose, but I'd like to know how mousedev was being autoloaded before, and why psmouse is not.
So, in my 2.6.8.1 kernel, I have ps2 mouse enabled as a module, and a psmouse.ko module was built, which I can load with modprobe as root, and the mouse works.
In parallel, my 2.4 kernel had a module mousedev.
However, mousedev seemed to be loaded automatically during boot; it's only reference in rc.d was commented out.
I did find a reference to mousdev in /etc/hotplug/usb.rc. However, it never gets called because "X11_USBMICE_HACK=false". So, I don't think that's where mousedev was being loaded.
I guess I'll try to find some info on how modules are autoloaded ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.