All of lore.kernel.org
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@gmail.com>
To: simon@mungewell.org
Cc: linux-bluetooth@vger.kernel.org,
	Veseli Veseljko <veseljko75@gmail.com>, Alex Gal <a.gal@miip.ca>,
	Laurence Brown <linux-bluetooth@protazoa.com>
Subject: Re: [PATCH 1/5] sixaxis: Fix PID for Navigation Controller
Date: Mon, 15 Jun 2015 22:02:17 +0200	[thread overview]
Message-ID: <1593424.6SLvHIYhAG@athlon> (raw)
In-Reply-To: <1690931.rDxa1ayEBf@athlon>

Hi,

On Monday 15 June 2015 21:47:24 Szymon Janc wrote:
> Hi Simon,
> 
> On Monday 15 June 2015 14:45:39 simon@mungewell.org wrote:
> > > Navigation Controller is using PID 0x042f over USB but PID 0x0268
> > > (same as Dualshock 3) over BT.
> > 
> > Hi,
> > I'm in the process of fixing the hid-sony driver to support the
> > Navigation, and I'm seeing that it connects with 0x042f over BT. I did see
> > at least once when it used the 0x0268, so it must be switching into an
> > emulation mode at some times.
> 
> I did some more testing and you are right, it seems to be connecting using
> both PIDs, but I couldn't figure out a pattern.
> 
> > I don't have a good way on initiating the pairing, instead used a
> > hacked-up 'psmovepair' from PSMoveAPI guys. Followed by some hand editing
> > of '/var/lib/bluetooth/<my-mac>/*' files.
> 
> Sixaxis plugin should work for setting up Navigation.
> 
> > Happy to share files/info with you,
> 
> So, I'm not sure how to handle this. At least for me it looks like
> Navigation works just fine if setup as 0x0268 even if connects as 0x042f.
> The opposite doesn't work.
> 
> Any thoughts?

OK, so we could left this as is now and allow to query SDP for Navigation 
regardless of PID used over BT. This way it will always provide updated PNP 
info to a driver. And SDP record would be provided only for devices 
identifying as DS3 over USB.

That way Navigation should work in same way it is working now and DS3 clones 
without SDP would also work.

-- 
Szymon K. Janc
szymon.janc@gmail.com

  reply	other threads:[~2015-06-15 20:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 18:28 [PATCH 0/5] sixaxis: Improved support for DualShock 3 clones Szymon Janc
2015-06-15 18:28 ` [PATCH 1/5] sixaxis: Fix PID for Navigation Controller Szymon Janc
2015-06-15 18:45   ` simon
2015-06-15 19:47     ` Szymon Janc
2015-06-15 20:02       ` Szymon Janc [this message]
2015-06-15 20:36       ` simon
2015-06-17  3:30       ` simon
2015-06-15 18:28 ` [PATCH 2/5] core/device: Add support for setting SDP record Szymon Janc
2015-06-15 18:28 ` [PATCH 3/5] sixaxis: Provide DualShock 3 SDP record while adding new device Szymon Janc
2015-06-15 18:28 ` [PATCH 4/5] profiles/input: Remove not needed sixaxis checks Szymon Janc
2015-06-15 18:28 ` [PATCH 5/5] sixaxis: Fix multi-line comments style Szymon Janc
2015-06-21  6:25 ` [PATCH 0/5] sixaxis: Improved support for DualShock 3 clones Laurence Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1593424.6SLvHIYhAG@athlon \
    --to=szymon.janc@gmail.com \
    --cc=a.gal@miip.ca \
    --cc=linux-bluetooth@protazoa.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=simon@mungewell.org \
    --cc=veseljko75@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.