LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-09-2005, 04:36 AM   #1
popdog
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
Unhappy Enable usb on every boot


This is probably really simple to fix but every time i boot up I get no usb (i.e my mouse doesn't work). I get a console up, login as root and do a -

/sbin/modprobe usb-uhci

and everything works again. Is there anyway I can automate this for every startup? Im getting a bit annoyed at having to do this every time I start Fedora

Thanks in advance for any help
 
Old 02-09-2005, 08:25 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

you can add this command in a boot script... have a look in /etc/init.d/ (or if it does not exist that's /etc/rc.d/init.d)

Oliv'
 
Old 02-09-2005, 09:54 AM   #3
popdog
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, i'll try that. I presume I just write a quick bash script? Never written one before but does this look correct?

Code:
#!/bin/bash
# Quick usb fix

/sbin/modprobe usb-controller
 
Old 02-09-2005, 10:58 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Yes in fact you have 2 choices:
either you insert your command in an existing script... but in this case you need to know what script does and be sure that the script is run for your default runlevel
or you create a new script (yours is correct)... but in this case you need to enable it for the runlevel you boot (see chkconfig and service command to do that)
 
  


Reply



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
Enable USB drive on Fedora? jfowles Linux - Hardware 11 12-10-2007 09:04 AM
Where to start to enable DVB TV USB key? rollo Linux - Newbie 6 10-24-2005 11:11 AM
enable or disable legacy USB support johnMG Linux - Hardware 1 04-08-2005 01:16 PM
Laptop keyboard goes dead when I enable USB dagurg Linux - Hardware 1 12-24-2004 03:57 AM
Cannot enable USB port RedAhead Linux - Hardware 1 10-06-2004 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:11 PM.

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
Open Source Consulting | Domain Registration