Openmoko Bug #2173: Audio does not switch to headphone if headphone is plugged in

Openmoko Public Trac bugs at docs.openmoko.org
Sat Dec 13 12:02:11 CET 2008


#2173: Audio does not switch to headphone if headphone is plugged in
----------------------------+-----------------------------------------------
    Reporter:  beni         |        Type:  defect
      Status:  new          |    Priority:  normal
   Milestone:               |   Component:  Audio 
     Version:  unspecified  |    Severity:  normal
    Keywords:               |    Haspatch:  0     
   Blockedby:               |   Estimated:        
 Patchreview:               |    Blocking:        
Reproducible:               |  
----------------------------+-----------------------------------------------
 System: Freerunner (GTA2 V6), OM-2008.9 upgraded via opkg to daily testing
 (did that today)

 I play music using openmoko-mediaplayer2.

 Description:
 Music starts playing out of the speaker.
 If i then plug in my headset (Sony ericson headset, i think that has 4
 pins if that matters), sound output remains on speaker where it should
 switch over to headphone. Headphones remain silent.
 I then played a little with alsamixer and managed to switch manually by
 unmuting and muting two settings.
 Diff file for the state file:
 --------------
 @@ -848,7 +848,7 @@
                 comment.count 1
                 iface MIXER
                 name 'DAPM Headset Mic Switch'
 -               value true
 +               value false
         }
         control.91 {
                 comment.access 'read write'
 @@ -880,6 +880,6 @@
                 comment.count 1
                 iface MIXER
                 name 'Amp Spk Switch'
 -               value false
 +               value true
         }
 ----------


 Events are issued if i plug in/plug out the headsets jack (seen by cat
 /dev/input/event0)

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2173>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list