Hi,

Am Freitag, den 05.06.2009, 12:38 +0200 schrieb Enrico Zini:
> On Fri, Jun 05, 2009 at 10:56:09AM +0200, Joachim Breitner wrote:
> 
> > >  - I have not found a way to detect headset button actions
> > >  - I have not found a way to record from the headset microphone: I did
> > >    not find an alsa scenario among the ones in /usr/share/openmoko that
> > >    would allow you to do that, and I cannot make sense of the huge
> > >    amount of mixer settings
> > > Can these two things be done, and if so, how?
> > without answering your question: Make sure you check out
> > http://wiki.openmoko.org/wiki/Dictator, it might already do some of the
> > stuff you need.
> 
> I've just checked. It can be useful for steal^Wlearning the code to
> record from the headset, but it still requires you to press a button on
> screen to start a recording, which is a problem because the screen would
> be displaying tangogps while I'm mapping (to for example stop to check
> which way to go that is not mapped yet).
> 
> I could of course use the AUX button for it, but it'd be more
> convenient, say if cycling, to reach for the headset button instead of
> the AUX button of a freerunner in my pocket.

Coudn’t you extend Dictator to react on the headset button (if you find
out how that happens, of course :-))? I think it’s a regular input
device event, you can check with lsinput and input-events. If it does
not show up in xev, then it needs to be mapped to some X event, with
evdev probably in hal fdi-files these days... 

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to