From mboxrd@z Thu Jan 1 00:00:00 1970 From: David J Ring Jr Date: Sun, 13 Nov 2011 21:17:45 +0000 Subject: Re: Getting FB to work in Console Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-fbdev@vger.kernel.org OK so how do I get a frame buffer driver loaded? I don't have any backlisted framebuffer drivers, what is stopping me from loading a frame buffer driver? Does anyone know what I have to do? David On Sun, 13 Nov 2011, Anatolij Gustschin wrote: > Hello David, > > On Sun, 13 Nov 2011 19:10:59 -0500 (EST) > David J Ring Jr wrote: > >> Hello Anatolij, >> >> And when I reboot /dev/fb0 disappears again. > > Yes, this is expected since there is no frame buffer > driver loaded in your system. > >> What is very strange to me is that when I run links2 -g the error message >> says that /dev/fb0 does not exist, while if I list the file it says that >> it is there ls /dev/fb0 says the file is there. > > I'll try to explain my understanding of the issue. > The device node file /dev/fb0 is only an interface to the frame > buffer driver. It can be created by the kernel automatically if > there is a graphic chip in the system and the appropriate frame > buffer driver is loaded and some device filesystem is initialized > and mounted, e.g. devtmpfs device filesystem. > > Or /dev/fb0 can be created by the user, but if it has been created > by the user and there is no frame buffer driver running, then the > driver interface cannot be opened since no corresponding driver > responds when an application tries to open the device. This is > the error message that you currently see. > > When you create the device node file under /dev at runtime, it will > disappear when rebooting, since the device file system under /dev > will be unmounted. Even if there is a /dev directory on your hard > disk with some existing device nodes, e.g. fb0 existing, there > is still a possibility that you won't see these nodes at runtime. > If the kernel creates device system at runtime and it is mounted > under /dev, the content of this device system will be populated > with device nodes for registered devices. When there is no frame > buffer driver loaded, no fb0 device will be registered, no device > node will be created. > > Hope this helps, > > Anatolij > -- > To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >