Hello,
maybe this is not exactly a gentoo problem. Please point me to correct location if i am wrong here.
I've got a MCE-like ir remote together with a USB receiver.
Looks like it is detected by the kernel and a input device was created.
Most of the keys are working. But - for example - the color buttons do not
generate any output.
"ir-keytable" (version 1.10.1) returns:
Couldn't find any node at /sys/class/rc/rc*.
"ir-keytable -d /dev/input/eventxx" gives as output:
Name: PHILIPS MCE USB IR Receiver- Spi
bus: 3, vendor/product: 0471:0613, version: 0x0100
Using for test
ir-keytable -d /dev/input/eventxx -r
i got:
------------------- cut --------------------
scancode 0x700e0 = KEY_LEFTCTRL (0x1d)
...
Enabled protocols: other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp xmp
------------------- cut --------------------
But there is no definition of the color buttons in the list above.
Tests were done using this command:
ir-keytable -d /dev/input/eventxx -t
Any hints ?
Is it possibe to see the scancodes received by the USB-receiver to validate
that the remote really sends data for the color buttons. What kernel options i have to enable ?
(Also for checking and not barking at the wrong tree due to hardware problems)
Some info about my system:
Kernel 4.9.6 (amd64) custom configured
Distribution: Gentoo
lsmod output:
----------------------- cut --------------------------
Module Size Used by
rc_rc6_mce 1580 0
mceusb 10365 0
rc_core 16719 2 mceusb,rc_rc6_mce
usb_storage 48619 0
hid_generic 1385 0
usbhid 35380 0
input_leds 3022 0
led_class 3975 1 input_leds
ohci_pci 3272 0
snd_hda_codec_generic 52071 2
r8169 67900 0
xhci_pci 4958 0
xhci_hcd 101734 1 xhci_pci
mii 4099 1 r8169
ohci_hcd 27022 1 ohci_pci
ehci_pci 4103 0
ehci_hcd 41036 1 ehci_pci
usbcore 165285 9 mceusb,usbhid,usb_storage,ehci_hcd,ohci_pci,xhci_pci,ohci_hcd,xhci_hcd,ehci_pci
usb_common 2222 1 usbcore
snd_hda_intel 18065 0
snd_hda_codec 73835 2 snd_hda_intel,snd_hda_codec_generic
snd_hwdep 5866 1 snd_hda_codec
snd_hda_core 40055 3 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic
snd_pcm 78737 3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 19336 1 snd_pcm
snd 55051 6 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_pcm
soundcore 5231 1 snd
----------------------- cut --------------------------
The remote looks like this one:
https://www.mythtv.org/wiki/File:Philips-remote.jpg
but its branded as olidata.
The receiver is detected as (syslog):
----------------------- cut --------------------------
[ 6.937470] usb 4-2: new low-speed USB device number 3 using xhci_hcd
[ 7.117723] usb 4-2: New USB device found, idVendor=0471, idProduct=0613
[ 7.117730] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7.117735] usb 4-2: Product: MCE USB IR Receiver- Spinel plus
[ 7.117740] usb 4-2: Manufacturer: PHILIPS
[ 7.132840] input: PHILIPS MCE USB IR Receiver- Spinel plus as
/devices/pci0000:00/0000:00:15.2/0000:04:00.0/usb4/4-2/4-2:1.0/0003:0471:0613.0003/input/input19
[ 7.185141] hid-generic 0003:0471:0613.0003: input,hiddev0,hidraw2: USB HID v1.00 Keyboard [PHILIPS MCE USB IR Receiver- Spinel plus] on usb-0000:04:00.0-2/input0
[ 7.191372] usbcore: registered new interface driver mceusb
---------------------- cut --------------------------
Hello Dan,
Which modules create the entries under /sys/class/rc/.
This is the media drivers part of the kernel config:
-------------------- cut --------------------------
#
# Media drivers
#
CONFIG_RC_CORE=m
CONFIG_RC_MAP=m
CONFIG_RC_DECODERS=y
CONFIG_LIRC=m
CONFIG_IR_LIRC_CODEC=m
CONFIG_IR_NEC_DECODER=m
CONFIG_IR_RC5_DECODER=m
CONFIG_IR_RC6_DECODER=m
CONFIG_IR_JVC_DECODER=m
CONFIG_IR_SONY_DECODER=m
CONFIG_IR_SANYO_DECODER=m
CONFIG_IR_SHARP_DECODER=m
CONFIG_IR_MCE_KBD_DECODER=m
CONFIG_IR_XMP_DECODER=m
CONFIG_RC_DEVICES=y
CONFIG_RC_ATI_REMOTE=m
# CONFIG_IR_ENE is not set
# CONFIG_IR_HIX5HD2 is not set
# CONFIG_IR_IMON is not set
CONFIG_IR_MCEUSB=m
# CONFIG_IR_ITE_CIR is not set
# CONFIG_IR_FINTEK is not set
# CONFIG_IR_NUVOTON is not set
# CONFIG_IR_REDRAT3 is not set
# CONFIG_IR_STREAMZAP is not set
# CONFIG_IR_WINBOND_CIR is not set
# CONFIG_IR_IGORPLUGUSB is not set
# CONFIG_IR_IGUANA is not set
# CONFIG_IR_TTUSBIR is not set
# CONFIG_RC_LOOPBACK is not set
# CONFIG_IR_GPIO_CIR is not set
CONFIG_MEDIA_USB_SUPPORT=y
# CONFIG_MEDIA_PCI_SUPPORT is not set
-------------------- cut --------------------------
Do i miss something ?
Or do i need to load other kernel modules by hand ?
regards
Petric