Re: omapdrm with n900

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/26/2017 07:17 PM, Tony Lindgren wrote:
> # modprobe tsc2005
> # modprobe panel_sony_acx565akm
> # modprobe omapdrm
> # echo 255 > /sys/class/backlight/acx565akm/brightness
> # echo 0 > /sys/class/graphics/fb0/blank
> # echo 1 > /sys/class/graphics/fb0/blank
> # echo 0 > /sys/class/graphics/fb0/blank
> 
I got it working with this script:

#!/bin/sh
#modprobe panel-sony-acx565akm
#sleep 1
echo 255 >/sys/class/backlight/acx565akm/brightness
echo 1 >/sys/devices/platform/omapdrm.0/graphics/fb0/blank
echo 0 >/sys/devices/platform/omapdrm.0/graphics/fb0/blank

omapdrm was autoloading on top of next-20161224 but for ACX565AKM I had
to add MODULE_ALIAS to the
drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c:

https://git.kernel.org/cgit/linux/kernel/git/tomba/linux.git/commit/?id=42f7f3c4811b3149253ecf2e133832c969884466

> That extra blank/unblank cycle seems a bit user unfriendly?
> 
Yes I was wondering that too because it wasn't needed before couple
years ago.

-- 
Jarkko

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux