Announcement

Collapse
No announcement yet.

REQUEST: To address USB device restart upon resume from standby

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

  • REQUEST: To address USB device restart upon resume from standby

    There is another thread discussing issues resuming from standby (with touchscreen not working, etc). Devcon cannot be used effectively because the autolaunch folder activate asynchronously - SD does not wait for them to complete.

    There are 2 requests (maybe already there in 1.0.4.5?):

    1. Have option to execute from "resume" or "exit" or "launch" folders synchronously.

    2. Have option to set a delay (in secs) before SD will do anything related to devices (such as reopen COM ports etc), after resuming from standby.

    If at least the first is provided, then a small app to just introduce the delay could be written, but it is my feeling that just waiting a few secs before accessing devices and COM ports could potentially solve a lot of USB device compatibility issues.

    That said, I currently have everything (8 USB devices) working perfectly by utilizing two powered hubs, with relays on the USB cable to cut power over the USB red wire to facilitate a "true device off" state. But rarely I still get one or more devices that just don't restart properly...

  • #2
    1. Is on the to do list, but is taking longer then expected. It will get done at some time though.

    2. Would be an implementation nightmare and probably won't happen.
    StreetDeck.com Developer (I am Chuck)
    Get StreetDeck at http://www.streetdeck.com
    The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

    Comment


    • #3
      GOC > Thanks!

      I tried keeping one USB device at a time disconnected and have found that keeping my WiFi dongle disconnected has helped termendously with the restart issue. I know it uses a lot of power but it IS connected to a powered hub. I now just plug it in when I really need to connect - then I unplug it when I'm done with it. So far, no problems after around 20 restarts...

      Comment


      • #4
        Try plugging the usb wifi straight into the motherboard. Your hub just might not be powering it fully see what happens.

        2005 Ford Mustang GT <- - - UPDATED PICTURES

        2003 KAWASAKI Z1000 - CUSTOM MODZ

        MBK (AIM = IllMBKllI)

        Comment


        • #5
          For my case, unplugging the wifi dongle doesn't help. I do notice that touchscreen responds fine when it is in Windows but the moment I start SD, the response disappears. I would close SD and use devcon to restart only the touchscreen usb device and touchscreen response comes back. Then, if I start SD it goes out again. Hmph.

          -twantrd

          Comment


          • #6
            sounds like a com port issue - conflict? Try forcing the COM port for the touchscreen COM port to something else...

            Comment


            • #7
              Thanks for the suggestion, RcDash. After getting a bit frustrated with this, I started moving all my usb connections to different usb ports and finally got a somewhat reliable setup. Now, about 70% of the time when I start my car everything works like it should. For me, this is a big improvement as before it was 70% that the usb touchscreen doesn't work.

              I'll give your idea a try. Thanks again!

              -twantrd

              Comment


              • #8
                Originally posted by rcdash
                That said, I currently have everything (8 USB devices) working perfectly by utilizing two powered hubs, with relays on the USB cable to cut power over the USB red wire to facilitate a "true device off" state. But rarely I still get one or more devices that just don't restart properly...

                I have kinda the same problems with USB devices staying on:

                http://mp3car.com/vbulletin/showthread.php?t=79303
                http://incarCPU.com

                Comment

                Working...
                X