Tiancheng,

  My typo!

$ sudo mknod /dev/fb0 c 29 0
$ cd /src/FB
$ sudo ./a.out
Error: cannot open framebuffer device /dev/fb0. - No such device rc=-1
$ ls -lrt /dev/fb*
crw-r--r--  1 root root 29, 0 Aug 18 12:21 /dev/fb0
$

  Also, the nod disappears after a boot.

.signature.html   William Estrada   --  MrUmunhum at popdial dot com  --  408-997-0743
  Ymessenger ID: MrUmunhum
  HTTP://Mt-Umunhum-Wireless.net



Tiancheng Song wrote:
try use "mknod (root) instead of "mkdir".