User:Ni1s/Infrared Remote Control
From Gentoo Wiki
Jump to:navigation
Jump to:search
Intro goes here.
Device Drivers --->
<*> Multimedia support --->
<*> Remote Controller adapters --->
--- Remote Controller adapters
< > Compile Remote Controller keymap modules
<M> Enable IR raw decoder for the NEC protocol
<M> Enable IR raw decoder for the RC-5 protocol
<M> Enable IR raw decoder for the RC6 protocol
<M> Enable IR raw decoder for the JVC protocol
<M> Enable IR raw decoder for the Sony protocol
<M> Enable IR raw decoder for the RC-5 (streamzap) protocol
<M> Enable IR raw decoder for the Sanyo protocol
<M> Enable IR raw decoder for the MCE keyboard/mouse protocol
<M> Enable IR to LIRC bridge
<M> ATI / X10 based USB RF remote controls
<M> ENE eHome Receiver/Transceiver (pnp id: ENE0100/ENE02xxx)
<M> SoundGraph iMON Receiver and Display
<M> Windows Media Center Ed. eHome Infrared Transceiver
<M> ITE Tech Inc. IT8712/IT8512 Consumer Infrared Transceiver
<M> Fintek Consumer Infrared Transceiver
<M> Nuvoton w836x7hg Consumer Infrared Transceiver
<M> RedRat3 IR Transceiver
<M> Streamzap PC Remote IR Receiver
<M> Winbond IR remote control
root #
emerge --ask media-tv/v4l-utils
root #
modprobe -a ir-nec-decoder ir-rc5-decoder ir-rc6-decoder ir-jvc-decoder ir-sony-decoder ir-rc5-sz-decoder ir-sanyo-decoder ir-mce_kbd-decoder ir-lirc-codec
root #
ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event4) with: Driver ite-cir, table rc-empty Supported protocols: NEC RC-5 RC-6 JVC SONY other Enabled protocols: NEC RC-5 RC-6 JVC SONY other Repeat delay = 500 ms, repeat period = 50 ms
How the hell do you specify the MCE protocol?
root #
ir-keytable -c -p NEC,RC-5,RC-6,JVC,SONY -t
Old keytable cleared Protocols changed to NEC RC-5 RC-6 JVC SONY Testing events. Please, press CTRL-C to abort. 1337901576.083617: event MSC: scancode = 800f0416 1337901576.083620: event sync 1337901576.426442: event MSC: scancode = 800f0416 1337901576.426444: event sync
root #
grep -l 800f0416 /etc/rc_keymaps/*
/etc/rc_keymaps/rc6_mce
root #
ir-keytable -w /etc/rc_keymaps/rc6_mce
Old keytable cleared Wrote 63 keycode(s) to driver Protocols changed to RC-6
root #
ir-keytable -t
1337892333.300550: event key down: KEY_PLAY (0x00cf) 1337892333.300552: event sync 1337892333.893378: event key up: KEY_PLAY (0x00cf) 1337892333.893382: event sync
LIRC
When lircd? LIRCD_OPTS="-u" ? What else?
root #
modprobe ir-lirc-codec
root #
ir-keytable -p LIRC
Protocols changed to LIRC