Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
This post has been edited 1 times, last edit by "Torsten73" (Jun 21st 2011, 2:35pm)
This post has been edited 1 times, last edit by "vdr_rossi" (Jul 4th 2011, 8:40am)
Einen TSOP 1838 würde ich nicht nehmen. Dieser arbeitet mit 38khz, wir benötigen aber für den RC5 Code 36khz. Das heißt also ein 1836 wäre der richtige. RC5 Code = Mediacenter FB
Wenn Du den 38er nimmst, dann hast Du eine schlechtere Empfindlichkeit (also weniger Reichweite) weil der nur die Trägerfrequenz von 38khz verstärkt und 36khz dementsprechend schlecht empfängt.
Siehe hier .
...
|
|
Source code |
1 2 3 4 5 6 7 8 9 |
root@mediaserver:~# lsmod | grep rc_core rc_core 26918 8 ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,rc_rc6_mce,ir_nec_decoder,nuvoton_cir root@mediaserver:~# ir-keytable Found /sys/class/rc/rc0/ (/dev/input/event7) with: Driver nuvoton-cir, table rc-rc6-mce Supported protocols: NEC RC-5 RC-6 JVC SONY Enabled protocols: RC-5 Repeat delay = 500 ms, repeat period = 33 ms |
|
|
Source code |
1 2 |
root@mediaserver:~# ir-keytable -p RC-5 Protocols changed to RC-5 |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
root@mediaserver:~# ir-keytable -t Testing events. Please, press CTRL-C to abort. 1310152155.999022: event MSC: scancode = 10 1310152156.933646: event MSC: scancode = 10 1310152159.753208: event MSC: scancode = 21 1310152161.916832: event MSC: scancode = 20 1310152173.005229: event MSC: scancode = 38 1310152175.382128: event MSC: scancode = 51 1310152177.538618: event MSC: scancode = 50 1310152178.660391: event MSC: scancode = 57 |
Quoted
1. cat /proc/bus/input/devices -- Look for the IR one, mine is
"Bus=0001 Vendor=0070 Product=9202 Version=0001?
2. Note the "S:" line
3. cd /sys<everything after the = in the Sysfs line
4. cat uevent
5. Note the NAME= line
6. sudo vi /etc/udev/rules.d/10-local.rules (This is a new file.
Please substitute vi with nano/pico/emacs/etc if you prefer)
7. Add a line into the file ATTRS{name}=="cx88 IR (Hauppauge
Nova-S-Plus ", SYMLINK+="input/dvb-ir"
8. Note the Space after the word Plus, it's needed
9. sudo vi /etc/lirc/hardware.conf -- Comment out the REMOTE_MODULES
line and add devinput to REMOTE_DRIVER
10. Replace REMOTE_DEVICE with /dev/input/dvb-ir
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
root@mediaserver:~# cat /proc/acpi/wakeup Device S-state Status Sysfs node P0P1 S4 *disabled P0P2 S4 *disabled P0P3 S4 *disabled P0P4 S4 *disabled GBE S4 *enabled pci:0000:00:19.0 BR20 S3 *disabled EUSB S3 *disabled pci:0000:00:1d.0 USBE S3 *disabled pci:0000:00:1a.0 PEX0 S4 *disabled pci:0000:00:1c.0 BR21 S4 *disabled pci:0000:01:00.0 PEX1 S4 *disabled PEX2 S4 *disabled PEX3 S4 *disabled pci:0000:00:1c.3 PEX4 S4 *disabled PEX5 S4 *disabled PEX6 S4 *disabled PEX7 S4 *disabled PWRB S3 *enabled |
This post has been edited 1 times, last edit by "aero" (Jul 8th 2011, 10:59pm)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
[56392.495091] nuvoton-cir 00:03: disabled [56412.322457] nuvoton_cir: w836x7hg: chip id: 0xb4 0x73 [56412.322488] nuvoton_cir: CIR initialized, base io port address: 0x240, irq: 3 [56412.322532] nuvoton_cir: CIR Wake initialized, base io port address: 0x250, irq: 3 [56412.322567] Registered IR keymap rc-rc6-mce [56412.322657] input: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/virtual/rc/rc1/input10 [56412.322737] rc1: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/virtual/rc/rc1 [56412.489129] nuvoton_cir: driver has been successfully loaded [56412.489140] nuvoton_cir: nuvoton-cir: Dump CIR logical device registers: [56412.489146] nuvoton_cir: * CR CIR ACTIVE : 0x1 [56412.489155] nuvoton_cir: * CR CIR BASE ADDR: 0x240 [56412.489160] nuvoton_cir: * CR CIR IRQ NUM: 0x3 [56412.489164] nuvoton_cir: nuvoton-cir: Dump CIR registers: [56412.489168] nuvoton_cir: * IRCON: 0x36 [56412.489171] nuvoton_cir: * IRSTS: 0x0 [56412.489175] nuvoton_cir: * IREN: 0x60 [56412.489179] nuvoton_cir: * RXFCONT: 0x0 [56412.489182] nuvoton_cir: * CP: 0x0 [56412.489186] nuvoton_cir: * CC: 0x0 [56412.489190] nuvoton_cir: * SLCH: 0x7 [56412.489194] nuvoton_cir: * SLCL: 0xd0 [56412.489197] nuvoton_cir: * FIFOCON: 0x23 [56412.489201] nuvoton_cir: * IRFIFOSTS: 0x96 [56412.489204] nuvoton_cir: * SRXFIFO: 0x82 [56412.489208] nuvoton_cir: * TXFCONT: 0x0 [56412.489211] nuvoton_cir: * STXFIFO: 0x0 [56412.489214] nuvoton_cir: * FCCH: 0x0 [56412.489218] nuvoton_cir: * FCCL: 0x0 [56412.489221] nuvoton_cir: * IRFSM: 0x14 [56412.489230] nuvoton_cir: nuvoton-cir: Dump CIR WAKE logical device registers: [56412.489235] nuvoton_cir: * CR CIR WAKE ACTIVE : 0x1 [56412.489244] nuvoton_cir: * CR CIR WAKE BASE ADDR: 0x250 [56412.489249] nuvoton_cir: * CR CIR WAKE IRQ NUM: 0x3 [56412.489253] nuvoton_cir: nuvoton-cir: Dump CIR WAKE registers [56412.489257] nuvoton_cir: * IRCON: 0x3e [56412.489261] nuvoton_cir: * IRSTS: 0x1 [56412.489264] nuvoton_cir: * IREN: 0x0 [56412.489268] nuvoton_cir: * FIFO CMP DEEP: 0x41 [56412.489272] nuvoton_cir: * FIFO CMP TOL: 0x5 [56412.489276] nuvoton_cir: * FIFO COUNT: 0x0 [56412.489279] nuvoton_cir: * SLCH: 0x7 [56412.489283] nuvoton_cir: * SLCL: 0xd0 [56412.489287] nuvoton_cir: * FIFOCON: 0x0 [56412.489291] nuvoton_cir: * SRXFSTS: 0x20 [56412.489294] nuvoton_cir: * SAMPLE RX FIFO: 0x88 [56412.489298] nuvoton_cir: * WR FIFO DATA: 0xff [56412.489302] nuvoton_cir: * RD FIFO ONLY: 0x88 [56412.489305] nuvoton_cir: * RD FIFO ONLY IDX: 0x1 [56412.489309] nuvoton_cir: * FIFO IGNORE: 0x25 [56412.489312] nuvoton_cir: * IRFSM: 0x10 [56412.489316] nuvoton_cir: nuvoton-cir: Dump CIR WAKE FIFO (len 0) [56412.489318] nuvoton_cir: * Contents = |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
[56622.238698] nuvoton_cir: nvt_process_rx_ir_data done [56622.238706] nuvoton_cir: nvt_cir_isr done [56622.238708] nuvoton_cir: nvt_cir_wake_isr firing [56622.238719] nuvoton_cir: nvt_cir_wake_isr exiting, wake not enabled [56626.891756] nuvoton_cir: nvt_cir_isr firing [56626.891777] nuvoton_cir: IRQ 0xa6 (IREN 0x60) : RDR PE TTR TFU [56626.891781] nuvoton_cir: attempting to fetch 17 bytes from hw rx fifo [56626.891811] nuvoton_cir: nvt_get_rx_ir_data: pkts now 17 [56626.891813] nuvoton_cir: nvt_process_rx_ir_data firing [56626.891815] nvt_dump_rx_buf (len 17): 0x83 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x80 [56626.891827] nuvoton_cir: Processing buffer of len 17 [56626.891830] nuvoton_cir: Storing pulse with duration 150000 [56626.891833] nuvoton_cir: Storing space with duration 95250000 [56626.891834] nuvoton_cir: Calling ir_raw_event_handle (buffer empty) |
|
|
Source code |
1 |
sudo bash -c "echo CIR > /proc/acpi/wakeup" |
|
|
Source code |
1 2 |
# driver table file nuvoton-cir * /etc/rc_keymaps/cir_jvc_400 |
This post has been edited 1 times, last edit by "seahawk1986" (Jul 19th 2011, 10:42am)
[56412.489316] nuvoton_cir: nuvoton-cir: Dump CIR WAKE FIFO (len 0)
[56412.489318] nuvoton_cir: * Contents =
ich habe bis jetzt auch keine Option im BIOS oder bei ir-keymap oder beim nuvoton-cir modul gesehen um den wakeup ein zu schalten.[56622.238719] nuvoton_cir: nvt_cir_wake_isr exiting, wake not enabled
|
|
Source code |
1 2 |
#driver table file * * cir_jvc_400 |