qtopia, earphone and mediaplayer
Oscar Casamitjana
oscar at electronicabcn.com
Sun Sep 14 13:44:14 CEST 2008
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 |.g.Hbi..........|
> 00000010 99 67 cc 48 b2 69 0a 00 00 00 00
00 00 00 00 00
>
|.g.H.i..........|
>
> *** Desconectando los auriculares
***
(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
> |.g.H;d..........|
> 00000010 da 67 cc 48 84 64 05 00 00 00 00
00 00 00 00 00
>
|.g.H.d..........|
>
> Como podeis observar, en la posicion 0x0c
cambia el valor, si está conectado
> es 1 si está desconectado es 0, por lo que
parece está bien.
> Por lo
visto debe ser algo de la apliación mediaplayer.
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.
> ¿Sabeis algo de esto?
Any ideas about this?
>
Gracias.
> Oscar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20080914/720852a4/attachment.htm
More information about the community
mailing list