"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. -- Kalle Valo