trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: May 2018

Re: Re: Re: Re: Re: Re: Re: HP laptop volume keys don't work

From: deloptes <deloptes@...>
Date: Sun, 20 May 2018 03:25:24 +0200
wofgdkncxojef@... wrote:

> -_- yea ok i got it. i wasn't using pulseaudio. YASD
> the mute problem is in the other mixer....
> So mute doesn't work properly in that mixer and volume short cuts don't
> work in pulseaudio....
> 
> under pulseaudio.
> in kdcop void increaseVoume(int deviceidx)
> works if i put 0 in the field......
> so...... it's kmix fault, it doesn't launch the function when a global
> shortcut is used.....

kmix may not be perfect, but with perfect setup it should work for you as
well.

I think you should check your setup with pulseaudio and kmix - perhaps after
installing pulseaudio and rebooting, check master channel and shortcut
bindings. I don't know if pulseaudio is required for kmix to work
properly - in my setup it is in use. In theory it shouldn't be required. I
asked only because I see here Mixer0 and Mixer1. Without PA it would be
just one Mixer0. The logic however applies the same way. 
If it works in kdcop, it works in kmix (you trigger a kmix function in
kdcop). It looks like kmix does not capture the event.

Mute,Vol.up/down is toggled by XF86AudioMute, XF86AudioLowerVolume,
XF86AudioRaiseVolume. The question is if, when you press mute,Vol. up/down,
those signals are emitted. All of this is pure X. kmix will just react on
those events. 

Start xev, press button and check if you see something like below (but I
guess you will see them, because you reported that OSD is visible)

KeyRelease event, serial 40, synthetic NO, window 0x5e00001,
    root 0xd2, subw 0x0, time 240395191, (421,-195), root:(450,672),
    state 0x10, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume),
same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x5e00001,
    root 0xd2, subw 0x0, time 240406943, (421,-195), root:(450,672),
    state 0x10, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume),
same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

So then make sure the global keys are configured properly in kmix.

if nothing helps, try stopping kmix remove config files, start kmix and
check config.
~/.trinity/share/config/kmixrc
~/.trinity/share/config/kmixctrlrc    

regards