Ah, ok. I found your
Plato conversation. Wow, what a mess.
Well, since KSM is all shell scripts, I'm guessing that echo'ing various values to /sys is probably the way to go (I see references to /sys/classes/graphics/fb0 so there's that; does the touchscreen driver have something similar or is the touchscreen orientation fine as is?).
The thing is, I only have a Glo HD so I don't know what expected behaviour is supposed to be on other devices or what needs fixing. Do all Mark 7 devices boot/display differently when it comes to rotation? What is the ideal outcome supposed to look like? I'm not sure if I can actually take a stab at this until I get a Mark 7 device of my own since it'll make the testing hard without one.