[PATCH] *correction* Increase polling delay in addon-storage.c
Robby Workman
rw at rlworkman.net
Wed Nov 28 14:44:43 PST 2007
Robby Workman wrote:
> Discussion on IRC about the polling delay centered around the idea
> that optical devices generally take 5 seconds or usually longer to
> be ready for use, and as such a longer wait than 2 seconds is most
> likely desirable. Two points:
> 1) The choice of 10 seconds is at least partly arbitrary - the
> individual who brought this up has drives that take 12-13 seconds,
> while mine takes about 7 seconds. If some other number is better,
> then so be it.
> 2) I'm *really* REALLY new to C, and I don't claim to understand it
> nearly as well as I should to be hacking on HAL, so flames are
> understood if I didn't quite handle the freebsd/ part properly
> (although it appears simple) :-)
>
> Patch is against 0.5.10 sources.
Resend - patch was wrong. Changed time to 8 seconds (power of 2
as instructed in the section of code that I conveniently ignored
the first time) and modified the correct section this time.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hal-0.5.10-pollingdelay.diff
Url: http://lists.freedesktop.org/archives/hal/attachments/20071128/580e9f45/attachment.txt
More information about the hal
mailing list