RE: Getting started

"Steven Blakeslee" <[email protected]>
Newsgroups gmane.linux.fbdev.user
Message-ID <1628E43D99629C46988BE46087A3FBB92E89A8@ep-01.EmbeddedPlanet.local>
>	  I am running Fedora Core 4 and I have rebuilt the kernel to
make sure
>	FB support is in the kernel.  I have a simple FB program that I
have 
>	compiled but everytime I try to run it, I get:

I am assuming that you are trying to write to your monitor.  Just
compiling frame buffer support will not do this.  You need to have a
specific frame buffer driver for your graphics device.
	

>		Error: cannot open framebuffer device /dev/fb0. - No
such device rc=-1

When there is no actual device assigned to the frame buffer you will
usually see this.  Or, it is not pointing to the correct device, I.E.
wrong major and minor number.
		
	
>	  I have done the mkdir:

What do you mean by mkdir?  Do you mean mknod?  The devices in the /dev
are nodes not directories.
	

>		[wre00@Shrek FB]$ ls -lrt /dev/fb*
>		crwxrwxr-x  1 wre00 root 29, 0 Aug 17 10:05 /dev/fb0

Just because something is in /dev does not mean there is a device driver
associated with it.
		


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.