LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Debian KDE framebuffer programmer (https://www.linuxquestions.org/questions/debian-26/debian-kde-framebuffer-programmer-4175528695/)

multiplex22 12-18-2014 04:39 PM

Debian KDE framebuffer programmer
 
I have a debian kde distro and I am trying to directly access the framebuffer device. This works fine in server editions like ubuntu, but not debian.

I cansuccessfully open the device at /dev/fb0, but I cannot write anything. I can even receive ioctl informations, but no write.

The handle points to the address 3 everytime, which kakes me paranoid I am being redirected to stderr.

I think maybe kde or gtk has it locked for some reason. Strange as it is I would like to directly handle this on my own even with the desktop running.

how do I gain complete access to fb0???

veerain 12-20-2014 09:12 PM

Are trying as root or other user?

Are your trying with Xorg (gUI) running or not?

As Xorg(gnome or kde) may lock the /dev/fb0 device.

multiplex22 12-25-2014 03:16 PM

Hi and thanks for the reply.

I have tried root access to attempt going directly to the fb0 file. This did not work.

I an not too sure about xorg or x11, but I think gtk is close enough for kde. I agree that the fb0 is locked from within the desktop system. The problem is I have no clue how I would unlock it.

there should be a way around this, but Im at a lost with the large etc, bin folders where to go...

multiplex22 12-25-2014 05:21 PM

Hi and thanks for the reply.

I have tried root access to attempt going directly to the fb0 file. This did not work.

I an not too sure about xorg or x11, but I think gtk is close enough for kde. I agree that the fb0 is locked from within the desktop system. The problem is I have no clue how I would unlock it.

there should be a way around this, but Im at a lost with the large etc, bin folders where to go...

multiplex22 12-30-2014 05:07 PM

All I can add to this is that I also have a debian gnome desktop system and the same results.


All times are GMT -5. The time now is 02:52 PM.