Beo4 IR remote receiver (1 Viewer)

druden

Portal Pro
January 2, 2006
54
0
Denmark
Hi, I'm working on a Beo4 IR remote receiver (used with Bang & Olufsen equipment). I've built the simple Lirc (WinLirc) receiver http://lnx.manoweb.com/lirc/?partType=section&partName=circuit with a single mod: the IR receiver (which is typically based on the Vishay TSOP1738 or equivalent) is replaced by the TSOP7000 - because B&O uses 455 kHz as carrier frequency - it allows for signal strengths 10x that of other IR remotes.

So far, it looks promising. I downloaded WinLirc, and I can grab raw data from my Beo4. From this I can see the pulse and space lenghts when I press random buttons. However, I can't get WinLirc to "learn" remote commands, it simply says it can't get a consistent signal.

Other people seems to buy a pretty expensive box from IRtrans or Lintronic. I prefer the homebrew solution because it covers all my needs, and it will be almost invisible in my living room compared to other solutions.

Anyone has experience with Beo4 (or Beolink 1000 which afaik uses the same freq and signalling scheme)?
 

jawbroken

Portal Pro
August 13, 2005
706
0
Home Country
Afghanistan Afghanistan
WinLIRC is designed for 45khz carrier signals (if I remember correctly). I don't think the serial port can generate a carrier signal at 455khz, or receive information at this rate. Even if it could, I believe WinLIRC is fairly hard coded to frequencies near the standard of 38->45khz.

You won't be getting consistent data because I don't believe you can receive information that quickly on the serial port (I could be wrong).

Changing the IR receiver just allows the receiver to react to frequencies in that range, because WinLIRC is mainly a software solution (decoding and carrier signals are all generated in software), I believe you will have great difficulty getting it to work.
 

druden

Portal Pro
January 2, 2006
54
0
Denmark
Hi Jawbreaker :)

The 455 kHz is the frequency at which the IR signal is modulated. It is demodulated by the TSOP7000 "IR eye". With WinLIRC listening at 115.200, each pulse is ~200 frames (or a multiply of 200 frames), so the bit steam data speed delivered at the RS-232 port (at the DCD pin) is as low as ~500 baud.

The fact that WinLIRC reads the raw data perfectly well seems to indicate that the problem isn't with the speed, it's rather caused by the protocol.

Unless someone has a clue :?: I'll probably better stick to the LIRC forums for help....

Samle WinLIRC raw data for the Beo4 power off button:
Code:
pulse 193
space 2930
pulse 194
space 2931
pulse 200
space 15451
...
 

jawbroken

Portal Pro
August 13, 2005
706
0
Home Country
Afghanistan Afghanistan
Ah, fair enough. I think I was thinking about an entirely different homebrew IR receiver that I built a couple of years ago. The data you are getting does seem consistent, so I would guess that it was a protocol issue.

Sorry for my confusion.

Edit: You would think that as a third Electrical Engineering student I would have learnt by now to always read datasheets =D
 

druden

Portal Pro
January 2, 2006
54
0
Denmark
[Edit: Beo4.rc (see code below) updated on 16.01.2006]

Progress ;-)

I figured out how to grab the raw data (see previous posting), and from the guide found here http://winlirc.sourceforge.net/technicaldetails.html I wrote my own WinLIRC configuration file.

Unfortunately the Media Portal WinLIRC plugin seems to be broken for the time being :-( http://nolanparty.com/mediaportal.sourceforge.net/phpBB2/viewtopic.php?t=11693&highlight=winlirc

My Beo4.cf configuration file which works with WinLIRC 0.6.5:

Code:
#=======================================================================
#
#   Remote accompanying product: Beo4 (Bang & Olufsen)
#
#   Contributed by: Jesper Drud Nielsen, January 2006 drud at chaos.dk
#
#   All buttons physically available on the Beo4 remote are included in
#   this configuration. Buttons which are only accessible using the LIST
#   button (e.g. SOUND, V.MODE, V.TAPE2 etc.) are not included.
#
#   Lirc/WinLIRC does NOT learn the Beo4 remote, but reads the raw data
#   which in turn can be translated as shown below (all pulses seem to
#   be 200 units, pauses vary in lenght).
#
#   For those who want to build a simple Serial IR receiver, I recommend
#   sticking to the guide on [url]www.lirc.org/receivers.html[/url] - however, note
#   that Bang & Olufsen chose a carrier frequency of 455 kHz (>10x that
#   of other manufacturers). Thus you need an IR device like Vishay
#   TSOP7000. It is slightly more expensive, however you should be able
#   to build a complete Serial IR reciver at around than 20 euros like I
#   did.
#
#   Please also check the pin out for your TSOP7000 and your voltage
#   regulator (78L05) which depends on the particular housing model you
#   get.
#
#=======================================================================



begin remote

  name   Beo4
  flags RAW_CODES
  eps           8
  aeps          90
  gap        18000

      begin raw_codes

	name beo4-tv-on																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-video-poweroff																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	6000	200	12400	200
	name beo4-tv-left																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	6000	200	9200	200	3000	200	12400	200
	name beo4-tv-right																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	3000	200	6000	200	12400	200
	name beo4-tv-up																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	6000	200	6000	200	3000	200	12400	200
	name beo4-tv-down																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-tv-green																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	3000	200	9200	200	2800	200	9200	200	12400	200
	name beo4-tv-yellow																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	3000	200	9200	200	3000	200	6000	200	12400	200
	name beo4-tv-red																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	9200	200	12400	200
	name beo4-tv-blue																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	12400	200
	name beo4-tv-exit																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-tv-menu																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	6000	200	6000	200	3000	200	6000	200	12400	200
	name beo4-video-vol-up																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-video-vol-down																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	6000	200	9200	200	3000	200	6000	200	12400	200
	name beo4-tv-stop																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	12400	200
	name beo4-video-record																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	6000	200	12400	200
	name beo4-tv-0																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-tv-1																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	12400	200
	name beo4-tv-2																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	12400	200
	name beo4-tv-3																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	12400	200
	name beo4-tv-4																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	12400	200
	name beo4-tv-5																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	12400	200
	name beo4-tv-6																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	12400	200
	name beo4-tv-7																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	6000	200	12400	200
	name beo4-tv-8																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	12400	200
	name beo4-tv-9																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	9200	200	12400	200
	name beo4-text-on																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	12400	200
	name beo4-all-power-off																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	6000	200	6000	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	6000	200	12400	200
	name beo4-vtape-on																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	6000	200	2800	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	12400	200
	name beo4-vtape-left																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	9200	200	6000	200	3000	200	6000	200	9200	200	3000	200	12400	200
	name beo4-vtape-right																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	9200	200	6000	200	2800	200	9200	200	3000	200	6000	200	12400	200
	name beo4-vtape-up																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	6000	200	9200	200	6000	200	6000	200	6000	200	3000	200	12400	200
	name beo4-vtape-down																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	6000	200	9200	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-vtape-green																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	6000	200	6000	200	3000	200	9200	200	3000	200	9200	200	2800	200	9200	200	12400	200
	name beo4-vtape-yellow																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	6000	200	6000	200	3000	200	9200	200	3000	200	9200	200	3000	200	6000	200	12400	200
	name beo4-vtape-red																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	6000	200	6000	200	3000	200	9200	200	6000	200	2800	200	6000	200	9200	200	12400	200
	name beo4-vtape-blue																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	6000	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	12400	200
	name beo4-vtape-exit																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	2800	200	9200	200	3000	200	9200	200	6000	200	6000	200	6000	200	6000	200	6200	200	6000	200	12400	200
	name beo4-vtape-menu																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	9200	200	3000	200	9200	200	6000	200	6000	200	3000	200	6000	200	12400	200
	name beo4-vtape-stop																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	2800	200	9200	200	3000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	2800	200	12400	200
	name beo4-vtape-0																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-vtape-1																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	2800	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	12400	200
	name beo4-vtape-2																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	2800	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	12400	200
	name beo4-vtape-3																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	12400	200
	name beo4-vtape-4																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	2800	200	6000	200	12400	200
	name beo4-vtape-5																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	2800	200	9200	200	12400	200
	name beo4-vtape-6																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	12400	200
	name beo4-vtape-7																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	6000	200	12400	200
	name beo4-vtape-8																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	12400	200
	name beo4-vtape-9																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	9200	200	12400	200
	name beo4-dvd-on																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	12400	200
	name beo4-sat-on																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	12400	200
	name beo4-light-on																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	6000	200	3000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	12400	200
	name beo4-light-left																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	9200	200	6000	200	3000	200	6000	200	9200	200	3000	200	12400	200
	name beo4-light-right																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	9200	200	6000	200	3000	200	9200	200	3000	200	6000	200	12400	200
	name beo4-light-up																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	9200	200	6000	200	6000	200	6000	200	3000	200	12400	200
	name beo4-light-down																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	9200	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-light-green																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	6000	200	6000	200	3000	200	9200	200	3000	200	9200	200	3000	200	9200	200	12400	200
	name beo4-light-yellow																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	6000	200	6000	200	3000	200	9200	200	3000	200	9200	200	3000	200	6000	200	12400	200
	name beo4-light-red																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	6000	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	9200	200	12400	200
	name beo4-light-blue																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	6000	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	12400	200
	name beo4-audio-exit																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-audio-vol-up																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-audio-vol-down																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	6000	200	3000	200	6000	200	9200	200	3000	200	6000	200	12400	200
	name beo4-light-menu																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	9200	200	3000	200	9200	200	6000	200	6000	200	3000	200	6000	200	12400	200
	name beo4-light-stop																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	12400	200
	name beo4-light-0																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-light-1																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	12400	200
	name beo4-light-2																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	12400	200
	name beo4-light-3																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6200	200	6000	200	6000	200	6000	200	9200	200	6000	200	12400	200
	name beo4-light-4																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	12400	200
	name beo4-light-5																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	12400	200
	name beo4-light-6																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	12400	200
	name beo4-light-7																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	6000	200	12400	200
	name beo4-light-8																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	12400	200
	name beo4-light-9																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	9200	200	12400	200
	name beo4-radio-on																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	12400	200
	name beo4-audio-poweroff																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	6000	200	12400	200
	name beo4-audio-left																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	9200	200	6000	200	3000	200	6000	200	9200	200	3000	200	12400	200
	name beo4-audio-right																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	9200	200	6000	200	3000	200	9200	200	3000	200	6000	200	12400	200
	name beo4-audio-up																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	9200	200	6000	200	6000	200	6000	200	3000	200	12400	200
	name beo4-audio-down																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	9200	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-audio-green																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	6000	200	3000	200	9200	200	3000	200	9200	200	3000	200	9200	200	12400	200
	name beo4-audio-yellow																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	6000	200	3000	200	9200	200	3000	200	9200	200	3000	200	6000	200	12400	200
	name beo4-audio-red																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	9200	200	12400	200
	name beo4-audio-blue																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	6000	200	3000	200	9200	200	6000	200	3000	200	6000	200	6000	200	12400	200
	name beo4-audio-menu																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	3000	200	9200	200	6000	200	6000	200	3000	200	6000	200	12400	200
	name beo4-audio-stop																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	3000	200	12400	200
	name beo4-audio-record																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	9200	200	6000	200	3000	200	9200	200	6000	200	6000	200	12400	200
	name beo4-audio-0																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	12400	200
	name beo4-audio-1																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	12400	200
	name beo4-audio-2																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	12400	200
	name beo4-audio-3																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	12400	200
	name beo4-audio-4																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	12400	200
	name beo4-audio-5																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	9200	200	12400	200
	name beo4-audio-6																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	12400	200
	name beo4-audio-7																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	6000	200	12400	200
	name beo4-audio-8																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	12400	200
	name beo4-audio-9																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	6000	200	6000	200	9200	200	3000	200	6000	200	9200	200	12400	200
	name beo4-cd-on																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	6000	200	9200	200	3000	200	6000	200	9200	200	3000	200	12400	200
	name beo4-atape-on																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	6000	200	9200	200	3000	200	6000	200	6000	200	9200	200	12400	200
	name beo4-tv/sat/dvd-go																																											
		200	3000	200	3000	200	15400	200	3000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	6000	200	9200	200	6000	200	3000	200	9200	200	3000	200	9200	200	12400	200

      end raw_codes

end remote
 

druden

Portal Pro
January 2, 2006
54
0
Denmark
Succes!

[Edit: AutoHotKey.ini (see code below) was updated on 16.01.2006]

Replaced the broken WinLIRC plugin for Media Portal with AutoHotKey - a freeware app found here: http://autohotkey.com - the "final" (until the WinLIRC plugin is fixed) configuration which is sooooo nice ;-) consist of
AutoHotKey using my config sends keystrokes to the foremost application which is always Media Portal in my case...

Notes:

  • AutoHotKey is not context sensitive (a remote buttons always sends the same keystrok, no matter if you're watching a full screen movie or browsing the TV guide
    Some keyboard shortcuts are not mapped because Beo4 has a limited set of buttons (F5-F9 and the "u" key was left out).
Kind regards,
Jesper

The sample autohotkey.ini modified for Beo4/WinLIRC/MP
Code:
; Here are the steps to use this script:
; 1) Configure WinLIRC to recognize your remote control and its buttons.
;    WinLIRC is at http://winlirc.sourceforge.net
; 2) Edit the WinLIRC path, address, and port in the CONFIG section below.
; 3) Launch this script. It will start the WinLIRC server if needed.
; 4) Press some buttons on your remote control. A small window will
;    appear showing the name of each button as you press it.
; 5) Configure your buttons to send keystrokes and mouse clicks to
;    windows such as Winamp, Media Player, etc. See the examples below.

; This script requires AutoHotkey 1.0.38 or later.
; HISTORY OF CHANGES
; October 5, 2005:
; - Eliminated Winsock warning dialog "10054" upon system shutdown/logoff.
; - Added option "DelayBetweenButtonRepeats" to throttle the repeat speed.

; -------------------------------------------------
; CONFIGURATION SECTION: Set your preferences here.
; -------------------------------------------------
; Some remote controls repeat the signal rapidly while you're holding down
; a button. This makes it difficult to get the remote to send only a single
; signal. The following setting solves this by ignoring repeated signals
; until the specified time has passed. 200 is often a good setting.  Set it
; to 0 to disable this feature.
DelayBetweenButtonRepeats = 200

; Specify the path to WinLIRC, such as C:\WinLIRC\winlirc.exe
WinLIRC_Path = c:\progra~1\WinLIRC\winlirc.exe

; Specify WinLIRC's address and port. The most common are 127.0.0.1 (localhost) and 8765.
WinLIRC_Address = 127.0.0.1
WinLIRC_Port = 8765

; Do not change the following two lines. Skip them and continue below.
Gosub WinLIRC_Init
return

; --------------------------------------------
; ASSIGN ACTIONS TO THE BUTTONS ON YOUR REMOTE
; --------------------------------------------
; Configure your remote control's buttons below. Use WinLIRC's names
; for the buttons, which can be seen in your WinLIRC config file
; (.cf file) -- or you can press any button on your remote and the
; script will briefly display the button's name in a small window.
; 
; Below are some examples. Feel free to revise or delete them to suit
; your preferences.

;=======================================================================
;POWER 3 SEC: shut windows down
;=======================================================================
beo4-all-power-off:
Shutdown,5
return

;=======================================================================
;SAT = Launch MediaPortal (if crashed...)
;=======================================================================
beo4-sat-on:
Run,c:\progra~1\mediaportal\mediaportal.exe
return

;=======================================================================
;V.TAPE = On Screen Display (OSD) if running, otherwise launch MP!
;=======================================================================
beo4-vtape-on:
Send,y
return

;=======================================================================
;All numeric buttons naturally are sent without translation
;=======================================================================
beo4-vtape-0:
beo4-tv-0:
Send,{Numpad0}
return

beo4-vtape-1:
beo4-tv-1:
Send,{Numpad1}
return

beo4-vtape-2:
beo4-tv-2:
Send,{Numpad2}
return

beo4-vtape-3:
beo4-tv-3:
Send,{Numpad3}
return

beo4-vtape-4:
beo4-tv-4:
Send,{Numpad4}
return

beo4-vtape-5:
beo4-tv-5:
Send,{Numpad5}
return

beo4-vtape-6:
beo4-tv-6:
Send,{Numpad6}
return

beo4-vtape-7:
beo4-tv-7:
Send,{Numpad7}
return

beo4-vtape-8:
beo4-tv-8:
Send,{Numpad8}
return

beo4-vtape-9:
beo4-tv-9:
Send,{Numpad9}
return

;=======================================================================
;Arrow keys (while V.TAPE) are also passed on without translation
;=======================================================================
beo4-vtape-left:
Send,{LEFT}
return

beo4-vtape-right:
Send,{RIGHT}
return

beo4-vtape-up:
Send,{UP}
return

beo4-vtape-down:
Send,{DOWN}
return

;=======================================================================
; The Green button toggles windowed/full screen mode
;=======================================================================
beo4-vtape-green:
beo4-tv-green:
Send,x
return

;=======================================================================
; The Yellow button switches aspect ratio on videos/TV
;            shows playlist/music/video in other modes
;=======================================================================
beo4-vtape-yellow:
beo4-tv-yellow:
Send,{F1}
Send,s
return

;=======================================================================
; The Red button is used for pause
;=======================================================================
beo4-vtape-red:
beo4-tv-red:
Send,{SPACE}
return

;=======================================================================
; The Blue button = Enter
;=======================================================================
beo4-vtape-blue:
beo4-tv-blue:
Send,{ENTER}
return

;=======================================================================
; RECORD = record (TV mode), rotate (in Picture mode), Menu (in DVD mode)
;=======================================================================
beo4-video-record:
Send,r
Send,m
return

;=======================================================================
; MENU = display menu/info/IMDB lookup
;=======================================================================
beo4-vtape-menu:
beo4-tv-menu:
Send,{F3}
return

;=======================================================================
; STOP = stop/exit
;=======================================================================
beo4-vtape-stop:
beo4-tv-stop:
Send,b
return

;=======================================================================
; Volume up/down are passed as =/-, could be deleted to avoid
; simultaneously controlling your B&O TV and Media Portal
;=======================================================================
beo4-video-vol-up:
Send,=
return

beo4-video-vol-down:
Send,-
return

;=======================================================================
; EXIT = generally exits or steps one menu level back
;=======================================================================
beo4-vtape-exit:
beo4-tv-exit:
Send,{ESC}
return

;=======================================================================
; Switch to DVD mode and use the arrow buttons for FFD/REW and for
; skipping a full track/movie forward or backward
;=======================================================================
beo4-tv-left:
Send,{F5}
return

beo4-tv--right:
Send,{F6}
return

beo4-tv-up:
Send,{F7}
return

beo4-tv-down:
Send,{F5}
return

; ----------------------------
; END OF CONFIGURATION SECTION
; ----------------------------
; Do not make changes below this point unless you want to change the core
; functionality of the script.

WinLIRC_Init:
OnExit, ExitSub  ; For connection cleanup purposes.

; Launch WinLIRC if it isn't already running:
Process, Exist, winlirc.exe
if not ErrorLevel  ; No PID for WinLIRC was found.
{
	IfNotExist, %WinLIRC_Path%
	{
		MsgBox The file "%WinLIRC_Path%" does not exist. Please edit this script to specify its location.
		ExitApp
	}
	Run %WinLIRC_Path%
	Sleep 200  ; Give WinLIRC a little time to initialize (probably never needed, just for peace of mind).
}

; Connect to WinLIRC (or any type of server for that matter):
socket := ConnectToAddress(WinLIRC_Address, WinLIRC_Port)
if socket = -1  ; Connection failed (it already displayed the reason).
	ExitApp

; Find this script's main window:
Process, Exist  ; This sets ErrorLevel to this script's PID (it's done this way to support compiled scripts).
DetectHiddenWindows On
ScriptMainWindowId := WinExist("ahk_class AutoHotkey ahk_pid " . ErrorLevel)
DetectHiddenWindows Off

; When the OS notifies the script that there is incoming data waiting to be received,
; the following causes a function to be launched to read the data:
NotificationMsg = 0x5555  ; An arbitrary message number, but should be greater than 0x1000.
OnMessage(NotificationMsg, "ReceiveData")

; Set up the connection to notify this script via message whenever new data has arrived.
; This avoids the need to poll the connection and thus cuts down on resource usage.
FD_READ = 1     ; Received when data is available to be read.
FD_CLOSE = 32   ; Received when connection has been closed.
if DllCall("Ws2_32\WSAAsyncSelect", UInt, socket, UInt, ScriptMainWindowId, UInt, NotificationMsg, Int, FD_READ|FD_CLOSE)
{
	MsgBox % "WSAAsyncSelect() indicated Winsock error " . DllCall("Ws2_32\WSAGetLastError")
	ExitApp
}
return



ConnectToAddress(IPAddress, Port)
; This can connect to most types of TCP servers, not just WinLIRC.
; Returns -1 (INVALID_SOCKET) on failure or the socket ID upon success.
{
	VarSetCapacity(wsaData, 32)  ; The struct is only about 14 in size, so 32 is conservative.
	result := DllCall("Ws2_32\WSAStartup", UShort, 0x0002, UInt, &wsaData) ; Request Winsock 2.0 (0x0002)
	; Since WSAStartup() will likely be the first Winsock function called by this script,
	; check ErrorLevel to see if the OS has Winsock 2.0 available:
	if ErrorLevel
	{
		MsgBox WSAStartup() could not be called due to error %ErrorLevel%. Winsock 2.0 or higher is required.
		return -1
	}
	if result  ; Non-zero, which means it failed (most Winsock functions return 0 on success).
	{
		MsgBox % "WSAStartup() indicated Winsock error " . DllCall("Ws2_32\WSAGetLastError")
		return -1
	}

	AF_INET = 2
	SOCK_STREAM = 1
	IPPROTO_TCP = 6
	socket := DllCall("Ws2_32\socket", Int, AF_INET, Int, SOCK_STREAM, Int, IPPROTO_TCP)
	if socket = -1
	{
		MsgBox % "socket() indicated Winsock error " . DllCall("Ws2_32\WSAGetLastError")
		return -1
	}

	; Prepare for connection:
	SizeOfSocketAddress = 16
	VarSetCapacity(SocketAddress, SizeOfSocketAddress)
	InsertInteger(2, SocketAddress, 0, AF_INET)   ; sin_family
	InsertInteger(DllCall("Ws2_32\htons", UShort, Port), SocketAddress, 2, 2)   ; sin_port
	InsertInteger(DllCall("Ws2_32\inet_addr", str, IPAddress), SocketAddress, 4, 4)   ; sin_addr.s_addr

	; Attempt connection:
	if DllCall("Ws2_32\connect", UInt, socket, UInt, &SocketAddress, Int, SizeOfSocketAddress)
	{
		MsgBox % "connect() indicated Winsock error " . DllCall("Ws2_32\WSAGetLastError") . ". Is WinLIRC running?"
		return -1
	}
	return socket  ; Indicate success by returning a valid socket ID rather than -1.
}



ReceiveData(wParam, lParam)
; By means of OnMessage(), this function has been set up to be called automatically whenever new data
; arrives on the connection.  It reads the data from WinLIRC and takes appropriate action depending
; on the contents.
{
	socket := wParam
	ReceivedDataSize = 4096  ; Large in case a lot of data gets buffered due to delay in processing previous data.
	Loop  ; This loop solves the issue of the notification message being discarded due to thread-already-running.
	{
		VarSetCapacity(ReceivedData, ReceivedDataSize, 0)  ; 0 for last param terminates string for use with recv().
		ReceivedDataLength := DllCall("Ws2_32\recv", UInt, socket, Str, ReceivedData, Int, ReceivedDataSize, Int, 0)
		if ReceivedDataLength = 0  ; The connection was gracefully closed, probably due to exiting WinLIRC.
			ExitApp  ; The OnExit routine will call WSACleanup() for us.
		if ReceivedDataLength = -1
		{
			WinsockError := DllCall("Ws2_32\WSAGetLastError")
			if WinsockError = 10035  ; WSAEWOULDBLOCK, which means "no more data to be read".
				return 1
			if WinsockError <> 10054 ; WSAECONNRESET, which happens when WinLIRC closes via system shutdown/logoff.
				; Since it's an unexpected error, report it.  Also exit to avoid infinite loop.
				MsgBox % "recv() indicated Winsock error " . WinsockError
			ExitApp  ; The OnExit routine will call WSACleanup() for us.
		}
		; Otherwise, process the data received. Testing shows that it's possible to get more than one line
		; at a time (even for explicitly-sent IR signals), which the following method handles properly.
		; Data received from WinLIRC looks like the following example (see the WinLIRC docs for details):
		; 0000000000eab154 00 NameOfButton NameOfRemote
		Loop, parse, ReceivedData, `n, `r
		{
			if A_LoopField in ,BEGIN,SIGHUP,END  ; Ignore blank lines and WinLIRC's start-up messages.
				continue
			ButtonName =  ; Init to blank in case there are less than 3 fields found below.
			Loop, parse, A_LoopField, %A_Space%  ; Extract the button name, which is the third field.
				if A_Index = 3
					ButtonName := A_LoopField
			global DelayBetweenButtonRepeats  ; Declare globals to make them available to this function.
			static PrevButtonName, PrevButtonTime, RepeatCount  ; These variables remember their values between calls.
			if (ButtonName != PrevButtonName || A_TickCount - PrevButtonTime > DelayBetweenButtonRepeats)
			{
				if IsLabel(ButtonName)  ; There is a subroutine associated with this button.
					Gosub %ButtonName%  ; Launch the subroutine.
				else ; Since there is no associated subroutine, briefly display which button was pressed.
				{
					if (ButtonName == PrevButtonName)
						RepeatCount += 1
					else
						RepeatCount = 1
					SplashTextOn, 150, 20, Button from WinLIRC, %ButtonName% (%RepeatCount%)
					SetTimer, SplashOff, 3000  ; This allows more signals to be processed while displaying the window.
				}
				PrevButtonName := ButtonName
				PrevButtonTime := A_TickCount
			}
		}
	}
	return 1  ; Tell the program that no further processing of this message is needed.
}



SplashOff:
SplashTextOff
SetTimer, SplashOff, Off
return



InsertInteger(pInteger, ByRef pDest, pOffset = 0, pSize = 4)
; To preserve any existing contents in pDest, only pSize number of bytes starting at pOffset
; are altered in it. The caller must ensure that pDest has sufficient capacity.
{
	mask := 0xFF  ; This serves to isolate each byte, one by one.
	Loop %pSize%  ; Copy each byte in the integer into the structure as raw binary data.
	{
		DllCall("RtlFillMemory", UInt, &pDest + pOffset + A_Index - 1, UInt, 1  ; Write one byte.
			, UChar, (pInteger & mask) >> 8 * (A_Index - 1))
		mask := mask << 8  ; Set it up for isolation of the next byte.
	}
}



ExitSub:  ; This subroutine is called automatically when the script exits for any reason.
; MSDN: "Any sockets open when WSACleanup is called are reset and automatically
; deallocated as if closesocket was called."
DllCall("Ws2_32\WSACleanup")
ExitApp
 

druden

Portal Pro
January 2, 2006
54
0
Denmark
Hi guys, just wantet to let you know I have updated the configuration files for WinLIRC (beo4.rc) and for AutoHotKey (autohotkey.ini) - in the postings above. All Beo4 buttons are now mapped - I have submitted the WinLIRC config file to the maintainer of http://lirc.sourceforge.net/remotes/ so it hopefully gets added...

At less than 20€ you'll be able to build a Serial IR receiver for the Bang & Olufsen Beo4, and interface it with Media Portal using WinLIRC and AutoHotKey (AutoHotKey in turn can be easily configured for the Beo4 to control other applcations too).

:D :D :D
 

Bonetti

Portal Member
December 11, 2006
22
0
46
Home Country
Denmark Denmark
Hello druden,

Nice work above, I have my beo4 running the MP and it is working absolut great.
:D

One question: When I send my PC into standby I can wake-up the PC by using the keyboard, by pressing any key, but am I not able to use the beo4 to wake up the PC?

I hope you or someone can help?

BR
Bonetti
 

Claus

Portal Member
July 16, 2006
22
1
Home Country
Denmark Denmark
Great Work druden

This is somthing I would like to try!

Where did you buy the TSOP7000?

BR,
Claus
 

Users who are viewing this thread

Similar threads

upon a second look at MP Config, there is no latency setting... only "Repeat delay" and "Repeat speed" settings, not even in Windows is there a setting for latency for HID devices. If the remote doesn't have those settings in the MyHarmony setup, then there is no recourse. :(
upon a second look at MP Config, there is no latency setting... only "Repeat delay" and "Repeat speed" settings, not even in...
I have a Logitech Harmony 650 remote and Microsoft 1040 IR receiver which I used successfully for several years on a home-built PC...
Replies
8
Views
958
I have now connected the IR Receiver from the HAMA Remote and enabled the HDI in Remotes. It will worke
I have now connected the IR Receiver from the HAMA Remote and enabled the HDI in Remotes. It will worke
Hello I used SerialUIR on my old XP HTPC. But unfortunately I can't get it to work right now. I plugged the COM plug of the old...
Replies
4
Views
777
Thanks, but I already tried that. The first 12 "IrDeviceV2" entries produced no messages at all. The last 2 (labelled "Mouse") produced messages at a rate which caused the HID Demo UI to become unresponsive. The only possible source for these messages was the RF remote I was using to operate the HID Demo UI. Why should an RF...
Thanks, but I already tried that. The first 12 "IrDeviceV2" entries produced no messages at all. The last 2 (labelled "Mouse")...
My HTPC recently stopped responding to IR signals. At first I suspected a HW problem, but the problem remains with two different...
Replies
22
Views
2K
Just gonna add my 2 cents worth here. I have the Inteset PC-IRS5-01 IR Receiver and it installed fine, as per their instructions. However I did encounter an issue getting my remote, a HP MCE Media Centre remote (RC6), to work as an expected. This, I eventually figured out, was due to the tuner card I was using at the time having a...
Just gonna add my 2 cents worth here. I have the Inteset PC-IRS5-01 IR Receiver and it installed fine, as per their instructions...
I have two Dell 990s, one is my MP player machine, the other the MP video recorder/server. Purchased Inteset USB IR receiver...
Replies
4
Views
5K
I have now checked this. The "MyHarmony" online setup tool does not recognise the "Hama 00052451" as a supported device :(, but it does recognise and support the "Ortek VRC-1100" -- it calls it the "Ortek Media Player" :). I added this to my Harmony 650 (I had one unused device available in the 650), and updated my "HTPC" activity...
I have now checked this. The "MyHarmony" online setup tool does not recognise the "Hama 00052451" as a supported device :(, but it...
There are two shortcomings common to existing MCE RC6 IR receivers: (1) On wake from sleep or wake from hibernation, a...
Replies
31
Views
8K
Top Bottom