Quote:
Originally Posted by orgcandman
If you registered everything properly with the Framebuffer subsystem, my understanding is that you should end up with /dev/fbX where X is the next number in line for your framebuffer device.
Just my, admittedly limited, understanding.
|
Thank you.
Yes, register_frambuffer gets next free index in free fb#.
It calls create_device(..."fb", i); so always creates "fb#"
I have a problem testing it on ubuntu 9 with fb0, because there is no fb's on ubuntu, and as soon I register it as /dev/fb0 some process take over it and I cannot rmmod it. I would prefer to have it /dev/my_fb for the time being.
I still have questions
Do I have to provide functions for both
'fb_ops'
and
'file_operations'
Do I have to call register_chrdev along with register_framebuffer,
because mmap on my test program on /dev/fb0 still returns errno as
no such device (i can see my dev in lsmod and the file /dev/fb0)?
Thank you.