Can't apply gamma correction to /dev/fb2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can't apply gamma correction to /dev/fb2

1,010件の閲覧回数
mirkoardinghi1
Contributor IV

I need to change the GAMMA value (with the ioctl MXCFB_SET_GAMMA) to framebuffer /dev/fb2

I developed a simple program with whom I can successfully change the gamma value to /dev/fb0 but when I try with /dev/fb2 I obtain the following error:

Ioctl MXCFB_SET_GAMMA fail!

I'm using a imx6duallite with linux yocto (krogoth version)

Any help?

ラベル(3)
0 件の賞賛
2 返答(返信)

753件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Mirko

for gamma correction examples one can look at

ipu-examples release notes - v0.1 

also one can try unblank fb2 like

echo 0 > /sys/class/graphics/fb2/blank

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

753件の閲覧回数
mirkoardinghi1
Contributor IV

Hi Igor,

I tested the ipu-examples but the problem remains. In this test (in mx6/framebuffer/example1/) has been tested only the gamma for /dev/fb0, if I change /dev/fb0 with /dev/fb2 I obtain the same failure:

Ioctl MXCFB_SET_GAMMA fail!

Thanks in advance.

Mirko

 

0 件の賞賛