USB Keyboard Issue - Possible Solution

Author
konradh
Max Output Level: -42 dBFS
  • Total Posts : 3325
  • Joined: 2006/01/16 16:07:06
  • Status: offline
2013/10/16 11:10:22 (permalink)

USB Keyboard Issue - Possible Solution

I accidentally posted this on the other Sonar Forum instead of the X series.  I got a couple of good replies, especially one advising me to use the Windows Eject function instead of unplugging the USB drive.  I would be surprised if that made a difference for another device in another port, but I will test that.  Here is the original post:
~~~
I have had an ongoing issue with USB keyboards failing to work with Sonar.  A PC reboot always fixes the problem (as far as I know).

Although I do not know the cause, I did discover that unplugging or plugging in a USB drive will cause the problem 100% of the time.

For example, M-Audio keyboard works fine.  I change Passport USB drives in another USB port.  The keyboard no longer works.  I reboot the PC and the keyboard works.

Any ideas why this is happening?  The good news is that at least I can relate the issue to a specific action, although there could be other causes not yet identified.
~~~

Konrad
Current album and more: http://www.themightykonrad.com/

Sonar X1d Producer. V-Studio 700. PC: Intel i7 CPU 3.07GHz, 12 GB RAM. Win 7 64-bit. RealGuitar, RealStrat, RealLPC, Ivory II, Vienna Symphonic, Hollywood Strings, Electr6ity, Acoustic Legends, FabFour, Scarbee Rick/J-Bass/P-Bass, Kontakt 5. NI Session Guitar. Boldersounds, Noisefirm. EZ Drummer 2. EZ Mix. Melodyne Assist. Guitar Rig 4. Tyros 2, JV-1080, Kurzweil PC2R, TC Helicon VoiceWorks+. Rode NT2a, EV RE20. Presonus Eureka.  Rokit 6s. 
#1

7 Replies Related Threads

    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re: USB Keyboard Issue - Possible Solution 2013/10/16 13:37:29 (permalink)
    I am not aware of that sort of issue - though I have a thought.
     
    Is it possible you have left the default Windows behavior in place, when it comes to it dealing with USB Devices getting turned off?
     
    There are multiple ways of getting to this to check/set it.  Here is one way - Hit your Windows button, then right-click on Computer and then click Manage.  This will open the Computer Management application.
     
    Look on the left side, for Device Manager, and click on it, which will then open Device Manager.
     
    Expand the Universal Serial Bus Controllers group, in the right side of the Windows, where the various devices are listed in tree-like fashion.
     
    Once that is opened, you want to double-click on each Hub, to open its Properties dialog window.  Hub devices will have a tab at the top of their properties window labelled 'Power Management', and non-Hub entries will not have that tab.
     
    So, for each Hub, click on the Power Management tab, then make sure you do NOT have a check in the box that says "Allow Windows to turn off this device to save power".  Click OK for any that you change and move to the next Hub.
     
    This setting tells Windows to not be stingy with power, and turns off the Selective Disable functionality, thus leaving USB devices enabled.
     
    Bob Bone

    Wisdom is a giant accumulation of "DOH!"
     
    Sonar: Platinum (x64), X3 (x64) 
    Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
    Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
    Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
    MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
    Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
    #2
    konradh
    Max Output Level: -42 dBFS
    • Total Posts : 3325
    • Joined: 2006/01/16 16:07:06
    • Status: offline
    Re: USB Keyboard Issue - Possible Solution 2013/10/16 15:13:45 (permalink)
    Bob, Thanks for this very thorough post which I am sure will be helpful to a lot of users.  I have checked the devices to make sure they don't go to sleep.  I have a Sweetwater Creation Station and it has a custom power plan.
     
    The keyboard (or any keyboard plugged into the port) seems to work fine until I plug or unplug any other USB device.  Then I have to reboot the PC.
     
    This is not specifically a Sonar problem.  The keyboard will not trigger stand-alone applications (like Ivory or Vienna) once it has gone off.
     
    For the record, I have a number of USB ports in use: bluetooth for wireleass mouse/PC keyboard, MIDI keyboard, iLok, eLicenser, audio iterface, MIDI interface, passport USB storage.  And I may be forgetting one or two.

    Konrad
    Current album and more: http://www.themightykonrad.com/

    Sonar X1d Producer. V-Studio 700. PC: Intel i7 CPU 3.07GHz, 12 GB RAM. Win 7 64-bit. RealGuitar, RealStrat, RealLPC, Ivory II, Vienna Symphonic, Hollywood Strings, Electr6ity, Acoustic Legends, FabFour, Scarbee Rick/J-Bass/P-Bass, Kontakt 5. NI Session Guitar. Boldersounds, Noisefirm. EZ Drummer 2. EZ Mix. Melodyne Assist. Guitar Rig 4. Tyros 2, JV-1080, Kurzweil PC2R, TC Helicon VoiceWorks+. Rode NT2a, EV RE20. Presonus Eureka.  Rokit 6s. 
    #3
    lawp
    Max Output Level: -67 dBFS
    • Total Posts : 1154
    • Joined: 2012/06/28 13:27:41
    • Status: offline
    Re: USB Keyboard Issue - Possible Solution 2013/10/16 15:37:58 (permalink)
    using eject flushes the buffer so it could be possible
    #4
    mettelus
    Max Output Level: -22 dBFS
    • Total Posts : 5321
    • Joined: 2005/08/05 03:19:25
    • Location: Maryland, USA
    • Status: offline
    Re: USB Keyboard Issue - Possible Solution 2013/10/16 15:48:29 (permalink)
    +1
     
    For a USB drive, you DO want to use the eject feature for sure, and the reason is exactly the write buffer. If you simply unplug a USB drive, Windows will not free that USB port in case there was a glitch to the drive and it can re-establish the connection. Windows will only release that USB connection if the drive is ejected or you reboot (if you have unplugged it without ejecting, you should also be able to plug it back in, eject the drive, and Windows will release that port for you).
     
    This assumes you having this issue using the same USB port for the Passport and keyboard?
     
    Michael

    ASUS ROG Maximus X Hero (Wi-Fi AC), i7-8700k, 16GB RAM, GTX-1070Ti, Win 10 Pro, Saffire PRO 24 DSP, A-300 PRO, plus numerous gadgets and gizmos that make or manipulate sound in some way.
    #5
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re: USB Keyboard Issue - Possible Solution 2013/10/18 10:16:29 (permalink)
    Could you have a power issue, where there are so many devices plugged in that they are eclipsing the ability to power them all properly?
     
    Also, some USB ports are powered and some are not - wondering if that has any involvement with your situation.
     
    If none of the above applies, sorry - this is kind of a quick drive-by post on my part.
     
    Bob Bone
     

    Wisdom is a giant accumulation of "DOH!"
     
    Sonar: Platinum (x64), X3 (x64) 
    Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
    Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
    Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
    MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
    Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
    #6
    konradh
    Max Output Level: -42 dBFS
    • Total Posts : 3325
    • Joined: 2006/01/16 16:07:06
    • Status: offline
    Re: USB Keyboard Issue - Possible Solution 2013/10/18 22:06:50 (permalink)
    Hey, Bob.  Good thoughts.  One thing I could try would be to buy an externally powered USB hub.  It's not a great expense.

    Konrad
    Current album and more: http://www.themightykonrad.com/

    Sonar X1d Producer. V-Studio 700. PC: Intel i7 CPU 3.07GHz, 12 GB RAM. Win 7 64-bit. RealGuitar, RealStrat, RealLPC, Ivory II, Vienna Symphonic, Hollywood Strings, Electr6ity, Acoustic Legends, FabFour, Scarbee Rick/J-Bass/P-Bass, Kontakt 5. NI Session Guitar. Boldersounds, Noisefirm. EZ Drummer 2. EZ Mix. Melodyne Assist. Guitar Rig 4. Tyros 2, JV-1080, Kurzweil PC2R, TC Helicon VoiceWorks+. Rode NT2a, EV RE20. Presonus Eureka.  Rokit 6s. 
    #7
    rontarrant
    Max Output Level: -78 dBFS
    • Total Posts : 643
    • Joined: 2010/06/21 06:26:09
    • Location: Ottawa, Ontario
    • Status: offline
    Re: USB Keyboard Issue - Possible Solution 2013/10/19 04:21:58 (permalink)
    I was having trouble with my Casio PX-330, too. It would disconnect in the middle of playing a piece. I turned off power management for ALL the hubs as well as the ASMedia XHCI Controller (also under Universal Serial Bus controllers) and it so far, it's stopped disconnecting.
    One conclusion I've come to is that if it happens again, I'm very seriously thinking of kicking USB MIDI to the curb and going back to a simple, old-fashioned MIDI set-up through my sound card.
     
    One other tidbit I came across had to do with making sure to use external power supplies for all USB devices, especially the keyboard, but I can't imagine your M-Audio would work without it anyway.
     
    #8
    Jump to:
    © 2025 APG vNext Commercial Version 5.1