View Single Post
Old 04-04-2020, 01:58 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
On a pure einkfb device, there's a dedicated (custom) ioctl: FBIO_EINK_SET_DISPLAY_ORIENTATION
It can also be accessed via procfs as such:

echo 14 2 > /proc/eink_fb/update_display

(See <einkfb.h> for the meaning behind the magic numbers. Or /etc/rc.d/functions, which also uses it).

I don't have the K4 plugged in to check, but that certainly works on a K3 .

Last edited by NiLuJe; 04-04-2020 at 04:12 PM.
NiLuJe is offline   Reply With Quote