[nas] [RFC][PATCH] let aupanel query device settings regularly

Erik Auerswald auerswal at unix-ag.uni-kl.de
Thu Jul 12 07:03:24 MDT 2007


Hi,

the attached patch implements an automatic querying of the NAS device
settings by aupanel.

As long as aupanel runs the existing query functionality is invoked in
regular intervals. Whenever a manual query is used, the interval timer
is reset to it's starting value.

Via a command line option the interval length can be specified, using a
value of 0 disables the functionality.

The default interval time used in my patch is 10 seconds. This is just a
starting point for discussion. Using a default of 0 would mean to keep
the current behaviour (by disabling automatic querying), using some
positive value shorter than 10s would make the feature more noticable.
Using an even larger value would reduce network load a little bit. ;)

The automatic querying functionality is helpful whenever several mixer
clients are used concurrently, possibly by different users (this is the
case in the Unix-AG at the TU Kaiserslautern ;).

I did not commit this patch to svn because IMHO it needs some discussion
first. If everybody agrees that the new functionality is desirable, I'll
happily commit the patch. ;)

Erik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nas-aupanel-add_query_interval.patch
Type: text/x-diff
Size: 3454 bytes
Desc: not available
URL: <http://radscan.com/pipermail/nas/attachments/20070712/2aa1b7bd/attachment.patch>


More information about the Nas mailing list