Jump to content

Recommended Posts

Posted

Hi,

 

Question to experts in linux 

I wrote a program© that directly draws / writes to framebuffor /dev/fb0
 (LCD connected to the HDMI - Shows graphic reading temeperature DS1820, actual clock etc)
 
What to do to disable writing to the same buffor by the system?
 
Thanks
Posted

Not an expert or even close...

But ...

I thought the whole point of the driver/controller model is to manage resource contention in userspace.

otherwise everyone would just map registers into their virtual memory and have at it.

Which I guess is the argument for userspace drivers when that is appropriate and don't risk crashing your kernel etc.

 

So if your using a driver to update a fb it should be safe.

 

I'm guessing youve gone here but putting it out there incase..

https://www.kernel.org/doc/Documentation/fb/

 

The Linux driver/controller arena could definitely be more understandable.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines