From: Bastien Nocera <hadess@hadess.net>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] [PATCH] Re: Sony Bluetooth BD Remote Control
Date: Wed, 15 Oct 2008 16:09:25 +0100 [thread overview]
Message-ID: <1224083365.5268.3130.camel@cookie.hadess.net> (raw)
In-Reply-To: <1224078893.5268.2962.camel@cookie.hadess.net>
[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]
On Wed, 2008-10-15 at 14:54 +0100, Bastien Nocera wrote:
> On Wed, 2008-10-15 at 14:51 +0200, Jelle de Jong wrote:
> <snip>
> > I have been working hard to get the bluetooth remote working, but
> > without success. I build new non official debian packages of the latest
> > git. I installed them with success. Loaded the new daemon tried to
> > connect with the bluetooth-wizard but it will not pair/connect. With the
> > hidd system is does connect but the situation is exactly the same as
> > with the ordinal report.
> >
> > What commands are needed to get the device working? I would like to be
> > able to use xbindings --key to attach commands/keybindings to the keys.
> >
> > See the attachment for all the steps I did, the new trials are on the
> > end of the documents.
>
> I mentioned it in the past, I'll mention it again: DO NOT USE HIDD.
>
> It doesn't have support for the PS3 BD remote. Make sure you have the
> latest git, I fixed the input event generation for the remote yesterday.
As it's just the pairing that doesn't work, the bug was in the wizard.
The code to restrict the PS3 detection to a particular OUI was causing
problems.
Patch attached.
[-- Attachment #2: 0001-Add-another-OUI-for-the-PS3-BD-Remote.patch --]
[-- Type: text/x-patch, Size: 938 bytes --]
>>From f774ba3252faf2eb49374f53b6c1d3883a99f45b Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 15 Oct 2008 16:07:38 +0100
Subject: [PATCH] Add another OUI for the PS3 BD Remote
Should fix pairing for this type of remote:
http://thread.gmane.org/gmane.linux.bluez.devel/16132/focus=16143
---
wizard/main.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/wizard/main.c b/wizard/main.c
index 0854913..aba800b 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -209,7 +209,8 @@ static void prepare_callback(GtkWidget *assistant,
path = NULL;
/* Sony PlayStation 3 Remote Control */
- if (g_str_has_prefix(target_address, "00:19:C1:") == TRUE &&
+ if ((g_str_has_prefix(target_address, "00:19:C1:") == TRUE ||
+ g_str_has_prefix(target_address, "00:1E:3D:") == TRUE) &&
g_str_equal(target_name,
"BD Remote Control") == TRUE)
path = NULL;
--
1.5.5.2
[-- Attachment #3: Type: text/plain, Size: 363 bytes --]
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2008-10-15 15:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-12 13:12 [Bluez-devel] Sony Bluetooth BD Remote Control Jelle de Jong
2008-10-12 13:49 ` Bastien Nocera
2008-10-12 18:01 ` Jelle de Jong
2008-10-15 12:51 ` Jelle de Jong
2008-10-15 13:54 ` Bastien Nocera
2008-10-15 14:57 ` Jelle de Jong
2008-10-15 15:09 ` Bastien Nocera [this message]
2008-10-15 15:16 ` [Bluez-devel] [PATCH] " Marcel Holtmann
2008-10-15 18:02 ` Jelle de Jong
2008-10-15 22:05 ` Bastien Nocera
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=1224083365.5268.3130.camel@cookie.hadess.net \
--to=hadess@hadess.net \
--cc=bluez-devel@lists.sourceforge.net \
/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