View previous topic :: View next topic |
Author |
Message |
sge_kane Tux's lil' helper
Joined: 10 Oct 2004 Posts: 84 Location: Germany (Frankfurt)
|
Posted: Tue Apr 19, 2005 6:38 pm Post subject: ALSA - "External Amplifier" control has gone [HP n |
|
|
Well,
somehow the External Amplifier control has gone with upgrade to 2.6.11 (using kernel ALSA)....
I'm quite interested who else got this problem, as I couldn't find anything related in teh forum...
Anyhow, as I'm using a nx7010 that has a LED signaling the muting state of the sound card snd-i8x0, I used this Ext. Amp. control for it...
Now, I found out, that somehow the feature is included in the "Master" control, so to say, when putting Master to "0", it behaves as putting the External Amplifier to "off"....
The following simple script does the trick for me:
Code: |
#! /bin/bash
SAVE_VOL=$PWD/save_vol
amixer sget "Master" | grep "off"
if [ $? -eq 0 ]; then
VOL=`cat $SAVE_VOL`
amixer sset "Master" ${VOL//["[]"]/} on
else
amixer sget "Master" | grep "Front Left.*%" | awk '{print $5}' > $SAVE_VOL
amixer sset "Master" off
fi
|
|
|
Back to top |
|
|
jvlalonde n00b
Joined: 11 May 2002 Posts: 46
|
Posted: Fri Apr 29, 2005 1:25 pm Post subject: Ext Amplifier |
|
|
Hi,
I had exaclty the same problem on my nx7010 after upgrading to 2.6.11.
I'll try your workaround...
Regards,
jvlalonde |
|
Back to top |
|
|
|
|
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 vote in polls in this forum
|
|