I finally got it to compile after commenting out everything with exit in it, but realised that my video card isn't supported. It is a Savage8/ProSavage-DDR.
I found this post which makes adding support for my card sound easy, so I tried that. http://www.directfb.org/mailinglists/directfb-dev/2003/06-2003/msg00049.html in include/linux/fb.h I added this line (0x8c just came next after other S3 cards, I think it doesn't matter what is used) #define FB_ACCEL_PROSAVAGE_DDR 0x8c in drivers/video/savagefb.h I added this line. I tried 0x8d03 first, but 04 seems to be mine. I got those numbers from the Xfree86 source. #define PCI_CHIP_PROSAVAGE_DDR 0x8d04 and then in drivers/video/savagefb.c added case FB_ACCEL_PROSAVAGE_DDR: info->chip = S3_PROSAVAGE; sprintf (info->fb.fix.id, "S3 ProSavage DDR"); break; and {PCI_VENDOR_ID_S3, PCI_CHIP_PROSAVAGE_DDR, PCI_ANY_ID, PCI_ANY_ID, 0, 0, FB_ACCEL_PROSAVAGE_DDR}, where they looked like they should go. Now it seems to detect my card, but I get nothing but a black screen from mplayer. It says it is using yv12, maybe thats it? I don't know how to use anything else. I am pretty new to framebuffers and video, and don't really know much c. The only feature I am looking for is the ability to change video modes when I want, no acceleration. Anybody know what I am doing wrong? --- Johannes Stezenbach <[EMAIL PROTECTED]> wrote: > I last tried with a plain 2.4.26 from kernel.org, > and it worked > fine. You could try to remove the __exit from > savage_done(), > or move the module_exit into the #ifdef MODULE, or > maybe > you need to rename init_module() and add a > module_init() for it... > The error you get is pretty obscure, so you need to > experiment. > > HTH, > Johannes __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
