LinHES Forums http://forums.linhes.org/ |
|
saving alsa config http://forums.linhes.org/viewtopic.php?f=5&t=4406 |
Page 1 of 2 |
Author: | bushi [ Tue May 03, 2005 2:30 pm ] |
Post subject: | saving alsa config |
For some reason the auto setup is not working (5A15.1 on a ibm T40), and every time I have to reboot I need to run alsaconf as su to get sound working again. Once it runs everything is fine (I just click through the defaults). How can I write back the working config so that I don't have to redo it each time? The sound chip is some on board intel AC'97 chip. |
Author: | cesman [ Tue May 03, 2005 3:51 pm ] |
Post subject: | |
Code: update-rc.d alsa
|
Author: | bushi [ Tue May 03, 2005 5:57 pm ] |
Post subject: | |
cesman wrote: Code: update-rc.d alsa Thanks dos't seem to like that though just returns: root@mythtv-livroom:/etc# update-rc.d alsaconf usage: update-rc.d [-n] [-f] <basename> remove update-rc.d [-n] <basename> defaults [NN | sNN kNN] update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] . -n: not really -f: force I tried alsa-base too, same thing. What am I missing? |
Author: | Xsecrets [ Tue May 03, 2005 6:04 pm ] |
Post subject: | |
try update-rc.d alsa defaults |
Author: | bushi [ Tue May 03, 2005 6:26 pm ] |
Post subject: | |
Xsecrets wrote: try update-rc.d alsa defaults
I get back root@mythtv-livroom:~# update-rc.d alsa defaults System startup links for /etc/init.d/alsa already exist. which makes sense I can look at webadin and see the startup line it just dosn't seem to work. Then when I run alsaconf everything is fine :p. Weird. |
Author: | masonjd [ Tue May 03, 2005 11:01 pm ] |
Post subject: | |
Try Code: alsactl store right after you change you settings.
|
Author: | Xsecrets [ Tue May 03, 2005 11:04 pm ] |
Post subject: | |
if that last tip doesn't work you can try running alsaconf to make it work then once it's working run /etc/init.d/alsa restart I have seen it for some reason get stuck and you have to manually run that but generally only once. |
Author: | bushi [ Wed May 04, 2005 2:05 am ] |
Post subject: | Still no luck |
alsactl store seems to work or at least doesn't return an error but when I reboot I still have no sound until I run alsaconf and walk through the box defaults. Alsa restart shuts it down and brings it back fine but otherwise doesn't seem to impact anything (starts and stops when both is working and not working). Is there a easy way to remove alsa and reinstall from scratch or anything else I can try or check on for this? I didn't do anything funny prior to this it's like the defaults for KnoppixMyth just dosn't seem to get along with the chip. Thanks a ton for the great suggestions! |
Author: | khrusher [ Wed May 04, 2005 6:32 am ] |
Post subject: | |
If i recall, i ran alsactl store ONCE to save settings. I also have added Code: exec /usr/sbin/alsactl restore
to /home/mythtv/.fvwm/.fvwm2rc right before calling KnoppMyth-run seems there are other, maybe better places to call the restore, this link goes into much more detail: http://mysettopbox.tv/phpBB2/viewtopic.php?t=2951 |
Author: | Girkers [ Wed May 04, 2005 7:22 am ] |
Post subject: | |
I am having the exact some problem with sound. I have tried all these suggestions, but again as soon as you reboot no sound. I can see when the PC is booting an error message about alsa and restore, but the message goes away to quickly and I can't see what it says. I've looked in the DMESG and it is not in there, it is way after the last entry in there. Is this any log that stores this information as I am not sure which log to look into. Please help us. In the mean time I will look on the project's website for any insight into this problem |
Author: | Greg Frost [ Wed May 04, 2005 7:25 am ] |
Post subject: | |
Girkers, you could try /var/log/messages |
Author: | Xsecrets [ Wed May 04, 2005 7:27 am ] |
Post subject: | |
it should be in either /var/log/messages or /var/log/syslog pretty much everything that doesn't have it's own log goes there. and most all logs are stored either in the log dir or a subdir. |
Author: | Girkers [ Wed May 04, 2005 8:06 am ] |
Post subject: | |
All I could find in the systemlog and messages was Code: audio:blacklisted
I can't find anything else about alsa. |
Author: | brendan [ Wed May 04, 2005 9:49 am ] |
Post subject: | |
Hmm. Code: more /etc/hotplug/blacklist
Might get you started on the trail? -brendan |
Author: | Girkers [ Wed May 04, 2005 3:32 pm ] |
Post subject: | |
Unfortunately nothing, nada, zippo. No reference to audio, snd or emu. But thanks for trying. |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |