PDA

View Full Version : no frame buffer device file /dev/fb0 found when insert intelfb module



dyverin
8th June 2007, 01:25 AM
Thanks in advance!

[dybbuk@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.20-1.2952.fc6 #1 SMP Wed May 16 18:59:18 EDT 2007 i686 i686 i386 GNU/Linux

[dybbuk@localhost ~]$ /sbin/lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)

[dybbuk@localhost ~]$ /sbin/modprobe intelfb

[dybbuk@localhost ~]$ dmesg
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM chipsets
intelfb: Version 0.9.4
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 20
intelfb: 00:02.0: Intel(R) 945GM, aperture size 256MB, stolen memory 7932kB
intelfb: Non-CRT device is enabled ( LVDS port ). Disabling mode switching.
intelfb: Video mode must be programmed at boot time.

then no fb device file found under /dev.
So why?

RupertPupkin
8th June 2007, 03:14 PM
You need to create the device file manually (as root):

mknod /dev/fb0 c 29 0

Try loading the intelfb module after that. Since you are loading the framebuffer as a module, instead of building it directly into the kernel, you will probably also have to specify the resolution and vertical frequency, using fbset. See the fbset man page for details.

dyverin
9th June 2007, 05:50 AM
Thanks....
But why the fb0 is created automatically when i insert module vga16fb.ko.