> le ven 26-10-2001 à 01:14, volodya@mindspring.com a écrit :
>
> > > 05,HUE=7\n
> > > 07,some unrelated command
> > > +05\n # The HUE command was successful
> > > :07,reply to unrelated command
> > > :05,HUE=6\n # Driver reported the HUE parameter as
>
> I would prefer a proc-like interface to devices, e.g.:
>
> /dev/video0/hue
> /dev/video0/saturation
> ...
>
> more unix-like, no parsing involved.
This would be a problem as an application would need to open many files in
order to operate such interface. Additionally, you underestimate the
number of files needed. We'll need hue_range, hue_label, hue_comment and
something else..
Parsing is not that hard I believe.
Vladimir Dergachev
>
> Xav
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/