Bug 149976

Summary: Battery module not loaded while installation
Product: [openSUSE] SUSE Linux 10.1 Reporter: Daniel Gollub <dgollub>
Component: InstallationAssignee: Steffen Winterfeldt <snwint>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Critical    
Priority: P5 - None CC: behlert, dkukawka, snwint, suse-beta
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Daniel Gollub 2006-02-10 15:18:40 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?
Comment 1 Andreas Jaeger 2006-02-10 15:25:30 UTC
Isn't this a duplicate of #149909?
Comment 2 Martin Lasarsch 2006-02-10 15:32:17 UTC
I also think it is. #149909 is caused by this.


*** This bug has been marked as a duplicate of 149909 ***
Comment 3 Daniel Gollub 2006-02-10 15:33:20 UTC
#149909 is invalid because it is only the consequence of the missing battery module and misleading.
Comment 4 Martin Vidner 2006-02-10 16:25:47 UTC
This is not a duplicate and 149909 is valid.
Comment 5 Daniel Gollub 2006-02-10 17:30:57 UTC
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.)
Comment 6 Danny Al-Gaaf 2006-02-10 19:59:10 UTC
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.
Comment 7 Ruediger Oertel 2006-02-12 16:11:26 UTC
FYI: patch is not present as of yet (was not applied in specfile)
Comment 8 Steffen Winterfeldt 2006-02-14 11:35:43 UTC
So, you want me to load the battery & button modules on all machines
(not only laptops)?
Comment 9 Danny Al-Gaaf 2006-02-14 12:05:01 UTC
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.
Comment 10 Steffen Winterfeldt 2006-02-14 13:15:41 UTC
If it doesn't blow up a machine once in a while, it's fine with me.