C / C ++ Query id at load time

I am looking for a way to request EDID data at boot time on my Android system.

I think I can use calls ioctl

and I can see that the frame buffers are in /sys/class/graphics/fb*

. But currently I'm just getting garbage output.

Here is the command I'm currently using that works great with frames in /dev/graphics/fb*


int fb0_handle = open("/dev/graphics/fb0\0", O_RDONLY);
ioctl(fb0_handle, FBIOGET_VSCREENINFO, &vinfo0);


But I want to use EDID data. Hopefully someone can point me in the right direction.


source to share

All Articles