Berthold Cogel <cogel@xxxxxxxxxxxxxxxx> writes: > Johan Vromans wrote: >> https://sourceforge.net/project/showfiles.php?group_id=129330 > > Thanks! I've overlooked the patches at Sourceforge. > Is there any chance to get the patch into the kernel somehow? There are two patches required. One patch is to allow a custom-supplied DSDT in initrd. This is a harmless patch that would be very nice to have in the kernel, and the feature could even be enabled by default[1]. Several distro's already do this. The other patch (I'm replying for Rich now, so don't point _me_ down on the deeper details) concerns the use of a semaphore instead of spin lock in ec. This is to overcome loss of interrupts while reading out the bus. There has been much debate about this patch, and it can be argued that it implements the right solution. (It does the job, though.) But the best solution would be to have a kernel module that deals with this kind of smart batttery subsystems, and provide the correct information for userland (hal?) to react upon. This is basically the original approach taken by Pedro Venda, Bruno Ducrot and completed for 2.6.10 (or so) by Rich Townsend[2]. Unfortunately, recent changes to the i2c drivers conflict with the changes required for this approach, and I haven't been able to find out how to modify the patches for the 2.6.16 kernel. (Help appreciated.) -- Johan [1] For my Acer Travelmate 4001WLMi I need to supply a custom DSDT anyway, since some of the original DSDT data is just wrong... [2] http://shayol.bartol.udel.edu/~rhdt/download/acpi_sbs-20050120.tar.gz - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html