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.

+3
c ++ c android ioctl edid


source to share


No one has answered this question yet

Check out similar questions:

8499
What is the "->" operator in C ++?
4247
The definitive C ++ guide and book list
3076
What are the differences between a pointer variable and a reference variable in C ++?
2847
Improve SQLite performance per second per second?
1783
C ++ 11 introduced a standardized memory model. What does it mean? And how will this affect C ++ programming?
1709
How can I profile C ++ code running on Linux?
1675
Why is reading lines from stdin much slower in C ++ than Python?
1475
What is the effect of extern "C" in C ++?
1455
Easiest way to convert int to string in C ++
1
How can I write a framebuffer faster in C?



All Articles
Loading...
X
Show
Funny
Dev
Pics