|
Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#121
|
||||
|
||||
Re: With Extender
SWEET! One more question:
When I am creating the RC profile in LMRKM, should I be teaching the software the IR codes for my STB RC? and am I correct in assuming that there is no reason to teach LMRKM either the MCE remote or the MediaMVP remote? I'm guessing that the way that it works is: 1. Install LMRKM 2. Teach LMRKM the STB RC IR codes 3. Install Sage plugin with accompanying .ir device files Is it that simple? I'm guessing that basically whenever Sage wants to change a channel (like when it's time to record a show when I'm away), Sage will invoke the plugin which will tell LMRKM (a service running in the background?) to emit the proper IR code, mimicking the STB Remote Control via the MCE IR Blaster? Is all that correct? Sorry, some of this stuff can get confusing at times. I'm sure that once I actually set this up at least once, then I'll get better at understanding (the rather terse and complicated) process of "blasting" to STBs. |
#122
|
||||
|
||||
Quote:
Quote:
Quote:
Quote:
Regards, Stéphane. |
#123
|
||||
|
||||
Setting up IR Device
OK, so I've got LM RKM installed and running. However, even though I have the default XP drivers installed for my transmitter, LM RKM at the bottom left of the "Edit IR Device" window, it says "MCE Blaster is not available". Did I do something wrong? I went into the "More Options" and set the "blaster port to be used" to 1 (also tried switching blaster to port 2 and changing this to 2), but I get the same result.
The "Button IR Codes" section is greyed out. I've also, before adding the IR Device, clicked on "Choose Blaster" and choe "MCE IR Blaster". Not sure what's going on. |
#124
|
||||
|
||||
Quote:
Also, if MCE is available on your PC, you will have to disable all MCE Services. You can also restart the PC it may helps. Quote:
Regards, Stéphane. |
#125
|
||||
|
||||
No luck :'(
Reboot didn't help. Also tried changing the user account that the "LM RKM" service runs as (to administrator), no results. Verified that my MCE receiver is working properly (it is).
Just curious if I actually have an MCE receiver/blaster. In my device manager, I see for my receiver, "eHome Infrared Receiver". Is this correct? The driver information is thus: Driver Provider: Microsoft Driver Date: 7/1/2001 Driver Version: 5.1.2600.2180 Digital Signer: Microsoft Windows Publisher Driver files: C:\WINDOWS\system32\DRIVERS\IrBus.sys File Version: 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) Device Instance Id: USB\VID_060&PID_031D\SM005ZHI Hardware Ids: USB\Vid_0609&Pid_031d&Rev_0000 Firmware Revision: 00.00 Interestingly enough, the receiver itself appears to be of the "SMK" brand (as labeled on the underside). No model. The remote doesn't specifically say "Microsoft" on it, but it looks identical to the MCE remote. I got the receiver, remote and blaster all together with my Hauppauge PVR-150-MCE Kit, which I was lead to believe came with an official MCE remote, IR receiver and blaster. I can't think of any reason why it wouldn't work. I had limited success with Girder, but it was so complicated that I gave up. I'm really hoping that your method works, as a plugin to Sage seems like the best way to achieve what I need. Thanks again for the help. Your fast responses are always appreciated. |
#126
|
||||
|
||||
Quote:
Have you reviewed the LM RKM log files ? Regards, Stéphane. |
#127
|
||||
|
||||
Re: Log File
The only thing resembling a log file in there was trace.txt (which is semi-Massive). What should I be looking for in the log file?
|
#128
|
||||
|
||||
Quote:
* svc_trace_20080428.log (one log file per day) * trace_20080428.log Just post them here. Regards, Stéphane. |
#129
|
||||
|
||||
Here's the contents of the file "svc_trace_20080427.log":
Code:
20080427 16:06:14.390 - Info - Blaster Service Initialized 20080427 16:06:26.453 - Info - Blaster Service Started 20080427 16:06:58.484 - Info - DeviceManager.Start() 20080427 16:06:58.531 - Info - Checking for USB device 20080427 16:07:22.015 - Info - Opening USB device failed. Sleeping.... 20080427 16:07:24.015 - Info - Opening USB device failed. Retrying. 20080427 16:07:47.515 - Info - Timeout opening USB device. 20080427 16:07:47.515 - Warning - Unable to communicate with USB device: \\?\usb #vid_0609&pid_031d#sm005zhi#{7951772d-cd50-49b7-b103-2baac494fc57} 20080427 16:11:45.296 - Info - DeviceManager.Stop() 20080427 16:11:45.296 - Info - Blaster Service Stopped 20080427 16:11:46.656 - Info - Blaster Service Initialized 20080427 16:11:46.750 - Info - DeviceManager.Start() 20080427 16:11:46.765 - Info - Checking for USB device 20080427 16:12:05.250 - Info - Opening USB device failed. Sleeping.... 20080427 16:12:07.250 - Info - Opening USB device failed. Retrying. 20080427 16:12:25.718 - Info - Timeout opening USB device. 20080427 16:12:25.718 - Warning - Unable to communicate with USB device: \\?\usb #vid_0609&pid_031d#sm005zhi#{7951772d-cd50-49b7-b103-2baac494fc57} 20080427 16:12:25.734 - Info - Blaster Service Started 20080427 16:15:56.640 - Info - DeviceManager.Stop() 20080427 16:15:56.640 - Info - Blaster Service Stopped 20080427 16:15:58.015 - Info - Blaster Service Initialized 20080427 16:15:58.125 - Info - DeviceManager.Start() 20080427 16:15:58.140 - Info - Checking for USB device 20080427 16:16:16.609 - Info - Opening USB device failed. Sleeping.... 20080427 16:16:18.609 - Info - Opening USB device failed. Retrying. 20080427 16:16:37.078 - Info - Timeout opening USB device. 20080427 16:16:37.078 - Warning - Unable to communicate with USB device: \\?\usb #vid_0609&pid_031d#sm005zhi#{7951772d-cd50-49b7-b103-2baac494fc57} 20080427 16:16:37.093 - Info - Blaster Service Started Here's a link to the [longer] trace file (835 lines long): trace_20080427.log Hope this helps. |
#130
|
||||
|
||||
Quote:
At this point you may want to: * check that no other software is currently using the device (Windows Media Center Services must be disabled, Girder uninstalled) * change the USB port the device is connected to. When you test always : 1) Stop LM RKM Interface 2) Stop and Restart LM RKM Blaster Service 3) Start LM RKM Interface Regards, Stéphane. |
#131
|
||||
|
||||
Got It!
I got down to the nitty gritty, using tools like Filemon and Regmon to track down the culprits. I stopped the "HID Input Service" and "SageTV Service", then un-plugged and re-plugged into a new slot.
Right off the bat, I noticed a couple things that might help others. Going into services.msc and starting the LM RKM service took a long time (because the service was trying to access the device that was busy). Over one minute for Windows to start the service. To recap, I had the follow error in my svc_[DATE].log file: Code:
20080427 18:16:42.640 - Info - Blaster Service Initialized 20080427 18:16:42.734 - Info - DeviceManager.Start() 20080427 18:16:42.750 - Info - Checking for USB device 20080427 18:17:06.203 - Info - Opening USB device failed. Sleeping.... 20080427 18:17:08.203 - Info - Opening USB device failed. Retrying. 20080427 18:17:31.656 - Info - Timeout opening USB device. 20080427 18:17:31.656 - Warning - Unable to communicate with USB device: \\?\usb#vid_0609&pid_031d#sm005zhi#{7951772d-cd50-49b7-b103-2baac494fc57} 20080427 18:17:31.687 - Info - Blaster Service Started Code:
20080427 18:27:52.062 - Info - Blaster Service Initialized 20080427 18:27:52.156 - Info - DeviceManager.Start() 20080427 18:27:52.171 - Info - Checking for USB device 20080427 18:27:52.265 - Info - Adding USB device: \\?\usb#vid_0609&pid_031d#sm005zhi#{7951772d-cd50-49b7-b103-2baac494fc57} 20080427 18:27:52.468 - Info - Blaster Service Started - Device n*1 - Any emitters - Device n*1 - Emiiter 'irport0' This seems to be a bit confusing to me. Is it detecting that I have a blaster plugged into "irport0" (which I am guessing equates to blaster port number "1" on the receiver)? Last edited by devinteske; 04-27-2008 at 07:42 PM. Reason: forgot code tags on second log snippet |
#132
|
||||
|
||||
Quote:
Regards, Stéphane. |
#133
|
||||
|
||||
Learning IR
Took me a long time to figure out that you had to right-click on the IR device at the top and choose an option. Now that I'm there, the app tells me when I click "Learn" for Code 1, that I should point the RC at the Blaster (point it at the emitter? no, he must mean point it at the receiver). So I point my DISH Network VIP-222 Infrared RC at the receiver. Pressing all matter of buttons causes the receiver light to activate but nothing occurs within LM RKM (this is while the popup is showing waiting for you to press the button on the RC). So I press OK. Nothing appears in the box for "Code 1" (did it work?).
As a test, I then try with my MCE remote during the Learn process (just to see if I can get something to populate the "Code 1" field). I pressed "OK" on the MCE remote and (as my best guess is) something duplicated that keystroke (afterall, the MCE remote, for the most part is emitting keystroke commands) over and over. This was strange, but I looked a little further. Tried it with the left-arrow on my MCE remote, and it duplicated the left-arrow keystroke about thirty times before I dismissed it by hitting OK (strange, eh?). I think I remember reading in a previous thread that there was a bug in the (latest?) code where it was suggested that you add the buttons, hit OK, and then re-open before learning? |
#134
|
||||
|
||||
Quote:
Quote:
Quote:
|
#135
|
||||
|
||||
I've got it working (almost).
The "Learn Code" attribute didn't start receiving IR codes from my DISH VIP-222 remote control until I restarted the "HID Input Service". I will have to do some more digging around to see if (as I had suggested earlier) stopping this service, the SageTV service or both was the real solution to getting LM RKM to be able to access the USB device. It could be that LM RKM had to be have initial exclusive access to the device, but without the HID Input service, I wasn't able to learn any codes. Once I started up the HID Input service, I could easily learn all the channel-change codes (0-9+Ok) in under 2 minutes. I even got the SageTV plugin installed with the appropriate '.ir' files rather easily (using your online instructions found here). I love the plugin, it makes managing the IR Blaster control for the Input Source within sage a snap! Just did as you described, removing the input source, re-adding my Hauppauge PVR-150-MCE as an input-source using LM RKM. However, both within SageTV and within the LM RKM "Edit IR Device" menu (using the "Test Channel" option), I can only get the emitter to work with single digits. The second digit of the channel doesn't get emitted or is not received properly (timing?). For example, when using "32" for the test channel, the STB receives "3" but not the "2". Currently, I have the following settings for my IR device: Command issued before changing channel: #500 Command issued after changing channel: Ok Delay between IR codes (msecs): 200 Duration of IR codes (msecs): 20 The 500 msec delay occurs before channel change, then "3" is emitted, the 2 never gets emitted and then Ok is sent. The channel does indeed change to channel 3. Just as when doing a test within LM RKM, SageTV will change the channel using the plugin, though for example, changing to channel 92 puts me on channel 9. Can you help me to get this working? |
#136
|
||||
|
||||
Quote:
Then I would change the delay between IR codes from 50 up to 500 ms. To test, always use the "Test Channel Change" feature within the IR device editor (instead of using SageTV). If you then have problems within SageTV you'll know that you just have to increase the "before channel change" delay (from 500 ms up to 1000 ms). Also it me be a pain in the *ss, relearing the codes could improve things. When you have troubles like this the learning process should be : * Learn a button (IR Code 1 and IR Code 2), by pressing just a little on your original remote (just if you were using the remote to change channel on your STB) * Test the learned button right away (right click on the button and choose "Test Button"), do 5 or more test in a row and verify that the STB received the code correctly (you may also notice a pattern, something like, if you make a test just after another one it don't work etc... this can help you figure out the delays). * If the tests are not always successfull, relearn the button but this time press a little longer on the original remote button. * Repeat the whole process until the 5 tests are always successfull. Regards, Stéphane. |
#137
|
||||
|
||||
Why is there a "Code 1" and "Code 2"?
Also, does LM RKM repeat the IR code for the duration of the blasted keypress? I'm assuming yes, but one question is, if so, does the "Delay between commands" apply to the repeating of the individual IR codes? or is it only the delay between each identifying keypress? |
#138
|
||||
|
||||
Because some device use debounce IR codes. So for these devices LM RKM needs to alternate Code 1 and Code 2 for every other key press.
Quote:
Quote:
Regards, Stéphane. |
#139
|
|||
|
|||
I have LM RKM working with my Sage and can change channels through my MCE Blaster. I won't be using a remote as I will be viewing my SageTV through the placeshifter.
If I press a button combination in Sage is there anyway LM RKM can detect the button press and run a Menu button infrared code to my STB. Kind of like a virtual remote using keys?? TIA Last edited by johnnyfive; 04-29-2008 at 10:17 AM. |
#140
|
||||
|
||||
Quote:
Though, it may be possible to use the LM RKM COM Interface to make use of the blaster from SageTV. You can review the documentation on my Web Site on how to use the COM Interface through a simple VB Script, then maybe there is a way to launch this script from SageTV... Regards, Stéphane. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MCE remote driver for XP Home? | blade | Hardware Support | 25 | 02-17-2012 07:55 PM |
MCE remote transmitting keypresses twice | arnabbiswas | Hardware Support | 1 | 02-22-2007 10:55 AM |
mce remote conflict with xbox 360 | tsitalon1 | SageTV Beta Test Software | 1 | 12-01-2006 06:21 PM |
Do i have my remote control options understood | orangezero | Hardware Support | 6 | 05-05-2006 10:32 PM |
Can MCE Remote configuration be customized? | TwistedMelon | Hardware Support | 6 | 04-25-2006 08:45 PM |