[Cooker] ALSA 0.9.0beta12 from kernel-2.4.18.10mdk doesn't start

2002-04-14 Thread Alexander Skwar

Hi!

In my /etc/modules.conf, I've got the following alsa configuration:

above snd-card-ens1370 snd-pcm-oss
alias sound-slot-0 snd-card-ens1370

This doesn't work anymore with the recent alsa, because the driver is
named alsa-ens1370.  However, just dropping the card- from the name
doesn't work, since the init.d script isn't updated.

So, a workaround is to add this line to /etc/modules.conf:

alias snd-card-ens1370 snd-ens1370

But that's just a hack.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 0 hours 21 minutes




Re: [Cooker] ALSA 0.9.0beta12 from kernel-2.4.18.10mdk doesn't start

2002-04-14 Thread Charles A Edwards

On Sun, 14 Apr 2002 21:02:36 +0200
Alexander Skwar [EMAIL PROTECTED] wrote:

 Hi!
 
 In my /etc/modules.conf, I've got the following alsa configuration:
 
 above snd-card-ens1370 snd-pcm-oss
 alias sound-slot-0 snd-card-ens1370
 
 This doesn't work anymore with the recent alsa, because the driver is
 named alsa-ens1370.  However, just dropping the card- from the name
 doesn't work, since the init.d script isn't updated.
 
 So, a workaround is to add this line to /etc/modules.conf:
 
 alias snd-card-ens1370 snd-ens1370
 
 But that's just a hack.
 
 Alexander Skwar
 -- 
 How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
 Homepage: http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 0 hours 21 minutes
 

I had the same problem.
You do not need to use the alias if edit you /etc/init.d/alsa:
replace line 78 in /etc/init.d/alsa:

old: if /sbin/modprobe $line /dev/null 21; then
new: if /sbin/modprobe snd-$desc /dev/null 21; then

(fix courtesy of Michael)

This only happened to me on a system using an onboard CMedia snd,
I had no problem on systems using an SBLive.


Charles