Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Wed, 09 Sep 1998 02:25:34 +0000

Re: fbset error with KGI-framebuffer

Andrew Apted wrote:
> 
> Jason Twamley writes:
> 
> >  I now have the 600x400 KGI mode working on my Matrox Mill II.
> >  The demos that can run in this mode now work. Those that use
> >  another mode say they cannot switch modes.
> >  I did an strace on
> >  >fbset -v -fb /dev/fb1 pal
> >
> >  and this is what I got:
> >  Note the error at
> >  ioctl(3, 0x4601, 0xbffffa60)            = -1 ENOENT (No such file or directory)
> >
> >  What on earth is this?
> 
> ENOENT means "KGI driver cannot do the mode",

No it doesn't. ENOENT means "No such file or directory", and it's
pretty stupid to return it in this case.
I've changed it to the more apropriate EINVAL.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

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