|
Bugzilla – Full Text Bug Listing |
| Summary: | Installation not able to detect laptop, laptop pattern not installed | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.3 | Reporter: | andrea florio <andrea> |
| Component: | Installation | Assignee: | Steffen Winterfeldt <snwint> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | forgotten_0FuaAO3939, forgotten_cAXlJ_FoSf, forgotten_xI2C5NvggO, ke, krzysiek.dzida, kukuk, lslezak, opensuse.lietuviu.kalba, ralf, s.assmann, schubi, suse |
| Version: | Milestone 4 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
hwinfo on 11.3 M6
hwinfo on 11.2 hwinfo from a fresh 11.3M6 installation on a MSI Wind U100 Laptop yast logs zypp solver testcase RC1 (KDE 32 bit) yast2 logs RC1 (KDE 32 bit) hwinfo - HP Pavillion dv6315ea acer aspire one "hwinfo --sys --log=foo" Log file of "hwinfo --sys" |
||
|
Description
andrea florio
2010-03-28 14:59:23 UTC
any one here?? The YaST installer component uses the Arch module in order to determine whether to install the respective laptop pattern. The Arch module reads the output of hwinfo, specifically the Formfactor-property of the sys-component, in order to determine whether the computer is a laptop or desktop. hwinfo in turn relied on HAL for this and since HAL-support was recently removed it does not output the formfactor property any more. So what is needed here is a new way to determine whether the current system is a laptop which does not rely on HAL. Could you please reproduce it and send us the logfiles include yast2-logs and hwinfo output ? Thanks I don't have access to a laptop for testing right now, but I can confirm that on 11.2 hwinfo --sys outputs
Formfactor: "laptop"
while 11.3 M6 doesn't.
From a quick look at hwinfo/src/hd/sys.c formfactor is determined like this:
if((hal = hal_find_device(hd_data, "/org/freedesktop/Hal/devices/computer"))) {
st->formfactor = new_str(hal_get_useful_str(hal->prop, "system.formfactor"));
}
Created attachment 360672 [details]
hwinfo on 11.3 M6
i'll be able to attach y2logs after a fresh re-install when i'll be back from hospital, in the mean time i attach "hwinfo --sys" and "hwinfo" output received on 11.3 M6
Created attachment 360673 [details]
hwinfo on 11.2
here the same thing but on 11.2
as you can see, 11.2 see this is a laptop from hwinfo --sys
(In reply to comment #5) > Created an attachment (id=360672) [details] > hwinfo on 11.3 M6 > > i'll be able to attach y2logs after a fresh re-install when i'll be back from > hospital, in the mean time i attach "hwinfo --sys" and "hwinfo" output received > on 11.3 M6 ok, thanks. Perhaps you can also attach a solver testcase ? http://en.opensuse.org/Bugs/YaST#I_want_to_report_a_bug_related_to_package_dependencies_and_libzypp_solver_and_now_I_am_asked_to_.22attach_a_solver_testcase.22._Which_logs_to_attach.3F P.S.: Good luck while your stay in the hospital ! Created attachment 362503 [details]
hwinfo from a fresh 11.3M6 installation on a MSI Wind U100 Laptop
Created attachment 362504 [details]
yast logs
Created attachment 362505 [details]
zypp solver testcase
Steffen, according to comments #2 and #4 hwinfo doesn't report the correct form factor anymore. Could you comment on this? How should Yast detect a laptop now? I'll fix hwinfo. I wasn't ware of this particular hal dependency. should be ok now (M8) Don't understand what you want it for but anyway here goes: #/usr/sbin/hwinfo | grep formfactor system.formfactor = 'desktop' Oops , my apology , posted on the wrong post. (In reply to comment #14) > should be ok now (M8) I reopen to attach many duplicates. Once the MS8 is confirmed to be OK I will close again. *** Bug 609063 has been marked as a duplicate of this bug. *** *** Bug 608966 has been marked as a duplicate of this bug. *** *** Bug 605860 has been marked as a duplicate of this bug. *** *** Bug 608559 has been marked as a duplicate of this bug. *** (In reply to comment #14) > should be ok now (M8) Next release shall be RC1 ? *** Bug 610322 has been marked as a duplicate of this bug. *** *** Bug 610517 has been marked as a duplicate of this bug. *** Created attachment 369994 [details]
RC1 (KDE 32 bit) yast2 logs
Created attachment 369995 [details]
RC1 (KDE 32 bit) hwinfo - HP Pavillion dv6315ea
I installed openSUSE 11.3 RC1 from KDE LiveCD (32 bit) on HP Pavillion dv6315ea laptop.
Laptop pattern still is not proposed to install in first run of package manager.
PLease, attach
/usr/sbin/hwinfo --sys
You should see something like
02: None 00.0: 10107 System
[Created at sys.63]
Unique ID: rdCR.n_7QNeEnh23
Hardware Class: system
Model: "System"
Formfactor: "laptop"
Driver Info #0:
Driver Status: thermal,fan are active
Driver Activation Cmd: "modprobe thermal; modprobe fan"
Config Status: cfg=no, avail=yes, need=no, active=unknown
The Formfactor: "laptop" line is most important there.
If you don't (really only then), please attach the log of 'hwinfo --sys --log=foo'. # /usr/sbin/hwinfo --sys
02: None 00.0: 10107 System
[Created at sys.63]
Unique ID: rdCR.n_7QNeEnh23
Hardware Class: system
Model: "System"
Formfactor: "laptop"
Driver Info #0:
Driver Status: thermal,fan are active
Driver Activation Cmd: "modprobe thermal; modprobe fan"
Config Status: cfg=no, avail=yes, need=no, active=unknown
my acer aspire one is seen as a "desktop" instead: (is a netbook)
hwinfo --sys
02: None 00.0: 10107 System
[Created at sys.63]
Unique ID: rdCR.n_7QNeEnh23
Hardware Class: system
Model: "System"
Formfactor: "desktop"
Driver Info #0:
Driver Status: thermal,fan are active
Driver Activation Cmd: "modprobe thermal; modprobe fan"
Config Status: cfg=new, avail=yes, need=no, active=unknown
see commment 28 Created attachment 370540 [details]
acer aspire one "hwinfo --sys --log=foo"
this is the hwinfo log on my acer aspire one with suse 11.3 RC1
Fix submitted. hwinfo packages (v17.3) for testing should appear soon at http://www.suse.de/~snwint/bnc_591703/ Please give them a try. formfactor correctly detected on my aspire one. now it's a laptop (again :D) Thanks for testing! After installing the hwinfo-17.3-1.x86_64.rpm package of Comment 35, hwinfo still tells me that my T410s is a desktop: jan@karl:~> /usr/sbin/hwinfo --sys 02: None 00.0: 10107 System [Created at sys.63] Unique ID: rdCR.n_7QNeEnh23 Hardware Class: system Model: "System" Formfactor: "desktop" Driver Info #0: Driver Status: thermal,fan are active Driver Activation Cmd: "modprobe thermal; modprobe fan" Config Status: cfg=no, avail=yes, need=no, active=unknown Should I attach the output of "hwinfo --sys --log=foo", too? Or do I have to reboot after the update of hwinfo? Created attachment 371935 [details]
Log file of "hwinfo --sys"
Reboot did not help. I attached the log file of "hwinfo --sys --log=foo" for my Lenovo T410s.
Jan, you have to run hwinfo as 'root' for this to work. Sorry, Steffen, you are right:
karl:~ # hwinfo --sys
02: None 00.0: 10107 System
[Created at sys.63]
Unique ID: rdCR.n_7QNeEnh23
Hardware Class: system
Model: "System"
Formfactor: "laptop"
Driver Info #0:
Driver Status: thermal,fan are active
Driver Activation Cmd: "modprobe thermal; modprobe fan"
Config Status: cfg=no, avail=yes, need=no, active=unknown
|