Compro VideoMate Vista M1F

From LinuxTVWiki

Jump to: navigation, search
Compro VideoMate Vista M1F

An Analog TV PCI card from Compro Technology.

Contents

Overview/Features

  • PCI interface
  • Inputs:
    • Antenna/Cable
    • Composite
    • S-Video In
    • FM antenna
    • Remote control IR receiver
    • Stereo audio input

Components Used

Compro-VideoMate-Vista-M1F.png

(the labels in parenthesis are the ones used in the layout schematic image to the right)

  • NXP/Philips SAA7135HS/203 -- A/V decoder and PCI Interface (IC1)
  • EM78P156LMJ -- 8 bits microprocessor? (IC2)
  • TDA 9801T -- VIF-PLL demodulator & FM-PLL (IC3)
  • TEA 5767 -- FM tuning (IC4)
  • 4.0F8E -- Crystal oscilator (XT1)
  • 32 110 BLX -- Crystal oscilator (XT2)
  • X4.58 -- filter? (FLT1)
  • Tvision TVF85P4-AF-XG-M -- tuner (SINT) -- Manufactured by YMEC http://www.ymec.com.tw -- According to this review at a Russian site, the similarly-named TVF85P4-AF-XG is powered by the TDA 6509A 3-band mixer/oscillator and PLL for terrestrial tuner.

Other Images

Identification

# lspci -vvvnn
01:07.0 Multimedia controller [0480]: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev d1)
       Subsystem: Compro Technology, Inc. VideoMate T750 [185b:c900]
       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
       Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 64 (21000ns min, 8000ns max)
       Interrupt: pin A routed to IRQ 17
       Region 0: Memory at feaff800 (32-bit, non-prefetchable) [size=2K]
       Capabilities: [40] Power Management version 2
               Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
       Kernel driver in use: saa7134

Making it Work

Support for this card has been added to the 'saa7134' V4L2 driver included with mainline Linux kernel starting with version 2.6.38 so no more kernel source patching/compilation is needed. Major Linux distributions will be shipping this kernel in the first half of 2011.

The identifier assigned to this card in the 'saa7134' driver is 183.

  • Video: Works (tested with PAL-Nc cable signal) -- Load manually the 'saa7134' module with 'modprobe saa7134 card=183' or add 'options saa7134 card=183' to a modutils configuration file.
  • Sound: Works (see Sound below)
  • Remote Control: Works (see Remote Control below) --
  • FM Radio: Doesn't work (yet)

Firmware

No firmware is needed for this card.

Drivers

See Making it Work above.

Sample Kernel Output

Dmesg output when loading the 'saa7134' module with the 'card=183' option:

[    4.966876] Linux video capture interface: v2.00
[    5.067444] saa7130/34: v4l2 driver version 0.2.16 loaded
[    5.067610] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 17
[    5.067622] saa7134 0000:01:07.0: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17
[    5.067628] saa7133[0]: found at 0000:01:07.0, rev: 209, irq: 17, latency: 64, mmio: 0xfeaff800
[    5.067632] saa7133[0]: subsystem: 185b:c900, board: Compro VideoMate Vista M1F [card=183,insmod option]
[    5.067649] saa7133[0]: board init: gpio is 63f00
[    5.101778] IR NEC protocol handler initialized
[    5.116045] Registered IR keymap rc-videomate-m1f
[    5.116118] input: saa7134 IR (Compro VideoMate Vi as /devices/pci0000:00/0000:00:08.0/0000:01:07.0/rc/rc0/input6
[    5.116163] rc0: saa7134 IR (Compro VideoMate Vi as /devices/pci0000:00/0000:00:08.0/0000:01:07.0/rc/rc0
[    5.217444] IR RC5(x) protocol handler initialized
[    5.223031] IR RC6 protocol handler initialized
[    5.257022] saa7133[0]: i2c eeprom 00: 5b 18 00 c9 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[    5.257028] saa7133[0]: i2c eeprom 10: 00 ff 86 0f ff 20 ff ff ff ff ff ff ff ff ff ff
[    5.257034] saa7133[0]: i2c eeprom 20: 01 40 01 02 02 03 01 03 08 ff 00 89 ff ff ff ff
[    5.257039] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    5.257043] saa7133[0]: i2c eeprom 40: ff da 00 c6 86 ff ff ff 03 ff ff ff c6 ff 04 11
[    5.257048] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff cb
[    5.257053] saa7133[0]: i2c eeprom 60: 35 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    5.257057] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    5.257062] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    5.257067] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    5.257071] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    5.257076] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    5.257081] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    5.257085] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    5.257090] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    5.257094] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    5.267865] IR JVC protocol handler initialized
[    5.324646] i2c-core: driver [tuner] using legacy suspend method
[    5.324648] i2c-core: driver [tuner] using legacy resume method
[    5.460478] IR Sony protocol handler initialized
[    5.634284] lirc_dev: IR Remote Control driver registered, major 251
[    5.675074] tuner 1-0060: chip found @ 0xc0 (saa7133[0])
[    5.675122] tea5767 1-0060: type set to Philips TEA5767HN FM Radio
[    5.680053] tuner 1-0063: chip found @ 0xc6 (saa7133[0])
[    5.680109] tea5767 1-0060: type set to Philips TEA5767HN FM Radio
[    5.786348] IR LIRC bridge handler initialized
[    6.052027] tuner-simple 1-0063: creating new instance
[    6.052030] tuner-simple 1-0063: type set to 37 (LG PAL (newer TAPC series))
[    6.062241] saa7133[0]: dsp access error
[    6.062243] saa7133[0]: dsp access error
[    6.062389] saa7133[0]: registered device video0 [v4l2]
[    6.062410] saa7133[0]: registered device vbi0
[    6.062429] saa7133[0]: registered device radio0
[    6.139996] saa7134 ALSA driver for DMA sound loaded
[    6.140020] saa7133[0]/alsa: saa7133[0] at 0xfeaff800 irq 17 registered as card -1

Sound

This card doesn't need an audio cable to be connected between it and the system sound card (although it can be done because there is a green output plug for this purpose in the PCB). The audio signal transfer is done in digital format through the PCI bus.

mplayer

Make sure you use the 'alsa', 'adevice=...' and 'immediatemode=0' options for the '-tv' command line switch to specify the sound capture device from which mplayer should pull the data, e.g.:

$ mplayer tv:// -tv alsa:adevice=hw.2:immediatemode=0

You can get the value for 'adevice' by listing your ALSA capture device with 'arecord', e.g.:

$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708B Analog [VT1708B Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 2: SAA7134 [SAA7134], device 0: SAA7134 PCM [SAA7134 PCM]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Replace the ':' character with '.' ('hw:2' -> 'hw.2').

tvtime

Tvtime doesn't have support for controlling the sound ALSA devices. I still haven't tried using any of the ALSA-OSS compatibility solutions available.

Remote Control

The remote control included is Windows Media Center-certified, it uses the RC-6 protocol. It is the same as the one included with the K100 kit sold by Compro but with a receiver integrated into the card instead of an USB one.

Support is implemented through the Linux kernel input layer. The kernel driver module name is 'rc_videomate_m1f'.

There are two choices to get this RC working on Linux:

  • Using inputlirc that provides an instant-gratification-no-need-to-munge-with-weird-config-files experience. It is a small daemon that reads data from the Linux input layer and emulates LIRC (it even creates the same Unix socket and apps can connect to it)
  • Using LIRC, this is how I've set it up:

File: /etc/lirc/hardware.conf:

# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false

#Don't start irexec, even if a good config file seems to exist.
#START_IREXEC=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="devinput"
DEVICE="/dev/input/ir"
MODULES=""

# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""

File: /etc/lirc/lircd.conf:

# generated by devinput.sh
begin remote
        name            devinput
        bits            16
        eps             30
        aeps            100
        pre_data_bits   16
        pre_data        0x0001
        post_data_bits  32
        post_data       0x00000001
        gap             132799
        toggle_bit      0

	begin codes
		KEY_0			11
		KEY_102ND		86
		KEY_1			2
		KEY_2			3
		KEY_3			4
		KEY_4			5
		KEY_5			6
		KEY_6			7
		KEY_7			8
		KEY_8			9
		KEY_9			10
		KEY_A			30
		KEY_AB			0x196
		KEY_ADDRESSBOOK		0x1ad
		KEY_AGAIN		129
		KEY_ALTERASE		222
		KEY_ANGLE		0x173
		KEY_APOSTROPHE		40
		KEY_ARCHIVE		0x169
		KEY_AUDIO		0x188
		KEY_AUX			0x186
		KEY_B			48
		KEY_BACK		158
		KEY_BACKSLASH		43
		KEY_BACKSPACE		14
		KEY_BASSBOOST		209
		KEY_BATTERY		236
		KEY_BLUE		0x191
		KEY_BLUETOOTH		237
		KEY_BOOKMARKS		156
		KEY_BREAK		0x19b
		KEY_BRIGHTNESS_CYCLE	243
		KEY_BRIGHTNESSDOWN	224
		KEY_BRIGHTNESSUP	225
		KEY_BRIGHTNESS_ZERO	244
		KEY_BRL_DOT10		0x1fa
		KEY_BRL_DOT1		0x1f1
		KEY_BRL_DOT2		0x1f2
		KEY_BRL_DOT3		0x1f3
		KEY_BRL_DOT4		0x1f4
		KEY_BRL_DOT5		0x1f5
		KEY_BRL_DOT6		0x1f6
		KEY_BRL_DOT7		0x1f7
		KEY_BRL_DOT8		0x1f8
		KEY_BRL_DOT9		0x1f9
		KEY_C			46
		KEY_CALC		140
		KEY_CALENDAR		0x18d
		KEY_CAMERA		212
		KEY_CAMERA_FOCUS	0x210
		KEY_CANCEL		223
		KEY_CAPSLOCK		58
		KEY_CD			0x17f
		KEY_CHANNEL		0x16b
		KEY_CHANNELDOWN		0x193
		KEY_CHANNELUP		0x192
		KEY_CHAT		216
		KEY_CLEAR		0x163
		KEY_CLOSE		206
		KEY_CLOSECD		160
		KEY_COFFEE		152
		KEY_COMMA		51
		KEY_COMPOSE		127
		KEY_COMPUTER		157
		KEY_CONFIG		171
		KEY_CONNECT		218
		KEY_CONTEXT_MENU	0x1b6
		KEY_COPY		133
		KEY_CUT			137
		KEY_CYCLEWINDOWS	154
		KEY_D			32
		KEY_DASHBOARD		204
		KEY_DATABASE		0x1aa
		KEY_DEL_EOL		0x1c0
		KEY_DEL_EOS		0x1c1
		KEY_DELETE		111
		KEY_DELETEFILE		146
		KEY_DEL_LINE		0x1c3
		KEY_DIGITS		0x19d
		KEY_DIRECTION		153
		KEY_DIRECTORY		0x18a
		KEY_DISPLAY_OFF		245
		KEY_DISPLAYTOGGLE	0x1af
		KEY_DOCUMENTS		235
		KEY_DOLLAR		0x1b2
		KEY_DOT			52
		KEY_DOWN		108
		KEY_DVD			0x185
		KEY_E			18
		KEY_EDIT		176
		KEY_EDITOR		0x1a6
		KEY_EJECTCD		161
		KEY_EJECTCLOSECD	162
		KEY_EMAIL		215
		KEY_END			107
		KEY_ENTER		28
		KEY_EPG			0x16d
		KEY_EQUAL		13
		KEY_ESC			1
		KEY_EURO		0x1b3
		KEY_EXIT		174
		KEY_F10			68
		KEY_F11			87
		KEY_F12			88
		KEY_F13			183
		KEY_F14			184
		KEY_F15			185
		KEY_F1			59
		KEY_F16			186
		KEY_F17			187
		KEY_F18			188
		KEY_F19			189
		KEY_F20			190
		KEY_F21			191
		KEY_F22			192
		KEY_F23			193
		KEY_F24			194
		KEY_F2			60
		KEY_F			33
		KEY_F3			61
		KEY_F4			62
		KEY_F5			63
		KEY_F6			64
		KEY_F7			65
		KEY_F8			66
		KEY_F9			67
		KEY_FASTFORWARD		208
		KEY_FAVORITES		0x16c
		KEY_FILE		144
		KEY_FINANCE		219
		KEY_FIND		136
		KEY_FIRST		0x194
		KEY_FN			0x1d0
		KEY_FN_1		0x1de
		KEY_FN_2		0x1df
		KEY_FN_B		0x1e4
		KEY_FN_D		0x1e0
		KEY_FN_E		0x1e1
		KEY_FN_ESC		0x1d1
		KEY_FN_F		0x1e2
		KEY_FN_F10		0x1db
		KEY_FN_F1		0x1d2
		KEY_FN_F11		0x1dc
		KEY_FN_F12		0x1dd
		KEY_FN_F2		0x1d3
		KEY_FN_F3		0x1d4
		KEY_FN_F4		0x1d5
		KEY_FN_F5		0x1d6
		KEY_FN_F6		0x1d7
		KEY_FN_F7		0x1d8
		KEY_FN_F8		0x1d9
		KEY_FN_F9		0x1da
		KEY_FN_S		0x1e3
		KEY_FORWARD		159
		KEY_FORWARDMAIL		233
		KEY_FRAMEBACK		0x1b4
		KEY_FRAMEFORWARD	0x1b5
		KEY_FRONT		132
		KEY_G			34
		KEY_GAMES		0x1a1
		KEY_GOTO		0x162
		KEY_GRAPHICSEDITOR	0x1a8
		KEY_GRAVE		41
		KEY_GREEN		0x18f
		KEY_H			35
		KEY_HANGEUL		122
		KEY_HANJA		123
		KEY_HELP		138
		KEY_HENKAN		92
		KEY_HIRAGANA		91
		KEY_HOME		102
		KEY_HOMEPAGE		172
		KEY_HP			211
		KEY_I			23
		KEY_INFO		0x166
		KEY_INSERT		110
		KEY_INS_LINE		0x1c2
		KEY_ISO			170
		KEY_J			36
		KEY_K			37
		KEY_KATAKANA		90
		KEY_KATAKANAHIRAGANA	93
		KEY_KBDILLUMDOWN	229
		KEY_KBDILLUMTOGGLE	228
		KEY_KBDILLUMUP		230
		KEY_KEYBOARD		0x176
		KEY_KP0			82
		KEY_KP1			79
		KEY_KP2			80
		KEY_KP3			81
		KEY_KP4			75
		KEY_KP5			76
		KEY_KP6			77
		KEY_KP7			71
		KEY_KP8			72
		KEY_KP9			73
		KEY_KPASTERISK		55
		KEY_KPCOMMA		121
		KEY_KPDOT		83
		KEY_KPENTER		96
		KEY_KPEQUAL		117
		KEY_KPJPCOMMA		95
		KEY_KPLEFTPAREN		179
		KEY_KPMINUS		74
		KEY_KPPLUS		78
		KEY_KPPLUSMINUS		118
		KEY_KPRIGHTPAREN	180
		KEY_KPSLASH		98
		KEY_L			38
		KEY_LANGUAGE		0x170
		KEY_LAST		0x195
		KEY_LEFT		105
		KEY_LEFTALT		56
		KEY_LEFTBRACE		26
		KEY_LEFTCTRL		29
		KEY_LEFTMETA		125
		KEY_LEFTSHIFT		42
		KEY_LINEFEED		101
		KEY_LIST		0x18b
		KEY_LOGOFF		0x1b1
		KEY_M			50
		KEY_MACRO		112
		KEY_MAIL		155
		KEY_MAX			0x2ff
		KEY_MEDIA		226
		KEY_MEDIA_REPEAT	0x1b7
		KEY_MEMO		0x18c
		KEY_MENU		139
		KEY_MESSENGER		0x1ae
		KEY_MHP			0x16f
		KEY_MINUS		12
		KEY_MODE		0x175
		KEY_MOVE		175
		KEY_MP3			0x187
		KEY_MSDOS		151
		KEY_MUHENKAN		94
		KEY_MUTE		113
		KEY_N			49
		KEY_NEW			181
		KEY_NEWS		0x1ab
		KEY_NEXT		0x197
		KEY_NEXTSONG		163
		KEY_NUMERIC_0		0x200
		KEY_NUMERIC_1		0x201
		KEY_NUMERIC_2		0x202
		KEY_NUMERIC_3		0x203
		KEY_NUMERIC_4		0x204
		KEY_NUMERIC_5		0x205
		KEY_NUMERIC_6		0x206
		KEY_NUMERIC_7		0x207
		KEY_NUMERIC_8		0x208
		KEY_NUMERIC_9		0x209
		KEY_NUMERIC_POUND	0x20b
		KEY_NUMERIC_STAR	0x20a
		KEY_NUMLOCK		69
		KEY_O			24
		KEY_OK			0x160
		KEY_OPEN		134
		KEY_OPTION		0x165
		KEY_P			25
		KEY_PAGEDOWN		109
		KEY_PAGEUP		104
		KEY_PASTE		135
		KEY_PAUSE		119
		KEY_PAUSECD		201
		KEY_PC			0x178
		KEY_PHONE		169
		KEY_PLAY		207
		KEY_PLAYCD		200
		KEY_PLAYER		0x183
		KEY_PLAYPAUSE		164
		KEY_POWER		116
		KEY_POWER2		0x164
		KEY_PRESENTATION	0x1a9
		KEY_PREVIOUS		0x19c
		KEY_PREVIOUSSONG	165
		KEY_PRINT		210
		KEY_PROG1		148
		KEY_PROG2		149
		KEY_PROG3		202
		KEY_PROG4		203
		KEY_PROGRAM		0x16a
		KEY_PROPS		130
		KEY_PVR			0x16e
		KEY_Q			16
		KEY_QUESTION		214
		KEY_R			19
		KEY_RADIO		0x181
		KEY_RECORD		167
		KEY_RED			0x18e
		KEY_REDO		182
		KEY_REFRESH		173
		KEY_REPLY		232
		KEY_RESERVED		0
		KEY_RESTART		0x198
		KEY_REWIND		168
		KEY_RFKILL		247
		KEY_RIGHT		106
		KEY_RIGHTALT		100
		KEY_RIGHTBRACE		27
		KEY_RIGHTCTRL		97
		KEY_RIGHTMETA		126
		KEY_RIGHTSHIFT		54
		KEY_RO			89
		KEY_S			31
		KEY_SAT			0x17d
		KEY_SAT2		0x17e
		KEY_SAVE		234
		KEY_SCALE		120
		KEY_SCREEN		0x177
		KEY_SCROLLDOWN		178
		KEY_SCROLLLOCK		70
		KEY_SCROLLUP		177
		KEY_SEARCH		217
		KEY_SELECT		0x161
		KEY_SEMICOLON		39
		KEY_SEND		231
		KEY_SENDFILE		145
		KEY_SETUP		141
		KEY_SHOP		221
		KEY_SHUFFLE		0x19a
		KEY_SLASH		53
		KEY_SLEEP		142
		KEY_SLOW		0x199
		KEY_SOUND		213
		KEY_SPACE		57
		KEY_SPELLCHECK		0x1b0
		KEY_SPORT		220
		KEY_SPREADSHEET		0x1a7
		KEY_STOP		128
		KEY_STOPCD		166
		KEY_SUBTITLE		0x172
		KEY_SUSPEND		205
		KEY_SWITCHVIDEOMODE	227
		KEY_SYSRQ		99
		KEY_T			20
		KEY_TAB			15
		KEY_TAPE		0x180
		KEY_TEEN		0x19e
		KEY_TEXT		0x184
		KEY_TIME		0x167
		KEY_TITLE		0x171
		KEY_TUNER		0x182
		KEY_TV			0x179
		KEY_TV2			0x17a
		KEY_TWEN		0x19f
		KEY_U			22
		KEY_UNDO		131
		KEY_UNKNOWN		240
		KEY_UP			103
		KEY_UWB			239
		KEY_V			47
		KEY_VCR			0x17b
		KEY_VCR2		0x17c
		KEY_VENDOR		0x168
		KEY_VIDEO		0x189
		KEY_VIDEO_NEXT		241
		KEY_VIDEOPHONE		0x1a0
		KEY_VIDEO_PREV		242
		KEY_VOICEMAIL		0x1ac
		KEY_VOLUMEDOWN		114
		KEY_VOLUMEUP		115
		KEY_W			17
		KEY_WAKEUP		143
		KEY_WIMAX		246
		KEY_WLAN		238
		KEY_WORDPROCESSOR	0x1a5
		KEY_WWW			150
		KEY_X			45
		KEY_XFER		147
		KEY_Y			21
		KEY_YELLOW		0x190
		KEY_YEN			124
		KEY_Z			44
		KEY_ZENKAKUHANKAKU	85
		KEY_ZOOM		0x174
		KEY_ZOOMIN		0x1a2
		KEY_ZOOMOUT		0x1a3
		KEY_ZOOMRESET		0x1a4
		BTN_0			0x100
		BTN_1			0x101
		BTN_2			0x102
		BTN_3			0x103
		BTN_4			0x104
		BTN_5			0x105
		BTN_6			0x106
		BTN_7			0x107
		BTN_8			0x108
		BTN_9			0x109
		BTN_A			0x130
		BTN_B			0x131
		BTN_BACK		0x116
		BTN_BASE		0x126
		BTN_BASE2		0x127
		BTN_BASE3		0x128
		BTN_BASE4		0x129
		BTN_BASE5		0x12a
		BTN_BASE6		0x12b
		BTN_C			0x132
		BTN_DEAD		0x12f
		BTN_DIGI		0x140
		BTN_EXTRA		0x114
		BTN_FORWARD		0x115
		BTN_GAMEPAD		0x130
		BTN_GEAR_DOWN		0x150
		BTN_GEAR_UP		0x151
		BTN_JOYSTICK		0x120
		BTN_LEFT		0x110
		BTN_MIDDLE		0x112
		BTN_MISC		0x100
		BTN_MODE		0x13c
		BTN_MOUSE		0x110
		BTN_PINKIE		0x125
		BTN_RIGHT		0x111
		BTN_SELECT		0x13a
		BTN_SIDE		0x113
		BTN_START		0x13b
		BTN_STYLUS		0x14b
		BTN_STYLUS2		0x14c
		BTN_TASK		0x117
		BTN_THUMB		0x121
		BTN_THUMB2		0x122
		BTN_THUMBL		0x13d
		BTN_THUMBR		0x13e
		BTN_TL			0x136
		BTN_TL2			0x138
		BTN_TOOL_AIRBRUSH	0x144
		BTN_TOOL_BRUSH		0x142
		BTN_TOOL_DOUBLETAP	0x14d
		BTN_TOOL_FINGER		0x145
		BTN_TOOL_LENS		0x147
		BTN_TOOL_MOUSE		0x146
		BTN_TOOL_PEN		0x140
		BTN_TOOL_PENCIL		0x143
		BTN_TOOL_QUADTAP	0x14f
		BTN_TOOL_RUBBER		0x141
		BTN_TOOL_TRIPLETAP	0x14e
		BTN_TOP			0x123
		BTN_TOP2		0x124
		BTN_TOUCH		0x14a
		BTN_TR			0x137
		BTN_TR2			0x139
		BTN_TRIGGER		0x120
		BTN_WHEEL		0x150
		BTN_X			0x133
		BTN_Y			0x134
		BTN_Z			0x135
	end codes
end remote

# generated by devinput.sh (obsolete 32 bit version)
begin remote
        name            devinput
        bits            16
        eps             30
        aeps            100
        pre_data_bits   16
        pre_data        0x8001
        gap             132799
        toggle_bit      0

	begin codes
		KEY_0			11
		KEY_102ND		86
		KEY_1			2
		KEY_2			3
		KEY_3			4
		KEY_4			5
		KEY_5			6
		KEY_6			7
		KEY_7			8
		KEY_8			9
		KEY_9			10
		KEY_A			30
		KEY_AB			0x196
		KEY_ADDRESSBOOK		0x1ad
		KEY_AGAIN		129
		KEY_ALTERASE		222
		KEY_ANGLE		0x173
		KEY_APOSTROPHE		40
		KEY_ARCHIVE		0x169
		KEY_AUDIO		0x188
		KEY_AUX			0x186
		KEY_B			48
		KEY_BACK		158
		KEY_BACKSLASH		43
		KEY_BACKSPACE		14
		KEY_BASSBOOST		209
		KEY_BATTERY		236
		KEY_BLUE		0x191
		KEY_BLUETOOTH		237
		KEY_BOOKMARKS		156
		KEY_BREAK		0x19b
		KEY_BRIGHTNESS_CYCLE	243
		KEY_BRIGHTNESSDOWN	224
		KEY_BRIGHTNESSUP	225
		KEY_BRIGHTNESS_ZERO	244
		KEY_BRL_DOT10		0x1fa
		KEY_BRL_DOT1		0x1f1
		KEY_BRL_DOT2		0x1f2
		KEY_BRL_DOT3		0x1f3
		KEY_BRL_DOT4		0x1f4
		KEY_BRL_DOT5		0x1f5
		KEY_BRL_DOT6		0x1f6
		KEY_BRL_DOT7		0x1f7
		KEY_BRL_DOT8		0x1f8
		KEY_BRL_DOT9		0x1f9
		KEY_C			46
		KEY_CALC		140
		KEY_CALENDAR		0x18d
		KEY_CAMERA		212
		KEY_CAMERA_FOCUS	0x210
		KEY_CANCEL		223
		KEY_CAPSLOCK		58
		KEY_CD			0x17f
		KEY_CHANNEL		0x16b
		KEY_CHANNELDOWN		0x193
		KEY_CHANNELUP		0x192
		KEY_CHAT		216
		KEY_CLEAR		0x163
		KEY_CLOSE		206
		KEY_CLOSECD		160
		KEY_COFFEE		152
		KEY_COMMA		51
		KEY_COMPOSE		127
		KEY_COMPUTER		157
		KEY_CONFIG		171
		KEY_CONNECT		218
		KEY_CONTEXT_MENU	0x1b6
		KEY_COPY		133
		KEY_CUT			137
		KEY_CYCLEWINDOWS	154
		KEY_D			32
		KEY_DASHBOARD		204
		KEY_DATABASE		0x1aa
		KEY_DEL_EOL		0x1c0
		KEY_DEL_EOS		0x1c1
		KEY_DELETE		111
		KEY_DELETEFILE		146
		KEY_DEL_LINE		0x1c3
		KEY_DIGITS		0x19d
		KEY_DIRECTION		153
		KEY_DIRECTORY		0x18a
		KEY_DISPLAY_OFF		245
		KEY_DISPLAYTOGGLE	0x1af
		KEY_DOCUMENTS		235
		KEY_DOLLAR		0x1b2
		KEY_DOT			52
		KEY_DOWN		108
		KEY_DVD			0x185
		KEY_E			18
		KEY_EDIT		176
		KEY_EDITOR		0x1a6
		KEY_EJECTCD		161
		KEY_EJECTCLOSECD	162
		KEY_EMAIL		215
		KEY_END			107
		KEY_ENTER		28
		KEY_EPG			0x16d
		KEY_EQUAL		13
		KEY_ESC			1
		KEY_EURO		0x1b3
		KEY_EXIT		174
		KEY_F10			68
		KEY_F11			87
		KEY_F12			88
		KEY_F13			183
		KEY_F14			184
		KEY_F15			185
		KEY_F1			59
		KEY_F16			186
		KEY_F17			187
		KEY_F18			188
		KEY_F19			189
		KEY_F20			190
		KEY_F21			191
		KEY_F22			192
		KEY_F23			193
		KEY_F24			194
		KEY_F2			60
		KEY_F			33
		KEY_F3			61
		KEY_F4			62
		KEY_F5			63
		KEY_F6			64
		KEY_F7			65
		KEY_F8			66
		KEY_F9			67
		KEY_FASTFORWARD		208
		KEY_FAVORITES		0x16c
		KEY_FILE		144
		KEY_FINANCE		219
		KEY_FIND		136
		KEY_FIRST		0x194
		KEY_FN			0x1d0
		KEY_FN_1		0x1de
		KEY_FN_2		0x1df
		KEY_FN_B		0x1e4
		KEY_FN_D		0x1e0
		KEY_FN_E		0x1e1
		KEY_FN_ESC		0x1d1
		KEY_FN_F		0x1e2
		KEY_FN_F10		0x1db
		KEY_FN_F1		0x1d2
		KEY_FN_F11		0x1dc
		KEY_FN_F12		0x1dd
		KEY_FN_F2		0x1d3
		KEY_FN_F3		0x1d4
		KEY_FN_F4		0x1d5
		KEY_FN_F5		0x1d6
		KEY_FN_F6		0x1d7
		KEY_FN_F7		0x1d8
		KEY_FN_F8		0x1d9
		KEY_FN_F9		0x1da
		KEY_FN_S		0x1e3
		KEY_FORWARD		159
		KEY_FORWARDMAIL		233
		KEY_FRAMEBACK		0x1b4
		KEY_FRAMEFORWARD	0x1b5
		KEY_FRONT		132
		KEY_G			34
		KEY_GAMES		0x1a1
		KEY_GOTO		0x162
		KEY_GRAPHICSEDITOR	0x1a8
		KEY_GRAVE		41
		KEY_GREEN		0x18f
		KEY_H			35
		KEY_HANGEUL		122
		KEY_HANJA		123
		KEY_HELP		138
		KEY_HENKAN		92
		KEY_HIRAGANA		91
		KEY_HOME		102
		KEY_HOMEPAGE		172
		KEY_HP			211
		KEY_I			23
		KEY_INFO		0x166
		KEY_INSERT		110
		KEY_INS_LINE		0x1c2
		KEY_ISO			170
		KEY_J			36
		KEY_K			37
		KEY_KATAKANA		90
		KEY_KATAKANAHIRAGANA	93
		KEY_KBDILLUMDOWN	229
		KEY_KBDILLUMTOGGLE	228
		KEY_KBDILLUMUP		230
		KEY_KEYBOARD		0x176
		KEY_KP0			82
		KEY_KP1			79
		KEY_KP2			80
		KEY_KP3			81
		KEY_KP4			75
		KEY_KP5			76
		KEY_KP6			77
		KEY_KP7			71
		KEY_KP8			72
		KEY_KP9			73
		KEY_KPASTERISK		55
		KEY_KPCOMMA		121
		KEY_KPDOT		83
		KEY_KPENTER		96
		KEY_KPEQUAL		117
		KEY_KPJPCOMMA		95
		KEY_KPLEFTPAREN		179
		KEY_KPMINUS		74
		KEY_KPPLUS		78
		KEY_KPPLUSMINUS		118
		KEY_KPRIGHTPAREN	180
		KEY_KPSLASH		98
		KEY_L			38
		KEY_LANGUAGE		0x170
		KEY_LAST		0x195
		KEY_LEFT		105
		KEY_LEFTALT		56
		KEY_LEFTBRACE		26
		KEY_LEFTCTRL		29
		KEY_LEFTMETA		125
		KEY_LEFTSHIFT		42
		KEY_LINEFEED		101
		KEY_LIST		0x18b
		KEY_LOGOFF		0x1b1
		KEY_M			50
		KEY_MACRO		112
		KEY_MAIL		155
		KEY_MAX			0x2ff
		KEY_MEDIA		226
		KEY_MEDIA_REPEAT	0x1b7
		KEY_MEMO		0x18c
		KEY_MENU		139
		KEY_MESSENGER		0x1ae
		KEY_MHP			0x16f
		KEY_MINUS		12
		KEY_MODE		0x175
		KEY_MOVE		175
		KEY_MP3			0x187
		KEY_MSDOS		151
		KEY_MUHENKAN		94
		KEY_MUTE		113
		KEY_N			49
		KEY_NEW			181
		KEY_NEWS		0x1ab
		KEY_NEXT		0x197
		KEY_NEXTSONG		163
		KEY_NUMERIC_0		0x200
		KEY_NUMERIC_1		0x201
		KEY_NUMERIC_2		0x202
		KEY_NUMERIC_3		0x203
		KEY_NUMERIC_4		0x204
		KEY_NUMERIC_5		0x205
		KEY_NUMERIC_6		0x206
		KEY_NUMERIC_7		0x207
		KEY_NUMERIC_8		0x208
		KEY_NUMERIC_9		0x209
		KEY_NUMERIC_POUND	0x20b
		KEY_NUMERIC_STAR	0x20a
		KEY_NUMLOCK		69
		KEY_O			24
		KEY_OK			0x160
		KEY_OPEN		134
		KEY_OPTION		0x165
		KEY_P			25
		KEY_PAGEDOWN		109
		KEY_PAGEUP		104
		KEY_PASTE		135
		KEY_PAUSE		119
		KEY_PAUSECD		201
		KEY_PC			0x178
		KEY_PHONE		169
		KEY_PLAY		207
		KEY_PLAYCD		200
		KEY_PLAYER		0x183
		KEY_PLAYPAUSE		164
		KEY_POWER		116
		KEY_POWER2		0x164
		KEY_PRESENTATION	0x1a9
		KEY_PREVIOUS		0x19c
		KEY_PREVIOUSSONG	165
		KEY_PRINT		210
		KEY_PROG1		148
		KEY_PROG2		149
		KEY_PROG3		202
		KEY_PROG4		203
		KEY_PROGRAM		0x16a
		KEY_PROPS		130
		KEY_PVR			0x16e
		KEY_Q			16
		KEY_QUESTION		214
		KEY_R			19
		KEY_RADIO		0x181
		KEY_RECORD		167
		KEY_RED			0x18e
		KEY_REDO		182
		KEY_REFRESH		173
		KEY_REPLY		232
		KEY_RESERVED		0
		KEY_RESTART		0x198
		KEY_REWIND		168
		KEY_RFKILL		247
		KEY_RIGHT		106
		KEY_RIGHTALT		100
		KEY_RIGHTBRACE		27
		KEY_RIGHTCTRL		97
		KEY_RIGHTMETA		126
		KEY_RIGHTSHIFT		54
		KEY_RO			89
		KEY_S			31
		KEY_SAT			0x17d
		KEY_SAT2		0x17e
		KEY_SAVE		234
		KEY_SCALE		120
		KEY_SCREEN		0x177
		KEY_SCROLLDOWN		178
		KEY_SCROLLLOCK		70
		KEY_SCROLLUP		177
		KEY_SEARCH		217
		KEY_SELECT		0x161
		KEY_SEMICOLON		39
		KEY_SEND		231
		KEY_SENDFILE		145
		KEY_SETUP		141
		KEY_SHOP		221
		KEY_SHUFFLE		0x19a
		KEY_SLASH		53
		KEY_SLEEP		142
		KEY_SLOW		0x199
		KEY_SOUND		213
		KEY_SPACE		57
		KEY_SPELLCHECK		0x1b0
		KEY_SPORT		220
		KEY_SPREADSHEET		0x1a7
		KEY_STOP		128
		KEY_STOPCD		166
		KEY_SUBTITLE		0x172
		KEY_SUSPEND		205
		KEY_SWITCHVIDEOMODE	227
		KEY_SYSRQ		99
		KEY_T			20
		KEY_TAB			15
		KEY_TAPE		0x180
		KEY_TEEN		0x19e
		KEY_TEXT		0x184
		KEY_TIME		0x167
		KEY_TITLE		0x171
		KEY_TUNER		0x182
		KEY_TV			0x179
		KEY_TV2			0x17a
		KEY_TWEN		0x19f
		KEY_U			22
		KEY_UNDO		131
		KEY_UNKNOWN		240
		KEY_UP			103
		KEY_UWB			239
		KEY_V			47
		KEY_VCR			0x17b
		KEY_VCR2		0x17c
		KEY_VENDOR		0x168
		KEY_VIDEO		0x189
		KEY_VIDEO_NEXT		241
		KEY_VIDEOPHONE		0x1a0
		KEY_VIDEO_PREV		242
		KEY_VOICEMAIL		0x1ac
		KEY_VOLUMEDOWN		114
		KEY_VOLUMEUP		115
		KEY_W			17
		KEY_WAKEUP		143
		KEY_WIMAX		246
		KEY_WLAN		238
		KEY_WORDPROCESSOR	0x1a5
		KEY_WWW			150
		KEY_X			45
		KEY_XFER		147
		KEY_Y			21
		KEY_YELLOW		0x190
		KEY_YEN			124
		KEY_Z			44
		KEY_ZENKAKUHANKAKU	85
		KEY_ZOOM		0x174
		KEY_ZOOMIN		0x1a2
		KEY_ZOOMOUT		0x1a3
		KEY_ZOOMRESET		0x1a4
		BTN_0			0x100
		BTN_1			0x101
		BTN_2			0x102
		BTN_3			0x103
		BTN_4			0x104
		BTN_5			0x105
		BTN_6			0x106
		BTN_7			0x107
		BTN_8			0x108
		BTN_9			0x109
		BTN_A			0x130
		BTN_B			0x131
		BTN_BACK		0x116
		BTN_BASE		0x126
		BTN_BASE2		0x127
		BTN_BASE3		0x128
		BTN_BASE4		0x129
		BTN_BASE5		0x12a
		BTN_BASE6		0x12b
		BTN_C			0x132
		BTN_DEAD		0x12f
		BTN_DIGI		0x140
		BTN_EXTRA		0x114
		BTN_FORWARD		0x115
		BTN_GAMEPAD		0x130
		BTN_GEAR_DOWN		0x150
		BTN_GEAR_UP		0x151
		BTN_JOYSTICK		0x120
		BTN_LEFT		0x110
		BTN_MIDDLE		0x112
		BTN_MISC		0x100
		BTN_MODE		0x13c
		BTN_MOUSE		0x110
		BTN_PINKIE		0x125
		BTN_RIGHT		0x111
		BTN_SELECT		0x13a
		BTN_SIDE		0x113
		BTN_START		0x13b
		BTN_STYLUS		0x14b
		BTN_STYLUS2		0x14c
		BTN_TASK		0x117
		BTN_THUMB		0x121
		BTN_THUMB2		0x122
		BTN_THUMBL		0x13d
		BTN_THUMBR		0x13e
		BTN_TL			0x136
		BTN_TL2			0x138
		BTN_TOOL_AIRBRUSH	0x144
		BTN_TOOL_BRUSH		0x142
		BTN_TOOL_DOUBLETAP	0x14d
		BTN_TOOL_FINGER		0x145
		BTN_TOOL_LENS		0x147
		BTN_TOOL_MOUSE		0x146
		BTN_TOOL_PEN		0x140
		BTN_TOOL_PENCIL		0x143
		BTN_TOOL_QUADTAP	0x14f
		BTN_TOOL_RUBBER		0x141
		BTN_TOOL_TRIPLETAP	0x14e
		BTN_TOP			0x123
		BTN_TOP2		0x124
		BTN_TOUCH		0x14a
		BTN_TR			0x137
		BTN_TR2			0x139
		BTN_TRIGGER		0x120
		BTN_WHEEL		0x150
		BTN_X			0x133
		BTN_Y			0x134
		BTN_Z			0x135
	end codes
end remote

External Links

Personal tools