I'm looking for a file in webOS 1.4.5 (in 2.x should be similar) which is responsible for changing Headset and Speaker mode when headphones are in or out of Pre. I didn't find it (still looking), so I wonder if any of you know which file is it? Thanks for any help.