You are not logged in.

#1 2014-01-24 13:27:56

pspkzar
Member
Registered: 2014-01-24
Posts: 10

[Solved] Laptop Integrated Subwoofer not working

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

#2 2014-01-24 13:56:20

amvakar
Member
Registered: 2013-12-04
Posts: 21

Re: [Solved] Laptop Integrated Subwoofer not working

After getting things working with gnome-alsamixer, run

sudo alsactl store

which should save the mixer state for subsequent boots.

Offline

#3 2014-01-24 21:49:52

pspkzar
Member
Registered: 2014-01-24
Posts: 10

Re: [Solved] Laptop Integrated Subwoofer not working

amvakar wrote:

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

#4 2014-01-24 22:05:59

pspkzar
Member
Registered: 2014-01-24
Posts: 10

Re: [Solved] Laptop Integrated Subwoofer not working

I am using pulse audio, which comes with gnome. does that interfere with anything? Or does it provides any solution?

Offline

#5 2014-01-25 00:02:02

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [Solved] Laptop Integrated Subwoofer not working

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

#6 2014-01-25 16:06:48

pspkzar
Member
Registered: 2014-01-24
Posts: 10

Re: [Solved] Laptop Integrated Subwoofer not working

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

#7 2014-01-25 16:31:30

korn36
Member
Registered: 2014-01-14
Posts: 111

Re: [Solved] Laptop Integrated Subwoofer not working

What's the output of commands "amixer" and "amixer -c0"?

Offline

#8 2014-01-25 16:42:00

pspkzar
Member
Registered: 2014-01-24
Posts: 10

Re: [Solved] Laptop Integrated Subwoofer not working

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

#9 2014-01-25 17:01:51

korn36
Member
Registered: 2014-01-14
Posts: 111

Re: [Solved] Laptop Integrated Subwoofer not working

Add this command to autostart: amixer -c0 set "Bass Speaker" on

Offline

#10 2014-01-25 17:32:09

pspkzar
Member
Registered: 2014-01-24
Posts: 10

Re: [Solved] Laptop Integrated Subwoofer not working

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

#11 2014-01-25 17:38:12

korn36
Member
Registered: 2014-01-14
Posts: 111

Re: [Solved] Laptop Integrated Subwoofer not working

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

#12 2014-01-25 17:51:28

pspkzar
Member
Registered: 2014-01-24
Posts: 10

Re: [Solved] Laptop Integrated Subwoofer not working

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

#13 2014-01-25 18:10:52

pspkzar
Member
Registered: 2014-01-24
Posts: 10

Re: [Solved] Laptop Integrated Subwoofer not working

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

Board footer

Powered by FluxBB