Re: [Bluez-devel] Sony PS3 sixaxis & bluez

Marcel Holtmann
2007-11-27T11:08:47Z

Hi Bastien,

> > 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.

please put the descriptor in the code. So we have it there for
reference.

> > > Attaching a new version of sixpair2.c that seems to work:
> > > sudo ./sixpair2 --store-info <local bdaddr>
> > >
> > > 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.

Once I get back home, I gonna test it. I am not traveling with my PS3
all the time ;)

However even a half ready "noinst" version might be a good start.

Regards

Marcel