Quantcast

mce usb configuration woes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

mce usb configuration woes

Justin Schwalbe-2
Greetings. Brand new to lircd and mailinglists, sorry for any faux pas I may commit. This is also cross posted on ubuntuforums but I think the mods moved it inappropriately so it’s not getting any attention. So here goes:

I'm running a new install of Ubuntu 16.04. lircd 0.9 installed via apt-get. I've got a HP MCE USB IR Transceiver device that I'd like to use to turn send IR signals to turn on/off projector and a receiver, etc.  This is the device: https://www.aliexpress.com/item/New-MCE-USB-Receiver-for-HP-Wireless-MCE-USB-Infrared-Receiver-VISTA-WIN-7-RC6-remote/32621962879.html?spm=2114.40010408.3.1.STGMWk

So far it seems the device partially works.. but I need some help. I've been able to "record" remote keypresses. But I when I try to use irsend, the IR blaster blinks a red light but doesn't control any of my devices (nothing happens). 

Upon plugging in the USB Transceiver -- dmesg:
Code:
[174812.112065] usb 3-1: new full-speed USB device number 4 using uhci_hcd[174812.282128] usb 3-1: New USB device found, idVendor=0471, idProduct=0815
[174812.282137] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[174812.282143] usb 3-1: Product: eHome Infrared Transceiver
[174812.282149] usb 3-1: Manufacturer: Philips
[174812.282154] usb 3-1: SerialNumber: PH00Zrpu
[174812.290135] Registered IR keymap rc-rc6-mce
[174812.290366] input: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815) as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/rc/rc0/input12
[174812.290578] rc0: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815) as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/rc/rc0
[174812.290922] input: MCE IR Keyboard/Mouse (mceusb) as /devices/virtual/input/input13
[174812.292259] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
[174812.500088] mceusb 3-1:1.0: Registered Philips eHome Infrared Transceiver with mce emulator interface version 1
[174812.500098] mceusb 3-1:1.0: 2 tx ports (0x0 cabled) and 2 rx sensors (0x1 active)

dpkg-reconfigure lirc --> (selected these, but not sure if correct)
Remote control configuration: Windows Media Center Transceivers/Remotes (all) 
IR transmitter, if present: Microsoft Windows Media Center V2 (usb) : Scientific Atlanta Cable box

When I do the following (and mash buttons on remotes):
Code:
ob1@epic:~$ sudo cat /dev/lirc0 
?"0X?X?X?XrX?X?X?X?X@?@X?X?XrX?X?X?X@?@XrX?X?X?X?X@??X?X?X@XrX@XrX?X???"X???^C


and mashing on remotes again:
Code:
ob1@epic:~$ sudo mode2 -d /dev/lirc0
space 16777215
pulse 9000
space 4350
pulse 650
[. . .]^C

ob1@epic:/tmp$ sudo irrecord --device /dev/lirc0 -f /tmp/ACER --disable-namespace

Which created a file:
Code:
begin remote


  name  /tmp/ACER
  flags RAW_CODES|CONST_LENGTH
  eps            30
  aeps          100


  gap          107209


      begin raw_codes


          name ASUS-POWER
             8950    4400     600     500     600     500
              600     500     600    1600     650     450
              650     500     600     500     600     500
              600    1600     650    1600     600     500
              600     500     600    1650     600     500
              600     500     600     500     600    1600
              650    1600     600    1600     650     500
              600     500     600     500     600     500
              600    1600     600     500     600     550
              600     500     600    1600     600    1650
              600    1600     600    1650     600     500
              600


      end raw_codes


end remote

ob1@epic:/tmp$ sudo cp ACER /etc/lirc/lircd.conf

And here's the rub:
Code:
ob1@epic:/tmp$ irsend SEND_ONCE /tmp/ACER ASUS-POWER
The IR blaster plugged into the back of this device flashes red once. The projector, however, does nothing.  

Where have I messed up? Anyone done this before? 

Thanks
------------------------------------------------------------------------------
Loading...