- Thread starter
- #11
No, thank you ;-p
I know what it's like, when you're working on a project and you get so into it that every little bit interests you!
This is the reason, that software written by people who love what they are doing, is always far better than something written by someone who doesn't.
Great work on this Aaron, I really appreciate it!
BTW, according to the log, it seems that IRServer is interpretting keypresses;
04/10/2007 18:41:16 - Debug: Remote Event: 31712
04/10/2007 18:41:16 - Debug: SendToAll(RemoteEvent, Notify)
04/10/2007 18:41:18 - Debug: Remote Event: 31713
04/10/2007 18:41:18 - Debug: SendToAll(RemoteEvent, Notify)
04/10/2007 18:41:19 - Debug: Remote Event: 31713
04/10/2007 18:41:19 - Debug: SendToAll(RemoteEvent, Notify)
04/10/2007 18:41:19 - Debug: Remote Event: 31713
04/10/2007 18:41:19 - Debug: SendToAll(RemoteEvent, Notify)
04/10/2007 18:41:20 - Debug: Remote Event: 31712
04/10/2007 18:41:20 - Debug: SendToAll(RemoteEvent, Notify)
04/10/2007 18:41:20 - Debug: Remote Event: 31712
04/10/2007 18:41:20 - Debug: SendToAll(RemoteEvent, Notify)
04/10/2007 18:41:21 - Debug: Remote Event: 31712
Just they aren't getting anywhere.
Will be patient and wait for the master ;0
Just checked 'Start IR Server with Windows' and rebooted.
Went into Task Manager and noticed a process called ehmsas.exe was running.
Then I told Task Manager to show processes from all users, and ehmsas disappeared but was replaced by ehrecvr.exe and ehsched.exe running under user name NETWORK SERVICE.
I End Processed them and then click the IRServer tray icon and selected Setup, this invoked ehrec.exe, ehrecvr.exe and ehsched.exe to appear as processes again in Task Manager. However, ehrec.exe promptly disappears again with no intervention from me.
'Disable Windows Media Center Services' is checked in 'Microsoft MCE Configuration\Basic' and HidIr Disabled is selected in 'Advanced'. Again, I cannot select 'Advanced'
Then I End Processed all eh*.exe and IRServer.exe and none reappeared in Task Manager.
Then I relaunched IRServer and observed eh*.exe reappear as well.
It seems IRServer is sometimes unable to subdue Media Center Services.
I tried running IRServer 'Run as Administrator' to see if that made a difference, it didn't subdue Media Center Services the first time, however I was stubborn ;p and tried again, and it did seem to subdue those services. I am now able to select 'Advanced' from 'Microsoft MCE Configuration\Basic' and can choose HidIr Enabled or Disabled. So, I leave that setting as Disabled and fire up Mediaportal. From the audio feedback I was getting, the following remote keys are working; Start,Play,Pause,Record,REW,FWD,Stop,Replay,Skip,Back,More,VolUp,VolDown,Mute,CHUp,CHDown and the Coloured Teletext buttons. The Arrow keys and OK are not working. I remember you saying in an earlier reply, that if the HidIr is disabled, you can remap the arrow keys, I will look into that.
Maybe, all that's needed here is to 'Run as Administrator', although I don't know if just checking 'Start IR Server with Windows' after running IRServer 'Run as Administrator' will make IRServer start with administrator priviledges when Windows starts?
Some playing to be done ;-p
OK, I browsed to the IRServer.exe and chose properties, I then told it to 'Run as Administrator'.
After rebooting, Windows Defender informed me that an application was attempting to run and had been stopped.
It seems UAC will not let IRServer start in administrative mode, because Microsoft have not yet decided that this application is safe to run from startup in administrative mode. Apparently Vista reports back to Microsoft when an application is blocked at startup and subject to their approval, the application could become marked as safe. I won't hold my breath.
So, not a bug, unless you consider UAC to be a bug. Stop bugging me, UAC bug!
It appears that IRServer needs to run in administrative mode in order to subdue Media Center Services, so I can either disable UAC, which I'd rather not, or manually start IRServer as an administrator every time I start Vista ;(
I also noticed, that ehmsas.exe seems to do its own thing regardless, but that doesn't seem to cause any problems.
I will now try TrayLauncher and see if that works, however, I suspect that because it will start with Vista(doesn't need administrative priviledges) before IRServer has been started, that it will not work because the eh*.exe services are still running at that point.
Then to try and map the Arrow keys, the OK button and the Number keys!
Perhaps, Aaron, disabling the Media Center Services needs to be separate from the IRServer, that way IRServer can start with Vista, without needing admin priviledges? That also implies that disabling Media Center Services needs to be persistent and not occur every reboot (maybe a choice at install?)
Let me know if I'm not making sense ;-p
Right, the problem I had, appears to be solved by running IRServer with administrative rights.
At the moment, this is not possible at startup, unless UAC is disabled, hopefully Aaron can change this ;-p
TrayLauncher will also not work at startup, because of the problem mentioned above, however it does work if IRServer has been started in Vista with admin privs.
Remapping the OK, Arrow and Number keys was extremely easy to do once I had overcome the problem of Media Center Services clashing with IRServer!
However, one question Aaron, what is the Power1 key?
Sorry
2 questions. Is there a default mapped key that full-screens(ie not windowed) mediaportal? I know I can set this behaviour by default in Mediaportal\Configuration, but it would be nice to do this by remote.
I'm probably being lazy even asking that, so ignore me if you think I am ;p
Thanks again for your help Aaron and for writing such a great app!
Now to find out how to launch MP on a second display
I know what it's like, when you're working on a project and you get so into it that every little bit interests you!
This is the reason, that software written by people who love what they are doing, is always far better than something written by someone who doesn't.
Great work on this Aaron, I really appreciate it!
BTW, according to the log, it seems that IRServer is interpretting keypresses;
04/10/2007 18:41:16 - Debug: Remote Event: 31712
04/10/2007 18:41:16 - Debug: SendToAll(RemoteEvent, Notify)
04/10/2007 18:41:18 - Debug: Remote Event: 31713
04/10/2007 18:41:18 - Debug: SendToAll(RemoteEvent, Notify)
04/10/2007 18:41:19 - Debug: Remote Event: 31713
04/10/2007 18:41:19 - Debug: SendToAll(RemoteEvent, Notify)
04/10/2007 18:41:19 - Debug: Remote Event: 31713
04/10/2007 18:41:19 - Debug: SendToAll(RemoteEvent, Notify)
04/10/2007 18:41:20 - Debug: Remote Event: 31712
04/10/2007 18:41:20 - Debug: SendToAll(RemoteEvent, Notify)
04/10/2007 18:41:20 - Debug: Remote Event: 31712
04/10/2007 18:41:20 - Debug: SendToAll(RemoteEvent, Notify)
04/10/2007 18:41:21 - Debug: Remote Event: 31712
Just they aren't getting anywhere.
Will be patient and wait for the master ;0
Just checked 'Start IR Server with Windows' and rebooted.
Went into Task Manager and noticed a process called ehmsas.exe was running.
Then I told Task Manager to show processes from all users, and ehmsas disappeared but was replaced by ehrecvr.exe and ehsched.exe running under user name NETWORK SERVICE.
I End Processed them and then click the IRServer tray icon and selected Setup, this invoked ehrec.exe, ehrecvr.exe and ehsched.exe to appear as processes again in Task Manager. However, ehrec.exe promptly disappears again with no intervention from me.
'Disable Windows Media Center Services' is checked in 'Microsoft MCE Configuration\Basic' and HidIr Disabled is selected in 'Advanced'. Again, I cannot select 'Advanced'
Then I End Processed all eh*.exe and IRServer.exe and none reappeared in Task Manager.
Then I relaunched IRServer and observed eh*.exe reappear as well.
It seems IRServer is sometimes unable to subdue Media Center Services.
I tried running IRServer 'Run as Administrator' to see if that made a difference, it didn't subdue Media Center Services the first time, however I was stubborn ;p and tried again, and it did seem to subdue those services. I am now able to select 'Advanced' from 'Microsoft MCE Configuration\Basic' and can choose HidIr Enabled or Disabled. So, I leave that setting as Disabled and fire up Mediaportal. From the audio feedback I was getting, the following remote keys are working; Start,Play,Pause,Record,REW,FWD,Stop,Replay,Skip,Back,More,VolUp,VolDown,Mute,CHUp,CHDown and the Coloured Teletext buttons. The Arrow keys and OK are not working. I remember you saying in an earlier reply, that if the HidIr is disabled, you can remap the arrow keys, I will look into that.
Maybe, all that's needed here is to 'Run as Administrator', although I don't know if just checking 'Start IR Server with Windows' after running IRServer 'Run as Administrator' will make IRServer start with administrator priviledges when Windows starts?
Some playing to be done ;-p
OK, I browsed to the IRServer.exe and chose properties, I then told it to 'Run as Administrator'.
After rebooting, Windows Defender informed me that an application was attempting to run and had been stopped.
It seems UAC will not let IRServer start in administrative mode, because Microsoft have not yet decided that this application is safe to run from startup in administrative mode. Apparently Vista reports back to Microsoft when an application is blocked at startup and subject to their approval, the application could become marked as safe. I won't hold my breath.
So, not a bug, unless you consider UAC to be a bug. Stop bugging me, UAC bug!
It appears that IRServer needs to run in administrative mode in order to subdue Media Center Services, so I can either disable UAC, which I'd rather not, or manually start IRServer as an administrator every time I start Vista ;(
I also noticed, that ehmsas.exe seems to do its own thing regardless, but that doesn't seem to cause any problems.
I will now try TrayLauncher and see if that works, however, I suspect that because it will start with Vista(doesn't need administrative priviledges) before IRServer has been started, that it will not work because the eh*.exe services are still running at that point.
Then to try and map the Arrow keys, the OK button and the Number keys!
Perhaps, Aaron, disabling the Media Center Services needs to be separate from the IRServer, that way IRServer can start with Vista, without needing admin priviledges? That also implies that disabling Media Center Services needs to be persistent and not occur every reboot (maybe a choice at install?)
Let me know if I'm not making sense ;-p
Right, the problem I had, appears to be solved by running IRServer with administrative rights.
At the moment, this is not possible at startup, unless UAC is disabled, hopefully Aaron can change this ;-p
TrayLauncher will also not work at startup, because of the problem mentioned above, however it does work if IRServer has been started in Vista with admin privs.
Remapping the OK, Arrow and Number keys was extremely easy to do once I had overcome the problem of Media Center Services clashing with IRServer!
However, one question Aaron, what is the Power1 key?
Sorry
I'm probably being lazy even asking that, so ignore me if you think I am ;p
Thanks again for your help Aaron and for writing such a great app!
Now to find out how to launch MP on a second display
United Kingdom