Author |
Message |
madsholme
|
Posted: Sun Jan 22, 2006 7:27 pm |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
How do i get alsamixer so save it settings?
After each reboot i have to fireup alsamixer and set up my sound again.
I tryed to do a
Code: /usr/sbin/alsactl store
after i ran alsamixer, but still after a reboot i have to set up alsamixer again, is there a way to save this?
|
|
Top |
|
 |
tjc
|
Posted: Sun Jan 22, 2006 8:18 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
|
Top |
|
 |
nickread
|
Posted: Sun Jan 22, 2006 8:20 pm |
|
Joined: Tue Nov 22, 2005 7:57 pm
Posts: 295
Location:
Auckland, New Zealand
|
Have you tried 'man alsamixer' from the command line?
When I set mine up I seem to remember there were a number of options for saving and also a couple of places where settings files could be stored. I think there is a command line option for storing the config, and another for loading it. Make sure you overwrite any existing settings files with your new settings.
_________________ HP VL400 (PIII 866), Skystar2 2.6D, PVR350, Nvidia FX5200, 384MB, 200GB, KnoppMyth R5.5
|
|
Top |
|
 |
madsholme
|
Posted: Mon Jan 23, 2006 12:49 pm |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
tjc wrote: alright that dident work. nickread wrote: Have you tried 'man alsamixer' from the command line?
When I set mine up I seem to remember there were a number of options for saving and also a couple of places where settings files could be stored. I think there is a command line option for storing the config, and another for loading it. Make sure you overwrite any existing settings files with your new settings.
dident find anything usefull there.. mabye its just me who is retarded.. dunno.. on my gentoo mashine, its quite easy to save alsamixer settings, wonder why its so hard under this system...
|
|
Top |
|
 |
Martian
|
Posted: Mon Feb 13, 2006 12:07 pm |
|
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location:
IN
|
I believe there are volume settings within the MythTV settings. I had this same issue that every time I reloaded Mythfrontend my volume would get turned down and I would have to reset everything in alsamixer. I later found a default volume setting in the MythTV settings and set it to where I wanted it and havn't had a problem since!
Basically what was happening is that alsamixer was saving the settings but Myth was resetting them
Martian
|
|
Top |
|
 |
eyedear
|
Posted: Mon Feb 13, 2006 8:28 pm |
|
Joined: Tue Feb 07, 2006 2:41 am
Posts: 1
|
just do a few symbolic links in the rc*.d files and the alsamixer should be retain. it work for me ont he asus a8n-vm csm board after updating to alsa 1.0.10.
the instruction are as below
run alsaconf
configure your sound card then
add this
% ln -s /etc/init.d/alsasound /etc/rcS.d/S59alsasound
% ln -s /etc/init.d/alsasound /etc/rc1.d/K15alsasound
% ln -s /etc/init.d/alsasound /etc/rc6.d/K15alsasound
credit goes to http://alsa.opensrc.org/Quick+Install
i hope this help
|
|
Top |
|
 |
ed3120
|
Posted: Tue Feb 14, 2006 11:28 pm |
|
Joined: Sun Dec 04, 2005 1:44 pm
Posts: 403
Location:
Central NJ
|
Set your alsa correctly.
Save it to a file:
/usr/sbin/alsactl store -f /path/file
Restore the settings with this file with:
/usr/sbin/alsactl restore -f /path/file
Load this at startup by adding the following to /home/mythtv/.fluxbox/apps
[startup] {/usr/sbin/alsactl restore -f /path/file}
Turn off the Myth volume control. (Somewhere under playback/general settings. I'm not in front of my box now.) When you uncheck the box, the volume slider will disappear. Doing this will keep you from losing your settings each time you start playing back a file.
_________________ Currently running: R5.5, HD5000 x 2, PVR150, Athlon 64 3000+, Chaintech VNF4, 1GB RAM, 2 x 250GB in LVM, MSI NX6200TC -> AA 9A60 -> HDTV
|
|
Top |
|
 |
tjc
|
Posted: Tue Feb 14, 2006 11:39 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
I think I'm missing something... Why not just use the internal volume controls in MythTV? I bumped the audio capture volume up to about 90% in the recording profiles (which is still low enough to avoid distortion for me), and set the master playback volume to an appropriate level to match a broadcast signal (~75-80%) and this gives me a level pretty close to the TV's internal tuner or the DVD player. Then the TV volume can be run up or down to compensate for the ambient noise level and it's about the same for all my sources...
Is there some other setting on your soundcard that needs to be tweaked?
OBTW - Are you running alsamixer as root? Evertime I do it updates /var/lib/alsa/asound.state which the /etc/init.d/alsa init script loads settings from at boot time. Looks like it also saves the settings on shutdown...
|
|
Top |
|
 |
madsholme
|
Posted: Wed Feb 15, 2006 10:05 am |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
tjc wrote: I think I'm missing something... Why not just use the internal volume controls in MythTV? I bumped the audio capture volume up to about 90% in the recording profiles (which is still low enough to avoid distortion for me), and set the master playback volume to an appropriate level to match a broadcast signal (~75-80%) and this gives me a level pretty close to the TV's internal tuner or the DVD player. Then the TV volume can be run up or down to compensate for the ambient noise level and it's about the same for all my sources...
Is there some other setting on your soundcard that needs to be tweaked?
OBTW - Are you running alsamixer as root? Evertime I do it updates /var/lib/alsa/asound.state which the /etc/init.d/alsa init script loads settings from at boot time. Looks like it also saves the settings on shutdown...
Yes i run it from root.
tryed to do it frmo the mythtvuser with out it doing anytning else.. havent tryed to run it with the mythtv user with your new settings.
the reason i am using alsamixer is becaus i have my soundcard hooked up to my 5.1 sound system, and i need to enable those channels in alsamixer before there is any sound at all.
|
|
Top |
|
 |
EvilTwin
|
Posted: Thu Feb 16, 2006 12:45 am |
|
Joined: Tue Nov 08, 2005 7:31 am
Posts: 195
Location:
Secret Lair
|
Have you tried alsactl save? I don't see it mentioned anywhere in this thread... Once you do that you can poke around the /var/lib/alsa/asound.state file with your favorite editor. If you have the /etc/init.d/alsa init script setup in the right run levels your settings should get restored on every boot.
|
|
Top |
|
 |
madsholme
|
Posted: Thu Feb 16, 2006 11:34 am |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
EvilTwin wrote: Have you tried alsactl save? I don't see it mentioned anywhere in this thread... Once you do that you can poke around the /var/lib/alsa/asound.state file with your favorite editor. If you have the /etc/init.d/alsa init script setup in the right run levels your settings should get restored on every boot.
i tryed using:
Code: /usr/sbin/alsactl store dident do anything, i can see it loads, but when i reboot its still not restored. how do i set to the right run level? just looked in my /var/lib/alsa/asound.state it lookds odd, it looks like it hasent updated even though i ran alsamixer, and change the settings, if i look in it here, the things i changed are at 0. Code: control.5 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'LFE Playback Switch' value false }
if i run alsamixer and check under LFE i have set it to 70
|
|
Top |
|
 |
tjc
|
Posted: Thu Feb 16, 2006 9:07 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Code: update-rc.d alsa defaults
Also see the excellent digital audio howto on the wiki.
BTW - I think you're confusing control.5 - 'LFE Playback Switch' with control.6 - 'LFE Playback Volume'.
|
|
Top |
|
 |
madsholme
|
Posted: Fri Feb 17, 2006 9:08 am |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
tjc wrote: Code: update-rc.d alsa defaults Also see the excellent digital audio howto on the wiki. BTW - I think you're confusing control.5 - 'LFE Playback Switch' with control.6 - 'LFE Playback Volume'. i have read everything i could find on the wiki about it, tryed everything there, nothing helps  Code: root@Frontend-Mads:~# update-rc.d alsa defaults System startup links for /etc/init.d/alsa already exist. root@Frontend-Mads:~#
sadley this dident help either
|
|
Top |
|
 |
ed3120
|
Posted: Tue Feb 28, 2006 12:17 pm |
|
Joined: Sun Dec 04, 2005 1:44 pm
Posts: 403
Location:
Central NJ
|
You added it to fluxbox?
_________________ Currently running: R5.5, HD5000 x 2, PVR150, Athlon 64 3000+, Chaintech VNF4, 1GB RAM, 2 x 250GB in LVM, MSI NX6200TC -> AA 9A60 -> HDTV
|
|
Top |
|
 |
madsholme
|
Posted: Tue Feb 28, 2006 2:39 pm |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
ed3120 wrote: You added it to fluxbox?
no ?
|
|
Top |
|
 |