qtopia, earphone and mediaplayer

Neil Jerram neiljerram at googlemail.com
Sun Sep 14 13:25:23 CEST 2008


English translation added...

2008/9/14 Oscar Casamitjana <oscar at electronicabcn.com>:
> Hola a todos,

Hello everyone.

> probando el qtopia 4.3.3, me he dado cuenta de que si conecto los
> auriculares mientras está sonando una canción se activa el altavoz del
> freerunner a la vez que se oye por los auriculares, pero si los desconecto,
> se desactiva el altavoz.

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.

> Haciendo un hexdump a /etc/input/events0 obtengo lo siguiente:

Doing a hexdump of /etc/input/events0, I see the following:

> ** Conectando los auriculares ***

(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.




More information about the community mailing list