Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libddcutil ddca_get_display_info_list2 returns DDCRC_OTHER (-3022) #417

Open
digitaltrails opened this issue May 15, 2024 · 0 comments
Open

Comments

@digitaltrails
Copy link

digitaltrails commented May 15, 2024

A ddcutil-service user raised an issue where detect is failing resulting in DDCRC_OTHER (-3022) being returned by ddca_get_display_info_list2().

It appears the user has some non-display i2c devices that cannot be accessed. This causes set_ddca_error_detail_from_open_errors() to return DDCRC_OTHER. Which in turn results in ddca_get_display_info_list2() also returning DDCRC_OTHER even though there are displays in the return list from i2c devices that could be opened. If some devices are in the list, perhaps DDCRC_OTHER is inappropriate, or needs documenting.

I've pushed a change to ddcutil-service that filters DDCRC_OTHER which has fixed the user's issue.

If other projects are using libddcutil, it may be causing them issues as well. KDE PowerDevil comes to mind and, of course, ddcui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant