LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 09-09-2004, 07:46 AM   #1
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Rep: Reputation: 30
Getting modules to auto-load


Hi,
I just upgraded from kernel 2.4.24 to 2.6.8.1. Under 2.4.24, when I wanted to get my usb flash drive to work, or sound to load, I just compiled the modules during the kernel build, then we the hardware device was needed, the modules were loaded. However, now, I have to manually code the modprobe lines in my rc.local file to load them before the system tries to acces them. If I don't pre-load the sound drivers, for example, I get a complaint that /dev/dsp isn't accessible, the problem being that the modules don't load. Also, when I plug in my usb flash drive in 2.4.24, the proper modules were loaded accordingly, however, in 2.6.x I have to either enter the modprobe line in my rc.local or have the drivers compiled into the kernel. I have temporarily fixed the problem by compiling all of these things into the kernel, but this area leaves a gap in my knowledge and understanding of how mods work. Can somebody please send me to a howto, or explain how one makes it possible that the modules auto-load when the hardware is accessed.

Thanks!

Here's the modprobe.conf entries for my sound card modules, these do not load when kde starts up, resulting in the error that /dev/dsp is not a valid device:

Code:
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
 
Old 09-10-2004, 03:49 PM   #2
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Original Poster
Rep: Reputation: 30
Hmm, so nobody knows how to do this...?
 
  


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
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 05:09 PM
How do I auto start modules that aren't auto loaded on boot? darkbluedrew Debian 2 09-18-2005 09:10 AM
grub doesn't auto-load kernel, time/date auto-change, k3b cannot load kenji1903 Red Hat 16 03-27-2005 08:48 PM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 05:40 AM
modules.conf - Cannot get modules to load automatically gundelgauk Linux - General 1 12-27-2003 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:48 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
Open Source Consulting | Domain Registration