Gentoo Archives: gentoo-user

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

Replies

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