List of known device classes, subclasses and programming interfaces show up in vendor list
gz opened this issue · 1 comments
gz commented
Hi, it seems in v0.4.0 the "List of known device classes, subclasses and programming interfaces" at the end of https://pci-ids.ucw.cz/v2.2/pci.ids shows up as well when iterating through the vendors in Database
e.g., there is now a vendor with id "c 09". I noticed this because my build failed because it tried to parse this in a u16 as a vendor id:
vendor=Vendor {
name: "Input device controller",
devices: {
"00": Device {
name: "Keyboard controller",
subdevices: {},
},
"01": Device {
name: "Digitizer Pen",
subdevices: {},
},
"02": Device {
name: "Mouse controller",
subdevices: {},
},
"04": Device {
name: "Gameport controller",
subdevices: {
SubDeviceId {
subvendor: "10",
subdevice: "",
}: "Extended",
SubDeviceId {
subvendor: "00",
subdevice: "",
}: "Generic",
},
},
"03": Device {
name: "Scanner controller",
subdevices: {},
},
"80": Device {
name: "Input device controller",
subdevices: {},
},
},
}
ilya-zlobintsev commented
@gz I have released v0.5.0 which should prevent this issue from happening. I plan add the support for parsing classes and accessing them separately from vendors in a future version.