Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1240234

Summary: RFE: update to latest upstream version to support modern sensors
Product: [Fedora] Fedora Reporter: Wolfgang Ulbrich <fedora>
Component: libXNVCtrlAssignee: Wolfgang Ulbrich <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: ajax, fedora, hladky.jiri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libXNVCtrl-352.21-2.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-23 08:55:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wolfgang Ulbrich 2015-07-06 10:05:09 UTC
Description of problem:
Please update libXNVCtrl to latest upstream version which is 352.21.
see ftp://download.nvidia.com/XFree86/nvidia-settings/

This will give us supprt for more modern target types.

diff NVCtrl.h:
@@ -15,11 +39,15 @@
  * Here are the supported target types:
  */
 
-#define NV_CTRL_TARGET_TYPE_X_SCREEN   0
-#define NV_CTRL_TARGET_TYPE_GPU        1
-#define NV_CTRL_TARGET_TYPE_FRAMELOCK  2
-#define NV_CTRL_TARGET_TYPE_VCSC       3 /* Visual Computing System Controller */
-
+#define NV_CTRL_TARGET_TYPE_X_SCREEN       0
+#define NV_CTRL_TARGET_TYPE_GPU            1
+#define NV_CTRL_TARGET_TYPE_FRAMELOCK      2
+#define NV_CTRL_TARGET_TYPE_VCSC           3 /* Visual Computing System */
+#define NV_CTRL_TARGET_TYPE_GVI            4
+#define NV_CTRL_TARGET_TYPE_COOLER         5 /* e.g., fan */
+#define NV_CTRL_TARGET_TYPE_THERMAL_SENSOR 6
+#define NV_CTRL_TARGET_TYPE_3D_VISION_PRO_TRANSCEIVER 7
+#define NV_CTRL_TARGET_TYPE_DISPLAY        8 

I need libXNVCtrl to build mate-sensor-applet and upstream want to do an update
which requires an updated version.
See https://github.com/mate-desktop/mate-sensors-applet/pull/30#issuecomment-118498361

Here is a koji scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=10297602

Thank you

Comment 1 Fedora Update System 2015-07-09 17:14:29 UTC
libXNVCtrl-352.21-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/libXNVCtrl-352.21-1.fc22

Comment 2 Fedora Update System 2015-07-09 17:15:21 UTC
libXNVCtrl-352.21-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/libXNVCtrl-352.21-1.fc21

Comment 3 Wolfgang Ulbrich 2015-07-09 17:19:20 UTC
hwloc depends on libXNVCtrl too, please test.

Comment 4 Fedora Update System 2015-07-13 19:13:05 UTC
Package libXNVCtrl-352.21-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libXNVCtrl-352.21-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-11422/libXNVCtrl-352.21-2.fc22
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-07-23 08:55:23 UTC
libXNVCtrl-352.21-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2015-07-23 08:57:32 UTC
libXNVCtrl-352.21-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.