2008-10-15 22:05:43

by Bastien Nocera

[permalink] [raw]
Subject: Re: [Bluez-devel] [PATCH] Re: Sony Bluetooth BD Remote Control

On Wed, 2008-10-15 at 20:02 +0200, Jelle de Jong wrote:
<snip>
> Thank you all for the patches and the support, after rebuilding
> everything and trying things out. The bluetooth-applet wizzard system
> tolled me it connected successfully. See the log below.
>
> However how can I know actually use the device? I tried xbindings --key
> to catch a key and bind it to something useful. I feel like I am back to
> point one with the old hidd system...

Then you need something that can listen to the event from the Linux
input layer device. On Fedora it will probably be through lirc, and
gnome-lirc-properties:
http://bugzilla.gnome.org/show_bug.cgi?id=555802

If your setup isn't customised, you should at least see some keys as
having keysyms under X. Launch xev and press the "Play" key.

But you'll see that something like lirc will be necessary to take full
advantage of the remote.

Cheers


-------------------------------------------------------------------------
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=/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2008-10-15 18:02:06

by Jelle de Jong

[permalink] [raw]
Subject: Re: [Bluez-devel] [PATCH] Re: Sony Bluetooth BD Remote Control

Marcel Holtmann wrote:
> Hi Bastien,
>
>>>> 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.
>
> I added the extra OUI. Thanks.
>
> Regards
>
> Marcel
>

Thank you all for the patches and the support, after rebuilding
everything and trying things out. The bluetooth-applet wizzard system
tolled me it connected successfully. See the log below.

However how can I know actually use the device? I tried xbindings --key
to catch a key and bind it to something useful. I feel like I am back to
point one with the old hidd system...

bluetoothd[10832]: Discovery session 0xb9409040 with :1.8 activated
bluetoothd[10832]: session_ref(0xb9409040): ref=1
bluetoothd[10832]: session_unref(0xb9409040): ref=0
bluetoothd[10832]: Discovery session 0xb9409040 with :1.8 deactivated
bluetoothd[10832]: Stopping discovery
bluetoothd[10832]: create_device(00:1E:3D:15:0A:4F)
bluetoothd[10832]: Creating device /org/bluez/hci0/dev_00_1E_3D_15_0A_4F
bluetoothd[10832]: adapter_get_device(00:1E:3D:15:0A:4F)
bluetoothd[10832]: Probe drivers for /org/bluez/hci0/dev_00_1E_3D_15_0A_4F
bluetoothd[10832]: hid_device_probe: path
/org/bluez/hci0/dev_00_1E_3D_15_0A_4F
bluetoothd[10832]: Registered interface org.bluez.Input on path
/org/bluez/hci0/dev_00_1E_3D_15_0A_4F

Best regards,

Jelle

-------------------------------------------------------------------------
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=/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2008-10-15 15:16:42

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] [PATCH] Re: Sony Bluetooth BD Remote Control

Hi Bastien,

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

I added the extra OUI. Thanks.

Regards

Marcel



-------------------------------------------------------------------------
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=/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2008-10-15 14:57:12

by Jelle de Jong

[permalink] [raw]
Subject: Re: [Bluez-devel] Sony Bluetooth BD Remote Control

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

I only used the hidd as extra testing after I tried the new way, I
cloned the git this morning and I saw the new commits. Can you see why
it does not want to connect? I attached all the debug log in my previous
mail, please help. (I am on a deadline to get this fully working before
the 20th 5 days remaining)

I only used hidd as extra testig and used /usr/sbin/bluetoothd with
/usr/bin/bluetooth-applet to connect to the remote but it would not
pair, please see the logs, if I can provide more or better information
please tell me how.

I can be contacted on chat.freenode.net as tuxcrafter, we can work on it
together if wanted.

Kind regards,

Jelle

-------------------------------------------------------------------------
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=/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2008-10-15 13:54:53

by Bastien Nocera

[permalink] [raw]
Subject: Re: [Bluez-devel] Sony Bluetooth BD Remote Control

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.

Cheers


-------------------------------------------------------------------------
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=/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2008-10-12 18:01:10

by Jelle de Jong

[permalink] [raw]
Subject: Re: [Bluez-devel] Sony Bluetooth BD Remote Control

Bastien Nocera wrote:
> On Sun, 2008-10-12 at 15:12 +0200, Jelle de Jong wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
> <snip>
>> Hello everybody,
>>
>> I bought a bluetooth remote for a bluetooth mobile system that I am
>> trying to built. (bluetooth remote, speakers, mouse, keyboard, headset, gps)
>>
>> However I can't get the device to work out of the box... I have found
>> some script and some tools on the internet but this is not very
>> maintainable (and I could not get it to work)
>>
>> I am wondering what is needed to create a good healthy maintainable
>> system to get the remote working out of the box after connecting to it
>> with bluez...? So how do we create out of the box support for bluetooth
>> devices?
>>
>> hidd[3688]: New HID device 00:1E:3D:15:0A:4F (Sony Computer
>
> There's no hidd support for the PS3 BD remote. Use bluez-{utils,libs}
> 3.36, or use the latest versions of bluez and bluez-gnome (and make sure
> your version has that patch[1]).
>
> And don't use that "Linux driver" horror that requires networking...
>
> [1]:
> http://git.kernel.org/?p=bluetooth/bluez-gnome.git;a=commit;h=c99b105989a216dd4565228ba7dc3b2702f4a6ad
>

Thank you for the information,

I currently use bluez-utils_3.36-2_i386.deb and bluetooth_3.36-2_all.deb
on my debian sid system this is version 3.36 as suggested. I don't know
if the patch is applied on the package. Should the device have worked on
my system?

But I am kind of curious what is needed to get such device working in
the source code and how keys are mapped.

Kind regards,

Jelle



-------------------------------------------------------------------------
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=/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2008-10-12 13:49:20

by Bastien Nocera

[permalink] [raw]
Subject: Re: [Bluez-devel] Sony Bluetooth BD Remote Control

On Sun, 2008-10-12 at 15:12 +0200, Jelle de Jong wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
<snip>
> Hello everybody,
>
> I bought a bluetooth remote for a bluetooth mobile system that I am
> trying to built. (bluetooth remote, speakers, mouse, keyboard, headset, gps)
>
> However I can't get the device to work out of the box... I have found
> some script and some tools on the internet but this is not very
> maintainable (and I could not get it to work)
>
> I am wondering what is needed to create a good healthy maintainable
> system to get the remote working out of the box after connecting to it
> with bluez...? So how do we create out of the box support for bluetooth
> devices?
>
> hidd[3688]: New HID device 00:1E:3D:15:0A:4F (Sony Computer

There's no hidd support for the PS3 BD remote. Use bluez-{utils,libs}
3.36, or use the latest versions of bluez and bluez-gnome (and make sure
your version has that patch[1]).

And don't use that "Linux driver" horror that requires networking...

[1]:
http://git.kernel.org/?p=bluetooth/bluez-gnome.git;a=commit;h=c99b105989a216dd4565228ba7dc3b2702f4a6ad


-------------------------------------------------------------------------
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=/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel