[hal patch] increase helper timeout

Martin Pitt martin at piware.de
Mon May 5 07:30:53 PDT 2008


Hi all,

in https://launchpad.net/bugs/218834 we got a report that some CD-ROMs
are too slow to properly detect everything within the standard 10
seconds hal helper timeout:

[6188]: 22:22:56.009 [D] probe-volume.c:379: Doing probe-volume for /dev/scd0
[...]
[6182]: 22:22:58.002 [I] addon-storage.c:363: ... device /dev/scd0 is not locked on HAL
[6188]: 22:23:05.558 [D] probe-volume.c:542: volume.disc.capacity = 2384855040
[...]
[6188]: 22:23:06.406 [E] probe-volume.c:302: Timed out probing /dev/scd0 - broken device driver?

(NB the timestamps). Since the default 10 seconds seems to be pretty
much arbitrary, I just raised it to 20 for now. You might prefer a
more fine-grained approach, of course (let me know if I should change
this differently).

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03_increase_helper_timeout.patch
Type: text/x-diff
Size: 613 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20080505/79c47567/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/hal/attachments/20080505/79c47567/attachment.pgp 


More information about the hal mailing list