Nicolas Boichat schrieb: > Hello, > > Even the Mac OS X driver seems to do strange things to try to "unstuck" > the device. > > A proper way to fix the problem would be to fix the userspace > application to retry a few milliseconds later.
It will try again, but in the GNOME sensors applet you will see "ERROR" for a fraction of a second. And now we have a problem. I've contacted the author of the applet before and he says it's an error in the kernel driver. You say, it's an error of the program. What should we do? I think, it's not really an error of the driver, but as any user-space tool assume to get valid values every time, solve it in the kernel driver. > There are 2 ways to fix the problem in kernel too: > - Store the values, ok, but what should we return if it's the first > time we read it? It would be relatively complicated, and would use some > kernel memory. If it failed the first time, return an error. And yes, it will use some memory, but it must be only allocated once at init, right?! > - Wait and retry, but sometimes it can take a long time (I would say > something like up to a second to get a value), and we don't want to > block the application while it could do something better in the mean-time... Did you currently try only once? Maybe we should try 3 times before giving up??? Regards Sven -- Sven Anders <[EMAIL PROTECTED]> () Ascii Ribbon Campaign /\ Support plain text e-mail ANDURAS service solutions AG Innstraße 71 - 94036 Passau - Germany Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55 Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032 Mitglieder des Vorstands: Sven Anders, Marcus Junker Vorsitzender des Aufsichtsrats: Dipl. Kfm. Thomas Träger
begin:vcard fn:Sven Anders n:Anders;Sven org:ANDURAS AG;Research and Development adr;quoted-printable:;;Innstra=C3=9Fe 71;Passau;Bavaria;94036;Germany email;internet:[EMAIL PROTECTED] title:Dipl. Inf. tel;work:++49 (0)851 / 490 50 -0 tel;fax:++49 (0)851 / 590 50 - 55 x-mozilla-html:FALSE url:http://www.anduras.de version:2.1 end:vcard
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Mactel-linux-devel mailing list Mactel-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel