I had tested with my A780 only.. Sorry E680i people, I dont have one to test it against and fix any bug
@chrisjorsil: I am not offhand aware of such problem where the script might die when you connect thru USB. I do connect thru USB but didnt face such issue so far. I hope you are not starting your script while in telnet in USB, if u do that, then the script will be terminated when you close ur telnet session (which is the parent session for the script).