Comment 176 for bug 95444

Revision history for this message
Shawe Ewahs (shawe-ewahs) wrote :

Yes, any information from hal-device can be the solution for detect the products affects. This is mine:

$ hal-find-by-property --key info.linux.driver --string 'nvidia'
/org/freedesktop/Hal/devices/pci_10de_426
shawe@Vaio:~$ hal-device /org/freedesktop/Hal/devices/pci_10de_426
udi = '/org/freedesktop/Hal/devices/pci_10de_426'
  pci.device_protocol = 0 (0x0) (int)
  info.linux.driver = 'nvidia' (string)
  pci.vendor = 'nVidia Corporation' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0' (string)
  info.vendor = 'nVidia Corporation' (string)
  info.subsystem = 'pci' (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_2a01' (string)
  pci.product = 'G86M [GeForce 8400M GT]' (string)
  info.product = 'G86M [GeForce 8400M GT]' (string)
  pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0' (string)
  pci.subsys_vendor = 'Sony Corporation' (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_10de_426' (string)
  pci.product_id = 1062 (0x426) (int)
  linux.hotplug_type = 2 (0x2) (int)
  pci.vendor_id = 4318 (0x10de) (int)
  linux.subsystem = 'pci' (string)
  pci.subsys_product_id = 36869 (0x9005) (int)
  pci.subsys_vendor_id = 4173 (0x104d) (int)
  pci.device_class = 3 (0x3) (int)
  pci.device_subclass = 0 (0x0) (int)

Yes, maybe is posible collecting this information, I don't know how hal works, for this reason I only propose ideas.

I say to you if nvidia8, nvidia9 and quadro are different, because I don't know if nvidia8 works for the three. If you say that yes, no problem.