Bug 215275

Summary: Manufacturer field shows unknown for most of the devices in hwbrowser
Product: Red Hat Enterprise Linux 5 Reporter: Giribabu Bikki <giribabu_bikki>
Component: hwbrowserAssignee: Nils Philippsen <nphilipp>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: jlaska, karsten, nphilipp, wwlinuxengineering
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-19 15:10:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 200812    

Description Giribabu Bikki 2006-11-13 06:29:20 UTC
Description of problem:Manufacturer field shows unknown for most of the devices
in hwbrowser-0.27-2 (RHEL5 Beta1 weekly release 07 Nov 06)


Version-Release number of selected component (if applicable):0.27-2


How reproducible:


Steps to Reproduce:
1.install RHEL5 Beta1 weekly release 07 Nov 06
2.install hwbrowser-0.27-2 rpm
3.run hwbrowser 
  
Actual results:shown Unknown in manufacturer field


Expected results: it should show manufacturer information


Additional info:

Comment 1 Nils Philippsen 2006-11-13 08:31:03 UTC
hwbrowser gets its hardware information from hwdata, changing component

Comment 2 Karsten Hopp 2006-11-13 12:19:50 UTC
Nils: 

reproducable in rawhide. lscpi shows the manufacturer (it gets the information
from hwdata's pci.ids), hwbrowser doesn't.
This is because hwbrowser still tries to parse the vendor info from
the description string returned from older kudzu versions (p.e. RHEL-4). kudzu
in turn got it from the file pcitables which has been deprecated and not
supported by hwdata and kudzu anymore.

Check out DeviceGeneric.py and look for
   if string.find (device.kudzu_device.desc, "|") != -1:

This is old pcitables syntax. You now need to get vendorId from kudzu and match
that with the corresponding entry in pci.ids

Comment 3 RHEL Program Management 2006-11-13 12:40:22 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 5 Nils Philippsen 2006-11-20 17:29:52 UTC
I've built hwbrowser-0.28-1.el5 for RHEL5 which looks up vendorId (if set) in
pci.ids or usb.ids respectively. It works here with only the usual suspects
unknown (e.g. keyboard).

Comment 6 Amit Bhutani 2006-11-21 18:32:19 UTC
Can we request this be posted to a people page so we can test and report results ?

Comment 7 Nils Philippsen 2006-11-22 10:59:59 UTC
Find the file at:

http://people.redhat.com/nphilipp/.private/hwbrowser-0.28-1.el5.noarch.rpm

Mind that the package isn't signed, its checksums are:

MD5SUM: da5dc3139a9ee41d59dba91d2486f512
SHA1SUM: 71d649bc44100a9f94037a17947bb0c95186909c

Comment 8 Giribabu Bikki 2006-11-22 12:12:05 UTC
I regressed with the above hwbrowser-0.28-1.el5.noarch.rpm and found that except
keyboard, mouse and floppy remaining device's manufacturers info is showing
correctly.

Comment 9 Amit Bhutani 2006-11-28 23:02:27 UTC
So that's good news that the network hardware is showing up properly in test
hwbrowser package provided in comment #7.

Question now is, what would it take get the keyboard, mouse and floppies to show
up properly ?

Comment 10 Karsten Hopp 2006-11-30 11:22:08 UTC
Please note that the manufacturer of PS/2 devices and ordinary (non USB) 
keyboards cannot be detected and will always be displayed as 'Unknown'.
If there are unknown manufacturer entries besides those mentioned above:
  Missing USB entries need to be submitted at http://www.linux-usb.org/
  Missing PCI.ids should be submitted at http://pciids.sourceforge.net/

Comment 11 James Laska 2006-12-05 14:59:19 UTC
Tested with hwbrowser-0.30-1.el5 

The only fields showing manufacturer=Unknown are
 - SynPS/2 Synaptics Touchpad
 - AT Translated Set 2 keyboard
 - IBM0057 
 - IBM0071
 - NSC1100
 - PC Speaker
 - PNP0200
 - PNP0303
 - PNP0400
 - PNP0501
 - PNP0700
 - PNP0800
 - PNP0a08
 - PNP0c01
 - PNP0c02
 - PNP0c04
 - TPPS/2 IBM TrackPoint

The PS/2 devices appear to be known according to comment#10.  I'm moving this
issue to VERIFIED.

Comment 12 Jay Turner 2006-12-19 15:10:43 UTC
hwbrowser-0.30-1.el5 included in 20061218.1 trees.