illiliti / libudev-zero

Daemonless replacement for libudev
ISC License
201 stars 22 forks source link

Scan /sys/class rather than /sys/dev to populate all devices. #71

Open Ella-0 opened 4 months ago

Ella-0 commented 4 months ago

Fixes #26 #63 #69

xplshn commented 4 months ago

I just tried the patch. It doesn't fix Pipewire, Pipewire requires SOUND_INITIALIZED to be set to 1. I think this patch needs to be adapted to work with this one. https://github.com/illiliti/libudev-zero/pull/69

Ella-0 commented 4 months ago

I just tried the patch. It doesn't fix Pipewire, Pipewire requires SOUND_INITIALIZED to be set to 1. I think this patch needs to be adapted to work with this one. #69

it's intended to be used with #70

xplshn commented 4 months ago

I realized that when I checked the makefile. Anyways, for now I am using your patch + the pipewire one after tweaking it a bit. Its been great! I was able to play Counter Strike:Source and play music, no problems whatsoever.

Ella-0 commented 3 months ago

I'm concerned about potential performance issues here as this seems to be quite slow compared to the previous method. I'm not sure why exactly but things using libudev-zero definitely take longer to start up than before.