[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Quik and framebuffer problems on StarMax



On Fri, Jun 06, 2003 at 03:54:01PM -0700, Thanasis Kinias wrote:
> scripsit Boris Bezlaj:
>  
> > I also have IMS TT 128 with 8MB ram..it may be similar to yours.  With
> > stock kernel i have problems initializing it(only works with
> > video=ofonly..kind of). I patched the driver to force the detection of
> > TI TVP3030 ramdac instead of IBM ramdac(seems like they use the same
> > PCI ID and different ramdacs).
> 
> Can you share your patch?  I noticed that when I got it to boot without
> video=ofonly, the TT128 was identified as `(IBM)', which struck me as
> odd.
It means IBM ramdac..the card is still IMS TT..weather with IBM or TVP
ramdac..if you have TVP try patch below, if not please send me as much info of
your car as possible.

..against 2.4.20(afaict); just a dirty patch but it works for me:

--- ORIG_imsttfb.c	2003-03-10 21:25:35.000000000 +0100
+++ imsttfb.c	2003-06-08 00:18:39.000000000 +0200
@@ -1934,7 +1934,7 @@
 
 	switch (pdev->device) {
 		case PCI_DEVICE_ID_IMS_TT128: /* IMS,tt128mbA */
-			p->ramdac = IBM;
+			p->ramdac = TVP;
 			break;
 		case PCI_DEVICE_ID_IMS_TT3D:  /* IMS,tt3d */
 			p->ramdac = TVP;
@@ -1942,6 +1942,8 @@
 		default:
 			printk(KERN_INFO "imsttfb: Device 0x%lx unknown, "
 					 "contact maintainer.\n", pdev->device);
+			free_mem_region(addr, size);
+			kfree(p);
 			return -ENODEV;
 	}
 

> > I use append="video=imsttfb:vmode:17:cmode:8" with quik and it works
> > well in console mode. In X i have some problems with wrapping,
> > otherwise it works.
> 
> That's with the patched kernel, right?

Yes, without it "detects" IBM ramdac according to PCI ID's, but i have
TVP 3030 (Texas Instruments) ramdac on the bord..looks like someone
didn't bother to change the PCI ID of the card..
> 
> > See these pictures if you have the same problems
> > (OpenFirmware/console/X): http://knjiznica-jesenice.org/~boris/boot/
> 
> Yep, that's it.  
> 
> > No idea how to fix the wrap problem in X..still working on that.
> 
> Is the wrap problem using the imstt driver or a generic?

I only have IMS in here..

-- 

		Boris



Reply to: