Announcement

Collapse
No announcement yet.

XM hanging occassionally

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • XM hanging occassionally

    I've told phat_bastard about this problem like 2 months ago however I was curious if others have experienced the same problem. When I start ME and go to the XM menu, it tunes to the channel I want and I typically have no problems changing channels. However, occassionally when I change the channel, the display will change and the channels still update with new artists/titles but the channel does not change. I can exit the XM screen and go anywhere I want in ME however if I try to go back to the XM screen or exit the program, ME just hangs. Sometimes it will get back to the XM screen in about 5 minutes and work again but the problem still repeats itself after a while. I love ME and I think this is the only major bug preventing me from using it all the time. Does anyone else experience this?

  • #2
    I listen to my PCR almost two hours a day, and I sometimes have these hangups. Unfortunately it's hard to debug serial communication protocols at 70 mph, and I'm speaking from experience. Last month I made some changes that fixed the issue that prevents you from exiting after the receiver hangs up, but unfortunately I introduced another bug in the process that causes the control code to hang during radio initialization. After vacation season is over and my kids are back in school I might have more time to tinker, but for now I'm pretty tied up between work and life. In a nutshell, I don't know if I'll ever be able to make it work 100%. There are times when the receiver just stops sending packets back for long periods of time, and I haven't found the magic incantation to revive it. So, while I feel your pain there's not much I can do for you but tell you to be patient. I wish I had a couple weeks where I had access to sat signal and could sit at my desk undisturbed and hopefully debug these few quirks, but the reality of it all is that I can't. Sorry.
    '01 Chevy Xtreme Stepside (pics)

    FIC K7MNF-64 / Athlon 3200 | 256 DDR | 120 GB 7.2k WD
    WinXP Pro | MediaEngine | 12.1 VGA TFT Touch|Creative CIMR-100
    350w Vector | 320w mATX PS | Hellroaring BIC95150 | ButterflySDC

    Comment


    • #3
      Not a problem! Thanks for the wonderful package and I hope you have a enjoyable summer.

      Comment


      • #4
        Ok, I've never tried this before, so I might end up regretting it and / or deleting the post shortly afterwards but....

        Here's the latest test build. It ~SHOULD~ fix the hangup issue where you can't exit the frontend if the receiver blows chunks. It ~MAY~ improve the handling of receiver lethargy, and it ~MAY NOT~.

        Disclaimer: Use at your own risk. May cause your carputer to spontaneously vomit and spew forth data and other unwanted objects. Do not use if you have a heart condition or weak constitution. Make a backup of your existing executable before you use this, and have a plan to restore it if things go south.

        Post any feedback regarding this build in this thread (I'll make it stickied). I'm leaving for vacation in a couple days and don't intend to be sober enough to type for about a week, so don't be suprised if I don't respond to posts until 8/7 or later.

        http://mediaengine.org/downloads/med...e-xmtest-2.exe

        You should be able to just drop this in your /program files/media engine folder and run it, but you'll need to update your shortcuts or registry or whatever you use to run M/E with, so it may be easier to just rename it to mediaengine.exe. If you currently have a 2.3.4 build installed you'll need to edit the version line in your settings.ini file to reflect the new build (2.3.5). If you can't do this without asking questions, testing this build is not something I would recommend for you. I will not be releasing an installer build of this, so don't ask. If feedback is generally positive it will be released shortly after I get sobered up from vacation, with all the updated XM graphics and whatnot. If not we'll have to play it by ear.

        I've been running this for a few days and haven't had anything unusual happen at all yet. That doesn't mean you will have the same results, but let's keep our fingers crossed.

        One last note: if you have problems where you're unable to get your receiver to work again even after you've restored your backup copy of the executable, try deleting the file xm_channels.dat in your m/e directory, and restart.
        '01 Chevy Xtreme Stepside (pics)

        FIC K7MNF-64 / Athlon 3200 | 256 DDR | 120 GB 7.2k WD
        WinXP Pro | MediaEngine | 12.1 VGA TFT Touch|Creative CIMR-100
        350w Vector | 320w mATX PS | Hellroaring BIC95150 | ButterflySDC

        Comment


        • #5
          Anyone have anything to report here? I've only used it for about 7 hours but it's been flawless so far. I'll aim for a release by the end of the week if no major issues crop up. Sure would like to hear at least one report of success before that happens...
          '01 Chevy Xtreme Stepside (pics)

          FIC K7MNF-64 / Athlon 3200 | 256 DDR | 120 GB 7.2k WD
          WinXP Pro | MediaEngine | 12.1 VGA TFT Touch|Creative CIMR-100
          350w Vector | 320w mATX PS | Hellroaring BIC95150 | ButterflySDC

          Comment


          • #6
            Just installed about 4 hours ago and so far it has fixed everything. I had the same problems as tmar89 (among others with XM) and as soon as I updated 2.3.4 to 2.3.5, all of the problems disappeared. Thank you. I'll post again if I have any problems, but from the looks of it, you won't be hearing from me.

            Hope your week long binge was enjoyable!!



            ...sending some well deserved paypal

            Comment


            • #7
              Just got back from vacation myself. I'll install the latest test build and let you know how it goes. Thanks!

              Comment


              • #8
                I posted a little too soon. It fixed about 99% of the issues I was having, but I just discovered 1 that it did not. Here is a step by step...
                1. Start up computer/Mediaengine
                2. Listen to XM
                3. Switch around to all other screens, go back to XM (still working fine) - This is where one of my original issues was, but is now fixed
                4. While listening to XM turn off Car - Computer hibernates
                5. Comes back from Hibernation - No sound from XM - I can switch channels, but no sound
                6. Switch out of XM,
                7. Try to go back in to XM - ME hangs at loading screen

                FYI - I repeated steps 1-6 (not 7) and I went into the ME settings (radio tab) - It still detects the receiver being hooked up, but there is nothing in the "signal" status bar(i.e. it doesn't say "no signal", nor does it show a percentage) - I try to uncheck the "Enabled" box, but it won't let me - Finally after repeatedly trying to click it, ME just quit out completely.

                My guess is that hibernation is th culprit, but I'll leave that up to the expert to decide...

                Hope this helps troubleshoot.

                Comment


                • #9
                  You need to make sure that your receiver's comport is still present after hibernation. If you're connected with a USB>Serial adapter, some of them 'go away' when you hibernate. I recall testing resume after standby and hibernate when we first implemented XM, but I don't really remember if it worked 100%.

                  BTW, thanks for the donation!
                  '01 Chevy Xtreme Stepside (pics)

                  FIC K7MNF-64 / Athlon 3200 | 256 DDR | 120 GB 7.2k WD
                  WinXP Pro | MediaEngine | 12.1 VGA TFT Touch|Creative CIMR-100
                  350w Vector | 320w mATX PS | Hellroaring BIC95150 | ButterflySDC

                  Comment


                  • #10
                    Thanks for the info, but I don't use the USB-->Serial adapter, I use a modded XMDirect --> Serial interface cable.
                    All of my serial com ports are still available after hibernbation.

                    If what you say was the case, i.e. comports disappearing after hibernation, would I still see the receiver ID in the ME radio setting screen? - Wouldn't it show as not connected at all?

                    Comment


                    • #11
                      You would be correct. Guess I'm going to have to dig out the XMD that was donated and do some testing on this - will be a few days before I'll have a chance to do that.
                      '01 Chevy Xtreme Stepside (pics)

                      FIC K7MNF-64 / Athlon 3200 | 256 DDR | 120 GB 7.2k WD
                      WinXP Pro | MediaEngine | 12.1 VGA TFT Touch|Creative CIMR-100
                      350w Vector | 320w mATX PS | Hellroaring BIC95150 | ButterflySDC

                      Comment


                      • #12
                        Played with the new test version and I had a hangup not even 2 minutes into using ME. Here are my steps:

                        1- Load ME
                        2- Go into Settings menu
                        3- Click Done, go back to ME
                        4- Go to FM/XM Screen
                        5- Go back to Home
                        6- Repeat steps 2 through 4. It then hangs on Loading screen

                        Also, trying out hibernation:
                        1- Play XM channel
                        2- Hibernated and come back
                        3- Loads right back to XM screen, no sound. Able to switch stations but no sound. Able to successfully exit ME without hanging.

                        Comment


                        • #13
                          Have you experienced any of the older issues where you were unable to change channels, or spontaneously exited out of the player while listening to XM?

                          I'll work on the hibernate / standby issues sometime next week, and I'll try to reproduce and solve your first problem then as well. I think they're actually related.
                          '01 Chevy Xtreme Stepside (pics)

                          FIC K7MNF-64 / Athlon 3200 | 256 DDR | 120 GB 7.2k WD
                          WinXP Pro | MediaEngine | 12.1 VGA TFT Touch|Creative CIMR-100
                          350w Vector | 320w mATX PS | Hellroaring BIC95150 | ButterflySDC

                          Comment


                          • #14
                            I have not had any of the older issues since the patch.

                            Comment


                            • #15
                              I've been pulling my hair out trying to reproduce these issues, and it's just not happening, at least not with me sitting in front of my laptop.

                              The only way I can reproduce these issues is if I pull the power plug on the XM receiver before the system is done suspending / hibernating. If you have your XM receiver wired to get power from your ACC line and not the atx power supply, that might be one of the issues here.

                              The other factor that might come into play here is that I cannot test this with a fully-functional setup. There's no way I can get XM signal where I work, so all I can tell is that I'm either talking to the receiver via the serial protocol, or not.

                              Originally posted by tmar89
                              Played with the new test version and I had a hangup not even 2 minutes into using ME.
                              I cannot reproduce your problem at all - though if you do what you're saying fast enough, it will hang it up. I'm not sure if that's what's happening to you, but under normal use if yours hangs there every time, please turn on XM data logging and send me your debug.log based on this latest build.
                              '01 Chevy Xtreme Stepside (pics)

                              FIC K7MNF-64 / Athlon 3200 | 256 DDR | 120 GB 7.2k WD
                              WinXP Pro | MediaEngine | 12.1 VGA TFT Touch|Creative CIMR-100
                              350w Vector | 320w mATX PS | Hellroaring BIC95150 | ButterflySDC

                              Comment

                              Working...
                              X