Re: [PATCH] Compro Videomate T750F Vista digital+analog support

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

 



> >HI!
> >
> >I just went to compro website and have seen that *f cards
> >have some identical MCE-alike but also slightly different remotes,
> >so we have to invent some better names to distinguish between
> >them (compro itself might have some names for them)
> >
> Tested your new patch with Gerd's input-events utility. input-events
> is reporting wrong key (KEY_MIN_INTERESTING) for KEY_MUTE, not sure
> why.

HI! Is at least tuner (and loading of the firmware) working now without 
preinitialization with windows?

About remote keys:
My evtest in debian is outdated (probably also your input-events). 
Not only it doesn't support all KEY_*s but also for some existing keys it 
reports the wrong names (like KEY_MIN_INTERESTING). 

Try it with xev, at least MUTE should work correctly there (reports XF86AudioMute).
However KEY_NUMERIC_* won't be recognized by xev because X11 doesn't map
them to anything by default

However only the input layer keycodes matter, we can ignore it's name interpreted 
by some application (every app may name it different or even wrong...).

The tools should be compiled against latest /usr/include/linux/input.h
and have all new key names there (and corrected some existing names).

My intention was to map remote key pictograms to most appropriate
event in latest kernel's input.h, avoiding PC keyboard ambiguity as
much as I can.

Because in the kernel they have expanded input.h with a number of new keys to 
better cover MCE remotes and new media keyboards, so you get those ??? for
old apps but the keycode numbers should still be correct according to the 
kernel's input layer. input layer Applications map key events to the keycode 
numbers, and have freedom to give any name to the key.

The KEY_PREVIOUS and KEY_NEXT are actually keys for prev page and
next page on the keyboard, used for scrolling text. PREVIOUSSONG 
NEXTSIONG are used to skip to songs and are also expanded to skipping
to video DVD chapters, so I thought they are more appropriate for the
remote pictograms "|<" ">|" at VCR key group. I wanted to avoid ambiguity
between keyboard events and remote, however I still have KEY_ENTER
and KEY_BACKSPACE and the cursors, which is in ambiguity to the
normal keyboard - any idea what to replace them with in MCE style?

I have no issue of mapping all current keys to VDR. If you have any real issue of
mapping keys to some other TV view application or to the linux console or X11, 
feel free to change them and suggest a patch

d.
--
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