Re: Almost got remote working with my "Winfast tv usb II Deluxe" box

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

 



On Sunday 25 of October 2009 at 21:44:20, Magnus Alm wrote:
> Hi!

Hi Magnus,

> This is on Ubuntu 9.04, kernel 2.6.28-16.
> I get the following in dmesg when pressing channel down on my remote:
>
> [ 3517.984559] : unknown key: key=0x90 raw=0x90 down=1
> [ 3518.096558] : unknown key: key=0x90 raw=0x90 down=0
>
> That should correspond with the following row in my keytable in ir-keymaps:
>
> 	{ 0x90, KEY_CHANNELDOWN},	/* CHANNELDOWN */
>

That is right. The "unknown key" gives a hint for your keymap. After you 
define all keys, you should fully enjoy your remote control.

> Do I need to configure lirc also?

The keys are emitted via the evdev subsystem, so the remote control behaves 
like a normal keyboard (when you press "1" you should see "1" on the console 
too). Either you will learn your application to directly understand the key 
presses (just change it's keyboard shortcuts), or you can use the lirc's 
devinput driver (it reads keypresses from evdev) and do it via lirc. It's up 
to you.

Oldrich.

> But since something responds (ir-common ?) to my pressing on the
> remote I thought it shouldn't be necessary.
>
> /Magnus
> --
> 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
--
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