2.6.37 (qtmoko-v32.1 test report)

Timo Juhani Lindfors timo.lindfors at iki.fi
Wed Feb 16 08:53:11 CET 2011


Lars-Peter Clausen <lars at metafoo.de> writes:
> if file_exists("/sys/class/lcd/jbt6k74/device/resolution"):
> 	new_api = True
> else
> 	new_api = False
>
> def rotate(idx):
> 	if new_api:
> 		write("resolution", ["vga", "qvga"][idx])
> 	else
> 		write("state", ["normal", "normal-qvga"][idx])

omhacks 0.13-1 in debian unstable now has similar logic. It'll be
migrated to wheezy in two days.





More information about the openmoko-kernel mailing list