Remten
November 11th, 2013, 07:53 AM
ASUS N550JV laptop
lubuntu 13.10 3.11.0-13-generic
pulseaudio, pavucontrol
(also nvidia-319, nvidia-prime, xfce4 & xfce4-goodies metapackages)
I don't know how to control the sound volume for the built-in speakers using the keyboard.
This Asus laptop has a row of function keys across the top of the keyboard. I have been able to get F1-F6 working the way I want them, partly from using xbindkeys to map scripts for controlling the keyboard backlight and screen backlight.
F10-F12 are a problem. The F11 key has an icon for lowering the volume; F12 for raising the volume; and I think the icon on F10 is supposed to represent a toggle for Mute. But none of these functions work in Lubuntu.
This seems to be a lubuntu or lxde-specific issue because when I run xfce sessions, the F10-F12 function keys DO control the volume (and pressing the keys even calls up a volume level graphical display).
(My tests are from monitoring the sound volume using youtube videos.)
F10 - opens a browser File menu (eg New Tab, New Window, Open File options)
F11 - toggles fullscreen mode for whatever window is active
F12 - pulls up a browser debugging window
Fn + F10 - does nothing
Fn + F11 - does nothing
Fn + F12 - does nothing
Fn + right arrow - does nothing
Fn + left arrow - does nothing
possibly relevant /etc/default/grub.conf:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=\"!Windows 2012\""
GRUB_CMDLINE_LINUX=""
(I used the !Windows 2012 setting because it enabled the wireless card radio control via Fn + F2)
Remten@XXXX:~$ cat /proc/asound/card0/codec* | grep Codec
Codec: Intel Haswell HDMI
Remten@XXXX:~$ cat /proc/asound/card1/codec* | grep Codec
Codec: Realtek ALC668
Remten@XXXX:~$
lspci shows this (edited):
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
Subsystem: Intel Corporation Device 2010
Flags: bus master, fast devsel, latency 0, IRQ 52
Memory at f7a14000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Kernel driver in use: snd_hda_intel
. . .
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 11cd
Flags: bus master, fast devsel, latency 0, IRQ 53
Memory at f7a10000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Kernel driver in use: snd_hda_intel
info from xev scans:
Fn - nothing
F10 - keycode 76 = (keysym 0xffc7, F10), state = 0x0
F11 - (switches to fullscreen mode; no keypress code displayed)
F12 - keycode 96 = (keysym 0xffc9, F12), state = 0x0
Fn + F10 - nothing
Fn + F11 - nothing
Fn + F12 - nothing
Fn + right arrow - keycode 171 = (keysym 0x1008ff17, XF86AudioNext), state = 0x0
Fn + left arrow - keycode 173 = (keysym 0x1008ff16, XF86AudioPrev), state = 0x0
acpi_listen scans:
F9 - [[20~
F10 - (opens the File menu; nothing shows up in terminal for the keypress codes)
F11 - (switches to fullscreen mode; no keypress code displayed)
F12 - ^[[24~
Fn + F9 - nothing
Fn + F10 - nothing
Fn + F11 - nothing
Fn + F12 - nothing
Fn + right arrow - nothing
xbindkeys-config "get key" scans:
F10 - F10 | m:0x0 + c:76
F11 - (switches to fullscreen mode; no keypress code displayed)
F12 - F12 | m:0x0 + c:96
Fn + F10 - nothing
Fn + F11 - nothing
Fn + F12 - nothing
Fn + right arrow - XF86AudioNext | m:0x0 + c:171
Fn + left arrow - XF86AudioPrev | m:0x0 + c:173
I have pulseaudio and pavucontrol installed.
The GUI for Audio Mixer shows:
Sound Card: Playback: Built-in Audio Digital Stereo (HDMI) (PulseAudio Mixer)
Playback
Master
and under Select Controls, Master is checked
The GUI for PulseAudio Volume Control shows
System Sounds
Mono - set at 100% (0dB)
Playback
ALSA plug-in [Firefox]: ALSA playback on (Built-in Audio Analog Stereo)
set at 100% (0dB)
Output Devices
Built-in Audio Digital Stereo (HDMI)
Port: (HDMI / DisplayPort)
front left & front right both set at 100% (0dB)
Built-in Audio Analog Stereo
Port: (Speakers)
front left & front right both set at 100% (0dB)
Configuration
Built-in Audio
Profile: (Digital Stereo (HDMI) Output)
Built-in Audio
Profile: (Analog Stereo Duplex)
other thought: before installing pavucontrol, I tried
Remten@XXXX:~$ amixer sset Master 10%
amixer: Unable to find simple control 'Master',0
lubuntu 13.10 3.11.0-13-generic
pulseaudio, pavucontrol
(also nvidia-319, nvidia-prime, xfce4 & xfce4-goodies metapackages)
I don't know how to control the sound volume for the built-in speakers using the keyboard.
This Asus laptop has a row of function keys across the top of the keyboard. I have been able to get F1-F6 working the way I want them, partly from using xbindkeys to map scripts for controlling the keyboard backlight and screen backlight.
F10-F12 are a problem. The F11 key has an icon for lowering the volume; F12 for raising the volume; and I think the icon on F10 is supposed to represent a toggle for Mute. But none of these functions work in Lubuntu.
This seems to be a lubuntu or lxde-specific issue because when I run xfce sessions, the F10-F12 function keys DO control the volume (and pressing the keys even calls up a volume level graphical display).
(My tests are from monitoring the sound volume using youtube videos.)
F10 - opens a browser File menu (eg New Tab, New Window, Open File options)
F11 - toggles fullscreen mode for whatever window is active
F12 - pulls up a browser debugging window
Fn + F10 - does nothing
Fn + F11 - does nothing
Fn + F12 - does nothing
Fn + right arrow - does nothing
Fn + left arrow - does nothing
possibly relevant /etc/default/grub.conf:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=\"!Windows 2012\""
GRUB_CMDLINE_LINUX=""
(I used the !Windows 2012 setting because it enabled the wireless card radio control via Fn + F2)
Remten@XXXX:~$ cat /proc/asound/card0/codec* | grep Codec
Codec: Intel Haswell HDMI
Remten@XXXX:~$ cat /proc/asound/card1/codec* | grep Codec
Codec: Realtek ALC668
Remten@XXXX:~$
lspci shows this (edited):
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
Subsystem: Intel Corporation Device 2010
Flags: bus master, fast devsel, latency 0, IRQ 52
Memory at f7a14000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Kernel driver in use: snd_hda_intel
. . .
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 11cd
Flags: bus master, fast devsel, latency 0, IRQ 53
Memory at f7a10000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Kernel driver in use: snd_hda_intel
info from xev scans:
Fn - nothing
F10 - keycode 76 = (keysym 0xffc7, F10), state = 0x0
F11 - (switches to fullscreen mode; no keypress code displayed)
F12 - keycode 96 = (keysym 0xffc9, F12), state = 0x0
Fn + F10 - nothing
Fn + F11 - nothing
Fn + F12 - nothing
Fn + right arrow - keycode 171 = (keysym 0x1008ff17, XF86AudioNext), state = 0x0
Fn + left arrow - keycode 173 = (keysym 0x1008ff16, XF86AudioPrev), state = 0x0
acpi_listen scans:
F9 - [[20~
F10 - (opens the File menu; nothing shows up in terminal for the keypress codes)
F11 - (switches to fullscreen mode; no keypress code displayed)
F12 - ^[[24~
Fn + F9 - nothing
Fn + F10 - nothing
Fn + F11 - nothing
Fn + F12 - nothing
Fn + right arrow - nothing
xbindkeys-config "get key" scans:
F10 - F10 | m:0x0 + c:76
F11 - (switches to fullscreen mode; no keypress code displayed)
F12 - F12 | m:0x0 + c:96
Fn + F10 - nothing
Fn + F11 - nothing
Fn + F12 - nothing
Fn + right arrow - XF86AudioNext | m:0x0 + c:171
Fn + left arrow - XF86AudioPrev | m:0x0 + c:173
I have pulseaudio and pavucontrol installed.
The GUI for Audio Mixer shows:
Sound Card: Playback: Built-in Audio Digital Stereo (HDMI) (PulseAudio Mixer)
Playback
Master
and under Select Controls, Master is checked
The GUI for PulseAudio Volume Control shows
System Sounds
Mono - set at 100% (0dB)
Playback
ALSA plug-in [Firefox]: ALSA playback on (Built-in Audio Analog Stereo)
set at 100% (0dB)
Output Devices
Built-in Audio Digital Stereo (HDMI)
Port: (HDMI / DisplayPort)
front left & front right both set at 100% (0dB)
Built-in Audio Analog Stereo
Port: (Speakers)
front left & front right both set at 100% (0dB)
Configuration
Built-in Audio
Profile: (Digital Stereo (HDMI) Output)
Built-in Audio
Profile: (Analog Stereo Duplex)
other thought: before installing pavucontrol, I tried
Remten@XXXX:~$ amixer sset Master 10%
amixer: Unable to find simple control 'Master',0