[W230SS, VIA1802] no sound from headphones

Bug #1329468 reported by Martin -
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

ubuntu 14.04 live usb, on my new laptop (also happens after installation).

what happened
When the headphones are unplugged I hear sounds from the internal speakers(correct).
When the headphones are plugged in I hear no sounds. (bug).

What I expected
When internal the headphones are plugged in, the internal speakers are muted, and I can hear sounds from the headphones.

Steps to reproduce
0. boot ubuntu 14.04 LTR from usb
1. play song
2. plug in headphones into headphone jack
3. unplug headphones
4. write bug report

codecs are installed
https://wiki.ubuntu.com/Audio/HDAGeneric
command
grep "Codec:" /proc/asound/card*/codec*
output
/proc/asound/card0/codec#0:Codec: Intel Haswell HDMI
/proc/asound/card1/codec#0:Codec: VIA VT1802

Laptop model
xmg p304
http://www.mysn.eu/se/xmg-p304

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 2312 F.... pulseaudio
 /dev/snd/controlC1: ubuntu 2312 F.... pulseaudio
CasperVersion: 1.340
CurrentDesktop: Unity
Date: Thu Jun 12 18:32:07 2014
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed
Symptom_Card: Built-in Audio - HDA Intel PCH
Symptom_Jack: Green Headphone Out, Front
Symptom_Type: None of the above
Title: [W230SS, VIA VT1802, Green Headphone Out, Front] Playback problem
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4.6.5
dmi.board.asset.tag: Tag 12345
dmi.board.name: W230SS
dmi.board.vendor: Notebook
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: Notebook
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.5:bd04/15/2014:svnNotebook:pnW230SS:pvrNotApplicable:rvnNotebook:rnW230SS:rvrNotApplicable:cvnNotebook:ct9:cvrN/A:
dmi.product.name: W230SS
dmi.product.version: Not Applicable
dmi.sys.vendor: Notebook

Revision history for this message
Martin - (mbernt-mbernt) wrote :
Martin - (mbernt-mbernt)
summary: - everything muted when headphones are plugged in
+ everything is muted when headphones are plugged in
summary: - everything is muted when headphones are plugged in
+ [W230SS, VIA1802] no sound from headphones
Revision history for this message
Raymond (superquad-vortex2) wrote :

 headphone and speaker have to use different audio output if you really want independent headphone in notebook

static bool indep_hp_possible(struct hda_codec *codec)
(
+ if (cfg->line_out_type == AUTO_PIN_HP_OUT)
+ return false;

ard 1: PCH [HDA Intel PCH], device 0: VT1802 Analog [VT1802 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 2: VT1802 Alt Analog [VT1802 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Node 0x08 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="VT1802 Analog", type="Audio", device=0
  Device: name="VT1802 Alt Analog", type="Audio", device=2
  Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
  Amp-Out vals: [0x2a 0x2a]
  Converter: stream=8, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0

Revision history for this message
Martin - (mbernt-mbernt) wrote :

Sounds works as expected in windows 7. So it should be possible to somehow make it work as expected.

In the GUI audio settings under the output tab, in the "play-sound-through" list, there is one device listed:
When the headphones are plugged it says "Headphones Built-in Audio".
When the adphones aren't plugged in it says "Speakers Built-in Audio".

@Raymond
So ubuntu fails to add the extra audio output automatically?

Revision history for this message
Carlos Fontinha (carlos-ar-fontinha) wrote :

Hi,

I have the same issue in ubuntu 14.04, clevo W355SSQ.

grep "Codec:" /proc/asound/card*/codec*
/proc/asound/card0/codec#0:Codec: Intel Haswell HDMI
/proc/asound/card1/codec#0:Codec: VIA VT1802

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
Thilo Uttendorfer (t-lo) wrote :

Why is this a duplicate? "No sound after suspend/resume" seems not related to this bug.

Nevertheless, I can confirm this bug on Schenker XMG system on 14.04 and 16.04. There is a workaround described here: http://storax.github.io/blog/2016/04/24/xmg-p505-headphone-jack---sounds-easy/

Would be nice if Ubuntu would detect plugged in headphones automatically.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.