On Wed, Mar 12, 2008 at 10:57:33AM +0530, Max Stirling wrote: > Erik Mouw wrote: >> On Tue, Mar 11, 2008 at 02:34:16PM +0530, Max Stirling wrote: >> >>> cat /proc/devices shows fb but when I do ls -l /dev I don't find the >>> fb node >>> >>> The X-server should be using the framebuffer (/dev/fb)? So why is fb >>> not listed under /dev? >> >> Because the kernel will not create device nodes itself. If you use >> udev, udev will create the device node for you. If you don't use udev, >> you have to do it by hand: mknod /dev/fb0 c 29 0 . >> >> (Note: the first framebuffer device is called /dev/fb0, not /dev/fb). >> > Thanks for the response. > > If I have xserver running on my machine, then it should be using > framebuffer. If it is using framebuffer then it there should be a fb0 > under /dev. No, an X server doesn't automatically use a framebuffer. On supported hardware, X runs very well without having to use a framebuffer. > Why is there no fb0 under /dev? Let me quote myself: >> Because the kernel will not create device nodes itself. If you use >> udev, udev will create the device node for you. If you don't use udev, >> you have to do it by hand: mknod /dev/fb0 c 29 0 . Erik -- Erik Mouw -- mouw@xxxxxxxxxxxx
Attachment:
signature.asc
Description: Digital signature