View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 29 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: saving alsa config
PostPosted: Tue May 03, 2005 2:30 pm 
Offline
Joined: Mon Jan 31, 2005 5:44 pm
Posts: 33
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.

_________________
-Bushi


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 03, 2005 3:51 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Code:
update-rc.d alsa

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 03, 2005 5:57 pm 
Offline
Joined: Mon Jan 31, 2005 5:44 pm
Posts: 33
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?

_________________
-Bushi


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 03, 2005 6:04 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
try update-rc.d alsa defaults

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 03, 2005 6:26 pm 
Offline
Joined: Mon Jan 31, 2005 5:44 pm
Posts: 33
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.

_________________
-Bushi


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 03, 2005 11:01 pm 
Offline
Joined: Wed Dec 03, 2003 9:46 pm
Posts: 102
Location: Provo, UT
Try
Code:
alsactl store
right after you change you settings.

_________________
----------------------------------
Knoppmyth R5A15.1
WinTV-Radio-401
AMD XP 2000+, 256 DDR 2100
ASROCK K7VM2
GF2 440MX with TV-OUT Connected to TV
160 GB Hard Drive
Sound Blaster Live!


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 03, 2005 11:04 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject: Still no luck
PostPosted: Wed May 04, 2005 2:05 am 
Offline
Joined: Mon Jan 31, 2005 5:44 pm
Posts: 33
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!

_________________
-Bushi


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 6:32 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
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

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 7:22 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 7:25 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Girkers, you could try /var/log/messages


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 7:27 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 8:06 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
All I could find in the systemlog and messages was
Code:
audio:blacklisted


I can't find anything else about alsa.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 9:49 am 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
Hmm.

Code:
more /etc/hotplug/blacklist


Might get you started on the trail?

-brendan


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 3:32 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
Unfortunately nothing, nada, zippo.

No reference to audio, snd or emu.

But thanks for trying.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 74 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu