That would explain why my usage of inotify-tools didn't help much... thp uses a GIOChannel to monitor /sys/devices/platform/gpio-switch/headphone/state and headphoned sleeps for most of the time so I guess using one to monitor the file cb42 told us about wouldn't do any harm... @jaeezzy, that's a good idea. Will come up with logical ways to handle that one