[Bug 1021733] Re: Complete the Additional Drivers implementation

Martin Pitt martin.pitt at ubuntu.com
Thu Jul 12 14:52:44 UTC 2012


Note, in ubuntu-drivers-common 0.2.61 I added a simple wrapper tool
which pretends that you have an nvidia, fglrx, and broadcom wifi card.
Run it like this in the s-p checkout:

 PYTHONPATH=. /usr/share/ubuntu-drivers-common/fake-devices-wrapper
./software-properties-gtk --data-dir=data

For s-p to work with the wrapper you need a tiny patch to s-p:

--- softwareproperties/gtk/SoftwarePropertiesGtk.py	2012-07-06 20:21:44 +0000
+++ softwareproperties/gtk/SoftwarePropertiesGtk.py	2012-07-12 14:46:42 +0000
@@ -935,7 +935,7 @@
 
     try:
       name = subprocess.check_output([db_command,
-                                      device_info['syspath'].replace('/sys', '')
+                                      device_info['syspath'].replace(os.getenv('SYSFS_PATH', '/sys'), '')
                                      ],
                                      universal_newlines=True)
       name = " ".join(name.split('\n'))

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

Title:
  Complete the Additional Drivers implementation

Status in “software-properties” package in Ubuntu:
  Triaged

Bug description:
  I've started implementing the design in
  https://wiki.ubuntu.com/SoftwareAndUpdatesSettings#drivers ; devices
  can be listed on systems that require binary drivers, and the new tab
  is there with the basic UI bits.

  What's left to be done:
   - Testing, testing, testing.
   - Figure out what is being done wrong  that causes the crash in comment #2.
   - Make sure the cases for multiple devices (wifi, graphics) all need custom drivers.
   - Update status text below each device on their status.
   - Use real icons provided by the design team

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1021733/+subscriptions




More information about the foundations-bugs mailing list