[Aspire ES1-131, Realtek ALC255, Mic, Internal] No autoswitch (4-pole combo jack mic doesn't detect)

Bug #1821269 reported by Ji-min Hong
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I use realtek alc255 analog audio jack. External jack is 4 pole combo(apple type. not europe type.).
When I plug 4 pole mic into jack, It doesn't detect.
So I can't my voice through external mic.

My laptop has internal mic. It belongs to Intel sound(HDA Intel PCH. Audio device: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio Controller (rev 21)).
Internal mic works well.

Please check 4pole external mic detection.

Thank you.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 4.15.0-46.49-generic 4.15.18
Uname: Linux 4.15.0-46-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC0D0c: jimnong 1441 F...m pulseaudio
 /dev/snd/pcmC0D0p: jimnong 1441 F...m pulseaudio
 /dev/snd/controlC0: jimnong 1441 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 22 11:30:39 2019
InstallationDate: Installed on 2017-07-27 (603 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_Card: 내장 오디오 - HDA Intel PCH
Symptom_Jack: Mic, Internal
Symptom_Type: No auto-switch between inputs
Title: [Aspire ES1-131, Realtek ALC255, Mic, Internal] No autoswitch
UpgradeStatus: Upgraded to bionic on 2018-09-23 (179 days ago)
dmi.bios.date: 09/06/2016
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.24
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Garp_BA
dmi.board.vendor: Acer
dmi.board.version: V1.24
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.24:bd09/06/2016:svnAcer:pnAspireES1-131:pvrV1.24:rvnAcer:rnGarp_BA:rvrV1.24:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.family: BSW
dmi.product.name: Aspire ES1-131
dmi.product.version: V1.24
dmi.sys.vendor: Acer

Revision history for this message
Ji-min Hong (jimnong) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

For a 4-pole combo jack to work you need:

1. To be sure the laptop's socket supports 4 poles (is there a headset icon next to it?); and

2. To be sure your headset uses the same standard as the laptop. Unfortunately there are at least two different and incompatible standards for 4-poles ("TRRS"):

https://www.cablechick.com.au/blog/understanding-trrs-and-audio-jacks/

I can't find any detailed specs or photos of that laptop. If you are sure there's a headset icon next to the port then my next suggestion would be to try a different type of headset (a PC headset instead of Apple, or vice versa).

Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
Ji-min Hong (jimnong) wrote :

Thank you reply.

My Laptop's specs is here.
https://www.acer.com/datasheets/2015/4876/ES1-131/NX.MYKSJ.002.html

My laptop has 4 pole jack instead of 3pole earphone+3pole mic jacks.
It is compatible for Apple TRRS 4pole. It works in windows10 perfectly.

I have Apple 4pole <-> EU 4pole(Nokia) hardware converter.
https://www.amazon.com/Josi-Minea-Headphone-Connectors-Smartphones/dp/B011S8XKTU
And I have 4pole to 3pole earphone+3pole mic jack divider like this.
https://www.tvps.com/3-5mm-4-pole-jack-y-splitter-plug-to-2-x-3-5mm-3-pole-sockets-cable-adapter/ecs-4pyspc/

And I also have 3pole mic and 4pole plugin-power mic.
http://www.edutige.com/etm001.html
http://audiotrack.co.kr/en/microphones/292

When I pluged in my mics on laptop jack, it doesn't appear on "PulseAudio Volume Control".
When I pluged in 3pole earphone+3pole mic with 4pole-> two 3pole divider, earphone part works only.

I searched and found some documents like me.
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1523100

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
Changed in alsa-driver (Ubuntu):
status: Expired → New
Revision history for this message
Hui Wang (hui.wang) wrote :

@jimnong,

Please do a test:

don't plug anything in the jack and run: sudo hdajacksensetest -a

Then plug the apple type headset in the jack and run: sudo hdajacksensetest -a

please upload the output. thx.

Revision history for this message
Ji-min Hong (jimnong) wrote :

@hui.wang
Thank you for reply.

When I didn't plug anything, these were printed.

sudo hdajacksensetest -a
Pin 0x12 (Internal Mic): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x17 (Not connected): present = No
Pin 0x18 (Not connected): present = No
Pin 0x19 (Not connected): present = No
Pin 0x1a (Not connected): present = No
Pin 0x1b (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x21 (Black Headphone, Front side): present = No

After I plug the apple type 4pole headset, these are printed.

sudo hdajacksensetest -a
Pin 0x12 (Internal Mic): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x17 (Not connected): present = No
Pin 0x18 (Not connected): present = No
Pin 0x19 (Not connected): present = No
Pin 0x1a (Not connected): present = No
Pin 0x1b (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x21 (Black Headphone, Front side): present = Yes

Like 3pole earphone, all output sound works well. But earset's mic doesn't work.

Revision history for this message
Hui Wang (hui.wang) wrote :

Please collect one more log:

sudo su
cd /sys/module/snd_hda_codec/parameters/
echo 1 > dump_coef

Then run alsa-info.sh to collect a log of alsa-info.txt, and upload this alsa-info.txt.

thx.

Revision history for this message
Ji-min Hong (jimnong) wrote :

@hui.wang

I did what you told me to do.
Please check attachment file. I extracted this from the /tmp/ path.

Revision history for this message
Hui Wang (hui.wang) wrote :

Please do a test:

add "snd_hda_intel.model=lifebook-extmic" in the bootargs (kernel bootargs). After booting up, please a headset, does the headset-mic work?

Revision history for this message
Ji-min Hong (jimnong) wrote :

Sorry. I am not familiar with Linux. So I don't know how to modify bootargs.
Can you explain me little more kindly? I'm sorry to bother you.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Edit /etc/default/grub and add them to the line GRUB_CMDLINE_LINUX_DEFAULT...

Then run 'sudo update-grub' and reboot.

Revision history for this message
Ji-min Hong (jimnong) wrote :

@vanvugt

Thank you for help.
I modified my /etc/default/grub file like this.

#GRUB_DEFAULT=0
GRUB_DEFAULT=saved
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="snd_hda_intel.model=lifebook-extmic"
GRUB_CMDLINE_LINUX=""

And "sudo update-grub" and rebooted.
But no change occurred.

Revision history for this message
Hui Wang (hui.wang) wrote :

@Ji-min,

After #12, please upload an alsa-info.txt, let me check if "model=liefbook-extmic" is applied or not. If it really applied but it did not work on this machine, I will ask for help from realtek.

thx.

Revision history for this message
Ji-min Hong (jimnong) wrote :

@hui.wang

After #12, I tried to generate new alsa-info.txt file.
Please check attachment file again.

I confirmed that there is "snd_hda_intel: model = lifebook-extmic" entry in the "Modprobe options" category.
But apple 4 pole earset's mic is still not working.

Thank you for your sincere effort.

Revision history for this message
Hui Wang (hui.wang) wrote :

checked the alsa-info.txt in #14, found the lifebook-extmic doesn't take effect, "model=liefbook-extmic" was added to kernel-4.19 but we are using kerel-4.15. So please test this dkms, if headset-mic still doesn't work, please generate an alsa-info.txt too.

thx.

To install the dkms:
sudo dpkg -i oem-audio-xxx.deb
reboot

to remove the dkms:
sudo dpkg -P oem-audio-hda-daily-dkms
reboot

Revision history for this message
Ji-min Hong (jimnong) wrote :

I installed oem-audio-hda-daily-dkms_0.1_all.deb
And rebooted my PC and plugged in apple earset.
But earset's mic doesn't work too.

compressed.zip contains 3 files.

20190523-00
 : Ubuntu sound setting screenshot. "내부마이크" is laptop's internal mic. And earset's mic doesn't appear.
20190523-01
 : I installed "PulseAudio Volume Control" package. When I installed oem-audio-xxx.deb, "Mic(unplugged)" is added. I changed to this from 내부마이크(internal mic). but it operated like laptop's internal mic.

As a result, the earset's mic does not work.

alsa-info.txt.ALf0UgderM
 : This is new "alsa-info.txt" file.
Please check it.

I'll remove oem-audio-hda-daily-dkms_0.1_all.deb package.
Thank you.

Revision history for this message
Hui Wang (hui.wang) wrote :

Reported to realtek.

Revision history for this message
Ji-min Hong (jimnong) wrote :

@hui.wang

Wow, thank you.
Have a nice weekend. :-)

Revision history for this message
Hui Wang (hui.wang) wrote :

Please install this dkms, reboot and redo the test.

If the headset-mic still doesn't work, please enable dump_coeff and generate an alsa-info.txt.

thanks.

Revision history for this message
Ji-min Hong (jimnong) wrote :

@hui.wang

I tested.
Everything works fine. 4pole apple earset and 3pole 3.5mm earphone works perfectly.

Thank you very much.
You saved many people like me.
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1523100

I have an additional question.
Actually, I use Ubuntu and Manjaro Linux and Manjaro has same problem.
Is there any way to apply this tip to Manjaro linux?
Should I report to the Manjaro linux support team?
I want to hear your opinion.

Revision history for this message
Hui Wang (hui.wang) wrote :

It is fixed from kernel driver, So all linux distros have this issue. We plan to send the patch to upstream kernel and cc stable-kernel, after this patch is merged to stable-kernel, I guess all linux distros will have this fix automatically.

Revision history for this message
Ji-min Hong (jimnong) wrote :

I will take your opinion. Thank you.

Hui Wang (hui.wang)
affects: alsa-driver (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1821269

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Murilo (murilolobatto) wrote :

Does it have a workaround for manjaro linux, since I cant install .deb packages in manjaro?

Revision history for this message
Douglas (douglas-rauber) wrote :

Hello!

I have the same problem as my friend! I tried to follow the steps, but I believe that something I did on other tests may be causing the problem. Can anyone help me check what may be wrong?

Note: My primary system is Mint 19.3, but I just ran the test on Ubuntu 20.04 live and the latest ubuntu doesn't work either.
I have dual boot with windows, and it works there :(

Thanks

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Douglas (douglas-rauber) wrote :

My Notebook is a Acer Aspire E5-573G-72UF

With headset pluged or not:

sudo hdajacksensetest -a
Pin 0x05 ( Digital Out, HDMI): present = No
Pin 0x06 ( Digital Out, HDMI): present = No
Pin 0x07 ( Digital Out, HDMI): present = No

My headset is an Hyper-X Cloud Stinger.

Revision history for this message
Douglas (douglas-rauber) wrote :

My Notebook is a Acer Aspire E5-573G-72UF

With headset pluged or not:

sudo hdajacksensetest -a
Pin 0x05 ( Digital Out, HDMI): present = No
Pin 0x06 ( Digital Out, HDMI): present = No
Pin 0x07 ( Digital Out, HDMI): present = No

My headset is an Hyper-X Cloud Stinger.

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.