Audio-out on Asus X555 dont work

Bug #1598571 reported by Maksim
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Maksim

Bug Description

Have problem with headphone/microphone port in my laptop. When plug-in headphones, sound resume play on speackers... In Win10 i dont have this problem. Physicaly port work good.
Card: HDA Intel PCH
Chip: Realtek ALC256

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-30-generic 4.4.0-30.49
ProcVersionSignature: Ubuntu 4.4.0-30.49-generic 4.4.13
Uname: Linux 4.4.0-30-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: mnaz 1727 F.... pulseaudio
                      mnaz 9456 F.... alsamixer
CurrentDesktop: Unity
Date: Sun Jul 3 15:17:26 2016
HibernationDevice: RESUME=UUID=773628e6-2536-424b-9a24-4e8c8f0a1892
InstallationDate: Installed on 2016-06-25 (8 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 0bda:57de Realtek Semiconductor Corp.
 Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
 Bus 001 Device 002: ID 0c45:0520 Microdia MaxTrack Wireless Mouse
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. X555UB
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-30-generic.efi.signed root=UUID=f9ab2085-6070-4e16-969a-8769d6bd87e3 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-30-generic N/A
 linux-backports-modules-4.4.0-30-generic N/A
 linux-firmware 1.157.2
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/18/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: X555UB.204
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: X555UB
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: ATN12345678901234567
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrX555UB.204:bd10/18/2015:svnASUSTeKCOMPUTERINC.:pnX555UB:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX555UB:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: X555UB
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
Maksim (mnaz) wrote :
description: updated
description: updated
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
Revision history for this message
SB (emehntehtt) wrote :

I have a similar problem on Asus Rog G751JT laptop.

When I connected headphones no sound is heard from them, but audio from speakers continues playing, there are no headphones in mixers, like they are not recognized at all, they work fine in Windows 10 and I tested with both of my headphones. When I add asus-mode hack in the alsa-base.conf I get sound from both speakers and headphones, but that is useless as speakers are not muted.

This is my Alsa:

http://www.alsa-project.org/db/?f=6d358e8b683771d1ac039b8b9a09075c2bb61b84

Ubuntu 16.04 LTS in question. Same behaviour is present in OpenSuse Tumbleweed I tested which has 4.6 kernel which could point to a wider Alsa bug.

tags: added: alsa kernel-sound
Revision history for this message
Maksim (mnaz) wrote :

I have headphones in mixer, and can mute/unmute this. But this does not affect on situation. Absolutly

Changed in linux (Ubuntu):
assignee: nobody → Maksim (mnaz)
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Maksim (mnaz) wrote :

After last update my audio-out work perfectly! Sensk)

Revision history for this message
SB (emehntehtt) wrote :

Problem still present on my laptop regardless of updates.

Revision history for this message
Rodolpho Pivetta Sabino (rodolpho-pivetta) wrote :

Maksim, I have the same laptop reported here, which update I have to do? I just intalled Ubuntu 16.04 yesterday and install all updates.

Revision history for this message
Rodolpho Pivetta Sabino (rodolpho-pivetta) wrote :

Problem still present on Ubuntu 16.10 Yakkety with 4.8.0-21-generic kernel.

Revision history for this message
SB (emehntehtt) wrote :

It still doesnt work on my Asus Rog G751JT with Ubuntu 16.10

Revision history for this message
SB (emehntehtt) wrote :

By the way this is almost certainly an upstream bug because headphone jack is also not working on several other distributions I tested, none of them are Ubuntu based so this bug goes beyond Ubuntu.

Revision history for this message
TheGame (4thegame3) wrote :

Hi, I found a FIX.
My laptop is an ASUS X555UB but the fix applies to severals X555 laptops.

So, I spent all night searching and I found that this is an actual bug with an actual patch.
Unfortunately the patch will be queued for Linux v4.12 as written in this message:
http://www.spinics.net/lists/alsa-devel/msg60448.html

You will need to compile the kernel by yourself, I used v4.6.3 from Ubuntu PPA:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6.3-yakkety/

Apply the Ubuntu patches.

Now apply all 5 patches from:

http://www.spinics.net/lists/alsa-devel/msg60443.html
http://www.spinics.net/lists/alsa-devel/msg60444.html
http://www.spinics.net/lists/alsa-devel/msg60445.html
http://www.spinics.net/lists/alsa-devel/msg60446.html
http://www.spinics.net/lists/alsa-devel/msg60447.html

Now, If I remember correctly the patch 2 and 4 gives some problems, you will have to add the code lines manually to /sound/pci/hda/patch_realtek.c

Compile the result into .deb

PS: I did not include the details, you will need to search by yourself how to download from source, apply patches and make a .deb package.

Hope that helped.
Good Luck!

Revision history for this message
Filipe Vaz Lourenco (fiehvaz) wrote :

hi, i have this same issue with my asus x555ub, you can use this codes in shell to create a script and add it to a shortcut to change the output from speaker or fone.
pacmd set-sink-port 0 analog-output-headphones
pacmd set-sink-port 0 analog-output-speaker

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.