[mythtv-users] OT: two new remotes

Nick Rout nick.rout at gmail.com
Mon Mar 19 07:34:55 UTC 2012


On Mon, Mar 19, 2012 at 2:50 AM, Mark Lord <mythtv at rtr.ca> wrote:
> On 12-01-13 04:22 PM, Saul A. Peebsen wrote:
>> On Fri, 13 Jan 2012 09:35:30 -0500
>> Mark Lord <mythtv at rtr.ca> wrote:
>>
>>> ..and for anyone looking for a more conventional remote control
>>> that is dead simple to setup in Mythtv (no LIRC!), I recommend
>>> this particular $13 (delivered!) unit to my friends:
>>>
>>> http://www.ebay.ca/itm/180727780787?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649
>>>
>>> Contrary to the advertising, it is NOT a Win-MCE remote control,
>>> but that's a "plus" in my books!  :)
>>>
>>> There is a "driver" for it in stock kernels, though it's pretty poor.
>>>
>>> So I've written my own input (keyboard) driver for it,
>>> and source code is available on request.  Installation is very
>>> very simple:  "make install", no reboot required.
>>> The driver is preconfigured with mythtv mappings for most keys.
>>
>> Most appreciated! I was in dire need of a remote that has more than 20
>> buttons (my current one). Just ordered one.
>
> This remote control continues to work well for us here
> on five separate mythtv installations now.
>
> I've updated the driver to now publish a /proc/sapphire entry
> with information about the last button pressed and how long it
> has been (seconds) since that event.  This info is useful for
> helping to decide whether or not to suspend an inactive front-end.
>
> We've also now verified that this remote control's "Power" button
> does indeed work as a "wake from suspend" button,
> provided one first enables it in /proc/acpi/wakeup.
>
> Latest driver at: http://rtr.ca/sapphire_remote/

Hi Mark, I get the following when trying to make install on ubuntu 10.04 (LTS)

nick at dell:~/Downloads/sapphire-1.2$ sudo make install
[sudo] password for nick:
make kmod
make[1]: Entering directory `/home/nick/Downloads/sapphire-1.2'
make -C /lib/modules/`uname -r`/build M=`pwd` modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-33-generic'
  CC [M]  /home/nick/Downloads/sapphire-1.2/sapphire.o
/home/nick/Downloads/sapphire-1.2/sapphire.c: In function ‘sapphire_probe’:
/home/nick/Downloads/sapphire-1.2/sapphire.c:317: error: implicit
declaration of function ‘hid_err’
make[3]: *** [/home/nick/Downloads/sapphire-1.2/sapphire.o] Error 1
make[2]: *** [_module_/home/nick/Downloads/sapphire-1.2] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-33-generic'
make[1]: *** [kmod] Error 2
make[1]: Leaving directory `/home/nick/Downloads/sapphire-1.2'
make: *** [sapphire.ko] Error 2


Any ideas why? Do I need to install the kernel source or are the headers enough?


More information about the mythtv-users mailing list