[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
Fri Mar 10 00:14:48 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678

--- Comment #59 from rozhuk.im at gmail.com ---
(In reply to Matthew Rezny from comment #56)

Thanks for feedback.

Yes, my mistake, now I see.
get_dev_type_by_path()
...
hw_type_cust->flags = hw_type_path[i].flags;
hw_type_cust->xdriver = hw_type_path[i].xdriver;
should be before
for (i = hw_type_cust->path_offset; i < dev_name_size; i ++) {

input_option_new() - I suspect that here can be some memory leak, but other
backends does not handle it and not handle mem alloc fail, so I add only check
for allocation to prevent crash.


I hope in new release all devices continue to work and code will read from devd
socket more than 1 byte per recv() call :)

I have wacom and logitech joystick to test.


PS: dont forget add Hans Petter Selasky and Vladimir Kondratyev, they do not
add self to copyright.

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


More information about the freebsd-x11 mailing list