En/na Kalle Valo ha escrit: > "ext Luca Olivetti" <luca at ventoso.org> writes: > >>> Just what I was thinking. My first guess would be that there's a GPIO >>> for this. Anyone interested should check the kernel sources. And with >>> luck there's already a sysfs interface. >> /sys/devices/platform/gpio-switch/headphone/state > > Bingo! Thanks for finding this. I don't deserve the merit, I found it in kagu (maemo.py). Bye -- Luca