Parsing inf files with SUBSYS [solved]

Antworten
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Parsing inf files with SUBSYS [solved]

Beitrag von SisterOfMercy »

I have a laptop here with a wireless card:

Code: Alles auswählen

[14E4:4359]  Broadcom Corporation : BCM43228 802.11a/b/g/n
The inf file has entries for this device, but all entries have a subsys string attached to it:

Code: Alles auswählen

[BROADCOM.NTamd64.6.1]      
        %BCM43228NM_DeviceDesc% = BCM43XNM23_NT61, PCI\VEN_14E4&DEV_4359&SUBSYS_182C103C
        %BCM43228NM_DeviceDesc_HPD% = BCM43XNM23_NT61, PCI\VEN_14E4&DEV_4359&SUBSYS_05E214E4
        %BCM43228NM_DeviceDesc_HPD% = BCM43XNM23_NT61, PCI\VEN_14E4&DEV_4359&SUBSYS_2135103C
        %BCM43228NM_DeviceDesc_HPD% = BCM43XNM23_NT61, PCI\VEN_14E4&DEV_4359&SUBSYS_22D5103C
        %BCM43228NM_DeviceDesc_HPZ% = BCM43XNM23_NT61, PCI\VEN_14E4&DEV_4359&SUBSYS_8088103C
	%BCM43228NM_DeviceDesc_HPZ% = BCM43XNM23_NT61, PCI\VEN_14E4&DEV_4359&SUBSYS_8147103C
The show_drivers.py doesn't see it:

Code: Alles auswählen

   [14E4:4359]  Broadcom Corporation : BCM43228 802.11a/b/g/n
      No driver - device directory '/var/lib/opsi/depot/win7-x64-nlite/drivers/pciids/14E4/4359' not found
If I put this driver in the byAudit directory it works like it should. Windows accepts the driver without problems, and checking in devmgmt.msc shows it has a subsys value of 05E214E4.
Zuletzt geändert von SisterOfMercy am 03 Feb 2017, 01:14, insgesamt 1-mal geändert.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Parsing inf files with SUBSYS

Beitrag von n.wenselowski »

Hi,

can you try to run show_drivers with loglevel 8 and then look for the following?
The lines you mentioned, should appear after "Processing device string".
Does it output what type it has detected for the line after that?
Does it output something like "Found ... device: $vendor:$device"?


Kind regards

Niko

Code: Alles auswählen

import OPSI
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: Parsing inf files with SUBSYS

Beitrag von SisterOfMercy »

Seems to be fixed in 4.0.7. :D
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Antworten