public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH] Fix PS3 BD remote "pairing"
Date: Fri, 10 Oct 2008 01:14:36 +0100	[thread overview]
Message-ID: <1223597676.22125.0.camel@snoogens.fab.redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 131 bytes --]

The PS3 BD remote doesn't really want to be paired, CreateDevice on
it will be enough to get the it connected and working.

Cheers

[-- Attachment #2: 0001-Fix-PS3-BD-remote-pairing.patch --]
[-- Type: text/x-patch, Size: 870 bytes --]

>From dd1c0184849b12bbda466a2f6bef3d5ff9a1b825 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Fri, 10 Oct 2008 01:12:18 +0100
Subject: [PATCH] Fix PS3 BD remote "pairing"

The PS3 BD remote doesn't really want to be paired, CreateDevice on
it will be enough to get the it connected and working.
---
 wizard/main.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/wizard/main.c b/wizard/main.c
index cf731e7..ef61f90 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -208,6 +208,10 @@ static void prepare_callback(GtkWidget *assistant,
 		if (target_type == BLUETOOTH_TYPE_MOUSE)
 			path = NULL;
 
+		/* PS3 BD Remote */
+		if (g_str_equal(target_name, "BD Remote Control") == TRUE)
+			path = NULL;
+
 		bluetooth_client_create_device(client, target_address,
 					path, create_callback, assistant);
 	}
-- 
1.6.0.1


             reply	other threads:[~2008-10-10  0:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-10  0:14 Bastien Nocera [this message]
2008-10-10 14:51 ` [PATCH] Fix PS3 BD remote "pairing" Marcel Holtmann

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=1223597676.22125.0.camel@snoogens.fab.redhat.com \
    --to=hadess@hadess.net \
    --cc=linux-bluetooth@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox