[maemo-developers] how to detect if the headphones are plugged?
From: Kemal Hadimli disqkk at gmail.comDate: Wed Oct 17 23:26:00 EEST 2007
- Previous message: how to detect if the headphones are plugged?
- Next message: how to detect if the headphones are plugged?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You could read/monitor "/sys/devices/platform/gpio-switch/headphone/state" That's a good idea in fact, we'll try to integrate this functionality in Kagu media player in the next release. On 10/17/07, Daniel M German <dmg at uvic.ca> wrote: > > > Hi everybody, > > is there a way to detect if the headphones are plugged? > > I am irritated that music playing software does not pause when the > headphones are removed (like the ipod) and would like to write a patch > to make it an option. > > thanks a lot! > > --daniel -- Kemal
- Previous message: how to detect if the headphones are plugged?
- Next message: how to detect if the headphones are plugged?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]