LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-18-2014, 04:39 PM   #1
multiplex22
Member
 
Registered: Dec 2014
Location: ny, us
Distribution: most
Posts: 56
Blog Entries: 1

Rep: Reputation: Disabled
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???
 
Old 12-20-2014, 09:12 PM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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.
 
Old 12-25-2014, 03:16 PM   #3
multiplex22
Member
 
Registered: Dec 2014
Location: ny, us
Distribution: most
Posts: 56

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Cool

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...
 
Old 12-25-2014, 05:21 PM   #4
multiplex22
Member
 
Registered: Dec 2014
Location: ny, us
Distribution: most
Posts: 56

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Cool

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...
 
Old 12-30-2014, 05:07 PM   #5
multiplex22
Member
 
Registered: Dec 2014
Location: ny, us
Distribution: most
Posts: 56

Original Poster
Blog Entries: 1

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ian Wadham, Venerable KDE Programmer LXer Syndicated Linux News 0 06-03-2014 10:51 PM
Programmer Dvorak layout in KDE King_DuckZ Linux - Desktop 0 03-13-2012 02:53 PM
trouble with framebuffer in debian testing loserbar Debian 5 04-17-2007 01:50 PM
Programmer to Programmer ( Long Story Of A GUI ) mdoubledragon Programming 1 10-13-2005 05:41 PM
docs for KDE or QT programmer BlackTSB Programming 3 10-06-2003 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration