Date: Tue, 07 Apr 2020 09:13:00 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 196678] x11-servers/xorg-server: Update to 1.20.7 + make config/devd recognize /dev/input/eventX from multimedia/webcamd Message-ID: <bug-196678-7141-zjk0ViDjaq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-196678-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-196678-7141@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 #181 from shadow53+freebsd@shadow53.com --- I'm not sure whether this bug is the best place to put this, but it seems related enough. If it should go elsewhere, let me know. I'm trying to use my Logitech F310 with the updated xorg-server, libinput, = and SDL2 on 12.1-RELEASE-p3. SDL2 does not recognize the device as a joystick/gamepad, and a little bit of digging makes me think xorg is having some related issues. The F310 has a switch that allows you to toggle between XInput and Direct I= nput modes. XInput just is not recognized: /var/log/Xorg.0.log ------------------- [ 104.266] (II) config/udev: Adding input device Logitech Gamepad F310 (/dev/i nput/event3) [ 104.266] (II) No input driver specified, ignoring this device. [ 104.266] (II) This device may have been added with another device file. Direct input is recognized as a pointer device and the left thumbstick can = be used to move the mouse pointer on screen, but nothing else works. Running 'libinput debug-events' shows that it does not recognize the d-pad at all, = but the other buttons cause an error like the following on every button press a= nd release: libinput bug: timer event3 debounce: offset more than 5s, now 2299831 expire 1404381708 I should note that I am running webcamd and it is able to attach to the F31= 0 in XInput mode, but it doesn't seem to help anything. I'm also using custom packages built using Poudriere, so here are the port options for the releva= nt packages I can think of: devel/sdl2 ---------- OPTIONS_FILE_UNSET+=3DALSA OPTIONS_FILE_SET+=3DASM OPTIONS_FILE_SET+=3DDLOPEN OPTIONS_FILE_SET+=3DHIDAPI OPTIONS_FILE_UNSET+=3DJACK OPTIONS_FILE_UNSET+=3DNAS OPTIONS_FILE_SET+=3DOSS OPTIONS_FILE_SET+=3DPTHREADS OPTIONS_FILE_SET+=3DPULSEAUDIO OPTIONS_FILE_UNSET+=3DSAMPLERATE OPTIONS_FILE_SET+=3DSDL_ATOMIC OPTIONS_FILE_SET+=3DSDL_AUDIO OPTIONS_FILE_SET+=3DSDL_CPUINFO OPTIONS_FILE_SET+=3DSDL_EVENTS OPTIONS_FILE_SET+=3DSDL_FILE OPTIONS_FILE_SET+=3DSDL_HAPTIC OPTIONS_FILE_SET+=3DSDL_JOYSTICK OPTIONS_FILE_SET+=3DSDL_LOADSO OPTIONS_FILE_SET+=3DSDL_POWER OPTIONS_FILE_SET+=3DSDL_RENDER OPTIONS_FILE_SET+=3DSDL_THREADS OPTIONS_FILE_SET+=3DSDL_TIMERS OPTIONS_FILE_SET+=3DSDL_VIDEO OPTIONS_FILE_UNSET+=3DSNDIO OPTIONS_FILE_SET+=3DUDEV OPTIONS_FILE_SET+=3DVIDEO_KMSDRM OPTIONS_FILE_SET+=3DVIDEO_OPENGL OPTIONS_FILE_SET+=3DVIDEO_OPENGLES2 OPTIONS_FILE_SET+=3DVIDEO_WAYLAND OPTIONS_FILE_SET+=3DVIDEO_X11 multimedia/webcamd ------------------ OPTIONS_FILE_SET+=3DCOMPAT32 OPTIONS_FILE_UNSET+=3DDEBUG OPTIONS_FILE_SET+=3DDVB OPTIONS_FILE_SET+=3DHAL OPTIONS_FILE_SET+=3DINPUT OPTIONS_FILE_SET+=3DKEYBOARD OPTIONS_FILE_SET+=3DMOUSE OPTIONS_FILE_SET+=3DRADIO OPTIONS_FILE_UNSET+=3DVT_CLIENT OPTIONS_FILE_UNSET+=3DVT_SERVER OPTIONS_FILE_SET+=3DWEBCAM sysutils/uhidd -------------- OPTIONS_FILE_SET+=3DDEVD x11-servers/xorg-server ----------------------- OPTIONS_FILE_SET+=3DFIXDRM OPTIONS_FILE_SET+=3DSUID OPTIONS_FILE_UNSET+=3DDEVD OPTIONS_FILE_SET+=3DUDEV I do not have an options file for x11-drivers/xf86-input-libinput, so I ass= ume that means it is using default options? I also even tried the patch for SDL2 at https://forums.freebsd.org/threads/joystick-api.72643/#post-456120 but that didn't work. As I mentioned above, I'm putting this here because I *think* it is related= to Xorg's use of udev/evdev, but I'm really not familiar enough with the technologies to be sure. I can post this as a separate bug if needed. Either way, I can help debug the above libinput error and test any potential solutions. --=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-7141-zjk0ViDjaq>