Unix Technical Forum

Problems with modprobe and moreover with modprobe.conf

This is a discussion on Problems with modprobe and moreover with modprobe.conf within the Linux Operating System forums, part of the Unix Operating Systems category; --> I have a problem with my modprobe.conf: I try to load the module "snd-pcm-oss", the OSS Alsa compatiblity layer, ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 05:34 PM
Max Gattringer
 
Posts: n/a
Default Problems with modprobe and moreover with modprobe.conf

I have a problem with my modprobe.conf: I try to load the module
"snd-pcm-oss", the OSS Alsa compatiblity layer, at startup, though I
added it to my modprobe.conf it is not loaded at startup. Do you see
any mistakes in my configuration. And yes, it is possible to load
snd-pcm-oss as root.

Regards, Max

<"/etc/modprobe.conf">
alias eth0 via-rhine
alias eth1 eth1394
install snd-via82xx { /usr/sbin/alsactl restore >/dev/null 2>&1 || : ;
}; /sbin/modprobe --ignore-install snd-via82xx dxs_support=5
install snd-pcm-oss /sbin/modprobe snd-pcm-oss
alias snd-card-0 snd-via82xx
alias snd-slot-0 snd-pcm-oss
alias usb-controller uhci-hcd
alias char-major-81 bttv
options char-major-81 radio=1
alias ieee1394-controller ohci1394
remove snd-pcm-oss /sbin/modprobe -r snd-pcm-oss
remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ;
}; /sbin/modprobe -r --ignore-remove snd-via82xx
</"/etc/modprobe.conf">

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 05:34 PM
Jean-David Beyer
 
Posts: n/a
Default Re: Problems with modprobe and moreover with modprobe.conf

Max Gattringer wrote:
> I have a problem with my modprobe.conf: I try to load the module
> "snd-pcm-oss", the OSS Alsa compatiblity layer, at startup, though I
> added it to my modprobe.conf it is not loaded at startup. Do you see
> any mistakes in my configuration. And yes, it is possible to load
> snd-pcm-oss as root.
>
> Regards, Max
>
> <"/etc/modprobe.conf">
> alias eth0 via-rhine
> alias eth1 eth1394
> install snd-via82xx { /usr/sbin/alsactl restore >/dev/null 2>&1 || : ;
> }; /sbin/modprobe --ignore-install snd-via82xx dxs_support=5
> install snd-pcm-oss /sbin/modprobe snd-pcm-oss
> alias snd-card-0 snd-via82xx <---<<<
> alias snd-slot-0 snd-pcm-oss <---<<<
> alias usb-controller uhci-hcd
> alias char-major-81 bttv
> options char-major-81 radio=1
> alias ieee1394-controller ohci1394
> remove snd-pcm-oss /sbin/modprobe -r snd-pcm-oss
> remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ;
> }; /sbin/modprobe -r --ignore-remove snd-via82xx
> </"/etc/modprobe.conf">
>


<---<<< Do you really want both? (Perhaps you do; I would not know.)

I have a 2.6 kernel (2.6.9-22.0.2.ELsmp) running on my other machine (CentOS
4.2) with a Soundblaster CT4780 (IIRC) PCI soundboard, and the relevant part
of the /etc/modprobe.conf file looks like this.

# Try to make sound work.
#ALSA portion
alias char-major-116 snd
# alias snd-card-0 snd-sb16
alias snd-card-0 snd-emu10k1
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
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

Does yours need to be so complex? Or is that part of the problem?

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 08:00:00 up 1 day, 23:26, 4 users, load average: 4.03, 4.12, 4.10
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:21 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com