qtopia, earphone and mediaplayer

Martin Slouf mar at centrum.cz
Sun Sep 14 21:03:09 CEST 2008


just a note -- i have quite simillar problems with 4.3.3-snapshot -- the
alsa state files are not loaded properly while listening to music,
receiveing calls and plug-in/out the headphones.

i always end up with the handset profile instead of headset profile if i
plug-in the headset.  quick fix for me was to replace handset.state with
headset.state; but this is ugly workaround.

martin.

On Sun, Sep 14, 2008 at 06:32:08PM +0200, oscar wrote:
> Hello everyone.
> 
> Trying qtopia 4.3.3, I noticed that if I plug in the headphones while
> listening to a song, the sound is played through the FR's loudspeaker
> at the same time as coming through the headphones.  If I disconnect
> the headphones, the loudspeaker deactivates.
> 
> 
> Doing a hexdump of /etc/input/events0, I see the following:
> 
> (Connecting the headphones)
> 
> root at om-gta02:~# hexdump -C /dev/input/event0
> 
> 00000000  99 67 cc 48 62 69 0a 00  05 00 02 00 01 00 00 00
> 00000010  99 67 cc 48 b2 69 0a 00  00 00 00 00 00 00 00 00
> 
> (Disconnecting the headphones)
> 
> root at om-gta02:~# hexdump -C /dev/input/event0
> 
> 00000000  da 67 cc 48 3b 64 05 00  05 00 02 00 00 00 00 00
> 00000010  da 67 cc 48 84 64 05 00  00 00 00 00 00 00 00 00
> 
> As you can see, at position 0x0c the value changes from 1 (if
> connected) to 0 (if disconnected) - so that seems good.  Therefore I
> think this problem must be something in the media player application.
> 
> Any ideas about this?
> 
> Thanks.
> Oscar.
> 
> 
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community




More information about the community mailing list