Thank you so much to: Jim for submitting this bug report; Luke for
pointing out the PulseAudio logging wiki; and David for providing the
workaround details for PulseAudio and snd-hda-intel. I've had the volume
pop-up problem (easily 50+ times a day) since I built my system in late
2012 and only bummed that I finally found this bug report today instead
of a long time ago.

I confirmed I was affected by the same jack sensing issue by using
PulseAudio logging this way (based on the wiki; you might want to
confirm you don't have an existing client.conf file):

echo autospawn = no > ~/.config/pulse/client.conf
pkill pulseaudio
pulseaudio --daemonize -vv --log-time=1 --log-target=file:/tmp/pulseaudio.log
tail -f /tmp/pulseaudio.log

Searching the logs with:
grep is.now /tmp/pulseaudio.log

showed repeated messages like this:
D (1565.604| 634.163)  [pulseaudio] module-alsa-card.c: Jack 'Front Headphone 
Jack' is now plugged in
D (1565.626|   0.020)  [pulseaudio] module-alsa-card.c: Jack 'Front Headphone 
Jack' is now unplugged
D (1712.599| 146.972)  [pulseaudio] module-alsa-card.c: Jack 'Front Headphone 
Jack' is now plugged in
D (1712.621|   0.020)  [pulseaudio] module-alsa-card.c: Jack 'Front Headphone 
Jack' is now unplugged

I was thinking I'd use the snd-hda-intel jackpoll_ms workaround, until I
thought about actually checking the hardware setup on my system. First I
connected/disconnected headphones to the front panel headphone jack to
confirm the jack shown in the debug output above indeed toggled again
while tailing the log. Then I disconnected the cable from my case to the
motherboard "Front panel audio connector (AAFP)" since I never use those
jacks anyway. This simple hardware fix worked for me and so I thought
I'd share this information in case anyone else has the issue and wants
to go this route so the kernel sound drivers don't have to process any
interrupts generated by (phantom) audio jack plug events.

To restore the standard PulseAudio daemon process without debugging, I
re-enabled autospawn, killed the debug daemon process and after a few
seconds it is restarted automatically:

rm ~/.config/pulse/client.conf
pkill pulseaudio

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/874535

Title:
  Volume Slider Jumps, due to rapidly changing hardware jack sense state

Status in “alsa-driver” package in Ubuntu:
  Triaged

Bug description:
  In Oneiric Release,  The volume slider randomly jump down a notch or
  two for fraction of  a second, even when there is no audio playing on
  the system.  If mute is selected, the menu will quickly flip out of
  mute mode and back again.  This change actually affects the audio
  output, resulting in pops correlated with the volume changes.

  nVidia GF106 Audio Controller
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  jfrorie    9959 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfb9f8000 irq 54'
     Mixer name : 'Realtek ALC892'
     Components : 'HDA:10ec0892,1462522c,00100302'
     Controls      : 35
     Simple ctrls  : 20
  Card2.Amixer.info:
   Card hw:2 'Generic'/'HD-Audio Generic at 0xfbcf8000 irq 55'
     Mixer name : 'ATI R6xx HDMI'
     Components : 'HDA:1002aa01,00aa0100,00100200'
     Controls      : 4
     Simple ctrls  : 1
  Card2.Amixer.values:
   Simple mixer control 'IEC958',0
     Capabilities: pswitch pswitch-joined penum
     Playback channels: Mono
     Mono: Playback [on]
  DistroRelease: Ubuntu 11.10
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  Package: pulseaudio 1:1.0-0ubuntu3.1
  PackageArchitecture: amd64
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
  Tags:  oneiric running-unity
  Uname: Linux 3.0.0-14-generic x86_64
  UpgradeStatus: Upgraded to oneiric on 2011-10-14 (82 days ago)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
  dmi.bios.date: 11/16/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: V25.0
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: X58A-GD45 (MS-7522)
  dmi.board.vendor: MSI
  dmi.board.version: 5.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
  dmi.chassis.version: 5.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrV25.0:bd11/16/2010:svnMSI:pnMS-7522:pvr5.0:rvnMSI:rnX58A-GD45(MS-7522):rvr5.0:cvnMICRO-STARINTERNATIONALCO.,LTD:ct3:cvr5.0:
  dmi.product.name: MS-7522
  dmi.product.version: 5.0
  dmi.sys.vendor: MSI

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/874535/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to