From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Bastien Nocera To: BlueZ development In-Reply-To: <1196152368.17196.23.camel@aeonflux> References: <47477234.9010007@free.fr> <1195956126.10878.444.camel@cookie.hadess.net> <1196057724.4217.71.camel@aeonflux> <1196098681.10878.486.camel@cookie.hadess.net> <1196103584.10878.490.camel@cookie.hadess.net> <1196152368.17196.23.camel@aeonflux> Date: Tue, 27 Nov 2007 10:52:38 +0000 Message-Id: <1196160759.10878.504.camel@cookie.hadess.net> Mime-Version: 1.0 Subject: Re: [Bluez-devel] Sony PS3 sixaxis & bluez Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net On Tue, 2007-11-27 at 09:32 +0100, Marcel Holtmann wrote: > Hi Bastien, > > > > sixpair2.c has a couple of bugs: > > > - country is wrong > > > > Doesn't matter. > > > > > - version is wrong > > > > That was my mistake. > > > > > - report is missing 4 bytes > > > > Doesn't seem to matter. I think it might be hidd being broken... > > can you extract the full HID report descriptor from SDP and simply put > it statically into the code? I think that makes it easier. The report descriptor says length is 148 (in lsusb and my code) and my "truncated" version has 296 characters, so it look fine. > > Attaching a new version of sixpair2.c that seems to work: > > sudo ./sixpair2 --store-info > > > > It needs to be compiled from the input/ subdir of bluez-utils, using the > > command-line at the top of the file. > > I would like to include this one into the CVS. Can you get me a version > without GLib stuff? It is not really needed as I can tell. You only use > it for option parsing. You mentioned that already last time I sent the script. I'd really like to be sure it works as expected before I trim it though, so if you or Frederic could test it, I even have a udev rule, and some code to look at to implement using hiddev instead lsusb so the device doesn't disconnect on plugging it in. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel