I am looking for sys directory exported info for which slot number the pcie device occupy on motherboard. Is it possible sys directory or proc directory. Initially I tried dmidecode but it seems like the device in question is not present in SMBIOS info and that device not found with dmidecode. So Is it possible to look at sys directory or some where else for occupancy of slot by specific pcie device. in lspci -vvv | grep ' VGA ' device is detecting correctly but I could not tell which slot it occupy on motherboard pcie slots because dmidecode not showing any info on device.
The device is Nvidia GPU pcie. But my bios info using dmidecode -t 9 not giving me any info about that device. I even checked the code of DMIdecode. And that device is nowhere in SMBios structures. Means the firmware for The device not wrote anything in SMBios. May be this is normal for closed source devices that dmidecode can't find those buses and device types. So I like to know is there any way I can find matching slot-pcie bus pair info