LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2015, 06:06 AM   #1
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Rep: Reputation: 16
correct text, to add driver module to /etc/modules file?


What's the correct text to add to my /etc/modules file, for my sound card driver?

The driver module is snd-hda-intel ... and the file is :

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp

snd-hda-intel ??? Hyphens? NO hyphens?
hda-intel ???


THanks..........

==========================================================

edit:
I found that hyphens and underscores are correct, and interchangeable. I still cannot find that 'snd' IS, or is NOT part of the module name

Last edited by buccaneere; 06-17-2015 at 06:17 AM.
 
Old 06-17-2015, 07:55 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
The module must have a file with the same name, plus extension ".ko", somewhere under /lib/modules. As far as I remember the snd is part of the name, but I suggest you do a find on that directory and double-check.
 
1 members found this post helpful.
Old 06-17-2015, 08:23 AM   #3
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by berndbausch View Post
The module must have a file with the same name, plus extension ".ko", somewhere under /lib/modules. As far as I remember the snd is part of the name, but I suggest you do a find on that directory and double-check.
Thanks there bern... Exactly what I did, and didn't find it under /lib/modules/'my kernel'/?

I added it as snd-hda-intel , seeing it elsewhere on web examples....................
 
Old 06-18-2015, 12:38 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by buccaneere View Post
Thanks there bern... Exactly what I did, and didn't find it under /lib/modules/'my kernel'/?

I added it as snd-hda-intel , seeing it elsewhere on web examples....................
If you don't have it, it won't be loaded in the kernel.
Depending on the distribution, you can find out which package contains the file. On Red Hat or Centos:

Code:
yum whatprovides */snd-hda-intel.ko
....
kernel-2.6.32-504.8.1.el6.x86_64 : The Linux kernel
Repo        : updates
Matched from:
Filename    : /lib/modules/2.6.32-504.8.1.el6.x86_64/kernel/sound/pci/hda/snd-hda-intel.ko
It's most probably a standard kernel module. If it's missing on your system, I suggest you reinstall the corresponding package.
 
  


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
add correct ati driver in xorg.conf for my pcie card esteeven Linux - Hardware 3 06-13-2010 03:42 AM
what is the command to add text into a text file? newbiebash Programming 2 09-08-2008 08:07 AM
simple php script to add line/file to text file dnoy Programming 1 05-21-2008 05:08 PM
How to add a text to first line of a text file? oskeewow Linux - Newbie 6 04-23-2008 12:40 PM
Correct syntax for adding text to an existing file kaplan71 Linux - Software 4 01-05-2008 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:10 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