View Single Post
Old 11-04-2013, 09:58 AM   #746
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
I installed the latest koreader today and I really like it. I would even more like it, if one could exit it without rebouting. One problem is, that after koreader the screen is turned by 270 degree. Therefore, I thought a first step to a solution might be restoring the original frame buffer settings after running koreader.

Before running koreader, fbset -s gives
Code:
mode "800x600-0"
	# D: 0.033 MHz, H: 0.034 kHz, V: 0.055 Hz
	geometry 800 600 800 1280 16
	timings 30000000 8 164 4 18 4 1
	accel false
	rgba 5/11,6/5,5/0,0/0
endmode
After running koreader, fbset -s givers
Code:
mode "600x800-0"
	# D: 0.033 MHz, H: 0.043 kHz, V: 0.052 Hz
	geometry 600 800 608 1792 8
	timings 30000000 8 164 4 18 4 1
	accel false
	rgba 8/0,8/0,8/0,0/0
endmode
I try to set
Code:
fbset -g 800 600 800 1280 16 -rgba 5/11,6/5,5/0,0/0 -t 30000000 8 164 4 18 4 1
and fbset -s shows

Code:
mode "600x800-0"
	# D: 0.033 MHz, H: 0.043 kHz, V: 0.052 Hz
	geometry 600 800 608 1792 16
	timings 30000000 8 164 4 18 4 1
	accel false
	rgba 5/11,6/5,5/0,0/0
endmode
As you see, of the geometry set only the -depth value (8 to 16 bits per pixel) has changed, the resolution is unchanged. Was this to be expected? I also tried setting each of the 5 geometry values individually, but with the same result. Is it an error in busybox? Is my approach totaly hopeless? Any ideas?
tshering is offline   Reply With Quote