add hints and resources to lshw -json so that we have pci subvendor and subdevice, and also used resources

Bug #1849951 reported by Yuan-Chen Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Confirmed
Medium
Yuan-Chen Cheng
lshw (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

we need pci subvendor and subdevice in json output which is missing.
(it exists in xml format)

Tags: oem-priority
Changed in oem-priority:
assignee: nobody → Yuan-Chen Cheng (ycheng-twn)
status: New → Confirmed
summary: - add hints to json so that we have pci subvendor and subdevice
+ add hints to lshw -json so that we have pci subvendor and subdevice
Changed in oem-priority:
importance: Undecided → High
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote : Re: add hints to lshw -json so that we have pci subvendor and subdevice
tags: added: oem-priority
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

Sample for hints in json output.

              "hints" : {
                "icon" : "display",
                "pci.class" : "0x300",
                "pci.device" : "0x591B",
                "pci.subdevice" : "0x802",
                "pci.subvendor" : "0x1028",
                "pci.vendor" : "0x8086"
              }

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

ppa for testing: https://launchpad.net/~ycheng-twn/+archive/ubuntu/lshw
TODO: change log need refine (might need to refine in patch file)

summary: - add hints to lshw -json so that we have pci subvendor and subdevice
+ add hints and resources to lshw -json so that we have pci subvendor and
+ subdevice, and also used resources
Changed in lshw (Ubuntu):
status: New → Confirmed
Changed in oem-priority:
importance: High → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.