Code Monkey home page Code Monkey logo

Comments (4)

rockowitz avatar rockowitz commented on June 24, 2024 1

Thank you for the report.

Apparently you are running the Debian build for the Raspberry Pi. Video driver vc4 is using DRM and /sys in non-conformat ways. See for example, the the verbose output of detect, where /sys/class/drm/card1-HDMI-A-1/enabled reports "disabled" and /sys/class/drm/card1-HDMI-A-1/status reports "disconnected".

ddcutil 2.1.x makes increasing use of /sys so that libddcutil can detect dynamic display connection and disconnection, which is why you're seeing the errors. Unfortunately, this use will have to be reviewed to avoid the errors you are seeing while retaining functionality for drivers that do properly use DRM and /sys.

from ddcutil.

p1r473 avatar p1r473 commented on June 24, 2024

Ok let me know if you'd like me to test a fix when you are able to

from ddcutil.

rockowitz avatar rockowitz commented on June 24, 2024

@p1r473 I've made a couple changes that reduce the use of /sysfs for video drivers that may not use /sys properly. Let me know if they address your problem.

from ddcutil.

p1r473 avatar p1r473 commented on June 24, 2024

@rockowitz Its working sometimes but I am also getting mostly error output
ddc.log

Failure retrieving DRM resources, errno=95=Operation not supported

and

Setting value failed for feature xD6, rc=DDCRC_RETRIES(-3007): maximum retries exceeded
    Try errors: DDCRC_RETRIES

However it is now sort of actually working

Also an issue with interrogate- it dumps the entire dir of my home folder. causing this massive 5mb log file

*** Extended dump of sysfs video devices for ARM architecture ***
Display devices: (class 0x03nnnn)
      dirname: missing operand
      Try 'dirname --help' for more information.
      .:
      total 166968
      drwxr-xr-x   3 pi   pi       4096 Apr 16 19:08 AAXtoMP3
      drwxr-xr-x   3 pi   pi       4096 Feb 12 15:33 absminitowerkit
      drwxr-xr-x   3 pi   pi       4096 Feb 12 15:33 Adafruit_LED_Backpack
      -rwxr-xr-x   1 pi   pi       1039 May 25  2021 adlists-deprecated.sh
      -rwxr-xr-x   1 pi   pi       2255 Dec  5 16:11 adlist-sequence.sh
      drwxr-xr-x   3 pi   pi       4096 Apr 26 15:48 almostontop
      -rwxr-xr-x   1 pi   pi        524 Jun  1  2021 android-otp-extractor.sh
      drwxr-xr-x   4 pi   pi       4096 Apr 26 17:05 ansiweather
      drwxr-xr-x   5 pi   pi       4096 May  6 15:57 archivemount
      drwxr-xr-x   7 pi   pi       4096 May  6 15:13 autojump

from ddcutil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.