From owner-freebsd-usb@FreeBSD.ORG Sat Jan 30 22:40:15 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4067106566B; Sat, 30 Jan 2010 22:40:15 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.104.116]) by mx1.freebsd.org (Postfix) with ESMTP id 7623C8FC0C; Sat, 30 Jan 2010 22:40:15 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NbLyv-000335-Bz; Sun, 31 Jan 2010 01:39:57 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 5724EB84D; Sun, 31 Jan 2010 01:40:13 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id D0CEDB829; Sun, 31 Jan 2010 01:40:12 +0300 (MSK) Date: Sun, 31 Jan 2010 01:40:12 +0300 From: Dmitry Marakasov To: Vinicius Abrahao Message-ID: <20100130224012.GE7854@hades.panopticon> References: <1e31c7981001301212w4b787795j1e22837342faee5a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1e31c7981001301212w4b787795j1e22837342faee5a@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, x11@freebsd.org, daimler3@gmail.com, freebsd-usb@freebsd.org Subject: Re: PS3's Joystick on FreeBSD (can be possible?) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jan 2010 22:40:15 -0000 * Vinicius Abrahao (vinnix.bsd@gmail.com) wrote: > I'm finally having some time to have fun with my FreeBSD. :-) > Do you know about any progress with joystick supports? > > Here I have a PS3 controller, and have some time to help with tests > and little coding. > ugen1.5: at usbus1 > uhid0: addr 5> on usbus1 > > Is somebody working with it? > > http://wiki.freebsd.org/DmitryMarakasov > .................................................. (Dmitry, do you > need any help?) No, I just need more free time to finally get to it. Actually, if it's attached as uhid, it may already work in e.g. SDL games. If it doesn't, it - Uses some non-standart report (i.e. reporting buttons/axes as 'vendor-specific' values, which software doesn't know how to deal with). In this case the report should be analyzed and a simple wrapper driver may be written) - Is the same case as with my M$ joystick, which uses standart, but a just a bit unusual report, which e.g. SDL is unable to parse. This should be fixed by my long-planned rewrite of HID parser for SDL, which will also be useable in OIS and possibly other libs. Let's start with usbhidctl -f /dev/uhid0 -r -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru