O5B-->

About GNOME · Download · Support · Community · Developers · Foundation · Contact




GNOME Support Forums
GNOME Desktop user support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

volume keybinding is USELESS
Goto page 1, 2  Next
 
Post new topic   Reply to topic    GNOME Support Forums Forum Index -> Desktop Help
View previous topic :: View next topic  
Author Message
kikuman
Newbie
Newbie


Joined: 23 Apr 2006
Posts: 8

PostPosted: Sun Apr 23, 2006 4:58 pm    Post subject: volume keybinding is USELESS Reply with quote

Im using 2.14 on FC5 and gnome keyboard shortcut for e.g Volume Up, Down etc is changing Master channel , but thats useless, realy many ppl r having this problem and i think solution is simple, because that keybinding is prolly does just "amixer sset 1+" or something similar. Googling DOES give solutions, which r workarounds.
R there any mappings for what gnome does when key is pressed or how to solve this.
(I'll be shocked if the developers never heard about that issue)

Thanks Razz Mad Embarassed
Back to top
View user's profile Send private message
vuntz
Moderator
Moderator


Joined: 27 Mar 2006
Posts: 150
Location: Grenoble, France

PostPosted: Wed May 03, 2006 4:00 pm    Post subject: Reply with quote

Sorry, but your issue is not clear to me. Maybe you could explain it a bit more?
_________________
Les gens heureux ne sont pas pressés.
Back to top
View user's profile Send private message Visit poster's website
kikuman
Newbie
Newbie


Joined: 23 Apr 2006
Posts: 8

PostPosted: Thu May 04, 2006 12:30 pm    Post subject: Here it comes Reply with quote

Yes, sure .Thanks for reply btw.
There is an option in System > Preferences > Keyboard Shortcuts under "Sound" to assign keys for increasing/decreasing volume, muting and so on.
Assigning keys goes OK . When I press the key I assigned for increasing volume for example, small window shows up and I can see a bar going to the right (indicating that the volume is rising), that all works properly...no complaint.
But the problem is that assinging key doesn't let the user to set the Channel, which to increase/decrease etc. So when I press assigned key it manipulates Master Channel,
which affects nothing ( I can mute Master and there still will be sound, like nothing happened). It would be nice to have an option to change the Channel affected by assigned key, like PCM or Headphone.
May be there is such option, but I don't know about it Embarassed
I noticed while looking for workarounds that to change volume user could use "amixer CHANNEL_NAME sset 1+" (that would increase volume).
But where such mapping files are in gnome remains question.

Thanks again for reply.
Back to top
View user's profile Send private message
und0
Moderator
Moderator


Joined: 09 Feb 2006
Posts: 1221

PostPosted: Fri May 05, 2006 1:41 am    Post subject: Re: Here it comes Reply with quote

kikuman wrote:
It would be nice to have an option to change the Channel affected by assigned key, like PCM or Headphone.

Have you tried right clicking the volume applet and then Preferences? I think is what you are looking for...
Back to top
View user's profile Send private message
shownsama
Newbie
Newbie


Joined: 21 May 2006
Posts: 4

PostPosted: Sun May 21, 2006 7:53 am    Post subject: I have the same problem Reply with quote

I have the same problem. I've been looking for a solution for a while now with no luck. Apparently there are several people with the same issue but with no solution.

The problem is that on some computers ( such as my laptop), the Master volume control does not effect the headphone volume. In essence, this rendered the multimedia keys usless if you are using headphones. However, the PCM channel is effectively the real master control as it effects both headphone and normal speaker output.

In many programs, you can select which audio channel you wish to use with the volume control. I.E. have it control PCM instead of Master.

The problem is that the gnome volume applet (or maybe gnome is to blame) does not let you change which audio channel it uses. So if you map the multimedia keys to XF86AudioVolumeRaise, etc. they will control the Master channel.

Does that make sense?

if you right click on the speaker icon for the volume applet and choose preferences, it allows you to "Select the device and track to control", but only when you single click the icon. I.e. it has no effect on the channel controled by the multimedia keys.

Personally, I would prefer if the gnome volume applet allowed the selection of volume channel. I recently switched to Gnome because of Xgl. Now I'm trying to configure it to work for my tastes.

So... Any ideas? Is this a bug? Shouldn't choosing a channel in the preferences box also change the channel controled by the multimedia keys? Or shouldn't there atleast be an option in the gconf-editor?

Thanks in advance for help.
Back to top
View user's profile Send private message
und0
Moderator
Moderator


Joined: 09 Feb 2006
Posts: 1221

PostPosted: Mon May 22, 2006 3:46 pm    Post subject: Re: I have the same problem Reply with quote

shownsama wrote:
So... Any ideas? Is this a bug? Shouldn't choosing a channel in the preferences box also change the channel controled by the multimedia keys? Or shouldn't there atleast be an option in the gconf-editor?

Yes, probably a bug in gnome-settings-daemon or the way it interact with ALSA (OSS is deprecated =). I can't say if with version 2.14 the thing is fixed, with the 2.12 i've the same behaviour if i try to bind the volume keys...
Back to top
View user's profile Send private message
shownsama
Newbie
Newbie


Joined: 21 May 2006
Posts: 4

PostPosted: Tue May 23, 2006 5:22 am    Post subject: Re: I have the same problem Reply with quote

und0 wrote:
Yes, probably a bug in gnome-settings-daemon or the way it interact with ALSA (OSS is deprecated =). I can't say if with version 2.14 the thing is fixed, with the 2.12 i've the same behaviour if i try to bind the volume keys...


It's not "fixed" in 2.14. That's what I'm using. And I've seen this same behavior reported in many different versions. It doesn't seem to be isolated to recent updates.

But you are saying that the multimedia keys should effect the channel chosen under preferences of the gnome-volume-applet in the corner of the screen? It seems reasonable to me. I'd prefer it work that way.

Can anyone with a multimedia keyboard get the gnome-volume-applet to control channels other than Master?

-thanx
Back to top
View user's profile Send private message
und0
Moderator
Moderator


Joined: 09 Feb 2006
Posts: 1221

PostPosted: Tue May 23, 2006 7:26 am    Post subject: Re: I have the same problem Reply with quote

shownsama wrote:
But you are saying that the multimedia keys should effect the channel chosen under preferences of the gnome-volume-applet in the corner of the screen? It seems reasonable to me. I'd prefer it work that way.

Well, this is what i would expect... (=

Ok, after digging the source of Acme, i've found this closed bug report http://bugzilla.gnome.org/show_bug.cgi?id=135568
Back to top
View user's profile Send private message
shownsama
Newbie
Newbie


Joined: 21 May 2006
Posts: 4

PostPosted: Tue May 23, 2006 8:39 am    Post subject: Reply with quote

K. Thanx for the info. Although that bug report seems to be a bit dated. February of 2004. I did some googling and tracked down the location of the file listed in the bug report. It's part of the control-settings package in gnome. I searched the source code and it would seem that the patch never found it way into the source code, or the code has changed significantly enough that it's no longer recogonizable.

I'll keep looking into this, but I'm still curious of changing the channel in the applet changes the effect of the multimedia keys for anyone.

EDIT
I think I found a related bug report already made. 342000. But it's late and I have a long day tomorrow. I'll have to explore more later.
Back to top
View user's profile Send private message
und0
Moderator
Moderator


Joined: 09 Feb 2006
Posts: 1221

PostPosted: Wed May 24, 2006 4:11 am    Post subject: Reply with quote

shownsama wrote:
I'll keep looking into this, but I'm still curious of changing the channel in the applet changes the effect of the multimedia keys for anyone.

Well, after spending some time with this i'm reasonably sure that volume applet and gnome-settings-daemon aren't related in any way.

I don't know who is to blame, i suspect the ALSA driver isn't working correctly here (snd_via82xx) cause it export a "master volume" that's basically useless and the part of gnome-settings-daemon that bind keys to the volume (acme) doesn't have a way to select wich mixer to use, or at least seems to use "master volume" as default...
Back to top
View user's profile Send private message
shownsama
Newbie
Newbie


Joined: 21 May 2006
Posts: 4

PostPosted: Thu May 25, 2006 2:21 am    Post subject: Reply with quote

It seems that the problem is in alsa, but it doesn't appear to be their fault. Apparently there is some confusion in the AC'97 specification. At least this seems to be the source of my problem.

My Sound device
Code:
 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)


And this is taken from the ALSA-Configuration.txt file in the kernel documentation
Code:
AC97 Quirk Option
=================

The ac97_quirk option is used to enable/override the workaround for specific devices on drivers for on-board AC'97 controllers like snd-intel8x0.  Some hardware have swapped output pins between Master and Headphone, or Surround (thanks to confusion of AC'97 specifications from version to version :-)

The driver provides the auto-detection of known problematic devices, but some might be unknown or wrongly detected.  In such a case, pass the proper value with this option.

The following strings are accepted:
    - default   Don't override the default setting
    - disable   Disable the quirk
    - hp_only   Bind Master and Headphone controls as a single control
    - swap_hp   Swap headphone and master controls
    - swap_surround  Swap master and surround controls
    - ad_sharing  For AD1985, turn on OMS bit and use headphone
    - alc_jack  For ALC65x, turn on the jack sense mode
    - inv_eapd  Inverted EAPD implementation
    - mute_led  Bind EAPD bit for turning on/off mute LED

For backward compatibility, the corresponding integer value -1, 0,
... are  accepted, too.

For example, if "Master" volume control has no effect on your device but only "Headphone" does, pass ac97_quirk=hp_only module option.


But this still doesn't help because they haven't emplimented a quirk option for swapping PCM with Master. Since there seems to be so many variations, it would be much simpler if the gnome-volume-applet allowed you to choose the channel.
Back to top
View user's profile Send private message
und0
Moderator
Moderator


Joined: 09 Feb 2006
Posts: 1221

PostPosted: Thu May 25, 2006 6:18 am    Post subject: Reply with quote

And yes, via82xx uses the AC'97 interface... (=
Back to top
View user's profile Send private message
kikuman
Newbie
Newbie


Joined: 23 Apr 2006
Posts: 8

PostPosted: Mon Jul 10, 2006 4:28 am    Post subject: Reply with quote

Sad
Back to top
View user's profile Send private message
robert2513
Newbie
Newbie


Joined: 16 Sep 2006
Posts: 1

PostPosted: Sat Sep 16, 2006 6:27 pm    Post subject: Reply with quote

shownsama wrote:
But this still doesn't help because they haven't emplimented a quirk option for swapping PCM with Master. Since there seems to be so many variations, it would be much simpler if the gnome-volume-applet allowed you to choose the channel.


Anyone know if this problem was fixed or a "quirk option" was added in version 2.16?
Back to top
View user's profile Send private message
sammi84
Newbie
Newbie


Joined: 18 Nov 2006
Posts: 1

PostPosted: Sat Nov 18, 2006 3:31 pm    Post subject: Reply with quote

Nope. Still not fixed for me. Mediakeys still only affect the master channel and the master channel is still useless for changing the volume of headsets.

I'm running Ubuntu 6.10 with Gnome 6.16 on a Dell Inspiron 9300 laptop.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    GNOME Support Forums Forum Index -> Desktop Help All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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


FootNotes | Official GNOME Website | GnomeSupport.org

Add to Mozilla Sidebar

Powered by phpBB © 2001, 2005 phpBB Group