Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA - "External Amplifier" control has gone [HP n
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
sge_kane
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2004
Posts: 84
Location: Germany (Frankfurt)

PostPosted: Tue Apr 19, 2005 6:38 pm    Post subject: ALSA - "External Amplifier" control has gone [HP n Reply with quote

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
View user's profile Send private message
jvlalonde
n00b
n00b


Joined: 11 May 2002
Posts: 46

PostPosted: Fri Apr 29, 2005 1:25 pm    Post subject: Ext Amplifier Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
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