I got myself the same one, and I just got it working on debian wheezy (should be similar on ubuntu)
it's just another mceusb device but the vendor/product-id isn't recognized. btw it's this device "Bus 009 Device 003: ID 0609:0357 SMK Manufacturing, Inc."
so first try this:
disconnect the device run this as root:
Code:
rmmod mceusb
modprobe mceusb
echo 0609 0357 > /sys/bus/usb/drivers/mceusb/new_id
this way mceusb recognizes the device. then connect the device and run
to check if the driver has initialized the device.
it should look like this:
Code:
[ 55.757051] usb 1-1.2.1: new full-speed USB device number 6 using ehci_hcd
[ 55.852806] usb 1-1.2.1: New USB device found, idVendor=0609, idProduct=0357
[ 55.852810] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 55.852813] usb 1-1.2.1: Product: WMC RECEIVER Emulator Device 2009
[ 55.852814] usb 1-1.2.1: Manufacturer: SMK CORPORATION
[ 55.852816] usb 1-1.2.1: SerialNumber: PA110328094713F
[ 55.924632] Registered IR keymap rc-rc6-mce
[ 55.924731] input: Media Center Ed. eHome Infrared Remote Transceiver (0609:0357) as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/rc/rc1/input9
[ 55.924853] rc1: Media Center Ed. eHome Infrared Remote Transceiver (0609:0357) as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/rc/rc1
[ 55.924964] input: MCE IR Keyboard/Mouse (mceusb) as /devices/virtual/input/input10
[ 55.925210] rc rc1: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
[ 56.132340] mceusb 1-1.2.1:1.0: Registered SMK CORPORATION WMC RECEIVER Emulator Device 2009 with mce emulator interface version 2
[ 56.132344] mceusb 1-1.2.1:1.0: 2 tx ports (0x0 cabled) and 2 rx sensors (0x0 active)
after the driver is working you can configure lirc:
my /etc/lirc/hardware.conf looks like this:
Code:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false
#Don't start irexec, even if a good config file seems to exist.
START_IREXEC=true
#Try to load appropriate kernel modules
LOAD_MODULES=true
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/lirc0"
MODULES="lirc_dev mceusb"
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
and if you are using a mce-remote, copy /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb to /etc/lirc/lircd.conf
or use the appropriate config for your remote, or create a config with irrecord if there is none for your remote (I didn't try it but I guess it should be possible to use other types of remotes)
restart lircd, run irw and start pressing keys on you remote to test it.
Code:
/etc/init.d/lirc restart
irw
So if you get results you are fine, there are only 2 more things to do:
1. Automate adding the vendor/product-id
2. Disable the IR Keyboard/Mouse-inputdevice in X11 so that the remote triggers only lircd otherwise you will get every command twice, through lircd and as keystroke on the the virtual keyboard.
1.
create /etc/udev/rules.d/95-mceusb.rules with the following content:
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="0609", ATTR{idProduct}=="0357", RUN="/etc/udev_mceusb.sh"
and /etc/udev_mceusb.sh
Code:
#!/bin/sh
modprobe mceusb
echo 0609 0357 > /sys/bus/usb/drivers/mceusb/new_id
and make this file executeable
Code:
chmod 755 /etc/udev_mceusb.sh
2. add this to /etc/X11/xorg.conf:
Code:
Section "InputClass"
Identifier "Remote"
MatchProduct "Media Center Ed. eHome Infrared Remote Transceiver"
Option "Ignore" "True"
EndSection
Section "InputClass"
Identifier "Ignore MCE IR keyboard"
MatchProduct "MCE IR Keyboard/Mouse (mceusb)"
Option "Ignore" "True"
EndSection
That's it.
and this should work for other mce-receivers, too. Just change the vendor/product-ID.