From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Andy Sy" Subject: Documentation for tdfxfb Date: Sat, 14 Jun 2003 16:20:49 +0800 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <003f01c3324d$e6d49d30$0100a8c0@duron12> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_003C_01C33290.EB327DA0" Return-path: Received: from [202.78.77.6] (helo=mail.netasia.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19R6En-0005v1-00 for ; Sat, 14 Jun 2003 01:18:13 -0700 Received: from duron12 ([202.78.77.74]) by mail.netasia.net (8.11.6/8.11.6) with SMTP id h5E8BqT27322 for ; Sat, 14 Jun 2003 16:11:52 +0800 Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: Linux-fbdev-devel@lists.sourceforge.net This is a multi-part message in MIME format. ------=_NextPart_000_003C_01C33290.EB327DA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I made some docs for the still undocumented tdfxfb driver. It was rather frustrating trying to get it to work and I want to save others the trouble. Should this be included in Documentation/fb? vesafb works with Voodoo 3 (and above I believe) but the advantage of using tdfxfb is being able to use refresh rates other than 60Hz. Text mode at 1152x864/70Hz on a decent 14" color monitor is just peachy! (pseudo-) Text mode rulez! =============================== a n d y @ n e t f x p h . c o m ------=_NextPart_000_003C_01C33290.EB327DA0 Content-Type: text/plain; name="tdfxfb.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="tdfxfb.txt" This is just a quickly hacked together doc for using tdfxfb so=0A= you don't have to look at the source or use trial and error to=0A= know how to configure it.=0A= =0A= Passing command lines to the tdfxfb driver works similar to=0A= the other framebuffer drivers.=0A= =0A= The syntax for kernel parameters is:=0A= =0A= video=3Dtdfx:option1,option2,...=0A= =0A= optionn is in the form:=0A= =0A= optionname:value=0A= =0A= value being optional.=0A= =0A= To set the resolution and refresh, use the following syntax:=0A= =0A= WWWWxHHHH-BPP@RR=0A= =0A= where WWWW =3D width, HHHH=3Dheight in pixels, BPP=3Dbits per pixel,=0A= and RR is the refresh rate.=0A= =0A= example:=0A= =0A= (in lilo.conf)=0A= =0A= append=3D"video=3Dtdfx:font:VGA8x16,1152x864-16@70"=0A= =0A= Other options are noaccel,nowrap,nopan,nowhwcursor,inverse,nomtrr.=0A= I have not tried any of these yet, just saw them in tdfxfb_setup()=0A= in /usr/src/linux/video/drivers/tdfxfb.c.=0A= =0A= The syntax for setting a mode is explained in =0A= /usr/src/linux/video/drivers/modefb.c in the comments=0A= for fb_find_mode(). The valid refresh rate/resolution =0A= combinations and settings for them are listed and will=0A= be taken from there and not /etc/fb.modes.=0A= =0A= If you own a Voodoo3/4/5, the nice thing with using the =0A= tdfxfb driver over vesafb (which also works nicely) is that=0A= you can set the refresh rate for your fbcon mode. No more =0A= having to live with 60Hz! The con is that as of now (2.4.20)=0A= the penguin logo display is still quite glitchy.=0A= =0A= =0A= Written by: codeboy@postmark.net=0A= Date: 2003-6-14=0A= =0A= ------=_NextPart_000_003C_01C33290.EB327DA0-- ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5