View Single Post
Old 05-13-2010, 10:40 AM   #14
Xaphiosis
Connoisseur
Xaphiosis doesn't litterXaphiosis doesn't litterXaphiosis doesn't litter
 
Posts: 52
Karma: 216
Join Date: Apr 2010
Device: PRS-T1
kartu: I've looked at flipping the screen outside of tinyhttp. Interaction with the driver tells me that the flip succeeded, but when control comes back to tinyhttp it resets back to the normal orientation. Sorry. Here's the code and executable.

The log it produces:
Code:
Attempting to access the framebuffer device
setting power mode result: 0
Power mode: 1
Orientation: 1
Orientation: 3
Exiting.
EDIT: I also edited ebook.so to play around with the orientation, but I'm not sure if those are the functions called (EinkSetOrientation and ebookEinkDoRotate) by Fsk. I only tried so far to restart tinyhttp with LD_PRELOAD, but that didn't work. Might need to do a proper mount --bind, but since I need to go sleep, I'll give the .so to you and maybe you'll have better luck than me.
Attached Files
File Type: zip fb_flip.zip (4.8 KB, 508 views)
File Type: gz ebook.so.gz (32.0 KB, 483 views)

Last edited by Xaphiosis; 05-13-2010 at 12:05 PM.
Xaphiosis is offline   Reply With Quote