Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2019 23:27:46 +0200
From:      Stephane D'Alu <sdalu@sdalu.com>
To:        Hans Petter Selasky <hps@selasky.org>, freebsd-usb@freebsd.org
Subject:   Re: xbox one controller
Message-ID:  <bc601ee7-076f-85a3-5a48-ab60c3980802@sdalu.com>
In-Reply-To: <77e98272-5a92-c962-58ad-c5fb5b1929da@selasky.org>
References:  <4effaa16-d02c-5054-46c5-6d9d581f7237@sdalu.com> <77e98272-5a92-c962-58ad-c5fb5b1929da@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bc601ee7-076f-85a3-5a48-ab60c3980802>