Date: Mon, 24 Jun 2019 23:37:43 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Stephane D'Alu <sdalu@sdalu.com>, freebsd-usb@freebsd.org Subject: Re: xbox one controller Message-ID: <4b7169ec-3bca-4eb3-a191-1d74cd7cb120@selasky.org> In-Reply-To: <bc601ee7-076f-85a3-5a48-ab60c3980802@sdalu.com> References: <4effaa16-d02c-5054-46c5-6d9d581f7237@sdalu.com> <77e98272-5a92-c962-58ad-c5fb5b1929da@selasky.org> <bc601ee7-076f-85a3-5a48-ab60c3980802@sdalu.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-06-24 23:27, Stephane D'Alu wrote: > 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" > You can grep the webcamd sources for idProduct and idVendor . Maybe you need some config option set for that. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4b7169ec-3bca-4eb3-a191-1d74cd7cb120>