Re: off by one in sysfs

From: Jon Smirl
Date: Tue Jun 14 2005 - 16:24:29 EST


On 6/14/05, Greg KH <greg@xxxxxxxxx> wrote:
> On Sat, Jun 11, 2005 at 11:00:00PM -0400, Jon Smirl wrote:
> > My attribute is a color_map described by 255 lines of 15 chars plus \n.
>
> Heh, that's pretty big for a single attribute. Would it be easier to
> just use the binary sysfs file interface for this attribute?

The attribute is formatted in ascii. You can use a script to set it if
you want. It is the gamma correction table for the monitor.

>
> thanks,
>
> greg k-h
>


--
Jon Smirl
jonsmirl@xxxxxxxxx
-
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/