On Thu, 6 Dec 2001 18:50:57 +0100 (MET) Egbert Eich <[EMAIL PROTECTED]> wrote:
> Rune Petersen writes: > > The old drivers made the screen all white, to get it to work I had to patch > > the drivers so they didn't setup the LCD, an then use the VESA framebuffer > > to setup the display. > > Guess how I debugged the sis_bios.c code. I enabled the VESA > framebuffer, removed parts of the initialization in sis_bios.c > until I found the code that broke it. ;-( - Same here. For me sis_bios.c: static Bool SetCRT2Group(UShort BaseAddr,ULong ROMAddr,UShort ModeNo, ScrnInfoPtr pScrn) Breaks the settings. If I leave it away or hardcode IF_DEF_LVDS and IF_DEF_CH7005 it did not destroyed the chip-setting. (I do not remember the exact combination of it - and it did not worked itself - the VESA-framebuffer had still to init the right mode - but the driver did not destroyed it) - I also tryed to analyse some reg-dumps - but never had time to finish it. > This is a bit tricky. Most initialization functions in sis_bios.c > depend on variables set by the previous functions called. One cannot > just remove them at random but rather work his way up from the bottom. > > As I said already: this funtion contains x86 BIOS code converted to C. > This is how this code looks like, too. [...] k33p h4ck1n6 Ren� -- Ren� Rebe (Registered Linux user: #248718 <http://counter.li.org>) eMail: [EMAIL PROTECTED] [EMAIL PROTECTED] Homepage: http://www.tfh-berlin.de/~s712059/index.html Anyone sending unwanted advertising e-mail to this address will be charged $25 for network traffic and computing time. By extracting my address from this message or its header, you agree to these terms. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
