i'm trying to get y BD Remote to work.
this is what i have done so far:
installed bluez from git (as of yesterday)
configured it (i think)
when i:
hidd --search
i see the remote
by using udev rules i create /dev/bdremote (which links to
/dev/input/event<x>, for the correct <x>)
i can see the key presses on the remote being transmitted (using hcidump)
what i cannot do see is ny events occuring (by loading evbug)
i'm trying to get the events into lirc
i promise to write up the steps if i get it working
i'm running a pretty standard gentoo setup with kde (not gnome)
any help would be appreciated
--
simon
David Sainty wrote:
> Simon Kenyon wrote:
>> Bastien Nocera wrote:
>>>
>>> Pair it with the bluetooth-wizard and you can be on your way.
>>>
>>> Cheers
>>>
>>>
>> but when i run bluetooth-wizard nothing is shown
>
> In great excitement I rushed out and bought one of these :) A
> Bluetooth remote - brilliant! I might even think about buying a
> Playstation 3 to go with it :) Infrared is for suckers...
>
> In order to get it into pairing mode (and thus be able to see it from
> bluetooth-wizard) it looks like you need to press *AND HOLD* the
> "Enter" and "Start" buttons at the same time (for something like one
> second). The Fedora Wiki page is lamely unclear about that.
>
> Sadly I can't pair with it yet, pairing fails - for reasons I'll try
> and figure out later...
>
i did know that thanks
why is this so difficult?
i suspect all these suboptimal solutions like bdremoted are around
because people having been banging there head against a brick wall have
mostly given up on doing things the "correct" way and resort to
"anything that will work"
i really didn't want to do this as my focus was on mythtv, but i will
have to start hacking the bluetooth system (just like i had to do with
lirc before)
seems kind of crazy that all the snippets of bluetooth documentation is
spread all over the place and not on the bluez.org site. oh well.
--
simon
Bastien Nocera wrote:
> Then probably don't even have a bluetooth adapter setup, or no visible
> devices around.
>
but i do.
as i said previously, i can see the key presses coming from the ps3
remote if i use hcidump
what i don't know is how to configure things to get the events into the
input subsystem.
do you know what to do?
--
simon
Simon Kenyon wrote:
> Bastien Nocera wrote:
>>
>> Pair it with the bluetooth-wizard and you can be on your way.
>>
>> Cheers
>>
>>
> but when i run bluetooth-wizard nothing is shown
In great excitement I rushed out and bought one of these :) A Bluetooth
remote - brilliant! I might even think about buying a Playstation 3 to
go with it :) Infrared is for suckers...
In order to get it into pairing mode (and thus be able to see it from
bluetooth-wizard) it looks like you need to press *AND HOLD* the "Enter"
and "Start" buttons at the same time (for something like one second).
The Fedora Wiki page is lamely unclear about that.
Sadly I can't pair with it yet, pairing fails - for reasons I'll try and
figure out later...
On Thu, 2008-11-27 at 23:10 +0000, Simon Kenyon wrote:
> Bastien Nocera wrote:
> > On Thu, 2008-11-27 at 09:54 +0000, Simon Kenyon wrote:
> >
> >> i'm trying to get y BD Remote to work.
> >>
> >> this is what i have done so far:
> >>
> >> installed bluez from git (as of yesterday)
> >> configured it (i think)
> >> when i:
> >>
> >> hidd --search
> >>
> >> i see the remote
> >>
> >
> > Your remote won't work using hidd. There's no code in hidd to decode the
> > custom protocol.
> >
> > Pair it with the bluetooth-wizard and you can be on your way.
> >
> > Cheers
> >
> >
> but when i run bluetooth-wizard nothing is shown
Then probably don't even have a bluetooth adapter setup, or no visible
devices around.
To setup the remote:
https://fedoraproject.org/wiki/Documentation/Bluetooth#Remote_controls_.28PS3_Blu-Ray_remote.29
Bastien Nocera wrote:
> On Thu, 2008-11-27 at 09:54 +0000, Simon Kenyon wrote:
>
>> i'm trying to get y BD Remote to work.
>>
>> this is what i have done so far:
>>
>> installed bluez from git (as of yesterday)
>> configured it (i think)
>> when i:
>>
>> hidd --search
>>
>> i see the remote
>>
>
> Your remote won't work using hidd. There's no code in hidd to decode the
> custom protocol.
>
> Pair it with the bluetooth-wizard and you can be on your way.
>
> Cheers
>
>
but when i run bluetooth-wizard nothing is shown
Bastien Nocera wrote:
> It's working, it can talk to the computer and generates input layer
> events. Everything on top is minor niggles, and integration. And that
> doesn't just happen out of thin air.
>
i am running code from git which i fetched yesterday
so i have all the patches i believe
what do i have to do the generate input events?
i'm running bluetoothd. do i need to run hid2hci and if so, should the
option be -0 or -1?
i have bluez-gnome installed. is there any documentation to tell me how
to run them?
when i run bluetooth-wizard the list of devices is empty
evtest shows no events being generated
i only get an entry in /dev/input/ when i go hidd --search
is there some other way of doing that?
thanks in advance
--
simon
On Thu, 2008-11-27 at 12:17 +0100, Jelle de Jong wrote:
> Bastien Nocera wrote:
> > On Thu, 2008-11-27 at 11:59 +0100, Jelle de Jong wrote:
> > <snip>
> >> I talked to Marcel about the Sony BD Remote on the CELINUX event in the
> >> Netherlands. I took my Sony BD Remote with me to show some issues.
> >> Marcel did some on the fly coding to get the device connected, but there
> >> is missing an hid driver that maps the keys to an input event xorg can use.
> >>
> >> So the device is not working yet, until somebody creates a proper hid
> >> driver for the device to map the keys.
> >
> > Should just work with a (very) recent distro:
> > https://bugs.freedesktop.org/show_bug.cgi?id=16519
> >
> > This might be missing some keys in the X evdev keyboard map, although I
> > believe Peter already fixed this.
> >
> > And it should also just work using LIRC (which is how I got it to work
> > in the first place). Use gnome-lirc-properties to set it up.
> >
> > Cheers
>
> So does it create an input event that I can use with evtest and
> xbindkeys --key to add commands to the keys.
That's what the point of the patch was.
> I really really don't like
> all those gnome apps.... to get hardware working, hardware should be
> graphical destkop independent configured.
And that's what those apps do. If you want to configure the stuff by
hand, be my guest, but don't come complaining to me if you can't figure
out how to setup LIRC.
> A month ago the device was not
> working yet.
It's working, it can talk to the computer and generates input layer
events. Everything on top is minor niggles, and integration. And that
doesn't just happen out of thin air.
Bastien Nocera wrote:
> On Thu, 2008-11-27 at 11:59 +0100, Jelle de Jong wrote:
> <snip>
>> I talked to Marcel about the Sony BD Remote on the CELINUX event in the
>> Netherlands. I took my Sony BD Remote with me to show some issues.
>> Marcel did some on the fly coding to get the device connected, but there
>> is missing an hid driver that maps the keys to an input event xorg can use.
>>
>> So the device is not working yet, until somebody creates a proper hid
>> driver for the device to map the keys.
>
> Should just work with a (very) recent distro:
> https://bugs.freedesktop.org/show_bug.cgi?id=16519
>
> This might be missing some keys in the X evdev keyboard map, although I
> believe Peter already fixed this.
>
> And it should also just work using LIRC (which is how I got it to work
> in the first place). Use gnome-lirc-properties to set it up.
>
> Cheers
So does it create an input event that I can use with evtest and
xbindkeys --key to add commands to the keys. I really really don't like
all those gnome apps.... to get hardware working, hardware should be
graphical destkop independent configured. A month ago the device was not
working yet.
Best regards,
Jelle
On Thu, 2008-11-27 at 11:59 +0100, Jelle de Jong wrote:
<snip>
> I talked to Marcel about the Sony BD Remote on the CELINUX event in the
> Netherlands. I took my Sony BD Remote with me to show some issues.
> Marcel did some on the fly coding to get the device connected, but there
> is missing an hid driver that maps the keys to an input event xorg can use.
>
> So the device is not working yet, until somebody creates a proper hid
> driver for the device to map the keys.
Should just work with a (very) recent distro:
https://bugs.freedesktop.org/show_bug.cgi?id=16519
This might be missing some keys in the X evdev keyboard map, although I
believe Peter already fixed this.
And it should also just work using LIRC (which is how I got it to work
in the first place). Use gnome-lirc-properties to set it up.
Cheers
Simon Kenyon wrote:
> i'm trying to get y BD Remote to work.
>
> this is what i have done so far:
>
> installed bluez from git (as of yesterday)
> configured it (i think)
> when i:
>
> hidd --search
>
> i see the remote
>
> by using udev rules i create /dev/bdremote (which links to
> /dev/input/event<x>, for the correct <x>)
> i can see the key presses on the remote being transmitted (using hcidump)
>
> what i cannot do see is ny events occuring (by loading evbug)
> i'm trying to get the events into lirc
>
> i promise to write up the steps if i get it working
>
> i'm running a pretty standard gentoo setup with kde (not gnome)
>
> any help would be appreciated
> --
> simon
I talked to Marcel about the Sony BD Remote on the CELINUX event in the
Netherlands. I took my Sony BD Remote with me to show some issues.
Marcel did some on the fly coding to get the device connected, but there
is missing an hid driver that maps the keys to an input event xorg can use.
So the device is not working yet, until somebody creates a proper hid
driver for the device to map the keys.
I don't know if Marcel commited the code to make the device connect.
I spent far to much time trying to get this device working, there are a
few bug reports and some post on the archive from me about this subject...
Hope this information helps you understand.
Best regards,
Jelle
On Thu, 2008-11-27 at 09:54 +0000, Simon Kenyon wrote:
> i'm trying to get y BD Remote to work.
>
> this is what i have done so far:
>
> installed bluez from git (as of yesterday)
> configured it (i think)
> when i:
>
> hidd --search
>
> i see the remote
Your remote won't work using hidd. There's no code in hidd to decode the
custom protocol.
Pair it with the bluetooth-wizard and you can be on your way.
Cheers