[PATCH] Implement retry on linux sysfs pnp id file.
Danny Kukawka
danny.kukawka at web.de
Mon Sep 22 22:05:02 PDT 2008
On Montag, 22. September 2008, Drew Moseley wrote:
> Hello,
>
> There is a short window in the sysfs implementation where the directory
> corresponding to a pnp device will exist but the ID file will not yet be
> created. This patch implements a retry that will catch this case.
>
> Comments?
Can you send the patch with diff -Nur or plain git diff?
I'm currently not sure if we should do this. IMO the kernel should get fixed
instead to provide the sysfs file only if the content/information is really
available. Did you report the problem to the kernel guys?
Sending HAL into a sleep loop is IMO a bad idea.
Danny
More information about the hal
mailing list