mariuszb Posted December 15, 2016 Share Posted December 15, 2016 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 Link to comment Share on other sites More sharing options...
fatboyatdesk Posted December 16, 2016 Share Posted December 16, 2016 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. Link to comment Share on other sites More sharing options...
Recommended Posts