Re: Xbox 360 controller emulators/snes9x hangs at startup

2017-09-22 Thread Nam Nguyen
> Can you compile a kernel with sys/dev/usb/uhid.c reverted to > older revisions to test your hypothesis? Compiling the kernel with a patch was a good learning exercise for me. I successfully applied mpi@'s patch, as posted in the other thread. To reiterate my results, Xbox 360 and PS3 controllers

Re: Xbox 360 controller emulators/snes9x hangs at startup

2017-09-22 Thread Bryan Linton
On 2017-09-22 12:36:56, Bryan Linton wrote: > On 2017-09-22 08:24:32, Stefan Sperling wrote: > > > > Can you compile a kernel with sys/dev/usb/uhid.c reverted to > > older revisions to test your hypothesis? > > > > This issue has already been reported and mpi@ is working on a > solution. The

Re: Xbox 360 controller emulators/snes9x hangs at startup

2017-09-22 Thread Bryan Linton
On 2017-09-22 08:24:32, Stefan Sperling wrote: > > Can you compile a kernel with sys/dev/usb/uhid.c reverted to > older revisions to test your hypothesis? > This issue has already been reported and mpi@ is working on a solution. The beginning of the relevant parts of the thread starts with the

Re: Xbox 360 controller emulators/snes9x hangs at startup

2017-09-22 Thread Anthony J. Bentley
Nam Nguyen writes: > After further research, this commit[1][2] may explain what is going on. > > > 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. > > If I understand correctly, I should

Re: Xbox 360 controller emulators/snes9x hangs at startup

2017-09-22 Thread Nam Nguyen
After further research, this commit[1][2] may explain what is going on. > 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. If I understand correctly, I should take up this issue with the de

Re: Xbox 360 controller emulators/snes9x hangs at startup

2017-09-22 Thread Stefan Sperling
On Fri, Sep 22, 2017 at 12:33:29AM -0700, Nam Nguyen wrote: > I tested 6.0 -release and 6.1 -release, and emulators/snes9x > loaded OK with all controllers. This bug appeared once I updated to a > -current snapshot. My hypothesis is that -current introduced a > regression with uhid(4). Can you com

Xbox 360 controller emulators/snes9x hangs at startup

2017-09-22 Thread Nam Nguyen
On a -current snapshot <2017-09-18 Mon>, I am getting a bug in which emulators/snes9x-1.54.1p0 hangs at startup, waiting for uhidread. * Pre-requisites One of the following: Xbox 360 controller / PS4 controller / external keyboard Install emulators/snes9x Run a -current snapshot * To reproduce th