[Asus 1011PX, Realtek ALC269VB, Speaker, Internal] no sound from speakers, only headphones

Bug #1508092 reported by Artemgy
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Sound comes out of the headphones when I insert the jack, but does NOT come out of the speakers when I unplug it. This includes sound from any source, including aplay.

This is a newly installed Lubuntu daily build (Lubuntu 15.10 "Wily Werewolf" - Alpha i386 20151017.1). If I go back to running from the Live USB install media, the sound works fine from the speakers OR the headphones, as expected.

As suggested by https://help.ubuntu.com/community/SoundTroubleshootingProcedure I have tried:
* killing and reloading pulseaudio and alsa-mixer
* purging (.config/) .pulse/ then killing/reloading and rebooting
* installing and reinstalling pavucontrol linux-sound-base alsa-base alsa-utils libasound2

In the installed version I notice that in Volume Control (pavucontrol) the output switches automatically between headphones and speaker when the jack is plugged and unplugged - as one would expect - and in alsamixer I can see the inactive device being muted automatically. However the speaker never issues any sound :( On the contrary in the live usb I notice that alsamixer leaves both outputs active (unmuted) and simply relies on the microswitch in the headphone jack to control whether the speaker can be heard or not.

For reference I past the output of the FAILING test case's alsa-info.sh below and attach the output of the WORKING test case's alsa-info.sh

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic i686
ApportVersion: 2.19.1-0ubuntu2
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC0D0c: elda 1480 F...m pulseaudio
 /dev/snd/pcmC0D0p: elda 1480 F...m pulseaudio
 /dev/snd/controlC0: elda 1480 F.... pulseaudio
CurrentDesktop: LXDE
Date: Tue Oct 20 16:36:58 2015
InstallationDate: Installed on 2015-10-19 (0 days ago)
InstallationMedia: Lubuntu 15.10 "Wily Werewolf" - Alpha i386 (20151017.1)
JournalErrors:
 No journal files were found.
 -- No entries --
PackageArchitecture: all
SourcePackage: alsa-driver
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/06/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1301
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1015PE
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1301:bd05/06/2011:svnASUSTeKComputerINC.:pn1011PX:pvrx.x:rvnASUSTeKComputerINC.:rn1015PE:rvrx.xx:cvnASUSTeKComputerINC.:ct10:cvrx.x:
dmi.product.name: 1011PX
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.

Revision history for this message
Artemgy (artemgy) wrote :
Revision history for this message
Artemgy (artemgy) wrote :
Download full text (22.1 KiB)

Here is the output from the FAILING test case, the installed Lubuntu system with the symptoms described above

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.64
!!################################

!!Script ran on: Tue Oct 20 13:46:49 UTC 2015

!!Linux Distribution
!!------------------

Ubuntu Wily Werewolf (development branch) \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu Wily Werewolf (development branch)" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu Wily Werewolf (development branch)" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

!!DMI Information
!!---------------

Manufacturer: ASUSTeK Computer INC.
Product Name: 1011PX
Product Version: x.x
Firmware Version: 1301

!!Kernel Information
!!------------------

Kernel release: 4.2.0-16-generic
Operating System: GNU/Linux
Architecture: i686
Processor: i686
SMP Enabled: Yes

!!ALSA Version
!!------------

Driver version: k4.2.0-16-generic
Library version: 1.0.29
Utilities version: 1.0.29

!!Loaded ALSA modules
!!-------------------

snd_hda_intel

!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Intel ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf7cf8000 irq 29

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)

!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:1b.0 0403: 8086:27d8 (rev 02)
 Subsystem: 1043:8437
--
 Prefetchable memory behind bridge: 0000000040200000-00000000403fffff
 Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-

!!Modprobe options (Sound related)
!!--------------------------------

snd_pcsp: index=-2
snd_usb_audio: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_usb_audio: index=-2
snd_usb_caiaq: index=-2
snd_usb_ua101: index=-2
snd_usb_us122l: index=-2
snd_usb_usx2y: index=-2
snd_cmipci: mpu_port=0x330 fm_port=0x388
snd_pcsp: index=-2
snd_usb_audio: index=-2

!!Loaded sound module options
!!---------------------------

!!Module: snd_hda_intel
 align_buffer_size : -1
 bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
 beep_mode : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
 enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
 enable_msi : -1
 id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
 index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,...

Revision history for this message
Artemgy (artemgy) wrote :

Subscribing Lubuntu-Package team as per Lubuntu Testing and Reporting process.

Please note this issue is with the Daily Build 20151017.1 between Beta2 and Release Candidate (RC) milestones.

Artemgy (artemgy)
summary: - no sound from speakers, only headphones
+ [Asus 1011PX, Realtek ALC269VB, Speaker, Internal] no sound from
+ speakers, only headphones
Revision history for this message
Artemgy (artemgy) wrote :
Revision history for this message
Artemgy (artemgy) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

control.8 {
  iface MIXER
  name 'Capture Source'
  value 'Internal Mic'
  comment {
   access 'read write'
   type ENUMERATED
   count 1
   item.0 'Internal Mic'
   item.1 'Headphone Mic'
  }
 }

if netbook audio jack support either headphone or mic, the role of the jack is changed by capture source

there is no headphone jack kctl which pulseaudio use to mute speaker

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

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

when headphone mic jack is false both internal speaker and internal mic should be used

Revision history for this message
Raymond (superquad-vortex2) wrote :
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
Artemgy (artemgy) wrote :

Currently using the following workaround:

# Workaround for Asus 1011PX where alsa headphone toggle code fails to enable speakers
cat <<EOF | sudo tee /usr/bin/amixer_headphone_fix.sh
/usr/bin/amixer -c 0 sset Headphone playback 100%
/usr/bin/amixer -c 0 sset Headphone unmute
EOF
# credit - https://ubuntuforums.org/showthread.php?t=2279687
sudo chmod +x /usr/bin/amixer_headphone_fix.sh

# automatically run this on startup
cat <<EOF | sudo tee -a /etc/xdg/lxsession/Lubuntu/autostart
xterm -e /usr/bin/amixer_script.sh
EOF

# add desktop icon for manual turn on if headphones plugged
cat <<-EOF! | sudo tee /usr/share/applications/asus-speaker-workaround.desktop
[Desktop Entry]
Version=1.0
Name=Fix Asus Speaker workaround
Comment=Make it so you can hear sound again after plugging headphones
Exec=lxterminal -e "/usr/bin/amixer_headphone_fix.sh"
Icon=audio-speakers
Type=Application
Categories=AudioVideo;Audio;
EOF!

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

Thank you for reporting this bug to Ubuntu.
Ubuntu 15.10 (wily) reached end-of-life on July 28, 2016.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed.

Changed in alsa-driver (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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