Hi all, After a few days of poking around i think i've finally got wanted for my cn400 based epia board. I've managed to bodge parts of the latest official via frame buffer driver (linux-fbdev-kernel-src_20050726.tgz) into the DirectFB cvs driver. I now have fbset working (so I can change to any res I like) and I don't get the lovely white screen on booting anymore.
It's early days, I need to do some testing, but it seems to work fine with DirectFB for now. There are some issues I've already noticed. When I first got the framebuffer working, my 800x600 res jumped about a 1/3 of the screen to the right, and the monitor did not try and auto adjust. I'm not sure if this because it was on incorrect settings before, or now - when I tried 1024x768 it was fine. Also the text cursor was missing after using fbset to change res. I guess theres some subtle differences between the chipsets. I have a feeling that just using the cle266 driver was working for the inital setup of framebuffer for the CN400, but after that the settings for the chip were incorrect (it's probably just a few registers). The problem is I havent got time at the moment to do this properly, my version is hardcoded for kernel 2.6.15 and the cn400 chipset with all the TV out stuff left out. If theres enough cn400 people that are interested in doing this, someone would need to put in a chipset detect, put back in the cle266 & TV parts and merge the timings (i'm solely using the timings from the official via code - because it was faster to test with - but I believe their TV timings are poor). Probably the better way of going forward would be work out what the differences are between the chips and start over with the DirectFB cvs driver and add a simple check to see if it's a CN400 and use the different setup. Anyway if anyones interested in this (it doesnt work with tv out remember!) i'll email it them when i've done some more testing, and fixed the cursor problem. I wont post it to the list because it contains parts of the offical via driver and have no idea what they consider open source these days! (plus it's not a tiny diff, theres entire bloated via headers). Liab (my head hurts....) _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
