On Sun, Jul 09, 2006 at 08:44:24PM -0400, Jon Smirl wrote:
> Much simpler solution:
>
> cat /sys/class/graphics/fb0/modes
> mode_string
> mode_string
> mode_string
> mode_string
> mode_string
> mode_string
> mode_string
> mode_string
> mode_string
> mode_string
> mode_string
> ...
How do you handle the issue when this file overflows a PAGE_SIZE buffer?
> echo mode_string >/sys/class/graphics/fb0/mode
Yeah, that initially looks very simple, but again, it violates the sysfs
rules. No matter how stupid you think they are, it still doesn't
matter...
If you really don't like it, make a fbfs, it's only about 200 lines of
code...
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]