diff --git a/packages/x11/driver/xf86-video-nvidia/scripts/make_nvidia_udev.py b/packages/x11/driver/xf86-video-nvidia/scripts/make_nvidia_udev.py index bdd48d6349..bf4e4fe8f7 100755 --- a/packages/x11/driver/xf86-video-nvidia/scripts/make_nvidia_udev.py +++ b/packages/x11/driver/xf86-video-nvidia/scripts/make_nvidia_udev.py @@ -34,13 +34,10 @@ page = requests.get(url, headers=headers) tree = html.fromstring(page.content) # These are the tables we want to use (gpu's supported by the current driver) -# NVIDIA GeForce GPUs = 1 -# NVIDIA Quadro GPUs = 2 -# NVIDIA NVS GPUs = 3 -# NVIDIA Tesla GPUs = 4 +# NVIDIA GPU product = 2 ids = [] -for table in range(1, 5): +for table in range(1, 2): ids = ids + tree.xpath('//html/body/div[@class="appendix"]/div[@class="informaltable"][' + str(table) + ']/table/tbody/tr[starts-with(@id, "devid")]/td[2]//text()') # If three IDs are listed, the first is the PCI Device ID, the second is the PCI Subsystem Vendor ID, and the third is the PCI Subsystem Device ID.