[maemo-users] AW: DBus / mce

From: Joerg Reisenweber joerg at openmoko.org
Date: Fri Apr 30 06:20:46 EEST 2010
[André Hänsel Do  29. April 2010]:
> I have another similar question. I found out (HAL told me) that the
> headphones button is /dev/input/event4 and that a message gets sent when it
> is pressed referring to
> /org/freedesktop/Hal/devices/computer_logicaldev_input_1. However when I
> read from /dev/input/event4 I only get data when a phone call is in
> progress. So I guess it needs to be enabled in a similar way as the
> accelerometer does?

The headset pushbutton needs MICBIAS voltage to work. This voltage probably is 
enabled only if the mic audiodevice is in use for input, maybe alsamixer has a 
control for it, or there might be a sysnode to switch MICBIAS on/off.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.maemo.org/pipermail/maemo-users/attachments/20100430/cdc28745/attachment.pgp>
More information about the maemo-users mailing list