# mkdir /dev/graphicsNo luck. Still blank screen. Though fuser command and strace says that runtime and dalvikvm opens successfully /dev/graphics/fb0. Weird.
# cp /dev/fb0 /dev/graphics/fb0
# chmod 666 /dev/graphics/fb0
When I try to see Android log by logcat command, it says an error
/dev/log: Not a directoryWell, it is not a directory but a file in Zaurus. In the emulator, it is a directory. So I checked the source code of the logger and found
#define LOGGER_LOG_RADIO "log_radio" /* radio-related messages */in include/linux/logger.h. This is really weird. logcat expects /dev/log as directory and logger driver creates log_xxx in /dev. Is there any glitches between m5_rc14 kernel and m5_rc14 Android?
#define LOGGER_LOG_EVENTS "log_events" /* system/hardware events */
#define LOGGER_LOG_MAIN "log_main" /* everything else */
http://cafe.naver.com/ArticleRead.nhn?articleid=859&sc=e0d0301f0f46299f1c&clubid=14355692#
This is the most stupid thing I have ever seen :-)
You should have created a symlink, like this:
# ln -s /dev/fb0 /dev/graphics/fb0
So just do a "rm /dev/graphics/fb0" and then create the symlink as I stated.
Now for the logs: just remove the current /var/log file and create a a brand new /dev/log directory. The angstrom kernel won't be able to log anything but Android will.
My 2 cents...
cp -prd /dev/XXX .
otherwise you're reading the file represented by the file
Sometime I forget the very basic thing...
Did you solve this already?
Have similar issue on an other device (TI OMAP, ARM9 based):
http://marc.info/?l=linux-omap&m=120430992719131&w=2
Cortez implemented double buffer and pan function in pxafb.c and m5 is finally up.
http://www.omegamoon.com/blog/index.php?entry=entry080228-220020
All I could find yet is
http://www.oesf.org/forum/index.php?showtopic=25517&st=15
"More info later..."
No patch so far I've found. I was thinking to write a code myself, but cortez has already done it. So I'm just looking forward to it.
http://androidzaurus.seesaa.net/article/87973048.html
But it's really primitive. Needs some brush up.