LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2005, 11:16 AM   #1
Phoenix_Zero
LQ Newbie
 
Registered: Jan 2005
Location: I sleep i a dorm room, I live in my head.
Distribution: Debian/Kubuntu
Posts: 23

Rep: Reputation: 15
USB Not Functioning Correctly.


OK, here is what I'm currently dealing with.
I'm running Slack 10 kernel version 2.4.26 (I know I need to do a kernel update but havn't a clue how) on an alienware 51m laptop version 766.
I'm trying to get the touchpad and USB mouse working (ideally) or at least just the USB mouse. My friend helped me get it running before and then had me alter the rc.modules file and uncomment some code in the usb section. Now when I boot the usb mouse once again doesn't work. I remember him doing something with the commands "uhci" or "ohci" and the command "dmesg". Honestly I have no idea what these commands mean and he refuses to tell me. This is my first time on a linux system and although I am enjoying the challenge it is really nerve racking. He keeps telling me to look in the documentation under vi while in the command line but I then become stuck, because he refuses to tell me how to get out of vi while running without x. I know he means well but this is like telling a baby to run before it can crawl. So please be patient with me when explaining things, I'll probably have a lot of questions. Also if this question has appeared before I'm sorry, I did a "search" in the forums and didn't come up with this particular query (I came up with a lot of usb mouse problems, but none where /proc/bus/usb didn't exist). It should also be noted that hotplug is currently disabled. He had me remove the code for it so the system would function properly. If anyone could help me get hotplug running that would also be nice.
Thank you very much,
Alex


/EDIT/.

Well I got the usb working by modprobing usb-ohci and modprobing hid
However, hotplug still doesn't function.
Any help with hotplug would make me quite happy.
Thank you,
Alex
/EDIT/

Last edited by Phoenix_Zero; 01-07-2005 at 02:38 PM.
 
Old 01-07-2005, 04:15 PM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
First thing I would check is making sure that the Hotplug script is marked as executable.

From a command prompt, change to the /etc/rc.d directory by issuing

cd /etc/rc.d

and then list the rc.hotplug file using

ls -al rc.hotplug

If it's not marked as executable (the absence of the 'x' in the first set of permission settings should tell you this), then you'll need to mark it as executable.

First, change to the root user by issuing

su

and then typing in the root password at the prompt. Then issue the command

chmod u+x /etc/rc.d/rc.hotplug

Reissue the "ls -al" command from above and you should see an 'x' now in the permission bits. At this point you should be able to reboot and the Hotplug script should run.
 
Old 01-07-2005, 04:23 PM   #3
Phoenix_Zero
LQ Newbie
 
Registered: Jan 2005
Location: I sleep i a dorm room, I live in my head.
Distribution: Debian/Kubuntu
Posts: 23

Original Poster
Rep: Reputation: 15
Ok I remembered what it was.
when rc.hotplug is set to chmod +x the system will not boot, it hangs on
"Activating Hardware Detection: /etc/rc.d/rc.hotplug start" it beeps once and hangs. I have waited up to 20 minutes. Nothing happens. That is why did I chmod -x rc.hotplug.
Thanks for jogging my memory.
 
Old 01-08-2005, 02:42 PM   #4
jdh77
Member
 
Registered: Nov 2003
Location: Texas, where calls to Heaven are but local calls.
Distribution: RH7.1, 7.3, 9.0 Lindows4,5 OpenBSD3.4
Posts: 42

Rep: Reputation: 15
I'm not too familiar with slack; but I have a couple of suggestions that may help you in general...

See if you have 'mc' installed. (midnight commander, a file & directory manager that has an editor in it.)
My personal feelings are that we newbies HAVE to be masochistic to use vi!

In all instances do not type the quotes when actually entering the commands. (without the quotes)

At the command line type 'mc',if mc comes up you will find it useful to set some configs;
'F9', 'options', 'configuration'; 'Alt-d', mark all boxes in 'Other Options', 'Alt-s.' Now the 'right-left-arrow' will take you in and out of directories on the tree. When you have the file focused/hi-lited you want to edit, 'F4' brings up the editor. (cool-edit)

Another little tip; typing 'whereis mc' should tell you if there is a presence.

Ever get 'writer's block', your mind goes blank and you can't think of the command you need to use? Try tapping the 'tab' a couple of times!

The program/script/command 'dmesg' runs during boot and gives us a log of most of what transpires during the initial boot process. From the command line just enter 'dmesg' (without the quotes) and it should fill your screen. (use 'shift'-'pageup'/'pagedown' to scroll back & forth)

In case you don't have 'mc' (YET!!!) see if you have 'nano', a small editor that is user friendly.

Looks like you are coming along just fine... hang in there and before long you'll have the hang of it.
The BEST thing I've learned about linux... don't matter what distro, there is most always light at the end of the tunnel... what you learn as you go along you can use always... where-as with Brand-X WinDOS there is just tunnel and MORE TUNNEL! (If you COULD, it would be illegal to fix a bug in THEIR operating system.)

hth
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP DJ 845c USB stopped functioning - help? Boooaz Linux - Hardware 2 08-04-2005 09:01 PM
DVD/CDR/CDRW drive not functioning correctly with mandrake 10 Andrew Skinner Linux - Laptop and Netbook 4 07-02-2004 03:13 PM
usb still not functioning synapse Slackware 9 06-12-2004 05:00 PM
LILO not functioning correctly for Mandrake 8.2, Only prints "07" frogger12 Mandriva 3 05-31-2004 10:11 PM
Total newbie with stuck cursor: mouse drivers not functioning correctly HELP zaphod111 Linux - Software 2 11-06-2003 08:44 PM


All times are GMT -5. The time now is 02:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration