nvidiadetector.py: neglects to match on class code 0302 3D Controller

Bug #1492873 reported by TJ on 2015-09-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-drivers-common (Ubuntu)
High
Unassigned
Nominated for Trusty by TJ
Nominated for Wily by TJ

Bug Description

Helping a user on IRC where ubuntu-drivers failed to detect

0a:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 850M] [10de:1391] (rev a2)

Looking at the source-code I noticed that

/usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py::detection()

is not matching on class 0302 (despite the associated fake entry comment for debugging suggesting it)

The work-around is to amend the code thus:

sudo sed -i 's/0300/(0300|0302)/' /usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py

Running ubuntu-drivers now matches the 3D Controller

TJ (tj) on 2015-09-07
Changed in ubuntu-drivers-common (Ubuntu):
status: New → Triaged
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers