Public bug reported:

In building the UI for Additional Drivers in software-properties; I'm
finding that some of the current interfaces for getting for mapping a
driver to a device name are suboptimal. It involves parsing pci.ids;
parsing modaliases, etc.

Please provide a way to get at least the sys path for a device or driver
returned by the UbuntuDrivers API; so that further information about a
device can be retrieved via pyudev or other means.

Some amounts of package information for drivers will need to be
extracted as well: proprietary state (whether the package comes from
multiverse/restricted), and tested (origin). This information is
retrievable from the package name already, but will benefit being
available as convenience API from UbuntuDrivers so that it can be
reused.

As briefly discussed on IRC:

<pitti> get_driver_info()
<pitti> which would return a map driver_package -> {'modalias': 'pci:...', 
'syspath': '/sys/devices/...', 'proprietary': True, 'distro_package': False}

** Affects: ubuntu-drivers-common (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Please provide a way to get archive and device information from a
  driver package

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

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

Reply via email to