[ CCing all potentially involved parties, because I'd rather CC
more people than necessary than leave out an interested party.
Please ignore this mail if it's not relevant to you. ]
On 2017-08-30 09:55:12, Bryan Linton <bl@shoshoni.info> wrote:
>
> If I can find the time, I'll try to see if I can bisect it by date
> at the very least, but if someone else wants to beat me to it,
> please be my guest! :)
>
So I've found the commit that caused this issue. To briefly recap
for the new developers being CCed, the following commit completely
disabled the ability to use joysticks in what appears to be all
SDL programs. Ones I've confirmed to be non-working are: dgen
(SDL1), desmume (SDL1), mgba (SDL2), fceux (SDL1), and retroarch (SDL2).
--------------------------8<-----------------------------
CVSROOT: /cvs
Module name: src
Changes by: mpi@cvs.openbsd.org 2017/07/20 10:54:45
Modified files:
sys/dev/usb : uhid.c
Log message:
Remove SIGIO support. Base tools do not implement it and ports relying
on libusbhid, generally via SDL, shouldn't do it either since it's not
portable.
Suggested by deraadt@ after Ilja van Sprundel reported an issue with a
stale struct proc pointer in similar code.
ok kettenis@, deraadt@
--------------------------8<-----------------------------
Reverting the above commit fixes the issue for me. Without the
reversion, SDL games freeze at a black screen if a joypad is
connected. Invoking "kill -9" or unplugging the joypad is the
only way to unfreeze the program.
For jeremy@, he reports that even without a joypad plugged in, his
system *thinks* he has one (because of some uhid buttons on his
keyboard), so none of these programs work for him at all.
From looking at the commit message, it appears that it may have been
done to fix a bug, but the effect it's had is to render several SDL
programs unusable with a joypad, and unusable at all in jeremy@'s
case.
Unfortunately I cannot suggest a workaround other than a reversion,
but I'm willing to test any patches that attempt to fix this issue.
--
Bryan
No comments:
Post a Comment