Closed
Description
we're using fullHD screens with screen_rotation set to 90/270 degrees.
we're also using "tvservice -o/-p" to send the display to sleep/wakeup ...
tvservice returns an error ...
this works perfectly if the screen is rotated 0/180 degrees, but fails if rotation is 90/270 ... as is obvious from https://github.com/raspberrypi/linux/blob/rpi-3.6.y/drivers/video/bcm2708_fb.c#L194
the comparison needs to be rotation-aware? e.g.
if (( <screen_rot> & 0x01) ? (xres > 1200) : (yres > 1200)) {
Metadata
Metadata
Assignees
Labels
No labels