Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2017 00:14:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-x11@FreeBSD.org
Subject:   [Bug 196678] x11-servers/xorg-server: make config/devd recognize /dev/input/eventX from multimedia/webcamd
Message-ID:  <bug-196678-8047-5uiC6tZmkP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196678-8047@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196678-8047@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196678

--- Comment #59 from rozhuk.im@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 =3D hw_type_path[i].flags;
hw_type_cust->xdriver =3D hw_type_path[i].xdriver;
should be before
for (i =3D 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 ch=
eck
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196678-8047-5uiC6tZmkP>