[Cbe-oss-dev] [PATCH 0/2] Groundwork for Sixaxis paring into bluez.

Antonio Ospite ospite at studenti.unina.it
Fri May 21 00:07:27 EST 2010


On Thu, 20 May 2010 10:55:17 -0300
Raphael Rodrigues <rxonda at gmail.com> wrote:

> NQ (Noobie Question)
> Are you discussing a way to put on kernel module a native pairing
> bluetooth for sixaxis?
>

Only part of the pairing procedure –setting the master bdaddr– still
needs some kernel work so to not detach and reattach the usbhid driver.
The bluetooth pairing itself will be in bluez, tho.

The options for the needed kernel work are:
  1. Using the proposed sysfs interface
  2. Extending hidraw functionalities to our needs

1. is ready right now; 2. will take me some more time, but I guess it is
preferred as it is more generic.

> 
> On Thu, May 20, 2010 at 6:05 AM, Antonio Ospite
> <ospite at studenti.unina.it> wrote:
> > On Mon,  3 May 2010 22:15:54 +0200
> > Antonio Ospite <ospite at studenti.unina.it> wrote:
> >
> >> Hi,
> >>
> >
> > Ping.
> >
> >> These changes are in preparation of seamless integration of the Sixaxis
> >> pairing procedure into bluez. It was about time :)
> >>
> >> The first one cleans up the quirks handling.
> >>
> >
> > Even if the second patch in this series is not OK and extending hidraw
> > is the way, I still think that the first one can be accepted. Anyone?
> >
> >> The second one adds a sysfs interface to set and get the device and master
> >> bdaddr, this is needed in order to setup the host for pairing. This kernel
> >> interface is a mere workaround for the lack of features of hidraw[1], if
> >> someone wants to add the missing features to hidraw I will be happy to drop
> >> this one, otherwise consider queuing these for 2.6.35 if it's too late for
> >> 2.6.34.
> >>
> >> Thanks,
> >>    Antonio
> >>
> >> [1] http://www.spinics.net/lists/linux-input/msg08311.html
> >>
> >>
> >> Antonio Ospite (2):
> >>   hid/hid-sony: Apply sixaxis quirks only to sixaxis
> >>   hid/hid-sony: get and set Sixaxis bdaddr via sysfs
> >>
> >>  drivers/hid/hid-sony.c |  170 +++++++++++++++++++++++++++++++++++++++++++----
> >>  1 files changed, 155 insertions(+), 15 deletions(-)
> >>

-- 
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20100520/73c22421/attachment.pgp>


More information about the cbe-oss-dev mailing list