[HP Envy 4 Sleekbook] external audio jacks are reversed

Bug #1134069 reported by Jeff Lane 
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Won't Fix
Low
Po-Hsu Lin

Bug Description

Looking at the outside of the system, the external audio jacks are in this order:

Mic ___ Headphone ___

However, on testing, it appears that they are either mislabled, or the outputs are reversed internally. I had to plug the headphones into the Mic jack to hear sound, and plug the mic into the headphone jack to record sound.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.5.0-25-generic 3.5.0-25.39~precise1
ProcVersionSignature: Ubuntu 3.5.0-25.39~precise1-generic 3.5.7.4
Uname: Linux 3.5.0-25-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 1545 F.... pulseaudio
 /dev/snd/pcmC0D0c: ubuntu 1545 F...m pulseaudio
CRDA:
 country TW:
  (2402 - 2472 @ 40), (3, 27)
  (5270 - 5330 @ 40), (3, 17), DFS
  (5735 - 5815 @ 40), (3, 30)
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0x50710000 irq 48'
   Mixer name : 'Intel PantherPoint HDMI'
   Components : 'HDA:111d76e0,103c1894,00100102 HDA:80862806,80860101,00100000'
   Controls : 24
   Simple ctrls : 11
Date: Wed Feb 27 03:05:29 2013
HibernationDevice: RESUME=UUID=286b25cc-7928-4406-854e-6c1cae69a6e6
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
MachineType: Hewlett-Packard HP Pavilion dm4 Notebook PC
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-25-generic root=UUID=0c6af5a9-e287-43f5-8ce6-647a4ae228f2 ro quiet splash initcall_debug vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-25-generic N/A
 linux-backports-modules-3.5.0-25-generic N/A
 linux-firmware 1.79.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/31/2012
dmi.bios.vendor: Insyde
dmi.bios.version: B.38
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 1894
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 72.66
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrB.38:bd10/31/2012:svnHewlett-Packard:pnHPPaviliondm4NotebookPC:pvr0888100000250E10000020000:rvnHewlett-Packard:rn1894:rvr72.66:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP Pavilion dm4 Notebook PC
dmi.product.version: 0888100000250E10000020000
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Jeff Lane  (bladernr) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
summary: - external audio jacks are reversed
+ [HP Pavilion dm4, IDT 92HD91BXX] external audio jacks are reversed
affects: linux (Ubuntu) → alsa-driver (Ubuntu)
Revision history for this message
Raymond (superquad-vortex2) wrote : Re: [HP Pavilion dm4, IDT 92HD91BXX] external audio jacks are reversed

post the output of alsa-info.sh

Daniel Manrique (roadmr)
Changed in alsa-driver (Ubuntu):
importance: Undecided → Low
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

node 0x0b does not support input, it is unlikely that they are reversed

you have to run

hda-jack-sense-test -a

when you plugged and unplugged

both HP and Mic are not plugged

control.16 {
  iface CARD
  name 'Headphone Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.17 {
  iface CARD
  name 'Mic Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

Node 0x0b [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Headphone Jack", index=0, device=0
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x0421101f: [Jack] HP Out at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:
  Power: setting=D0, actual=D0
  Connection: 3
     0x13 0x14* 0x1c
Node 0x0c [Pin Complex] wcaps 0x400583: Stereo Amp-In
  Control: name="Mic Jack Mode", index=0, device=0
    ControlAmp: chs=0, dir=In, idx=0, ofs=0
  Control: name="Mic Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Jack", index=0, device=0
  Amp-In caps: N/A
  Amp-In vals: [0x00 0x00]
  Pincap 0x00011734: IN OUT EAPD Detect
    Vref caps: HIZ 50 GRD 80
  EAPD 0x2: EAPD
  Pin Default 0x04a11020: [Jack] Mic at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x22: IN VREF_GRD
  Unsolicited: tag=02, enabled=1
  Power states:
  Power: setting=D0, actual=D0
  Connection: 3
     0x13* 0x14 0x1c

Revision history for this message
Raymond (superquad-vortex2) wrote :

Simple mixer control 'Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Line In'

Mic Jack was changed to line in Jack by Mic Jack mode control

Changed in alsa-driver (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Raymond (superquad-vortex2) wrote :

ports:
  analog-input-microphone-internal: Internal Microphone (priority 8900, available: no)
   properties:

  analog-input-microphone: Microphone (priority 8700, available: yes)
   properties:

  analog-input-linein: Line In (priority 8100, available: unknown)
   properties:

does pulseaudio know the Mic Jack was retasked as line in by Mic jack mode ?

post output of

pactl list

when you change mic Jack mode control with alsamixer -c0

Revision history for this message
Raymond (superquad-vortex2) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

alernative is to force the driver not creating the Mic Jack mode control which Mic Jack can be used as Mic only by hint

add_jack_modes=false

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa/HD-Audio.txt

- add_jack_modes (bool): add "xxx Jack Mode" enum controls to each
  I/O jack for allowing to change the headphone amp and mic bias VREF
  capabilities

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

The actual model name should be HP ENVY 4 Sleekbook, instead of Pavilion dm4
Not sure if this difference would cause this issue

Audio jack for Envy 4 Sleekbook
http://regmedia.co.uk/2012/05/09/hp_2.jpg

Audio jack for Pavilion
http://cdn4.thetechjournal.net/wp-content/uploads/HLIC/c52144510ed4df2a92bb5e200db84e4a.jpg

summary: - [HP Pavilion dm4, IDT 92HD91BXX] external audio jacks are reversed
+ [HP Envy 4 Sleekbook] external audio jacks are reversed
Revision history for this message
Jeff Lane  (bladernr) wrote :

Daniel, can you please hand this off?

Revision history for this message
Daniel Manrique (roadmr) wrote :

Hello Sam,

Hey, could you perhaps try a newer Ubuntu release on this system and see if this is still a problem?

Also, could you check if the system in question is an engineering sample? if so, perhaps it *is* inverted internally due to it being a preproduction system.

Thanks!

Changed in alsa-driver (Ubuntu):
assignee: Canonical Hardware Enablement Team (canonical-hwe-team) → Po-Hsu Lin (cypressyew)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hi Daniel,
I've verified it with 12.04.3, 12.04.4, 14.04.1 and 14.10, this issue still exist.
This system was provided by OEM, I think it's an engineering sample.

Changed in alsa-driver (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in alsa-driver (Ubuntu):
status: Triaged → Incomplete
Po-Hsu Lin (cypressyew)
Changed in alsa-driver (Ubuntu):
status: Incomplete → Won't Fix
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.