1 |
On 03/22/2017 08:12 AM, Petric Frank wrote: |
2 |
> Hello, |
3 |
> |
4 |
> |
5 |
> |
6 |
> maybe this is not exactly a gentoo problem. Please point me to correct |
7 |
> location if i am wrong here. |
8 |
> |
9 |
> |
10 |
> |
11 |
> I've got a MCE-like ir remote together with a USB receiver. |
12 |
> |
13 |
> |
14 |
> |
15 |
> Looks like it is detected by the kernel and a input device was created. |
16 |
> |
17 |
> Most of the keys are working. But - for example - the color buttons do not |
18 |
> |
19 |
> generate any output. |
20 |
> |
21 |
> |
22 |
> |
23 |
> "ir-keytable" (version 1.10.1) returns: |
24 |
> |
25 |
> Couldn't find any node at /sys/class/rc/rc*. |
26 |
> |
27 |
> |
28 |
> |
29 |
> "ir-keytable -d /dev/input/eventxx" gives as output: |
30 |
> |
31 |
> Name: PHILIPS MCE USB IR Receiver- Spi |
32 |
> bus: 3, vendor/product: 0471:0613, version: 0x0100 |
33 |
> |
34 |
> Using for test |
35 |
> |
36 |
> ir-keytable -d /dev/input/eventxx -r |
37 |
> |
38 |
> i got: |
39 |
> |
40 |
> ------------------- cut -------------------- |
41 |
> |
42 |
> scancode 0x700e0 = KEY_LEFTCTRL (0x1d) |
43 |
> |
44 |
> |
45 |
> |
46 |
> ... |
47 |
> |
48 |
> Enabled protocols: other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp |
49 |
> xmp |
50 |
> |
51 |
> ------------------- cut -------------------- |
52 |
> |
53 |
> |
54 |
> |
55 |
> But there is no definition of the color buttons in the list above. |
56 |
> |
57 |
> |
58 |
> |
59 |
> |
60 |
> |
61 |
> Tests were done using this command: |
62 |
> |
63 |
> ir-keytable -d /dev/input/eventxx -t |
64 |
> |
65 |
> |
66 |
> |
67 |
> Any hints ? |
68 |
> |
69 |
> |
70 |
> |
71 |
> |
72 |
> |
73 |
> Is it possibe to see the scancodes received by the USB-receiver to validate |
74 |
> |
75 |
> that the remote really sends data for the color buttons. What kernel |
76 |
> options i have to enable ? |
77 |
> |
78 |
> (Also for checking and not barking at the wrong tree due to hardware |
79 |
> problems) |
80 |
> |
81 |
> |
82 |
> |
83 |
> |
84 |
> |
85 |
> Some info about my system: |
86 |
> |
87 |
> |
88 |
> |
89 |
> Kernel 4.9.6 (amd64) custom configured |
90 |
> |
91 |
> Distribution: Gentoo |
92 |
> |
93 |
> |
94 |
> |
95 |
> lsmod output: |
96 |
> |
97 |
> ----------------------- cut -------------------------- |
98 |
> |
99 |
> Module Size Used by |
100 |
> |
101 |
> rc_rc6_mce 1580 0 |
102 |
> mceusb 10365 0 |
103 |
> rc_core 16719 2 mceusb,rc_rc6_mce |
104 |
> usb_storage 48619 0 |
105 |
> hid_generic 1385 0 |
106 |
> usbhid 35380 0 |
107 |
> input_leds 3022 0 |
108 |
> led_class 3975 1 input_leds |
109 |
> |
110 |
> ohci_pci 3272 0 |
111 |
> |
112 |
> snd_hda_codec_generic 52071 2 |
113 |
> r8169 67900 0 |
114 |
> xhci_pci 4958 0 |
115 |
> xhci_hcd 101734 1 xhci_pci |
116 |
> mii 4099 1 r8169 |
117 |
> ohci_hcd 27022 1 ohci_pci |
118 |
> ehci_pci 4103 0 |
119 |
> ehci_hcd 41036 1 ehci_pci |
120 |
> usbcore 165285 9 |
121 |
> mceusb,usbhid,usb_storage,ehci_hcd,ohci_pci,xhci_pci,ohci_hcd,xhci_hcd,ehci_pci |
122 |
> usb_common 2222 1 usbcore |
123 |
> snd_hda_intel 18065 0 |
124 |
> snd_hda_codec 73835 2 snd_hda_intel,snd_hda_codec_generic |
125 |
> snd_hwdep 5866 1 snd_hda_codec |
126 |
> snd_hda_core 40055 3 |
127 |
> snd_hda_intel,snd_hda_codec,snd_hda_codec_generic |
128 |
> snd_pcm 78737 3 snd_hda_intel,snd_hda_codec,snd_hda_core |
129 |
> snd_timer 19336 1 snd_pcm |
130 |
> snd 55051 6 |
131 |
> snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_pcm |
132 |
> soundcore 5231 1 snd |
133 |
> |
134 |
> ----------------------- cut -------------------------- |
135 |
> |
136 |
> |
137 |
> |
138 |
> The remote looks like this one: |
139 |
> |
140 |
> https://www.mythtv.org/wiki/File:Philips-remote.jpg |
141 |
> |
142 |
> |
143 |
> |
144 |
> but its branded as olidata. |
145 |
> |
146 |
> |
147 |
> |
148 |
> The receiver is detected as (syslog): |
149 |
> |
150 |
> ----------------------- cut -------------------------- |
151 |
> |
152 |
> [ 6.937470] usb 4-2: new low-speed USB device number 3 using xhci_hcd |
153 |
> |
154 |
> [ 7.117723] usb 4-2: New USB device found, idVendor=0471, idProduct=0613 |
155 |
> |
156 |
> [ 7.117730] usb 4-2: New USB device strings: Mfr=1, Product=2, |
157 |
> SerialNumber=0 |
158 |
> |
159 |
> [ 7.117735] usb 4-2: Product: MCE USB IR Receiver- Spinel plus |
160 |
> |
161 |
> [ 7.117740] usb 4-2: Manufacturer: PHILIPS |
162 |
> |
163 |
> [ 7.132840] input: PHILIPS MCE USB IR Receiver- Spinel plus as |
164 |
> |
165 |
> /devices/pci0000:00/0000:00:15.2/0000:04:00.0/usb4/4-2/4-2:1.0/0003:0471:0613.0003/input/input19 |
166 |
> |
167 |
> |
168 |
> [ 7.185141] hid-generic 0003:0471:0613.0003: input,hiddev0,hidraw2: USB |
169 |
> HID v1.00 Keyboard [PHILIPS MCE USB IR Receiver- Spinel plus] on |
170 |
> usb-0000:04:00.0-2/input0 |
171 |
> |
172 |
> [ 7.191372] usbcore: registered new interface driver mceusb |
173 |
> |
174 |
> ---------------------- cut -------------------------- |
175 |
> |
176 |
> |
177 |
> |
178 |
|
179 |
Exactly what have you enabled in the kernel? You've probably missed |
180 |
something if nothing is created under /sys/class/rc/. |
181 |
|
182 |
Dan |