Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Audio Keys are not working (XF86Audio...)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mikexx
n00b
n00b


Joined: 24 Aug 2018
Posts: 10

PostPosted: Thu Sep 13, 2018 8:09 am    Post subject: Audio Keys are not working (XF86Audio...) Reply with quote

Hi,

as mentioned in the title, the XF86Audioxxx keys are not working.
I use awesome wm as window manager and I am using the same keybindings in rc.lua like on arch linux.

Code:

awful.key({ }, "XF86AudioRaiseVolume",    function () awful.util.spawn("amixer set Master 2+") end),
    awful.key({ }, "XF86AudioLowerVolume",    function () awful.util.spawn("amixer set Master 2-") end)


However, those keys do not work on gentoo, but on arch linux.

Have I forgotten something?

Best,
mike
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6076
Location: Room 101

PostPosted: Thu Sep 13, 2018 8:37 am    Post subject: Re: Audio Keys are not working (XF86Audio...) Reply with quote

mikexx wrote:
However, those keys do not work on gentoo, but on arch linux.

mikexx ... often those keys are toggled via the 'fn' key (at least on most laptops). Otherwise it depends on kbd, some peripherals (like logitech) can be configured (via app-misc/solaar) to have one or other behavior.

best ... khay
Back to top
View user's profile Send private message
mikexx
n00b
n00b


Joined: 24 Aug 2018
Posts: 10

PostPosted: Thu Sep 13, 2018 11:42 am    Post subject: Reply with quote

Hi khay,

thank you for your reply.
It is a Thinkpad T480.

Of course, I tried the fn key. ;)

Since the acpi events are recognized, I've just tried it settings the volume with amixer and acpi. That works. Only toggle (mute) is not working correctly. Master and Speaker are muted, but only Master is unmuted.


Best
mike

EDIT:
Another problem is that only the volume of the internal soundcard is changed, but not the volume of the Thunderbolt dock.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6076
Location: Room 101

PostPosted: Fri Sep 14, 2018 2:09 pm    Post subject: Reply with quote

mikexx wrote:
Of course, I tried the fn key. ;)

mikexx ... well, that's the obvious out the way :)

mikexx wrote:
Since the acpi events are recognized, I've just tried it settings the volume with amixer and acpi. That works. Only toggle (mute) is not working correctly. Master and Speaker are muted, but only Master is unmuted.

Odd, as 'Master' (as the name suggests) should effect all outputs. That (and the comment re the dock) suggests that the driver doesn't understand the hardware.

mikexx wrote:
Another problem is that only the volume of the internal soundcard is changed, but not the volume of the Thunderbolt dock.

Are you sure the thunderbolt dock is supported? A quick search suggests not (circa 2017), at least for some devices.

best ... khay
Back to top
View user's profile Send private message
mikexx
n00b
n00b


Joined: 24 Aug 2018
Posts: 10

PostPosted: Sat Sep 15, 2018 7:26 pm    Post subject: Reply with quote

Quote:
Are you sure the thunderbolt dock is supported? A quick search suggests not (circa 2017), at least for some devices.

Yes, I am sure. I can regulate the volume with alsamixer.
The dock is listed as soundcard in alsamixer and the main volume control there is named 'PCM'

If I change 'Master' I change the volume of the 'other' soundcard.


Best
mike
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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