[mythtv-users] Hauppauge grey remote with homemade serial IR receiver in MythTV 0.26 and Fedora 19
Jean-Yves Avenard
jyavenard at gmail.com
Mon Aug 26 09:42:49 UTC 2013
On 26 August 2013 19:31, Stephen Worthington <stephen_agent at jsw.gen.nz> wrote:
> I do not know too much about current Fedora versions, but I have
> fought and won the battle with all my IR receivers in Mythbuntu, after
> they all started to do strange things when the drivers were migrated
> into the kernel. So if the lirc_serial driver has been migrated into
> the kernel, that is likely the cause of your problems too.
>
> I have a Hauppauge MCE remote on my personal MythTV box, using the IR
> receiver that came with the Hauppauge PVR-500 card it came with. On
that's what I have to.. so may you can help
udevadm info -a -p $(udevadm info -q path -n /dev/lirc0):
looking at device
'/devices/pci0000:00/0000:00:1c.7/0000:09:00.0/usb6/6-2/6-2:1.0/rc/rc0/lirc0':
KERNEL=="lirc0"
SUBSYSTEM=="lirc"
DRIVER==""
looking at parent device
'/devices/pci0000:00/0000:00:1c.7/0000:09:00.0/usb6/6-2/6-2:1.0/rc/rc0':
KERNELS=="rc0"
SUBSYSTEMS=="rc"
DRIVERS==""
ATTRS{protocols}=="rc-5 nec rc-6 jvc sony mce_kbd [lirc]"
looking at parent device
'/devices/pci0000:00/0000:00:1c.7/0000:09:00.0/usb6/6-2/6-2:1.0':
KERNELS=="6-2:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="mceusb"
ATTRS{bInterfaceNumber}=="00"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bNumEndpoints}=="02"
ATTRS{bInterfaceClass}=="ff"
ATTRS{bInterfaceSubClass}=="ff"
ATTRS{bInterfaceProtocol}=="ff"
ATTRS{supports_autosuspend}=="0"
looking at parent device
'/devices/pci0000:00/0000:00:1c.7/0000:09:00.0/usb6/6-2':
KERNELS=="6-2"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="a0"
ATTRS{bMaxPower}=="100mA"
ATTRS{urbnum}=="24"
ATTRS{idVendor}=="1784"
ATTRS{idProduct}=="0001"
ATTRS{bcdDevice}=="0000"
ATTRS{bDeviceClass}=="00"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="16"
ATTRS{speed}=="12"
ATTRS{busnum}=="6"
ATTRS{devnum}=="3"
ATTRS{devpath}=="2"
ATTRS{version}==" 1.10"
ATTRS{maxchild}=="0"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Topseed"
ATTRS{product}=="eHome Infrared Transceiver"
ATTRS{serial}=="TS000oZX"
looking at parent device '/devices/pci0000:00/0000:00:1c.7/0000:09:00.0/usb6':
KERNELS=="usb6"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bMaxPower}==" 0mA"
ATTRS{urbnum}=="28"
ATTRS{idVendor}=="1d6b"
ATTRS{idProduct}=="0002"
ATTRS{bcdDevice}=="0302"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="01"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="480"
ATTRS{busnum}=="6"
ATTRS{devnum}=="1"
ATTRS{devpath}=="0"
ATTRS{version}==" 2.00"
ATTRS{maxchild}=="2"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Linux 3.2.0-51-generic xhci_hcd"
ATTRS{product}=="xHCI Host Controller"
ATTRS{serial}=="0000:09:00.0"
ATTRS{authorized_default}=="1"
looking at parent device '/devices/pci0000:00/0000:00:1c.7/0000:09:00.0':
KERNELS=="0000:09:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="xhci_hcd"
ATTRS{vendor}=="0x1b21"
ATTRS{device}=="0x1042"
ATTRS{subsystem_vendor}=="0x1043"
ATTRS{subsystem_device}=="0x8488"
ATTRS{class}=="0x0c0330"
ATTRS{irq}=="19"
ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
ATTRS{local_cpulist}=="0-3"
ATTRS{numa_node}=="-1"
ATTRS{dma_mask_bits}=="32"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""
looking at parent device '/devices/pci0000:00/0000:00:1c.7':
KERNELS=="0000:00:1c.7"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x1c1e"
ATTRS{subsystem_vendor}=="0x1043"
ATTRS{subsystem_device}=="0x844d"
ATTRS{class}=="0x060400"
ATTRS{irq}=="46"
ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
ATTRS{local_cpulist}=="0-3"
ATTRS{numa_node}=="-1"
ATTRS{dma_mask_bits}=="32"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}=="1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
extract from /etc/lirc/hardware.conf
REMOTE="Windows Media Center Transceivers/Remotes (all)"
REMOTE_MODULES="lirc_dev mceusb"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=""
When I got it to work a few months ago, the key was having X11 ignores
the input.. So I have in /etc/xorg.conf:
Section "InputClass"
Identifier "Remote"
MatchProduct "MCE IR Keyboard/Mouse (cx88xx)|MCE IR Keyboard/Mouse
(mceusb)|Media Center Ed. eHome Infrared Remote Transceiver
(1784:0001)|IR-receiver inside an USB DVB receiver|cx88 IR (digitalnow
DNTV Live! "
Option "Ignore" "on"
EndSection
$$ dmesg | grep MCE
[ 0.002580] mce: CPU supports 9 MCE banks
[ 10.055972] IR MCE Keyboard/mouse protocol handler initialized
[ 10.121885] input: MCE IR Keyboard/Mouse (mceusb) as
/devices/virtual/input/input6
I have a udev rules to make sure lirc is always on the same device (at
the time I had a DVB adapter with an infrared interface, so it wasn't
always /dev/lirc0, sometimes it was /dev/lirc1)
KERNEL=="lirc[0-9]*", SUBSYSTEM=="lirc", SUBSYSTEMS=="usb",
ATTRS{product}=="eHome Infrared Transceiver", SYMLINK+="mceremote"
So if you have advice on how to get it working again, I'm all ears
More information about the mythtv-users
mailing list