You are not logged in.
Hi everyone.
I have a G750 laptop with an integrated subwoofer but it doesn't work in arch linux.
I tried changing the sound settings in gnome but sound only works with speakers or just the subwoofer, not both at the same time.
I tried using gnome-alsamixer and set the subwoofer volume up, but it would work untill reboot, and i would have to set it again.
Is there anything i can do?
Thanks in advance!
Last edited by pspkzar (2014-01-25 18:12:53)
Offline
After getting things working with gnome-alsamixer, run
sudo alsactl store
which should save the mixer state for subsequent boots.
Offline
After getting things working with gnome-alsamixer, run
sudo alsactl store
which should save the mixer state for subsequent boots.
tried that but it didn't work...
Offline
I am using pulse audio, which comes with gnome. does that interfere with anything? Or does it provides any solution?
Offline
After reading the wiki, https://wiki.archlinux.org/index.php/Ad … chitecture what have you tried to do in setting up sound? What is your output for aplay -l (small case L) and aplay -L ? Maybe post .asoundrc ?
This article http://www.mythtv.org/wiki/Using_ALSA's_speaker-test_utility helps to simplify how to test your sound config. At least for me it did. Hope it does the same for you.
Edit: As for pulse, I've never used so I can't comment on that.
Last edited by frank604 (2014-01-25 00:02:24)
Offline
this is my /etc/asound.conf
# Use PulseAudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}
ctl.!default {
type pulse
fallback "sysdefault"
}
# vim:set ft=alsaconf:
and the outpu of the commands was
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC282 Analog [ALC282 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC282 Digital [ALC282 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
HDA Intel PCH, ALC282 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC282 Analog
Front speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC282 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC282 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC282 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC282 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC282 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC282 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output
Offline
What's the output of commands "amixer" and "amixer -c0"?
Offline
here's the output
$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 65536 [100%] [on]
Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 65536 [100%] [on]
Front Right: Capture 65536 [100%] [on]
$ amixer -c0
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off]
Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Bass Speaker',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [on]
Front Right: Playback 0 [0%] [-34.50dB] [on]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 0 [0%] [-17.25dB] [off]
Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Internal Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%] [36.00dB]
Front Right: 3 [100%] [36.00dB]
Offline
Add this command to autostart: amixer -c0 set "Bass Speaker" on
Offline
Tried it but no good...
I comment my /etc/asound.conf so that i dont use pulse audio and now i can directly access the subwoofer in alsamixer, that is in the "Speaker" mixer control, but the settings of alsamixer are lost after reboot.
Both the headphones and the speaker are in the "Headphone" mixer control. If i plug in a headphone the subwoofer volume is put to 0, and when i unplug-it, the speakers volume ("Headphone" mixer control) is set to 0 and only the subwoofer is used.
Offline
Add this command to autostart: bash -c 'amixer -c0 set "Speaker" unmute && amixer -c0 set "Speaker" 20 && amixer -c0 set "Auto-Mute Mode" disabled && amixer -c0 set "Headphone" unmute && amixer -c0 set "Headphone" 40'
Last edited by korn36 (2014-01-25 17:45:12)
Offline
Did not work. With the headphones in there was sound in both the phones and speakers. But when I plugged them out only the subwoofer was active.
Offline
Ok, finally got it working! Here's what i did:
Reverted the file /etc/asound.conf to use pulse audio again.
Then I edited the file /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf and changed these lines
[Element Headphone]
switch = off
volume = off
to this
[Element Headphone]
switch = mute
volume = merge
and now everything works perfectly!
Offline