Hardware:
ASRock ION 330HT [1]
XBOX360 Remote [2]
Software: Archlinux 64Bit (archlinux-2012.11.01-dual.iso )
Problem:
ASRock MCE Remote Controller [3] ist kapput gegangen, bzw. es funktionieren nicht alle knopfe (bsp. on/off schalter etc).
Also CIR wird gefunden und module wird geladen:
[]$ dmesg | grep nuvoton
[ 6.154075] nuvoton_cir: driver has been successfully loaded
[ 7.704188] input: MCE IR Keyboard/Mouse (nuvoton-cir) as /devices/virtual/input/input6
[ 7.793878] rc rc0: lirc_dev: driver ir-lirc-codec (nuvoton-cir) registered at minor = 0
[]$
Mehr info von CIR:
[]# ir-keytable -v
Found device /sys/class/rc/rc0/
Input sysfs node is /sys/class/rc/rc0/input3/
Event sysfs node is /sys/class/rc/rc0/input3/event3/
Parsing uevent /sys/class/rc/rc0/input3/event3/uevent
/sys/class/rc/rc0/input3/event3/uevent uevent MAJOR=13
/sys/class/rc/rc0/input3/event3/uevent uevent MINOR=67
/sys/class/rc/rc0/input3/event3/uevent uevent DEVNAME=input/event3
Parsing uevent /sys/class/rc/rc0/uevent
/sys/class/rc/rc0/uevent uevent NAME=rc-rc6-mce
/sys/class/rc/rc0/uevent uevent DRV_NAME=nuvoton-cir
input device is /dev/input/event3
/sys/class/rc/rc0/protocols protocol rc-5 (disabled)
/sys/class/rc/rc0/protocols protocol nec (disabled)
/sys/class/rc/rc0/protocols protocol rc-6 (disabled)
/sys/class/rc/rc0/protocols protocol jvc (disabled)
/sys/class/rc/rc0/protocols protocol sony (disabled)
/sys/class/rc/rc0/protocols protocol sanyo (disabled)
/sys/class/rc/rc0/protocols protocol mce_kbd (disabled)
/sys/class/rc/rc0/protocols protocol lirc (enabled)
Found /sys/class/rc/rc0/ (/dev/input/event3) with:
Driver nuvoton-cir, table rc-rc6-mce
Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC other
Enabled protocols: LIRC
Repeat delay = 500 ms, repeat period = 125 ms
[]#
Alles anzeigen
Und /etc/lirc/hardware.conf:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Nuvoton Transceivers/Remotes"
REMOTE_MODULES="lirc_dev nuvoton-cir"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="lirc_wb677/lircd.conf.wb677"
#REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=
Alles anzeigen
Input device:
I: Bus=0019 Vendor=1050 Product=00b4 Version=0073
N: Name="Nuvoton w836x7hg Infrared Remote Transceiver"
P: Phys=nuvoton/cir0
S: Sysfs=/devices/pnp0/00:04/rc/rc0/input3
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=100013
B: KEY=fff 0 200108fc32e 237605100000000 0 700158000 419200004001 8e968000000000 10000000
B: MSC=10
I: Bus=0003 Vendor=9022 Product=d650 Version=0000
N: Name="IR-receiver inside an USB DVB receiver"
P: Phys=usb-0000:00:04.1-3/ir0
S: Sysfs=/devices/pci0000:00/0000:00:04.1/usb1/1-3/input/input4
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=3
B: KEY=6c0904 2470c100000000 0 800010000 19040000840 1e168000000001 f800000000000ffc
Alles anzeigen
Gerade ist LIRC protocol benutzt und ASRock MCE Remote funktioniert damit (asser die nicht funktionierde knopfe, da leutet auch nicht wenn man drauf press, meine meinung ist was in FB kapput).
Dann wollte ich XBOX360 Remote benutzten. Da der mir einfachen ir-einschalter funktioniert wollte ich denn mit ASRock CIR probieren. Und da sind probleme gekommen.
XBOX360 remote ist ein RC-6 remote, und sommit habe ich lirc protocol auf rc-6 geändert. Die mode2 oder ir-keytable -t gibt keine ausgabe.
Wenn ich protocol wieder auf LIRC umstelle um auf remote 1 und 2 drücke kommt so was bei mode2 und bei ir-keytable -v kommt noch immer nichts.
# mode2 -d /dev/lirc0
pulse 150
space 3600
pulse 200
space 800
pulse 150
space 94500
pulse 200
space 250
pulse 50
space 5800
pulse 150
space 16750
pulse 50
space 82700
pulse 50
space 10100
pulse 50
space 13900
pulse 100
space 95250
pulse 50
space 2550
pulse 100
space 73850
pulse 200
space 6200
pulse 250
space 2900
pulse 100
space 95250
pulse 50
space 11000
pulse 50
space 12800
pulse 50
space 95250
Alles anzeigen
EIn evtest liefert das:
[root@vdrbox ~]# evtest /dev/input/event3
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1050 product 0xb4 version 0x73
Input device name: "Nuvoton w836x7hg Infrared Remote Transceiver"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 28 (KEY_ENTER)
Event code 103 (KEY_UP)
Event code 105 (KEY_LEFT)
Event code 106 (KEY_RIGHT)
Event code 108 (KEY_DOWN)
Event code 111 (KEY_DELETE)
Event code 113 (KEY_MUTE)
Event code 114 (KEY_VOLUMEDOWN)
Event code 115 (KEY_VOLUMEUP)
Event code 119 (KEY_PAUSE)
Event code 128 (KEY_STOP)
Event code 142 (KEY_SLEEP)
Event code 161 (KEY_EJECTCD)
Event code 164 (KEY_PLAYPAUSE)
Event code 167 (KEY_RECORD)
Event code 168 (KEY_REWIND)
Event code 174 (KEY_EXIT)
Event code 207 (KEY_PLAY)
Event code 208 (KEY_FASTFORWARD)
Event code 210 (KEY_PRINT)
Event code 212 (KEY_CAMERA)
Event code 224 (KEY_BRIGHTNESSDOWN)
Event code 225 (KEY_BRIGHTNESSUP)
Event code 226 (KEY_MEDIA)
Event code 352 (KEY_OK)
Event code 356 (KEY_POWER2)
Event code 358 (KEY_INFO)
Event code 365 (KEY_EPG)
Event code 366 (KEY_PVR)
Event code 368 (KEY_LANGUAGE)
Event code 369 (KEY_TITLE)
Event code 370 (KEY_SUBTITLE)
Event code 372 (KEY_ZOOM)
Event code 373 (KEY_MODE)
Event code 377 (KEY_TV)
Event code 385 (KEY_RADIO)
Event code 386 (KEY_TUNER)
Event code 387 (KEY_PLAYER)
Event code 389 (KEY_DVD)
Event code 392 (KEY_AUDIO)
Event code 393 (KEY_VIDEO)
Event code 398 (KEY_RED)
Event code 399 (KEY_GREEN)
Event code 400 (KEY_YELLOW)
Event code 401 (KEY_BLUE)
Event code 402 (KEY_CHANNELUP)
Event code 403 (KEY_CHANNELDOWN)
Event code 407 (KEY_NEXT)
Event code 412 (KEY_PREVIOUS)
Event code 425 (KEY_PRESENTATION)
Event code 512 (KEY_NUMERIC_0)
Event code 513 (KEY_NUMERIC_1)
Event code 514 (KEY_NUMERIC_2)
Event code 515 (KEY_NUMERIC_3)
Event code 516 (KEY_NUMERIC_4)
Event code 517 (KEY_NUMERIC_5)
Event code 518 (KEY_NUMERIC_6)
Event code 519 (KEY_NUMERIC_7)
Event code 520 (KEY_NUMERIC_8)
Event code 521 (KEY_NUMERIC_9)
Event code 522 (KEY_NUMERIC_STAR)
Event code 523 (KEY_NUMERIC_POUND)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Event type 20 (EV_REP)
Properties:
Testing ... (interrupt to exit)
^C
Alles anzeigen
Hat jemand vieleicht ein vorschlag. Bin dankbar dafür..