rockowitz / ddcutil

Control monitor settings using DDC/CI and USB
http://www.ddcutil.com
GNU General Public License v2.0
911 stars 38 forks source link

i2c-nvidia-gpu #247

Open rockowitz opened 2 years ago

rockowitz commented 2 years ago

@tukusejssirs posted the following on thread #244, which I believe warrants creating a separate issue.

I’ve just found i2c-nvidia-gpu (Phoronix; its source code in the kernel), but I was not able to make it work by simply running modprobe i2c-nvidia-gpu (although lsmod contains i2c_nvidia_gpu 16384 0).

lspci -v contains the following:

01:00.0 VGA compatible controller: NVIDIA Corporation TU117GLM [Quadro T1000 Mobile] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 22b8
        Flags: bus master, fast devsel, latency 0, IRQ 170, IOMMU group 1
        Memory at ed000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at d0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 3000 [size=128]
        Expansion ROM at ee080000 [virtual] [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia

If anyone can tell me if I tested i2c-nvidia-gpu correctly, I’d be grateful.

Originally posted by @tukusejssirs in https://github.com/rockowitz/ddcutil/issues/244#issuecomment-1013762526

rockowitz commented 2 years ago

@tukusejssirs I've found a thread on the linux-i2c mailing list that may give some clues as to how to use the driver. See also this bug report.

ddcutil may be too aggressive in filtering out a /dev/i2c devices created by this driver as ignorable. Try running i2cdectet for the /dev/i2c devices that ddcutil ignores to see if slave address x50 or x37 is responsive.