XMD RR Hibernation & XMRESET

I have most everything else working with my setup (minor issue with phoco and the audio gateway), but my XM is giving me big balllllls!

Yes I read all the FAQ's. I have setup my XM Direct following the FAQ. I made the serial cable and have it hooked into com1. I setup RR use port 1 for XM. I tested out all the leads on the cable and am getting the necessary power on the correct pins (not the first cable I have ever made). So I don't think I have a hardware issue.

I have tested XM without problems using other applications (Frodo, ...). In RR I can get my XM Direct to work if I clear the XMPCR check box in the RR config, exit RR, then start RR, set the XMPCR check box in the config, and then exit and restart RR. Once I have done this, it works and I can restart RR all day with it working fine.

BUT, when I try to hibernate my XM stops working until I go through the process again. PITA!

I know this is not an XMPCR unit, but I don't understand why resetting this makes the XM start to work. I am brain dead!

Also I have seen posts on the "ONRESUME","XMRESET" command to be put in the Exectbl.ini, or put XMRESET right into the skin, but I am not sure exactly what to do.

Do I have the command syntax right? and where do I place this in the XM Skin or the Exectbl.ini or both? And do I put this into the Exectbl.ini in the RR directory, or the one in the Skin's directory. Maybe I am putting it in the wrong place.

How do you power your XMD ? You should power it from the PC's power supply to avoid problems. Also, did you try adding a button to the skin so you can reset XM manually (with XMRESET) ? this may also be a timing issue with your power setup.

XMD Problem

Originally Posted by guino

How do you power your XMD ? You should power it from the PC's power supply to avoid problems. Also, did you try adding a button to the skin so you can reset XM manually (with XMRESET) ? this may also be a timing issue with your power setup.

I am powering the XMD through the ATX PSU that I have in my custom case using the home made 8pin din cable from the XM FAQ.

I have not tried the XMRESET from a skin button. I can try that next and will let you know how that works.

You were probably refering to my thread cause i have the same problem. You do have the correct syntax and all you have to do is put that code in the exectbl.ini file. The only problem is that when you do do this if you were playing your mp3 music and you resume from hibernation then you have the xm playing over your mp3's. So some logic needs to be built in. Chuck was so kind as to write so quick and dirty code that uses a variable. I plan on testing that tonight and doing a bit more research on it. I plan on rolling back to RR 6-3-06 to see if it is RR or if it is my computer. Either way i plan on getting somethign working this weekend

Well i didn't get to testing as much as i wanted too. At this point i am assuming that somthing is wrong with the cable. Whenever i have the XM cable plugged in my RR wont even start. it hangs at loading serial devices. I am going to try to get another cable

XM RR Hibernation/Reboot

Originally Posted by antimatter

You were probably refering to my thread cause i have the same problem. You do have the correct syntax and all you have to do is put that code in the exectbl.ini file. The only problem is that when you do do this if you were playing your mp3 music and you resume from hibernation then you have the xm playing over your mp3's. So some logic needs to be built in. Chuck was so kind as to write so quick and dirty code that uses a variable. I plan on testing that tonight and doing a bit more research on it. I plan on rolling back to RR 6-3-06 to see if it is RR or if it is my computer. Either way i plan on getting somethign working this weekend

Animatter, yes I was referring to your post and thank you for the answer on the syntax. My problem is similar and maybe the xmreset will fix my problem. I also found out that after a reboot XM will not work until I toggle the xmpcr checkbox in the setup as I stated before. I don't understand why that would make XM work but it does every time. I am tired of toggeling that checkbox. I did read the posts about using the variables to control the mp3's and xm not to play at the same time on resume. Let me know how it works for you. I don't think I have a hardware issue because timetrax and the frodo software work fine. Guino is probably right about the timing issue. I am running a fast mb and maybe it needs slowed down a bit (if only I wish). We will find out I am sure. I am suffering in Myrtle Beach this week and when I am back home I will test out the xmreset.

Guino, is there any code that runs differently the first time after starting RR when the XMPCR checkbox is set? Just asking because I have never looked at the source. I am a programmer but no experience with VB.

XM RR Hibernation/Reboot

Ok, I tried the XMRESET without success. I still have the same problem. XMD does not work until I start RR, remove the XMPCR checkbox, save the config, exit RR, Start RR, set the xmpcr check box, save config, exit RR then restart RR and XMD works until I either reboot the machine or hibernate the machine. Then it quits working. Once I have it working I can exit and restart RR and it keeps working until I reboot or hibernate.

I put the XMRESET into the Exectbl.ini and I also placed it on a button in the XM Skin. Neither work.

If I start Frodo with the XMD not working in RR, the XMD works in FrodoSat, then if I exit FrodoSat start RR the XMD doesn't work until I go through the resetting of the xmpcr checkbox again in the config.

Any more ideas? I even tried playing with the port settings under the device manager and this had no effect.

How old/new is your XMD ? We can try making a log of the serial port to see if we can define the issue.. On normal circunstances, your tuner should work with the check box checked OR unchecked, but I've never seen a XMD work with the XMPCR option checked or a XMPCR work without the option checked.

XM Problem

Originally Posted by guino

How old/new is your XMD ? We can try making a log of the serial port to see if we can define the issue.. On normal circunstances, your tuner should work with the check box checked OR unchecked, but I've never seen a XMD work with the XMPCR option checked or a XMPCR work without the option checked.

I am not really sure how old my xmd is. I bought it off of e-bay. It is really an XM Commander but I am not using the display, just a serial port connection directly to the XM receiver. It looks exactly like the XMD unit.

I would be happy to make the log off the serial port for you, just let me know what you would like me to do.

I installed the latest update to RR (9/5) today but it did not change anything, just wanted you to know I have the latest release.

I started looking at the code for the XM module in the VB source and was going to play around with it to see if I could make it reset correctly. I notice the delay's between commands on the PCR vs non PCR were different as well as the initialization commands. Also was wondering if the open/close on the com port was helping being that I can get it to work by changing the config settings and restarting RR.

I can definitely make it work toggling these settings off then on that is why I was going to play around with the XM module in VB.

ps. How was Brazil, I do some work north of Sao Paulo in the Campinas area. You have got to love their winters there!

If your XM tuner doesn't say XMD1000 in it, that may be the issue right there.. I've never had an "XM commander to test it with". I have found that the XM tuners greatly differ in timing and features from one model to the next -- that could be your issue -- as I said earlier, I have never seen a XMD power up with the PCR option enabled, or vice versa, there's obviously a different timing and/or sequence of commands required by your tuner to power up propperly.