Okay, I fixed the issue by manually editing the lines in detect.py from
this:

```py
def _get_db_name(syspath, alias):
    '''Return (vendor, model) names for given device.

    Values are None if unknown.
    '''
    try:
        out = subprocess.check_output(['udevadm', 'hwdb', '--test=' + alias],
                                      universal_newlines=True)
    except (OSError, subprocess.CalledProcessError) as e:
        logging.debug('_get_db_name(%s, %s): udevadm hwdb failed: %s', syspath, 
alias, str(e))
        return (None, None)
```
To this:
```py
def _get_db_name(syspath, alias):
    '''Return (vendor, model) names for given device.

    Values are None if unknown.
    '''
    try:
        out = subprocess.check_output(['systemd-hwdb', 'query', alias],
                                      universal_newlines=True)
    except (OSError, subprocess.CalledProcessError) as e:
        logging.debug('_get_db_name(%s, %s): systemd-hwdb failed: %s', syspath, 
alias, str(e))
        return (None, None)
```

The problem is, it still only lists nvidia-driver-470, nvidia-
driver-470-server, nvidia-driver-535 and nvidia-driver-535-server.

So the question is, how do I make it show up in the drivers list without
manually installing it or putting in the PPA?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2037004

Title:
  warnings in terminal with software-properties-gtk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/2037004/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to