Closed sofakng closed 4 years ago
it's 1.0.20 what adapter your are talking about? If XBox360 wireless adapter then it works fine already IIRC.
Thanks!
I'm talking about the Xbox One Wireless Adapter. The newer Xbox One controllers support bluetooth so this isn't a high priority issue. However, the Xbox One controllers also support a proprietary 5 GHz protocol that is supposed to have much lower latency than bluetooth. (under 8ms versus 15ms+ with bluetooth) I wanted to verify this using porkchop express (misteraddons) latency testing method.
There is a project called xow that implements a user-mode driver to support this wireless adapter.
I've been able to successfully cross-compile and run this driver on the latest MiSTer linux version, but I had to recompile libusb and I'm not sure why yet.
try to compile the project against libusb 1.0.20 may be some structures are different.
Will do. Thanks very much!
probably you can compile with exact linkage to libusb-1.0.23.so then can include this lib along with driver so it will co-exist with 1.0.20 (as 1.0.so). I'm not sure if 2 versions of lubusb can co-exist.
I'm in a bit over my head, but what I did was cross-compile libusb-1.0.23 and then linked using 'rpath' option so when I ran the executable, it looked for libusb in the same directory as itself instead of using the system library (/lib) directory.
Is that what you meant?
if it works then fine.
Sorry -- One more question... what version of systemd (libudev) is MiSTer using?
libusb optionally requires libudev as well for device enumeration/hotplug support.
MiSTer uses eudev 3.2.1
I'm trying to the 'xow' (Xbox Wireless Adapter) user-mode driver to work and if I recompile libusb-1.0.23 it appears to work, but if I link the included libusb-1.0.so it doesn't.
Which exact version/subversion of libusb is included in MiSTer?