AVS / Mediagate GP-IR02BK (TSGP-IR01) 遥控器和 LIRC

AVS / Mediagate GP-IR02BK (TSGP-IR01) 遥控器和 LIRC

尝试使用 ubuntu 作为操作系统启动并运行 XBMC HTP。由于 12.04 无法安装在 PC 上,因此运行 13.04 - 我有一台 Gigabyte Birx mini,配有 i3 芯片和 64 gb msata 驱动器。

为了控制它,我从这里获得了一个 Mediagate (又名 AVS):

http://www.rakuten.com/pr/product.aspx?sku=206225418

我花了几个小时尝试让 LIRC 接收它。如果我使用 irrecord,它会毫无问题地找到它。以下是初始启动结果:

root@xbmc:~# irrecord  --device=/dev/lirc0 myremote.conf
...
...
...
Found const length: 93657
Please keep on pressing buttons like described above.
................................................................................
RC-6 remote control found.
Found possible header: 2694 863
No repeat code found.
Unknown encoding found.
Creating config file in raw mode.
Now enter the names for the buttons.

我记录了几个按钮,myremote.conf 如下所示:

begin remote

  name  myremote.conf
  flags RAW_CODES|CONST_LENGTH
  eps            30
  aeps          100

  gap          93657

      begin raw_codes

          name KEY_UP
             2800     750     550     350     550     350
              500     800     550     800    1400     800
              550     350     550     350     500     400
              500     400     500     350     550     350
              500     400     500     400     500     350
              550    7500     450     400     950     850
              500     400     500     400     450     400
              500     400     950     400     500     400
              450     400     500     850     500

          name KEY_DOWN ......

到目前为止一切似乎都正常。我用 conf 文件启动 lirc,并用 irw 进行测试,但无论我按哪个键,irw 都不会输出任何内容。

root@xbmc:~# lircd --device=/dev/lirc0 myremote.conf
root@xbmc:~# irw[/CODE]
The USB receiver blinks to confirm it is receiving a signal. if I watch the port directly I do get output:
[CODE]
root@xbmc:/dev# cat /dev/lirc0
ÿÿÿð
 ô^&^& ô ª ôô^&^&^ôôô^&^ôPuTTYô ÈRÂôô¶Û¾
 &,&^& ô ª ôôPuTTYô^&^ôôôô^ôô¶ô^ôôôRÂôôð¾
 ôôôRÂRxRÂôôôôÂôôôPuTTYBÂÂÂÂô#ð
î&^&^& &îª ôô^&^&^ôô^&^ôôPuTTYôLô¶ ôôôô
                                       ôôôÂJ
RôÂôRôRFRôôÂÂÂôPuTTYôôÂÂÂô
                          ÂÂÂÂÂÂR¶RÂÂÂð
î&^&^ô & xRô^&^&PuTTY^ôôô^&^ôôô
                               ôôôÂRôôôì^C

设备在系统中的显示如下:

root@xbmc:/etc# dmesg|tail

[  572.793310] usb 3-1: Product: eHome Infrared Transceiver
[  572.793315] usb 3-1: Manufacturer: Topseed Technology Corp.
[  572.793319] usb 3-1: SerialNumber: TS000KMN
[  572.795264] Registered IR keymap rc-rc6-mce
[  572.795475] input: Media Center Ed. eHome Infrared Remote Transceiver (1784:0008) as /devices/pci0000:00/00                                                              00:00:14.0/usb3/3-1/3-1:1.0/rc/rc1/input11
[  572.795668] rc1: Media Center Ed. eHome Infrared Remote Transceiver (1784:0008) as /devices/pci0000:00/0000                                                              :00:14.0/usb3/3-1/3-1:1.0/rc/rc1
[  572.795920] input: MCE IR Keyboard/Mouse (mceusb) as /devices/virtual/input/input12
[  572.796312] rc rc1: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
[  572.937660] mceusb 3-1:1.0: Registered Topseed Technology Corp. eHome Infrared Transceiver with mce emulato                                                              r interface version 1
[  572.937671] mceusb 3-1:1.0: 2 tx ports (0x0 cabled) and 2 rx sensors (0x0 active)

root@xbmc:/etc$ cat /proc/bus/input/devices

I: Bus=0003 Vendor=1784 Product=0008 Version=0101
N: Name="Media Center Ed. eHome Infrared Remote Transceiver (1784:0008)"
P: Phys=usb-0000:00:14.0-1
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/rc/rc1/input11
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=100013
B: KEY=fff 0 200108fc32e 237605100000000 0 700158000 419200004001 8e968000000000 10000000
B: MSC=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="MCE IR Keyboard/Mouse (mceusb)"
P: Phys=/input0
S: Sysfs=/devices/virtual/input/input12
U: Uniq=
H: Handlers=sysrq kbd mouse0 event3
B: PROP=0
B: EV=100017
B: KEY=30000 7 ff87207ac14057ff febeffdfffefffff fffffffffffffffe
B: REL=3
B: MSC=10

有任何想法吗?

谢谢 Ernie

答案1

好吧,我退回了技嘉,换了一台英特尔 NUC i3。现在一切正常。我唯一的猜测是它是技嘉的 USB3(NUC 运行的是 USB2)。

厄尼

相关内容