Gentoo Archives: gentoo-user

From: Petric Frank <pfrank@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] ir receiver - mceusb
Date: Wed, 22 Mar 2017 15:12:28
Message-Id: 1807248.beYYYhC52V@main
1 Hello,
2
3 maybe this is not exactly a gentoo problem. Please point me to correct
4 location if i am wrong here.
5
6 I've got a MCE-like ir remote together with a USB receiver.
7
8 Looks like it is detected by the kernel and a input device was created.
9 Most of the keys are working. But - for example - the color buttons do not
10 generate any output.
11
12 "ir-keytable" (version 1.10.1) returns:
13 Couldn't find any node at /sys/class/rc/rc*.
14
15 "ir-keytable -d /dev/input/eventxx" gives as output:
16 Name: PHILIPS MCE USB IR Receiver- Spi
17
18 Using for test
19 ir-keytable -d /dev/input/eventxx -r
20 i got:
21 ------------------- cut --------------------
22 scancode 0x700e0 = KEY_LEFTCTRL (0x1d)
23
24 ...
25 Enabled protocols: other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp
26 xmp
27 ------------------- cut --------------------
28
29 But there is no definition of the color buttons in the list above.
30
31
32 Tests were done using this command:
33 ir-keytable -d /dev/input/eventxx -t
34
35 Any hints ?
36
37
38 Is it possibe to see the scancodes received by the USB-receiver to validate
39 that the remote really sends data for the color buttons. What kernel
40 options i have to enable ?
41 (Also for checking and not barking at the wrong tree due to hardware
42 problems)
43
44
45 Some info about my system:
46
47 Kernel 4.9.6 (amd64) custom configured
48 Distribution: Gentoo
49
50 lsmod output:
51 ----------------------- cut --------------------------
52 Module Size Used by
53 rc_rc6_mce 1580 0mceusb 10365 0rc_core
54 16719 2 mceusb,rc_rc6_mceusb_storage 48619
55 0hid_generic 1385 0usbhid 35380 0input_leds
56 3022 0led_class 3975 1 input_leds
57 ohci_pci 3272 0
58 snd_hda_codec_generic 52071 2r8169 67900 0xhci_pci
59 4958 0xhci_hcd 101734 1 xhci_pcimii 4099
60 1 r8169ohci_hcd 27022 1 ohci_pciehci_pci 4103
61 0ehci_hcd 41036 1 ehci_pciusbcore 165285 9
62 mceusb,usbhid,usb_storage,ehci_hcd,ohci_pci,xhci_pci,ohci_hcd,xhci_hcd,e
63 hci_pciusb_common 2222 1 usbcoresnd_hda_intel 18065
64 0snd_hda_codec 73835 2
65 snd_hda_intel,snd_hda_codec_genericsnd_hwdep 5866 1
66 snd_hda_codecsnd_hda_core 40055 3
67 snd_hda_intel,snd_hda_codec,snd_hda_codec_genericsnd_pcm
68 78737 3 snd_hda_intel,snd_hda_codec,snd_hda_coresnd_timer
69 19336 1 snd_pcmsnd 55051 6
70 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_gener
71 ic,snd_pcmsoundcore 5231 1 snd
72 ----------------------- cut --------------------------
73
74 The remote looks like this one:
75 https://www.mythtv.org/wiki/File:Philips-remote.jpg
76
77 but its branded as olidata.
78
79 The receiver is detected as (syslog):
80 ----------------------- cut --------------------------
81 [ 6.937470] usb 4-2: new low-speed USB device number 3 using
82 xhci_hcd
83 [ 7.117723] usb 4-2: New USB device found, idVendor=0471,
84 idProduct=0613
85 [ 7.117730] usb 4-2: New USB device strings: Mfr=1, Product=2,
86 SerialNumber=0
87 [ 7.117735] usb 4-2: Product: MCE USB IR Receiver- Spinel plus
88 [ 7.117740] usb 4-2: Manufacturer: PHILIPS
89 [ 7.132840] input: PHILIPS MCE USB IR Receiver- Spinel plus as
90 /devices/pci0000:00/0000:00:15.2/0000:04:00.0/usb4/4-2/4-2:1.0/0003:047
91 1:0613.0003/input/input19
92 [ 7.185141] hid-generic 0003:0471:0613.0003: input,hiddev0,hidraw2:
93 USB HID v1.00 Keyboard [PHILIPS MCE USB IR Receiver- Spinel plus] on
94 usb-0000:04:00.0-2/input0
95 [ 7.191372] usbcore: registered new interface driver mceusb
96 ---------------------- cut --------------------------

Replies

Subject Author
Re: [gentoo-user] ir receiver - mceusb Daniel Frey <djqfrey@×××××.com>