Comment 8 for bug 451635

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: Sound not working on dove Y1 board

Here are the relevant sections from Paul's alsa-info.txt:

Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
...
Simple mixer control 'Line HP Swap',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]

Thanks to Tobin's comments above, it looks like changes (at least) need to be made to the mixer files for PA, src/modules/alsa/mixer/paths/analog-output-headphones.conf[0]. The following stanza should be added:

[Element Line HP Swap]
switch = mute

[0] http://git.0pointer.de/?p=pulseaudio.git;a=blob;f=src/modules/alsa/mixer/paths/analog-output-headphones.conf;h=2131cfe81e2f9a6481fff71ac2023d9cf98229d8;hb=refs/heads/stable-0.9.20