rockowitz
rockowitz
Try running **ddcutil getvcp 10 --ddc --bus 5** and **ddcutil getvcp 10 --ddc --bus 6***. I expect you'll lots of garbage response packets for the former.
Let's deal with the crash first. Add tracing to the command that triggers the crash: .**ddcutil getvcp 10 --ddc --bus 5 --sleep-multiplier 4 --trcfile dsa2.c** Setting the sleep multiplier without...
I2C communication is working on /dev/i2c-7. The EDID (slave address x50) can be read. Error EIO is an indication that slave address x37 (DDC) is unresponsive. If you install **i2cdetect**...
The monitor is returning reply packets that are entirely zero, or more precisely the video adapter is reading zeros from the I2C bus after it puts a request packet on...
From my point of view display redetection is a significant non-error event. Is has ddcutil log level DDCA_SYSLOG_NOTICE. You can prevent its being logged by passing DDCA_SYSLOG_WARNING to ddca_init2(). If...
Look at src/ddc/ddc_watch_displays.c, particularly functions ddc_start_watch_displays(), ddc_stop_watch_displays(), and ddc_watch_displays_using_udev(). Most of what's there can be stripped out; handling DPMS events, the use of DRM to keep track of what has...
Writing "detect" to the sysfs status attribute was a quick check that I was on the right track. As you've noted, its not really a solution since it requires root....
After much hacking around with querying drm directly, I found an unprivileged operation that forces edid data to be updated. From the documentation for function drmModeGetConnector() in xf86drmMode.h: "This will...
Status code DDCRC_INVALID_OPERATION (-3014) is returned by ddca_register_display_status_callback() when it appears that not all display drivers implement DRM, which is required when watching for display connection/disconnection. I'd need to fire...
I've replaced function all_sysfs_i2c_info_drm() with check_all_video_adapters_implement_drm() and pushed the changes to 2.1.5-dev, so ddca_register_display_status_callback() should now work.