Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-15-2005, 11:25 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2005
Location: Dublin
Distribution: Ret Hat 9
Posts: 6
Rep:
|
USB Keyboard and Mouse
I have RH Linux 9 running on a Dell Dimension 5000 with a USB Keyb and mouse. The RH kernel is 2.4.20-8. It works happily away with all hardware detected and working.
I want to install kernel 2.4.28. So I download the kernel, can go through the motions of the config, build etc and reboot - but my USB Keyboard and mouse no longer work after boot. My only option is to switch off the machine (power switch) and then boot to the older kernel.
I've built that kernel (2.4.28) on a couple of other machines and it has alwars worked fine. I double checked that the USB HID support was enabled in the kernel config.
Any suggestions?
Tom.
|
|
|
|
04-16-2005, 09:32 PM
|
#2
|
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,178
Rep:
|
2.4.30 is out.
Perhaps modules (if you compiled as modules) aren't loaded.
|
|
|
|
04-18-2005, 05:33 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2005
Location: Dublin
Distribution: Ret Hat 9
Posts: 6
Original Poster
Rep:
|
Thanks for the reply. OK - more information required.
Kernel 2.4.28: I want to use this kernel as I've got a couple of machines all running 2.4.28. I wanna keep my distros across machines as even as possible. So for now - I'm not gonna consider moving kernel unless I have to.
Kernel build: In 'make menuconfig' I have nearly all the USB options selected. Two omissions would be USB Keyb/Mouse HIDBP Support (I've tried including these and rebuilding - made no difference).
Things I've noticed: The only kernel specific reference to modules etc. I can see is in '/etc/sysconfig/hwconf.' The 'ehci-hcd'device has a reference to the stock RH kernel. I don't know if that makes any difference. And that's my problem - I don't know enough about the linux boot process, how it's deciding what modules to load, etc., etc. I'm not sure where the hwconf file fits into the picture.
Modules etc.:
One thing I would like to do is boot the machine to 2.4.28 and see what modules are loaded. But without the keyb and mouse I can't do that on the local terminal. I can't set up the network card to telnet into the machine because the keyb and mouse aren't working. So am a little stuck.
If you've any more pointers, for a resource maybe so I can read about the hardware setup in the boot process, or of course the magic 'add a 0 to this file, and your problems will go away!!!' I'd appreciate it.
For what it's worth I googled for RH9 and USB keyboard/mouse but didn't spot much of value from the tons of hits after about an hour.
Tom.
|
|
|
|
04-18-2005, 02:51 PM
|
#4
|
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,178
Rep:
|
You can setup telnet/ssh with the old kernel, then boot the new and see the modules, and manually load them.
Is there any rc.local or rc.modules you can look at?
Sry, no magic 0 add  .
|
|
|
|
04-18-2005, 04:05 PM
|
#5
|
|
LQ Newbie
Registered: Apr 2005
Location: Dublin
Distribution: Ret Hat 9
Posts: 6
Original Poster
Rep:
|
OK - thanks for all the help... This was what happened:
The stock RH9 kernel had USB suport enabled as a Module. When I built 2.4.28 I mistakenly compiled the USB support directly into the kernel.
In the /etc/rc.sysinit script, part of the RH9 distro, there's some code to see if /proc/devices has a device called 'usb' listed. If there isn't then the script goes ahead and loads all the required modules. If there is already then the script steps over that step. Because I had built the USB support directly into the kernel it was skipping over this step. So the two modules for ehci-hcd and usb-ehci never loaded.
I'm not really sure WHY compiling th USB support directly into the kernel made such a difference (built in - loaded on boot - what's the difference?). I'm sure I should have been able to get the modules to load myself if I knew more about the rc.sysinit process etc....
I changed the 2.4.28 kernel config to load the USB support as a module and hey presto - I was back in business.
Ta for the steer on the telnet/SSH - must have been lacking caffeine or something today and friday - took me a while to sort this one out.
Thanks again,
Tom.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:59 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|