xbox one controller

Stephane D'Alu sdalu at sdalu.com
Mon Jun 24 21:28:07 UTC 2019


On 6/24/19 10:35 PM, Hans Petter Selasky wrote:
> On 2019-06-24 22:17, Stephane D'Alu wrote:
>> I would like to have support for the xbox one S controller,
>> so I took a look at freebsd uhid.c and linux xpad.c [1] as well as a 
>> report descriptor for xbox one [2] found on github
>> [...]
> 
> Did you try webcamd from ports?
> 

I thought it was only for webcam :(

I just tried to use it
- cuse is loaded
- webcamd_enabled="YES" is set in rc.conf

usbconfig list:
ugen0.2: <Microsoft Controller> at usbus0, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON (500mA)

webcamd -l:
webcamd [-d ugen0.2] -N Microsoft-Controller -S 
3032363030323034343832383434 -M 0


No instance of webcamd for the xbox one s controller is running, so I tried:
webcamd -d ugen0.2
webcamd -N Microsoft-Controller -S 3032363030323034343832383434 -M 0


I got the message: "webcamd: Cannot find USB device"


-- 
Stephane D'Alu


More information about the freebsd-usb mailing list