Re: S3 Trio 64 fb driver
"Antonino A. Daplas" <[email protected]> Mon, 09 Jan 2006 09:11:42 +0800
| Newsgroups | gmane.linux.fbdev.user |
|---|---|
| Message-ID | <[email protected]> |
Tanel Käär wrote: > Hi > > I've been given an assignement to write the fb driver to S3 Tio 64 PCI > card, which should work under linux kernel 2.6. > > I read the basic concepts about fb drivers but haven't found any clues > an tutorials how to start writing the code and how to test it. I'm also > not very familiar with compiling kernel from source and adding moules to > kernel. > > Has anyone already written some code for this piece or does a fb driver > already exist for this device under 2.6 or previous linux kernel versions? > There's a driver for the S3trio in 2.4, but still not ported to 2.6. It is also a non-x86 driver. > All hints are welcome :) You can try looking at drivers/video/skeletonfb.c (preferably the one in the latest mm tree, as I've made some changes to it). You can first write a driver with a static var (does not change modes on the fly) to keep it simple. Then slowly advance to a more complete driver. vesafb is one of the simplest driver, which only supports the most essential functionality. You can always write to the list (fbdev-devel) whenever you're stuck :-) Tony ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click