Home button simulation for the Glo (as long as the home button is displayed in the top left corner; in other words, this simulates a touch event in the top left corner where normally the home button would be located):
Code:
echo -e '\x40\x7F\x75\x51\x50\x28\x00\x00\x03\x00\x01\x00\xC7\x02\x00\x00\x40\x7F\x75\x51\x74\x28\x00\x00\x03\x00\x00\x00\x30\x00\x00\x00\x40\x7F\x75\x51\x7F\x28\x00\x00\x03\x00\x18\x00\x65\x00\x00\x00\x40\x7F\x75\x51\x8C\x28\x00\x00\x01\x00\x4A\x01\x01\x00\x00\x00\x40\x7F\x75\x51\x96\x28\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\x7F\x75\x51\x02\x4B\x00\x00\x03\x00\x18\x00\x00\x00\x00\x00\x40\x7F\x75\x51\x10\x4B\x00\x00\x01\x00\x4A\x01\x00\x00\x00\x00\x40\x7F\x75\x51\x17\x4B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' > /dev/input/event1
(I produced this using cat /dev/input/event1 > foo.bar; it's possible that simulating a home button input could be done with fewer bytes, but I tried a few times and this was about as short as I could do)