[Bug 196678] x11-servers/xorg-server: make config/devd recognize /dev/input/eventX from multimedia/webcamd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 25 12:44:46 UTC 2017


--- Comment #74 from Vladimir Kondratyev <vladimir at kondratyev.su> ---
(In reply to Matthew Rezny from comment #72)
> The way input is handled was changed in 1.19,
> now there is an input thread on which the I/O occurs
> and we can't go removing or disabling device from within
> the thread, rather we would need to signal across threads.

There is other way: Do not remove device on error but only close() its fd. That
should break webcamd deadlock and than allow devfs to signal users about cdev
destruction. Look at libinput patch that solved webcmd device detach for me:

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-x11 mailing list