Page 2 of 2

Re: Audio

Posted: 6. Jul 2014, 09:21
by gapan
Hi xman, it's a bit unclear what you're trying to say... You don't specify what your problem is. And it would have been better if you had started your own post about your problem. Anyway...
xman wrote:Hi.
All they have to run after startup:

Code: Select all

modprobe snd-sb16

Code: Select all

alsamixer
So getting live sound card. :(
There is a solution to the OS automatically load the driver?
Do you mean that it works for you if you run the modprobe command? If it does, then you can add the same command somewhere (anywhere) in your /etc/rc.d/rc.modules. Alternatively in your /etc/rc.d/rc.local.
xman wrote: Unfortunately, this failed to help.
Since you're not stating what your problem is, it's hard to figure out how to solve it. Do you have multiple sound cards? Do you have a single soundcard with no output? What kind of soundcard is that?

Re: Audio

Posted: 6. Jul 2014, 10:12
by xman
I can not speak English. I use the google translator. Sorry. :)

No default sound card. SoundBlaster16 old ISA. Yes. I have to run "modprobe snd-sb16" command for PC at startup, when I want to sound.

Code: Select all

root[ikszman]# cat /proc/asound/cards
 0 [S16            ]: SB16 - Sound Blaster 16
                      Sound Blaster 16 at 0x220, irq 5, dma 1&3
How do I do this:
If it does, then you can add the same command somewhere (anywhere) in your /etc/rc.d/rc.modules. Alternatively in your /etc/rc.d/rc.local.

Thank you for your response.

Re: Audio

Posted: 6. Jul 2014, 10:20
by gapan

Code: Select all

sudo leafpad /etc/rc.d/rc.modules
add line, save, exit and reboot.

Re: Audio

Posted: 6. Jul 2014, 13:19
by xman
Hi.
But, do not go. :(
I feel that the Alsa Mixer will be the problem here.

Re: Audio

Posted: 6. Jul 2014, 15:55
by gapan
I don't understand. Does the soundcard work if you run modprobe snd-sb16 manually or not? Alsamixer is just a mixer, nothing more than that.

Re: Audio

Posted: 7. Jul 2014, 14:46
by xman
The problem is solved!
I entered here: /etc/rc.d/rc.local

Code: Select all

modprobe snd-sb16
alsactl restore
And here: /etc/rc.d/rc.local_shutdown

Code: Select all

alsactl store
So perfectly alsa loaded the saved settings. :D
Thank you for your help. Good luck.