|
30 | 30 | - [x] Drop bl_store_vpcode() and only load vpcode from CLIGHTD_BL_VCP env? |
31 | 31 | - [x] Add CLIGHTD_BL_VCP Environment variable to systemd script with a comment thus it is simple to update it if needed |
32 | 32 | - [x] Expose Max and Internal properties |
33 | | -- [ ] Update dbus api wiki |
| 33 | +- [x] Update dbus api wiki |
34 | 34 | - [x] add a page about monitor hotplugging (dep on ddcutil >= 1.2.0 and refresh time!) |
35 | 35 | - [x] Investigate memleaks (related to ddca_redetect_displays()?) -> see here: https://github.com/rockowitz/ddcutil/issues/202 |
36 | 36 | - [x] Instead of 30s sleep, use an udev_monitor on drm subsystem? |
| 37 | +- [x] Add support for monitor id specific CLIGHTD_BL_VCP env |
37 | 38 |
|
38 | 39 | ### KbdBacklight |
39 | 40 | - [x] call sd_bus_emit_object_added() sd_bus_emit_object_removed() When object path are created/deleted |
40 | 41 | - [x] Fix: udev_reference is a snapshot of an udev device at a current time. Wrong! |
| 42 | +- [x] Fixed (small) memleak |
| 43 | + |
| 44 | +### ALS |
| 45 | +- [x] Fix: avoid using cached udev_dev reference in loop (thus always returning same ambient brightness read during a Capture request) |
| 46 | +- [x] Fixed EIO errors |
| 47 | + |
| 48 | +### Sensor |
| 49 | +- [x] Only emit Sensor.Changed signal for added/removed devices |
| 50 | + |
| 51 | +### Pipewire |
| 52 | +- [x] Support pipewire for Camera sensor? This would allow multiple application sharing camera |
| 53 | +- [x] Pipewire run as root needs XDG_RUNTIME_DIR env -> workaround: find the first /run/user folder and use that |
| 54 | +- [x] Unify camera settings between camera and pipewire sensors... ? |
| 55 | +- [x] Support monitor sensor api for pipewire |
| 56 | +- [x] Fix segfault |
| 57 | +- [x] Fix subsequent Capture |
| 58 | +- [x] Add a CLIGHTD_PW_RUNTIME_DIR env variable (in clightd.service, see CLIGHTD_BL_CODE) that defaults to /run/user/1000/. If the env variable is empty -> disable pipewire. If folder does not exist: disable pipewire. Otherwise: inotify on folder to wait for socket to appear. If socket is already there, immediately start monitoring. |
| 59 | +- [x] Document the new env variable! |
| 60 | +- [x] Use caller uid instead of defaulting to first found user during Capture! |
| 61 | +- [x] Use a map to store list of nodes? |
| 62 | +- [x] Free list of nodes upon exit! |
| 63 | +- [x] Fix xdg_runtime_dir set to create monitor |
| 64 | +- [x] Fix memleaks |
| 65 | +- [x] Support crop settings |
| 66 | +- [x] Test crop |
| 67 | +- [x] Drop crop API support for both pipewire and webcam; they add lots of complexity while giving no real perf improvements considering we are using small frames |
| 68 | +- [x] Fix: pipewire capture while webcam is already owned by another app freezes during pw_loop_iterate() |
41 | 69 |
|
42 | 70 | ### Generic |
43 | 71 | - [x] When built with ddcutil, clightd.service should be started after systemd-modules-load.service |
44 | 72 | - [x] Show commit hash in version |
| 73 | +- [x] All api that require eg Xauth or xdg rutime user, fallback at automatically fetching a default value given the caller: |
| 74 | +- [x] test X |
| 75 | +- [x] test wl |
| 76 | +- [x] Document the new behavior! |
| 77 | +- [x] Fix clightd not cleanly exiting when built with DDC or YOCTOLIGHT (most probably libusb or whatever is creating another thread that is stealing the signal!) |
| 78 | +- [x] do not use strlen() to only check that strign is not empty |
45 | 79 |
|
46 | 80 | ## 5.x |
47 | 81 | - [ ] Keep it up to date with possible ddcutil api changes |
48 | 82 |
|
| 83 | +### Pipewire |
| 84 | +- [ ] Fix set_camera_setting() impl -> how to get current value? how to set a new value? |
| 85 | + |
49 | 86 | ## 6.x (api break release) |
50 | 87 |
|
51 | 88 | ### Generic |
|
54 | 91 | - [ ] Drop old BACKLIGHT module -> in case, drop {Lower,Raise,Set}All from clightd polkit policy |
55 | 92 | - [ ] Rename Backlight2 to Backlight |
56 | 93 |
|
57 | | -### Pipewire |
58 | | -- [ ] merge pipewire work |
| 94 | +### Move to user service (?) |
59 | 95 | - [ ] move clightd to user service |
| 96 | +- [ ] Drop polkit and use sd_session_is_active() |
| 97 | +- [ ] Add udev rules for yoctolight, als, keyboard and backlight modules for "clightd" |
| 98 | +- [ ] Drop useless API params (eg: DISPLAY, XAUTHORITY, XDG_RUNTIME_DIR etc etc) |
| 99 | +- [ ] # groupadd clightd |
| 100 | +- [ ] # usermod -aG clightd myusername |
| 101 | +- [ ] # echo 'KERNEL=="i2c-[0-9]*", GROUP="clightd"' >> /etc/udev/rules.d/10-local_i2c_group.rules |
| 102 | +... would break https://github.com/FedeDP/Clight/issues/144 ... |
60 | 103 |
|
61 | 104 | ## Ideas |
62 | 105 | - [ ] follow ddcci kernel driver and in case, drop ddcutil and add the kernel driver as clightd opt-dep |
0 commit comments