[Asus N551JM, Realtek ALC668, Mic, Internal] No autoswitch

Bug #1564876 reported by Alexandr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

No auto switch with internal microphone and external microphone on headset.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4
Uname: Linux 4.2.0-34-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC1D0c: mogost 1869 F...m pulseaudio
 /dev/snd/controlC1: mogost 1869 F.... pulseaudio
CurrentDesktop: Unity
Date: Fri Apr 1 18:08:52 2016
InstallationDate: Installed on 2016-03-29 (2 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_Card: Встроенное аудио - HDA Intel PCH
Symptom_Jack: Mic, Internal
Symptom_Type: No auto-switch between inputs
Title: [hostname, Realtek ALC668, Mic, Internal] No autoswitch
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/06/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: N551JM.204
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: N551JM
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrN551JM.204:bd10/06/2014:svnASUSTeKCOMPUTERINC.:pnN551JM:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnN551JM:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: N551JM
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
mtime.conffile..etc.modprobe.d.alsa.base.conf: 2016-04-01T00:51:58.276057

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

This is the drawback of using dell-headset-multi which allow combo jack to support headphone, headset and microphone

You can try the patch in alsa devel mailing list archive for asus n750jk which support headset only

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

As the codec cannot differentitate headphone, headset and microphone, you need to switch capture source to determine the jack type

it is just a simpifed dell-headset-multi by removing the support of headphone and microphone jack, assuming user only use headset

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

sys/class/sound/hwC1D0/init_pin_configs: 0x12 0x90a60130 0x14 0x90170110 0x15 0x04211020 0x16 0x40000000 0x18 0x411111f0 0x19 0x411111f0 0x1a 0x411111f0 0x1b 0x411111f0 0x1d 0x40c6832d 0x1e 0x411111f0 0x1f 0x411111f0

/sys/class/sound/hwC1D0/driver_pin_configs:
0x19 0x03a1913d
0x1b 0x03a1113c

/sys/class/sound/hwC1D0/user_pin_configs:

You can use early patching to remove headphone mic 0x1b by
0x411111f0

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

Should remove 0x19

Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
Control: name="Headphone Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
 Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE
Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=00, enabled=0 Power states: D0 D1 D2 D3 EPSS Power: setting=D0, actual=D0
Connection: 3 0x0c* 0x0d 0x0e

You only need to change pulseaudio to select headset mic when headphone jack is plugged

Add [Jack Headphone] to headset-mic.conf

https://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-input-headset-mic.conf

Changed in alsa-driver (Ubuntu):
status: New → Incomplete
summary: - [hostname, Realtek ALC668, Mic, Internal] No autoswitch
+ [Asus N551JM, Realtek ALC668, Mic, Internal] No autoswitch
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.]

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
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.