Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-23-07, 06:29 PM   #1
Maxim Levitsky
Registered User
 
Join Date: Dec 2007
Posts: 16
Lightbulb [BUG] [With fix] can't use ddccontrol with nvidia driver

I like to use ddccontrol, but I don't like to use it with direct PCI access,
since it doesn't work well, and slow.

But /dev/i2c access is broken, and bug lies in linux compatibility source:

Here:

nv-i2c.c:nv_i2c_algo_master_xfer():

RM_STATUS rmStatus = RM_ERROR;
....
for (i = 0; ((i < (unsigned int)num) && (rmStatus == RM_OK)); i++)
^^^^^

The loop never gets executed, and thus i2c doesn't work.

Just change
RM_STATUS rmStatus = RM_ERROR;
to
RM_STATUS rmStatus = RM_OK;

To fix this.


I wish you have opened the source, so lot more bugs like
that can be fixed.
Maxim Levitsky is offline   Reply With Quote
Old 12-23-07, 11:04 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: [BUG] [With fix] can't use ddccontrol with nvidia driver

Thanks for reporting this problem, it looks like it was introduced in the 100.14.xx time frame. It will be fixed in a future driver release.
zander is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia driver quality decrease? legluondunet NVIDIA Linux 17 06-26-12 10:03 AM
NVIDIA Driver Installation flores.facundo NVIDIA Linux 2 06-24-12 08:37 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM

All times are GMT -5. The time now is 12:23 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.