Re: Hauppauge WinTV MiniStick IR in 2.6.36 - [PATCH]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2010-11-15 at 12:27 +0100, Richard Zidlicky wrote:
> Hi,
> 
> for some users (thats at least one user in Italy and me) the following is required:
> 
> --- linux-2.6.36/drivers/media/dvb/siano/sms-cards.c.rz 2010-11-15 11:16:56.000000000 +0100
> +++ linux-2.6.36/drivers/media/dvb/siano/sms-cards.c    2010-11-15 11:54:25.000000000 +0100
> @@ -17,6 +17,9 @@
>   *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
> +//#include <media/ir-kbd-i2c.h>
> +//#include <media/ir-core.h>
> +
>  #include "sms-cards.h"
>  #include "smsir.h"
>  
> @@ -64,7 +67,7 @@
>                 .type   = SMS_NOVA_B0,
>                 .fw[DEVICE_MODE_ISDBT_BDA] = "sms1xxx-hcw-55xxx-isdbt-02.fw",
>                 .fw[DEVICE_MODE_DVBT_BDA] = "sms1xxx-hcw-55xxx-dvbt-02.fw",
> -               .rc_codes = RC_MAP_RC5_HAUPPAUGE_NEW,
> +               .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
>                 .board_cfg.leds_power = 26,
>                 .board_cfg.led0 = 27,
>                 .board_cfg.led1 = 28,
> 
> What is the way to achieve the effect without recompiling the kernel - is there any?
> Could we combine the keymaps - as I understand it all RC5 maps could be combined into
> one huge map without any problems except memory usage?

You apparently can use the keytable program to twiddle sysfs nodes or
the /dev/input nodes, I think:

http://git.linuxtv.org/v4l-utils.git?a=tree;f=utils/keytable;h=e599a8b5288517fc7fe58d96f44f28030b04afbc;hb=HEAD

DocBook documentation source is here:
 
http://git.linuxtv.org/media_tree.git?a=tree;f=Documentation/DocBook/v4l;h=a3e5448a4703ef0bd35fc5910bd990b2a3ca306c;hb=staging/for_v2.6.37-rc1

Human readable documentation is here:

http://linuxtv.org/downloads/v4l-dvb-apis/v4ldvb_common.html

Regards,
Andy


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux