Results 1 to 2 of 2
NOTE : if you read the tutorial and are still experiencing difficulties and would like help, you are asked to start a new topic on the forums . Please do ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-02-2004 #1
- Join Date
- Mar 2004
HOWTO Activate the USB system for RedHat (and maybe others)
Please do NOT reply to this thread to ask a technical question. Replies to THIS thread should be corrections and enhancements on the tutorial/howto only.
Thanks in advance for your co-operation.
I just thought I would post this to help people in the same position as I was a few days ago.
I was trying to use my USB Optical mouse with my laptop / RedHat9, but nothing would happen when I plugged the mouse in. I found many forum posts and help pages explaining how to troubleshoot the mouse, how to do this and that blah blah, but they all assumed that the mouse was somehow seen by the computer and just not recognised (e.g. the eye was on), but mine did nothing, the eye light did not come on, there were no messages about USB at boot.
Well after giving up on the internet and just rooting around in the local files, I came to the kernel configuration tool in KDE. This showed me that USB support was not compiled in my kernel! Oh no I thought, I don't know how to recompile a kernel, I have only been using linux for a week! After yet more snooping around the system, I found some drivers, and after playing little, I managed to load USB support in to the Kernel without rebuilding, using the loadable kernel modules. Here is what I did, Im not sure this is totaly correct, or if it will work for you, but it seems to have worked well for me:
Firstly I ranCode:
kudzu -p > kudzu.logCode:
Ok, so next I made my way to:Code:
Ok, now check for 3 files:
usbcore.o (the core usb driver I would guess!)
usb-uhci.o (the uhci specific driver, another guess)
hid.o (human input devices driver, Im sure of this, mice-keyboards etc)
Next I ranCode:
I was going to search for info on how to load these modules automatically on boot, but it seems
the the kernel remembers that you loaded these, and does that automatically until you unload it manually.
Note that although I was doing this to get my mouse running (hence hid.o), I guess if you are having the problem that your USB system is inactive then you can follow the same procedure, there are many other modules in the usb folder, for storage, cameras etc etc, so you can replace hid.o with the driver you need.
Hope that helps save a lot of frustration for someone...
P.s if you have any corrections or more in depth explanations to add, post below and I will update the post.
- 04-02-2004 #2
- Join Date
- Jan 2003
- Cardiff, Wales
I used to run RH9 on my laptop.
I just had to change the following line in my /etc/modules.conf file.
modules.conf controls the way modules are loaded and the function of the various mod functions.
alias usb-controller usb-ohci
To see what modules are being used run
/sbin/lsmod | more
Don't know if this helps or not but the lsmod is much shorter than your command - and will work without kudzu.
KrisNo trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.