Bug 591703 - Installation not able to detect laptop, laptop pattern not installed
Summary: Installation not able to detect laptop, laptop pattern not installed
Status: RESOLVED FIXED
: 605860 608559 608966 609063 610322 610517 (view as bug list)
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: Installation (show other bugs)
Version: Milestone 4
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Steffen Winterfeldt
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-28 14:59 UTC by andrea florio
Modified: 2010-06-28 17:40 UTC (History)
12 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
hwinfo on 11.3 M6 (572.97 KB, text/plain)
2010-05-08 17:07 UTC, andrea florio
Details
hwinfo on 11.2 (685.40 KB, text/plain)
2010-05-08 17:58 UTC, andrea florio
Details
hwinfo from a fresh 11.3M6 installation on a MSI Wind U100 Laptop (303 bytes, application/x-gzip)
2010-05-16 14:42 UTC, Forgotten User cAXlJ_FoSf
Details
yast logs (453.02 KB, application/x-gzip)
2010-05-16 14:43 UTC, Forgotten User cAXlJ_FoSf
Details
zypp solver testcase (293.91 KB, application/x-gzip)
2010-05-16 14:44 UTC, Forgotten User cAXlJ_FoSf
Details
RC1 (KDE 32 bit) yast2 logs (843.87 KB, application/x-compressed-tar)
2010-06-18 08:37 UTC, Mindaugas Baranauskas
Details
RC1 (KDE 32 bit) hwinfo - HP Pavillion dv6315ea (528.05 KB, application/octet-stream)
2010-06-18 08:40 UTC, Mindaugas Baranauskas
Details
acer aspire one "hwinfo --sys --log=foo" (286.77 KB, text/plain)
2010-06-21 14:48 UTC, andrea florio
Details
Log file of "hwinfo --sys" (169.18 KB, application/octet-stream)
2010-06-26 08:01 UTC, Jan Ritzerfeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andrea florio 2010-03-28 14:59:23 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.1.8) Gecko/20100204 SUSE/3.5.8-0.1.1 Firefox/3.5.8

I'm installing M4 on my hp pavilion dv 6855el

http://en.opensuse.org/HCL/Laptops/HP/HP_Pavilion_dv6855el

Installation was always able to detect this pc as laptop (from 10.3 to 11.3 M3)

but now, M4 looks not able to do it, laptop pattern is not installed by default with all the problems coming from that,missing wpa_supplicant, missing wireless applications, missing network manager and so on...

i'm not on my pc, i cannot attach yast2 logs, if them will be needed i'll attach them as soon as i'll be back to my pc.

it happen installing xfce,lxde,kde4 (not tested with gnome, but of course, i guess it's the same)

Reproducible: Always
Comment 1 andrea florio 2010-04-27 19:26:11 UTC
any one here??
Comment 2 Forgotten User cAXlJ_FoSf 2010-04-29 21:18:07 UTC
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.
Comment 3 Stefan Schubert 2010-05-06 07:59:44 UTC
Could you please reproduce it and send us the logfiles include yast2-logs and hwinfo output ? Thanks
Comment 4 Forgotten User cAXlJ_FoSf 2010-05-08 08:01:51 UTC
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"));
  }
Comment 5 andrea florio 2010-05-08 17:07:28 UTC
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
Comment 6 andrea florio 2010-05-08 17:58:38 UTC
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
Comment 7 Stefan Schubert 2010-05-11 12:19:22 UTC
(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 !
Comment 8 Forgotten User cAXlJ_FoSf 2010-05-16 14:42:21 UTC
Created attachment 362503 [details]
hwinfo from a fresh 11.3M6 installation on a MSI Wind U100 Laptop
Comment 9 Forgotten User cAXlJ_FoSf 2010-05-16 14:43:22 UTC
Created attachment 362504 [details]
yast logs
Comment 10 Forgotten User cAXlJ_FoSf 2010-05-16 14:44:15 UTC
Created attachment 362505 [details]
zypp solver testcase
Comment 12 Ladislav Slezák 2010-05-18 10:11:51 UTC
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?
Comment 13 Steffen Winterfeldt 2010-05-18 10:20:09 UTC
I'll fix hwinfo. I wasn't ware of this particular hal dependency.
Comment 14 Steffen Winterfeldt 2010-05-21 13:37:04 UTC
should be ok now (M8)
Comment 15 Forgotten User 0FuaAO3939 2010-05-26 10:31:27 UTC
Don't understand what you want it for but anyway here goes:

#/usr/sbin/hwinfo | grep formfactor

  system.formfactor = 'desktop'
Comment 16 Forgotten User 0FuaAO3939 2010-05-26 10:38:00 UTC
Oops , my apology , posted on the wrong post.
Comment 17 Vladimir Botka 2010-05-27 06:13:57 UTC
(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.
Comment 18 Vladimir Botka 2010-05-27 06:14:22 UTC
*** Bug 609063 has been marked as a duplicate of this bug. ***
Comment 19 Vladimir Botka 2010-05-27 06:17:46 UTC
*** Bug 608966 has been marked as a duplicate of this bug. ***
Comment 20 Vladimir Botka 2010-05-27 06:21:49 UTC
*** Bug 605860 has been marked as a duplicate of this bug. ***
Comment 21 Vladislav Lewin 2010-05-27 07:26:00 UTC
*** Bug 608559 has been marked as a duplicate of this bug. ***
Comment 22 Vladimir Botka 2010-05-27 13:07:57 UTC
(In reply to comment #14)
> should be ok now (M8)

Next release shall be RC1 ?
Comment 23 Steffen Winterfeldt 2010-06-01 10:00:39 UTC
*** Bug 610322 has been marked as a duplicate of this bug. ***
Comment 24 Katarina Machalkova 2010-06-01 19:52:10 UTC
*** Bug 610517 has been marked as a duplicate of this bug. ***
Comment 25 Mindaugas Baranauskas 2010-06-18 08:37:32 UTC
Created attachment 369994 [details]
RC1 (KDE 32 bit) yast2 logs
Comment 26 Mindaugas Baranauskas 2010-06-18 08:40:12 UTC
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.
Comment 27 Ladislav Slezák 2010-06-18 09:59:58 UTC
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.
Comment 28 Steffen Winterfeldt 2010-06-18 10:03:38 UTC
If you don't (really only then), please attach the log of
'hwinfo --sys --log=foo'.
Comment 29 Mindaugas Baranauskas 2010-06-18 21:54:05 UTC
# /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
Comment 30 andrea florio 2010-06-19 17:27:35 UTC
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
Comment 31 Steffen Winterfeldt 2010-06-21 09:31:07 UTC
see commment 28
Comment 32 andrea florio 2010-06-21 14:48:31 UTC
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
Comment 33 Steffen Winterfeldt 2010-06-22 09:38:50 UTC
Fix submitted.

hwinfo packages (v17.3) for testing should appear soon at
http://www.suse.de/~snwint/bnc_591703/

Please give them a try.
Comment 34 andrea florio 2010-06-22 12:00:17 UTC
formfactor correctly detected on my aspire one. now it's a laptop (again :D)
Comment 35 Steffen Winterfeldt 2010-06-22 12:15:54 UTC
Thanks for testing!
Comment 36 Jan Ritzerfeld 2010-06-25 20:16:15 UTC
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?
Comment 37 Jan Ritzerfeld 2010-06-26 08:01:20 UTC
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.
Comment 38 Steffen Winterfeldt 2010-06-28 15:22:52 UTC
Jan, you have to run hwinfo as 'root' for this to work.
Comment 39 Jan Ritzerfeld 2010-06-28 17:40:19 UTC
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