On Fri, Nov 03, 2006 at 08:59:15 +0100, Jan Bernhardt wrote: > Tino Keitel wrote: > > I didn't meant that there is something to fix. But if you start working > > on this, I have 2 other remarks: > > > > 1. When I load the applesmc module, I get this output: > > > > applesmc: Apple Macmini detected (model without accelerometer, light > > sensors and backlight). > > applesmc: wait status failed: 5 != 10 > > applesmc: wait status failed: 5 != 10 > > applesmc: wait status failed: 5 != 10 > > > > [snipped a lot of repeating lines] > > > > applesmc: failed to init the device > > applesmc: 1 fans found. > > applesmc: driver successfully loaded. > > > > Loading the module also takes a few seconds. > > > Hi, > > to get rid of the warnings and the delay modify applesmc_device_init > like this (the if statement): > > ... > static int applesmc_device_init(void) > { > int total, ret = -ENXIO; > u8 buffer[2]; > > if (!applesmc_accelerometer) return 0; > > down(&applesmc_sem); > ... > > HTH,
Yes, it really helps. Thanks. Regards, Tino ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mactel-linux-devel mailing list Mactel-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel