2015-07-15 13:13:21

by Hanno Zulla

[permalink] [raw]
Subject: Motorola RZ100: How to add support for a new device?

Hi,

who can help me add support for the following device?

Being fairly ignorant of Bluetooth, I'm hoping for someone to guide me
through this, alternatively I'm willing to borrow my device to any
competent developer wanting to tackle this.


The "Motorola Smart Controller RZ100" is a combined telephony headset
and HID touchpad with four Android-specific buttons. It is designed to
work as a remote control for Motorola Android devices.

<https://motorola-global-portal.custhelp.com/app/product_page/faqs/p/1422,7975,8227>

<http://www.amazon.com/Motorola-Bluetooth-Smart-Controller-Android/dp/B0060EKFYG>

It is possible to pair this device with non-Motorola devices, but it
doesn't work there. When paired with a Moto G Android phone, it worked
out of the box.

<https://code.google.com/p/android/issues/detail?id=180029>

You can also check out the one-star reviews at Amazon (above) for a
bunch of non-Moto-users complaining about this.

Thanks,

Hanno


2015-07-23 10:04:29

by Hanno Zulla

[permalink] [raw]
Subject: Re: Motorola RZ100: How to add support for a new device?

Hi,

> If it's handled through the "normal" HIDP stack on Android, it should
> at least create a hidraw device in stock Linux (which you can check for
> in the dmesg output).
>
> You can then use hid-recorder to get the information from the device:
> http://bentiss.github.io/hid-replay-docs/
>
> And start a discussion on the linux-input list about adding support for
> it.

Thanks a lot, that helped!

hid-recorder does indeed catch events for it.

I'll go to linux-input with it.

Regards,

Hanno

2015-07-16 13:05:05

by Bastien Nocera

[permalink] [raw]
Subject: Re: Motorola RZ100: How to add support for a new device?

On Thu, 2015-07-16 at 14:43 +0200, Hanno Zulla wrote:
> Hi,
>
> > It might be missing a HID driver, but we can't help with Android
> > since
> > it doesn't use BlueZ anymore except if you are flashing with BlueZ
> > for
> > Android?
>
> I don't mind. While it'd be nice to nudge Google towards adding this
> driver to Android, I want to make it work with Linux desktop
> machines,
> as well.

If it's handled through the "normal" HIDP stack on Android, it should
at least create a hidraw device in stock Linux (which you can check for
in the dmesg output).

You can then use hid-recorder to get the information from the device:
http://bentiss.github.io/hid-replay-docs/

And start a discussion on the linux-input list about adding support for
it. Given the price of the device, you could always offer to buy one of
the linux-input developers one of them, I found that it's usually a
pretty good incentive :)

Cheers


2015-07-16 12:43:56

by Hanno Zulla

[permalink] [raw]
Subject: Re: Motorola RZ100: How to add support for a new device?

Hi,

> It might be missing a HID driver, but we can't help with Android since
> it doesn't use BlueZ anymore except if you are flashing with BlueZ for
> Android?

I don't mind. While it'd be nice to nudge Google towards adding this
driver to Android, I want to make it work with Linux desktop machines,
as well.

Regards,

Hanno

2015-07-16 12:25:33

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: Motorola RZ100: How to add support for a new device?

Hi Hanno,

On Wed, Jul 15, 2015 at 4:13 PM, Hanno Zulla <[email protected]> wrote:
> Hi,
>
> who can help me add support for the following device?
>
> Being fairly ignorant of Bluetooth, I'm hoping for someone to guide me
> through this, alternatively I'm willing to borrow my device to any
> competent developer wanting to tackle this.
>
>
> The "Motorola Smart Controller RZ100" is a combined telephony headset
> and HID touchpad with four Android-specific buttons. It is designed to
> work as a remote control for Motorola Android devices.
>
> <https://motorola-global-portal.custhelp.com/app/product_page/faqs/p/1422,7975,8227>
>
> <http://www.amazon.com/Motorola-Bluetooth-Smart-Controller-Android/dp/B0060EKFYG>
>
> It is possible to pair this device with non-Motorola devices, but it
> doesn't work there. When paired with a Moto G Android phone, it worked
> out of the box.
>
> <https://code.google.com/p/android/issues/detail?id=180029>
>
> You can also check out the one-star reviews at Amazon (above) for a
> bunch of non-Moto-users complaining about this.

It might be missing a HID driver, but we can't help with Android since
it doesn't use BlueZ anymore except if you are flashing with BlueZ for
Android?


--
Luiz Augusto von Dentz