From owner-freebsd-usb@FreeBSD.ORG Sat Mar 13 11:56:13 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 B7346106567C for ; Sat, 13 Mar 2010 11:56:13 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f228.google.com (mail-ew0-f228.google.com [209.85.219.228]) by mx1.freebsd.org (Postfix) with ESMTP id 4D7AC8FC1F for ; Sat, 13 Mar 2010 11:56:12 +0000 (UTC) Received: by ewy28 with SMTP id 28so339733ewy.13 for ; Sat, 13 Mar 2010 03:56:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=PWAMzCC7Gs5cN6bhydE2POmNPpmo2NmVncbxqxKJZSE=; b=ptEvAy7+Jp5IdahaNkcESFY0hDxoBZLCz1njxEUdFbIaLNpsLO/SJyQtBScE2UW+ps xN5yX8FJMtJzLNajklPL9nE4hUl07K1qnF53HmsgX2mCA8M4hRNdYRRll4P8RdaoBlSI mAvMy+9TU15hlm6ZNFVQBPwmLDNMiRVB5tlhM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=acVSuHImg6IbnY6gWnnM46ea2xMR8DzzdkOtbx32RJt1aywsZgUAz8GPPJn6ZG8SMd /0AuJu2f5gQ7ynlO788Zl9F27Ak1QEmeVyQKQeXa2MbaX5R0thszZwq9svnyrR4j4lub 27UqLfs2d1AP4dtPLu9TI1HkE+igmyMHWiUgg= MIME-Version: 1.0 Received: by 10.213.97.24 with SMTP id j24mr3604301ebn.95.1268481372191; Sat, 13 Mar 2010 03:56:12 -0800 (PST) In-Reply-To: References: Date: Sat, 13 Mar 2010 12:56:12 +0100 Message-ID: <3a142e751003130356w2c91937dn5b60770b589d1e6f@mail.gmail.com> From: Paul B Mahol To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 Cc: 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, 13 Mar 2010 11:56:13 -0000 On 3/13/10, Alexander Best wrote: > i'm sorry to hijack this thread, but i've been having similar issues as > Vinicius with his PS3 controller with my logitech cordless gamepad. this is > the attach message: > > ugen3.3: at usbus3 > uhid0: addr > 3> on usbus3 > > the output of `usbhidctl -f /dev/uhid0 -r` is: > > Report descriptor: > Collection page=Generic_Desktop usage=Game_Pad > Total input size 0 bytes > Total output size 0 bytes > Total feature size 0 bytes > > if i do `hd /dev/uhid0` is see output like this when pressing buttons on the > gamepad: > > 00000000 01 78 72 88 69 08 00 01 01 80 7f 7f 80 18 00 00 > |.xr.i...........| > 00000010 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 00 00 > |................| > 00000020 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 28 00 00 > |.............(..| > 00000030 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 48 00 00 > |.............H..| > 00000040 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 88 00 00 > |................| > 00000050 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 01 00 > |................| > 00000060 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 02 00 > |................| > 00000070 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 04 00 > |................| > 00000080 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 08 00 > |................| > 00000090 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 10 00 > |................| > 000000a0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 08 20 00 |.............. > .| > 000000b0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 04 00 00 > |................| > 000000c0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 06 00 00 > |................| > 000000d0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 00 00 00 > |................| > 000000e0 01 80 7f 7f 80 08 00 00 01 80 7f 7f 80 02 00 00 > |................| > > the pad has 10 buttons, 1 analog stick, 2 digital sticks, a "mode" button > and > a "vibration" button. There was/is ujoy in development but that is all.