Bugzilla – Bug 149976
Battery module not loaded while installation
Last modified: 2006-02-14 13:15:41 UTC
On the Laptop Medion MIM2080 and a Intel Development Laptop the battery module will not be loaded on the first boot from CD. The consequence is that hal will not detect the system as laptop and set system.formfactor to "unkown". This will harm the whole installtion (Package Selection, NetworkManager will not be enabled by default, ...). After the first reboot, while installtion, the battery module seems to be loaded and hal return as system.formfactor "laptop". (YaST seems to check for laptop only one time on first boot.(?)) Do you need furhter information/logs?
Isn't this a duplicate of #149909?
I also think it is. #149909 is caused by this. *** This bug has been marked as a duplicate of 149909 ***
#149909 is invalid because it is only the consequence of the missing battery module and misleading.
This is not a duplicate and 149909 is valid.
There is a bug in hal, which prevent hal to set the system.formfactor to "laptop" when battery module is not loaded. Danny will fix this, then hal can set the system.formfactor state also without battery (and button) module. But this will fail in a few cases, when not enough laptop specific information from the bios are provided. So the battery (and button) have to be loaded to detect a laptop anyway. (Independ of a PCMCIA Controller because both laptops, which failed on the laptop check, doesnt have PCMCIA Controller.)
I added a patch to HAL to fix set system.formfactor from smbios keys. Btw. we need to load battery and button modules in the installation system to be sure to detect laptops with HAL. We can't use PCMCIA on the most of the new laptops, because they have no PCMCIA controller.
FYI: patch is not present as of yet (was not applied in specfile)
So, you want me to load the battery & button modules on all machines (not only laptops)?
If you not load the battery and button module on all machines while installation (I think only while installation) you can't be sure that this is a laptop. So we need to load this modules.
If it doesn't blow up a machine once in a while, it's fine with me.