If anyone is interested in using LIRC (http://www.lirc.org/) to control your UniFi set top box (Huawei EC2108E) from your PC, I have captured the infrared codes for the remote in LIRC format. The configuration is below.
You can build a serial infrared transmitter from the instructions here:
http://www.lirc.org/transmitters.html. With this, you can then write a script in Linux to automate things like changing channels automatically. My purpose for doing this is to integrate the UniFi set top box into a MythtTV (http://www.mythtv.org) environment.
» Click to show Spoiler - click again to hide... «
begin remote
name HUAWEI_EC2108E_UNIFI
flags RAW_CODES|CONST_LENGTH
eps 30
aeps 100
gap 111879
begin raw_codes
name KEY_POWER
9050 4450 650 1650 600 500
650 550 600 500 650 1650
650 500 600 550 600 550
600 500 650 1650 650 1650
600 1650 650 500 650 1600
650 1650 650 1650 600 500
650 500 650 1650 600 1650
650 1650 600 550 600 550
600 1700 600 1650 600 1650
600 550 600 550 600 550
600 1650 650 1650 600 550
600
name KEY_TV
9050 4500 600 1650 650 500
650 500 600 550 600 1650
650 500 650 500 600 550
650 500 650 1600 650 1650
600 1650 650 500 650 1650
600 1650 650 1650 600 1650
650 500 650 1650 600 550
600 1650 600 550 600 550
600 1700 600 550 600 1650
600 550 600 1650 650 500
600 1700 600 1650 650 500
600
name KEY_VIDEO
9050 4500 600 1650 650 500
650 500 600 500 650 1650
650 500 650 500 600 550
600 550 600 1650 650 1650
600 1650 650 500 650 1650
600 1650 650 1650 600 1650
650 500 650 500 650 500
600 1650 650 500 650 1650
600 1700 600 550 550 1700
600 1650 650 1650 600 550
600 1650 600 550 600 550
600
name KEY_INFO
9050 4450 650 1650 650 500
600 550 600 500 650 1650
650 500 650 500 600 550
600 550 600 1650 650 1650
600 1650 650 500 650 1600
650 1650 650 1650 600 500
650 1650 650 500 600 550
600 550 600 550 600 1650
650 1650 600 1650 650 500
600 1700 600 1650 650 1650
600 1650 600 550 600 550
600
name KEY_I
9050 4450 650 1600 650 500
650 500 650 500 650 1650
600 500 650 550 600 550
600 500 650 1650 650 1650
600 1650 650 500 600 1650
650 1650 600 1700 600 1650
600 550 600 1650 650 1650
600 1650 650 500 600 1700
600 1700 600 500 650 1650
600 550 600 500 650 500
650 1650 600 550 600 550
600
name KEY_MENU
9050 4450 650 1650 600 500
650 550 600 500 650 1650
650 500 600 550 600 550
600 500 650 1650 650 1650
600 1650 650 500 650 1600
650 1650 650 1650 600 1650
650 1650 600 500 650 1650
600 1650 650 550 600 500
650 1650 600 550 600 550
600 1650 600 550 600 550
600 1650 650 1650 600 550
600
name KEY_EPG
9050 4500 600 1650 650 500
600 550 600 500 650 1650
650 500 650 500 600 550
600 550 600 1650 650 1650
600 1650 650 500 650 1600
650 1650 650 1650 600 500
650 1650 650 500 600 1650
650 1650 600 550 600 550
600 1700 600 1650 600 550
600 1650 650 500 600 550
600 1650 650 1650 600 550
600
name KEY_EXIT
9050 4450 650 1650 600 500
650 550 600 500 650 1650
650 500 600 550 600 550
600 500 650 1650 650 1650
600 1650 650 500 650 1600
650 1650 650 1650 600 1650
650 1600 650 1650 650 500
600 1650 650 500 650 1650
600 1700 600 500 650 500
600 550 600 1700 600 500
650 1650 600 550 600 550
600
name KEY_LANGUAGE
9050 4450 650 1600 650 500
650 500 650 500 650 1650
600 500 650 550 600 550
600 500 650 1650 650 1600
650 1650 600 550 600 1650
650 1650 600 1700 600 500
650 500 650 1650 600 550
600 1650 600 550 600 1650
650 1650 600 1700 600 1650
600 550 600 1650 650 500
650 1650 600 550 600 550
600
name KEY_SUBTITLE
9050 4500 600 1650 650 500
650 500 600 550 600 1650
650 500 650 500 600 550
650 500 650 1600 650 1650
600 1650 650 500 650 1650
650 1600 650 1650 600 1650
650 1650 650 1600 650 500
650 500 600 550 650 1650
600 1700 600 500 650 500
600 550 600 1650 650 1650
600 1700 600 500 650 500
650
name KEY_MUTE
9050 4450 650 1650 600 500
650 500 650 500 650 1650
600 550 600 550 600 550
600 500 650 1650 650 1650
600 1650 650 500 600 1650
650 1650 600 1700 600 1650
650 500 600 1650 650 1650
600 1650 650 500 600 550
650 1650 600 550 600 1650
600 550 600 550 600 550
600 1650 650 1650 600 550
600
name KEY_BACK
9050 4450 650 1650 650 500
600 550 600 500 650 1650
650 500 650 500 600 550
600 550 600 1650 650 1650
600 1650 650 500 650 1600
650 1650 650 1650 600 500
650 500 650 500 650 500
600 1700 600 550 600 550
600 1650 600 1700 600 1650
600 1700 600 1650 600 550
600 1650 650 1650 600 550
600
name KEY_PAGEUP
9050 4450 650 1650 600 500
650 550 600 500 650 1650
650 500 600 550 600 550
600 500 650 1650 650 1650
600 1650 650 500 650 1600
650 1650 650 1650 600 1650
650 1600 650 1650 650 1650
600 500 650 500 650 1650
600 1700 600 500 650 500
600 550 600 550 600 1700
600 1650 600 550 600 550
600
name KEY_PAGEDOWN
9050 4500 600 1650 650 500
650 500 600 500 650 1650
650 500 650 500 600 550
600 550 650 1600 650 1650
600 1650 650 500 650 1650
600 1650 650 1650 600 550
600 500 650 500 650 1650
600 1650 650 500 650 500
650 1650 600 1650 650 1650
600 1650 650 500 650 500
600 1700 600 1650 600 550
600
name KEY_OK
9000 4500 600 1650 650 500
650 500 650 500 650 1600
650 500 650 500 650 500
650 500 650 1650 600 1650
650 1650 600 500 650 1650
650 1600 650 1650 650 500
650 1600 650 1650 650 1650
600 550 600 500 650 1650
600 1700 600 1650 600 550
600 550 600 550 600 1650
600 1700 600 500 650 500
650
name KEY_UP
9050 4450 600 1650 650 500
650 500 650 500 650 1600
650 500 650 500 650 550
600 500 650 1650 600 1650
650 1650 600 500 650 1650
650 1650 600 1700 600 500
650 1650 600 500 650 1650
650 500 600 550 600 1650
650 1650 600 1650 650 550
550 1700 600 550 600 1650
650 1650 600 550 600 500
650
name KEY_DOWN
9050 4450 650 1600 650 500
650 500 650 500 650 1600
650 500 650 500 650 550
600 500 650 1650 650 1600
650 1650 600 550 600 1650
650 1650 600 1700 600 500
650 1650 600 500 650 550
600 1650 600 550 600 1650
650 1650 600 1650 650 550
600 1650 600 1650 650 500
650 1650 600 550 600 500
650
name KEY_LEFT
9050 4500 600 1650 650 500
650 500 600 550 600 1650
650 500 650 500 600 550
650 500 650 1600 650 1650
600 1650 650 500 650 1650
600 1650 650 1650 600 1650
650 500 650 500 650 1650
600 1650 600 550 650 500
600 1700 600 550 600 1650
600 1700 600 500 650 500
600 1700 600 1650 650 500
600
name KEY_RIGHT
9050 4500 600 1650 650 500
650 500 600 500 650 1650
650 500 650 500 600 550
600 550 600 1650 650 1650
600 1650 650 500 650 1650
600 1650 650 1650 600 1650
650 500 650 500 650 500
600 550 600 550 600 1650
650 1650 600 550 600 1650
650 1650 600 1650 650 1650
600 1650 600 550 600 550
600
name KEY_RED
9000 4500 600 1650 650 500
650 500 600 550 650 1600
650 500 650 500 650 500
650 500 650 1650 600 1650
650 1600 650 500 650 1650
650 1600 650 1650 650 500
600 550 600 1650 650 500
600 550 650 500 600 550
600 1700 600 1650 600 1700
600 500 650 1650 600 1700
600 1650 600 1650 650 500
650
name KEY_GREEN
9050 4450 650 1650 650 500
600 550 600 500 650 1650
650 500 650 500 600 550
600 500 650 1650 650 1650
600 1650 650 500 650 1600
650 1650 650 1650 600 1650
650 500 650 500 600 1650
650 500 600 550 650 500
600 1700 600 500 650 1650
600 1700 600 500 650 1650
600 1650 650 1650 600 550
600
name KEY_YELLOW
9050 4450 650 1650 600 500
650 500 650 500 650 1650
600 550 600 550 600 550
600 500 650 1650 650 1650
600 1650 650 500 600 1650
650 1650 600 1700 600 1650
600 550 600 550 600 1650
650 1650 600 550 600 1650
650 1650 600 550 600 1650
600 1700 600 500 650 500
650 1650 600 550 600 550
600
name KEY_BLUE
9050 4450 650 1650 650 450
650 550 600 500 650 1650
650 500 650 500 600 550
600 500 650 1650 650 1650
600 1650 650 500 650 1600
650 1650 650 1650 600 500
650 1650 600 1650 650 500
650 1650 600 550 600 550
600 1700 600 1650 600 550
600 500 650 1650 600 550
600 1650 650 1650 600 550
600
name KEY_1
9000 4500 600 1650 650 500
650 500 650 500 650 1600
650 500 650 500 650 500
650 500 650 1650 600 1650
650 1650 600 500 650 1650
650 1600 650 1650 650 500
650 1600 650 500 650 500
650 1650 600 550 600 550
600 1700 600 1650 600 550
600 1650 600 1700 600 550
600 1650 600 1650 650 500
650
name KEY_2
9050 4500 600 1650 650 500
650 500 600 500 650 1650
650 500 650 500 600 550
600 550 600 1650 650 1650
600 1650 650 500 650 1650
600 1650 650 1650 600 1650
650 1650 600 550 600 500
650 1650 600 550 600 550
600 1700 600 550 550 550
650 1650 600 1650 650 500
600 1700 600 1650 600 550
600
name KEY_3
9050 4450 600 1650 650 500
650 500 650 500 650 1600
650 500 650 500 650 500
650 500 650 1650 600 1650
650 1650 600 500 650 1650
650 1650 600 1700 600 500
650 500 650 1600 650 1650
650 500 600 550 600 1650
650 1650 600 1650 650 1650
600 550 600 550 600 1650
650 1650 600 550 600 500
650
name KEY_4
9000 4500 600 1650 650 500
650 500 650 500 650 1600
650 500 650 500 650 500
650 500 650 1650 600 1650
650 1650 600 500 650 1650
650 1600 650 1650 650 500
650 1600 650 1650 650 1600
650 550 600 500 650 500
650 1650 600 1650 650 500
600 550 600 550 600 1700
600 1650 600 1650 650 500
650
name KEY_5
9050 4450 600 1650 650 500
650 500 650 500 650 1600
650 500 650 500 650 550
600 500 650 1650 600 1650
650 1650 600 500 650 1650
650 1650 600 1700 600 1650
600 1650 650 1650 600 1650
650 500 650 500 600 550
600 1700 600 500 650 550
550 550 650 500 600 1700
600 1650 600 1700 600 500
650
name KEY_6
9050 4450 650 1650 600 500
650 550 600 500 650 1650
650 500 600 550 600 550
600 500 650 1650 650 1650
600 1650 650 500 650 1600
650 1650 650 1650 600 500
650 500 650 500 650 1650
600 550 600 500 650 1650
600 1700 600 1650 600 1700
600 1650 600 550 600 1700
600 1650 600 550 600 550
600
name KEY_7
9050 4500 600 1650 650 500
650 500 600 500 650 1650
650 500 650 500 600 550
600 550 600 1650 650 1650
600 1650 650 500 650 1650
600 1650 650 1650 600 550
600 1650 650 500 650 1650
600 550 600 500 650 500
650 1650 600 1650 650 500
650 1650 600 550 600 1650
600 1700 600 1650 600 550
600
name KEY_8
9050 4450 650 1650 600 500
650 500 650 500 650 1650
600 550 600 550 600 550
600 500 650 1650 650 1650
600 1650 650 500 600 1650
650 1650 600 1700 600 1650
600 1650 650 500 650 1650
600 550 600 550 600 500
650 1700 550 550 600 550
600 1650 650 500 650 1650
600 1650 650 1650 600 550
600
name KEY_9
9000 4500 600 1650 650 500
650 500 600 550 600 1650
650 500 650 500 650 500
650 500 650 1600 650 1650
600 1650 650 500 650 1650
650 1600 650 1650 650 500
600 550 600 1650 650 500
600 550 600 550 600 1650
650 1650 600 1700 600 1650
600 550 600 1650 650 1650
600 1700 600 500 650 500
650
name KEY_0
9050 4450 650 1600 650 500
650 500 650 500 650 1650
600 550 600 550 600 550
600 500 650 1650 650 1650
600 1650 650 500 600 1650
650 1650 600 1700 600 1650
600 1650 650 1650 600 550
600 550 600 550 600 500
650 1700 550 550 600 550
600 550 600 1650 650 1650
600 1650 650 1650 600 550
600
name KEY_REWIND
9050 4450 650 1600 650 500
650 500 650 500 650 1650
600 550 600 550 600 550
600 500 650 1650 650 1650
600 1650 650 500 600 1650
650 1650 600 1700 600 500
650 1650 600 550 600 1650
650 1650 600 500 650 1650
600 1700 600 1650 650 500
600 1700 600 500 650 500
650 1650 600 550 600 550
600
name KEY_FORWARD
9050 4500 600 1650 650 500
650 500 600 500 650 1650
650 500 650 500 600 550
600 550 650 1600 650 1650
600 1650 650 500 650 1650
600 1650 650 1650 600 550
600 1650 650 1650 600 550
600 1650 600 550 600 1650
650 1650 600 1700 600 550
600 500 650 1650 600 550
600 1650 600 550 600 550
600
name KEY_PLAY
9050 4450 650 1600 650 500
650 500 650 500 650 1600
650 500 650 500 650 550
600 500 650 1650 600 1650
650 1650 600 550 600 1650
650 1650 600 1700 600 1650
600 1650 650 500 650 500
650 500 600 550 600 1650
650 1650 600 550 600 550
600 1650 650 1650 600 1650
650 1650 600 550 600 500
650
name KEY_ASTERISK
9050 4450 650 1600 650 500
650 500 650 500 650 1650
600 500 650 500 650 550
600 500 650 1650 650 1600
650 1650 600 550 600 1650
650 1650 600 1700 600 1650
600 550 600 1650 650 500
650 1650 600 500 650 1650
600 1700 600 550 600 1650
600 550 600 1650 650 500
650 1650 600 550 600 550
600
name KEY_HASH
9000 4500 600 1650 650 500
650 500 650 500 650 1600
650 500 650 500 650 500
650 500 650 1650 600 1650
650 1650 600 500 650 1650
650 1600 650 1650 650 1650
600 1650 650 1650 600 1650
650 1650 600 550 600 500
650 1650 600 550 600 550
600 550 600 550 600 550
600 1650 600 1650 650 500
650
end raw_codes
end remote
Added on October 5, 2010, 10:03 pmQUOTE(BlueWind @ Oct 5 2010, 09:55 PM)
I'm not sure about the HDCP thing, but what I can tell you is that if I don't update my capture software and the driver itself, I wouldn't get the signal and when I do, my volume control immediately disabled. It automatically disable my audio and I couldn't slide my volume control at all.
Since you have the Hauppauge, can you get the audio working?
Yeah, my video (via set top box's s-video) and audio (via RCA red and white cable) is connected to my capture box, and both audio and video works. It works simultaneously with the HDMI output to the TV, so i can watch on the TV and stream/capture via the connected PC.
I'm running on Linux though, so not dependent on the manufacturer's windows drivers or anything. *grin*
This post has been edited by shahada: Oct 5 2010, 10:03 PM