Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 06-02-2006, 03:38 AM   #1
LQ Newbie
Registered: Jun 2006
Posts: 28

Rep: Reputation: 15
Question about frame buffer

I write a program to test the frame buffer but by program is not working because /dev/fb0 is not there in /dev then i created /dev/fb0 using mknod but that too is not working
what i feel is while creating /dev/fb0 you have to know both major and minor number i know only major number from /proc where can i get minor number could you guys please help.

i am using fedora core 2.6.9 kernel. Also just me that it is right to test the framebuffer or not.
Old 06-02-2006, 03:39 AM   #2
Registered: Mar 2005
Location: Chicago
Distribution: Gentoo AMD64
Posts: 365

Rep: Reputation: 30
It probably needs to be enabled in your kernel.
Old 06-03-2006, 05:07 PM   #3
Registered: Jul 2003
Location: NY
Distribution: None (src & compile)
Posts: 261

Rep: Reputation: 36
I usually look in devices.txt in the kernel Docs for these numbers. I have this, althought the fb0 one is the only one I've actually seen in use.

crw-rw-rw- 1 root tty 29, 0 2002-04-16 00:49 /dev/fb0
crw-rw---- 1 root tty 29, 1 2002-04-16 00:49 /dev/fb1
crw-rw---- 1 root tty 29, 2 2002-04-16 00:49 /dev/fb2
crw-rw---- 1 root tty 29, 3 2002-04-16 00:49 /dev/fb3
crw-rw---- 1 root tty 29, 4 2002-04-16 00:49 /dev/fb4
crw-rw---- 1 root tty 29, 5 2002-04-16 00:49 /dev/fb5
crw-rw---- 1 root tty 29, 6 2002-04-16 00:49 /dev/fb6
crw-rw---- 1 root tty 29, 7 2002-04-16 00:49 /dev/fb7
crw-rw---- 1 root tty 29, 8 2002-04-16 00:49 /dev/fb8
crw-rw---- 1 root tty 29, 9 2002-04-16 00:49 /dev/fb9
And you're right, it does need to be added in-kernel, and for your specific video card as well.


The framebuffer is nice when you don't want to fire up X11 for every little thing. I've had Xine, Links, w3m, and a little viewer called 'fbv' all running on it.


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
frame buffer problem sureshraju Linux - Software 3 06-29-2005 09:17 AM
Frame Buffer problem sureshraju Programming 0 06-29-2005 08:14 AM
frame buffer doesn't seem to work hubabuba Fedora 2 05-03-2005 12:39 PM
Frame buffer bkeating Linux - Newbie 6 04-22-2003 06:09 PM
kernel 2.4.17 and frame buffer help hanzerik Linux From Scratch 2 03-12-2002 12:53 PM

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

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