View Single Post
Posts: 355 | Thanked: 598 times | Joined on Sep 2009 @ Nizhny Novgorod, Russia
#119
Actually, I haven't tested Video out mode because I had no video cable when I created headphonefix. Somebody were reporting that it works, but it seems that not for everybody...

Sources of headphonefix are available at BitBucket: https://bitbucket.org/IlyaSkriblovsky/headphonefix
The most important part is this file: https://bitbucket.org/IlyaSkriblovsk...cpp?at=default
But don't ask me why it works I've monitored the state if /dev/input/jack, recorded some sequences that are generated when I plug in/out mic jack and then figured out how simulate these sequences using <linux/input.h>