[ELDK] [PATCH RFSB] Add /dev/fb device node.

Wolfgang Denk wd at denx.de
Fri Apr 30 12:42:36 CEST 2010


Some tools try to open "/dev/fb" as frame buffer device only, even if
"/dev/fb0" exists. So add an entry for "/dev/fb", too.

Signed-off-by: Wolfgang Denk <wd at denx.de>
---
 config/rootfs_devices.tab |    1 +
 custom/rootfs_devices.tab |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/config/rootfs_devices.tab b/config/rootfs_devices.tab
index 6b3a1d5..1ed8f8c 100644
--- a/config/rootfs_devices.tab
+++ b/config/rootfs_devices.tab
@@ -1,6 +1,7 @@
 #<name>    <type> <mode> <uid> <gid> <major> <minor> <start>  <inc>  <count>
 /dev            d  755  0       0        -      -       -       -       -
 /dev/console    c  600  0       0        5      1       -       -       -
+/dev/fb         c  640  0       0       29      0       -       -       -
 /dev/fb0        c  640  0       0       29      0       -       -       -
 /dev/full       c  666  0       0        1      7       -       -       -
 /dev/kmem       c  640  0       0        1      2       -       -       -
diff --git a/custom/rootfs_devices.tab b/custom/rootfs_devices.tab
index 614f4f5..c232b31 100644
--- a/custom/rootfs_devices.tab
+++ b/custom/rootfs_devices.tab
@@ -1,6 +1,7 @@
 #<name>    <type> <mode> <uid> <gid> <major> <minor> <start>  <inc>  <count>
 /dev            d  755  0       0        -      -       -       -       -
 /dev/console    c  600  0       0        5      1       -       -       -
+/dev/fb         c  640  0       0       29      0       -       -       -
 /dev/fb0        c  640  0       0       29      0       -       -       -
 /dev/full       c  666  0       0        1      7       -       -       -
 /dev/kmem       c  640  0       0        1      2       -       -       -
-- 
1.6.2.5



More information about the eldk mailing list