MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Support » General Support


Reply
 
LinkBack Thread Tools Display Modes
Old 2007-11-06, 08:20   #1 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default Hauppauge remote key mapping

Hi all

Could someone please xplain how to change the mapping in the remote section of mediaportal?

I cannot understand what I need to do.

I want to map a button so it will start mediaportal from windows. Mediaportal is in the usual folder crogram files\Team mediaportal\Mediaportal\Mediaportal.exe is what I want to add to the button to start it.

I also want to put the pc to sleep and wake again if possible.








TV-Server Version:
MediaPortal Version:
MediaPortal Skin:
Windows Version:
CPU Type: AMD 64bit Athlon 4000+ AM2 Dual Core 2.1GHzx2 1MB L2
HDD:
Memory:
Motherboard: ASUS M2A-VM HDMI AMD690G Motherboard
Motherboard Chipset:
Motherboard Bios:
Video Card: ATI Radeon 256MB Geforce X1250 onboard
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection:

Last edited by No1Daemon; 2007-11-06 at 08:24.. Reason: Forgot to add any info!
No1Daemon is offline   Reply With Quote
Old 2007-11-06, 09:56   #2 (permalink)
Portal User
 
ptitnain's Avatar
 
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

To start MP from windows, you need to edit the irremote.ini file (in C:\windows directory).
In the default section, find the button identifier you want to use to start MP, then, add this line:
{close(wintv2k.exe)}{sleep(750)}{run(C:\Progra~1\Teamme~1\MediaPortal\MediaPortal.exe)}

Quote:
[Default]
OLD0=
0=
1=
2=
3=
4=
5=
6=
7=
8=
9=
RADIO={close(wintv2k.exe)}{sleep(750)}{run(radio.exe)}
TV={close(radio.exe)}{sleep(750)}{run(wintv2k.exe)}
TVNEW={close(radio.exe)}{sleep(750)}{run(wintv2k.exe)}
SOURCE={switch(*task*)}{shift}{tab}
MINIMIZE=
FULLSCREEN={alt}{space}x
RESERVED=

; close current active window; disabled for now
;GRNPOWER={sys(0xF060)}
GRNPOWER={run(C:\windows\ehome\ehshell.exe)}
MCEJEWEL={run(C:\windows\ehome\ehshell.exe)}
;GUIDE={run(epgdemo.exe)}
GO={gomenu()}{findwnd(,WinTV Remote)}{fgnwnd()}
;GO={run(hcwGo\hcwGo.exe)}
MENU={switch(*task*)}{shift}{tab}

;;these 3 buttons are not offical yet
RED={close(radio.exe)}{sleep(750)}{run(wintv2k.exe)}
GREEN={close(wintv2k.exe)}{sleep(750)}{run(radio.exe)}
YELLOW={close(wintv2k.exe)}{sleep(750)}{run(C:\Progra~1\adslTV\adsltv.exe)}
BLUE={close(wintv2k.exe)}{sleep(750)}{run(C:\Progra~1\Teamme~1\MediaPortal\MediaPortal.exe)}
TEXT={close(radio.exe)}{sleep(750)}{run(..\vtplus\vtplus32.exe)}
To put the computer in sleep mode, there is probably a command to add in front of the GRNPOWER identifier (i don't know which).
But to wake up a computer, i don't think that there is a solution. The Ir32 software is certainly shutdown when the PC is spleeping.
ptitnain is offline   Reply With Quote
Old 2007-11-06, 19:00   #3 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Thankyou I will try that tonight. I appreciate the reply.
Cheers!
No1Daemon is offline   Reply With Quote
Old 2007-11-06, 19:51   #4 (permalink)
Moderator - Dutch Forums
 
Furetto's Avatar
 
Join Date: Apr 2005
Location: Brussels
Age: 36
Posts: 432
Thanks: 32
Thanked 27 Times in 23 Posts

Country:

My System

Default

Two small additions:

First, if you do not use Hauppauge's software at all, maybe you want to attribute the "start MP" function to the Go button and/or the green power button.

Second, in the above case, you do not need to close wintv and to wait...

Excerpt from my own irremote.ini (search for the default section !)

Code:
[Default]
OLD0=
0=
1=
2=
3=
4=
5=
6=
7=
8=
9=
TV={close(radio.exe)}{sleep(750)}{run(wintv2k.exe)}
TVNEW={close(radio.exe)}{sleep(750)}{run(wintv2k.exe)}
SOURCE={switch(*task*)}{shift}{tab}		
MINIMIZE=				
FULLSCREEN={alt}{space}x					
RESERVED=	

; close current active window; disabled for now
;GRNPOWER={sys(0xF060)}
GRNPOWER={run("c:\\progra~1\teamme~1\mediaportal\mediaportal.exe")}
;GUIDE={run(epgdemo.exe)}
GO={run("c:\\progra~1\teamme~1\mediaportal\mediaportal.exe")}
;GO={run(hcwGo\hcwGo.exe)}
MENU={switch(*task*)}{shift}{tab}
Furetto is offline   Reply With Quote
Old 2007-11-07, 05:52   #5 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Hey Furetto. Yeah that was all it took. I have got that working now. Any idea on how to hibernate or standby?
I realise you cannot come back from standby via the remote which I can live with if I can get it to resume from standby by pressing the power button briefly.

I thought the code might be vk_sleep but that doesnt seem to work.
No1Daemon is offline   Reply With Quote
Old 2007-11-07, 10:11   #6 (permalink)
Moderator - Dutch Forums
 
Furetto's Avatar
 
Join Date: Apr 2005
Location: Brussels
Age: 36
Posts: 432
Thanks: 32
Thanked 27 Times in 23 Posts

Country:

My System

Default

The default setting for the Green Power button of the Hauppauge when running Media Portal is to close Media Portal. You can redefine this to call the Shutdown menu, in which you can (from memory) choose Shutdown, Reboot, Standby etc...

To do this, go into Configuration > Remote > choose tab Hauppauge > Learn

After this I have to go from memory again... I think you can choose Map, then you need to pick the right version of remote (Hauppauge 45 button in my case).

Search for the entry for Green Power button, then search around a bit which entry to change to "Shutdown".

Hope you can find it, and hope this is what you need.
Furetto is offline   Reply With Quote
Old 2007-11-07, 19:05   #7 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


I

It worked. I reconfigured the green button to exit mediaportal and the greenpower button to go into standby instead.
I thought at first it hadnt worked, and that was due to the fact I was still in windows and had not run mediaportal.
It will only go to standby from mediaportal whcih should be okay.
The only thing I have to work around now is the fact that when it comes back from standby it comes to the user account logon screen and as I am logged on as administrator and do not plan on having a mouse connected to this pc then I will need to remove that, but that should only take a small amount of googling.

Thanks a lot
No1Daemon is offline   Reply With Quote
Reply

Bookmarks

Tags
hauppauge, key, mapping, remote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is Hauppauge Remote Mapping Setup? McChots Remotes 0 2007-05-29 11:13
hauppauge remote mapping neverwhere Remotes 0 2007-04-17 23:20
Is Hauppauge 43-key remote fully supported? ggt-labz Remotes 4 2007-02-21 21:59
Mapping key presses to MCE remote buttons and-81 General Support 8 2007-02-19 00:18
Hauppauge remote mapping funtion does really works? vgallego65 General Support 5 2006-02-23 10:14


All times are GMT +1. The time now is 09:08.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden