Re: FBDEV updates.

From: Otto Solares
Date: Fri Aug 15 2003 - 21:46:23 EST


On Sat, Aug 16, 2003 at 01:42:32AM +0200, Benjamin Herrenschmidt wrote:
>
> >
> > Will do. I like to also handle Video mode change. Even userland will like
> > to know when a mode change happened. For userland a signal can be sent.
> > This would be useful for someone in X that runs fbset in a Xterm. This
> > hoses the X server. It would be nice if the X server would see the signal
> > change and adapt to it. Fbset could in theory be used again to change a VC
> > size. Yuck!!!! But it is what people want.
>
> And for good reasons as we still have to deal with cases
> where neither the driver nor modedb knows what the monitor supports...

It could be really cool if in sysfs be a file with
video modes, something like this:

1024x768x24@80
1024x768x24@60
800x600x24@60
600x400x16@75

and other file named current_mode (or something) with the
current setting, you just echo a value there and bingo,
a video mode change with the desired refresh rate, is that
hard? EDID and modedb can help us here.

Don't you think?

-solca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/