On Mon, Mar 19, 2012 at 2:50 AM, Mark Lord <firstname.lastname@example.org> wrote: > On 12-01-13 04:22 PM, Saul A. Peebsen wrote:
>> On Fri, 13 Jan 2012 09:35:30 -0500
>> Mark Lord <email@example.com> 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:
>>> 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@dell:~/Downloads/sapphire-1.2$ sudo make install
[sudo] password for nick:
make: Entering directory `/home/nick/Downloads/sapphire-1.2'
make -C /lib/modules/`uname -r`/build M=`pwd` modules
make: 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: *** [/home/nick/Downloads/sapphire-1.2/sapphire.o] Error 1
make: *** [_module_/home/nick/Downloads/sapphire-1.2] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.32-33-generic'
make: *** [kmod] Error 2
make: 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?
mythtv-users mailing list