Index: [thread] [date] [subject] [author]
  From: Andrew Apted <ajapted@netspace.net.au>
  To  : ggi-develop@eskimo.com
  Date: Tue, 25 Aug 1998 14:26:50 +1000

Re: Anyone managed to get XF68_DEV to work?

Sengan writes:

>  Replaced that by a "default" and now it complains that it does not know
>  aboutthe VGA device I get returned to me by fbset -i:
>  
>  mode "default"
>      # H: 31.469 kHz, V: 69.930 Hz
>      geometry 640 400 640 3264 4
>      # RGB is 6:6:6 with offsets 0:0:0
>      timings 39722 40 24 39 9 96 2
>  endmode
>  
>  Frame buffer device information:
>      Name: `VGA+'
>      Address : 0xb80000
>      Size : 32768
>      Type : CGA/EGA/VGA Color text

You're in text mode ??  That shouldn't be when bpp == 4.

Ah.. wrong framebuffer.  That is VGAFB.  Try doing :

   export FRAMEBUFFER=/dev/fb1

before running XF68_FBDev.

>  Is the driver supposed to change these values, or am I supposed to do
>  it with that fb.modes thing?

Does fbset work ?  Something like :

   fbset -fb /dev/fb1 -g 640 400 640 400 1
or
   fbset -fb /dev/fb1 -g 640 400 640 400 8
or
   fbset -fb /dev/fb1 -g 320 200 320 400 8
   
should change modes and XF68_FBDev should be able to use it.  Though
XF68_FBDev that I recompiled here still doesn't work properly.  On 8 bit
modes it doesn't set the palette properly, and on 1 bit modes it a)
assumes LSBFirst (god knows why), and b) black & white are reversed (and
-flipPixels doesn't work :-<).

Cheers,
_____________________________________________  ____
                                               \  /
  Andrew Apted   <andrew@ggi-project.org>       \/
  

Index: [thread] [date] [subject] [author]