Welcome Guest.   Make a donation to an author on the site October 20, 2014, 04:18:33 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: make USB port disabled or delayed enable on startup - any util do this?  (Read 5807 times)
nudone
Cody's Creator
Columnist
***
Posts: 4,116



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: December 01, 2011, 05:51:29 AM »

I need my machine to disable a specific USB port during startup or, even better, to simply delay enabling it for about 10 seconds.

The problem is that I've got one of those small MIMO touchscreens - it uses USB for power and image signal (using the DisplayLink drivers), and it refuses to connect properly during the startup of the machine.

If I leave the MIMO plugged in during startup, I can't even attempt to get it working by unplugging it and then plugging it into a different USB port.

This is how I get the MIMO to work without fail:

1) I have to boot the machine without the MIMO connected.

2) Wait for everything to load in.

3) Plug the MIMO into a USB socket.

4) Remember to disconnect the MIMO before I boot the machine next time.

This is the second machine I've had the problem with, so I think it's all just a symptom of the hardware and software I have to use. I've tried all the motherboards USB ports and a couple of external USB powered hubs - nothing makes a difference. The MIMO just doesn't like my setup - maybe it's because there are three other monitors plugged into the computer.



Anyway, is there a util that will delay a USB port connecting during startup. If not, is this something Autohotkey could do (and if so, would someone be so kind as to make it for a few DC credits).


Having said all this, I wouldn't be surprised to learn that merely disabling the USB port isn't enough to resolve the problem; maybe the system goes through more of a hardware scan when the MIMO is plugged in and this kicks the systems graphic management into action.
Logged
Ath
Supporting Member
**
Posts: 2,229



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: December 01, 2011, 06:09:48 AM »

Hm, a bit OT, but I do see the DisplayLink drivers (for a same MIMO screen Kiss) having the issue of blanking the screen for several seconds a few times during boot, but eventually the login screen shows and I can log in. And I never unplug the MIMO.

More On-topic:
DisplayLink did release a new driver (6.1, previous 5.6), just last week, maybe that helps? (I just saw them, and haven't installed yet)

Totally on-topic:
I just googled this tool: http://www.disableusbports.com/ that you could give a try Cool
Logged

Stoic Joker
Honorary Member
**
Posts: 5,313



View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: December 01, 2011, 06:46:32 AM »

The problem is that there really isn't any guarantee that the disable USB app will load fast(er) enough to get  the port shutdown ahead of the MIMO's detection and driver load to prevent it from borking itself. It might be simpler (and more reliable) to try delay loading of whatever controls the MIMO (app/service/?? - I don't know, I never seen one of these things).

Just a Thought,

Stoic Joker
Logged
4wd
Supporting Member
**
Posts: 3,345



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: December 01, 2011, 07:08:56 AM »

What if you use the disable USB port program via Task Scheduler on user logoff and enable on user logon?

Or use Microsoft' devcon command to disable/enable the specific device using Task Scheduler.
Logged

I do not need to control my anger ... people just need to stop pissing me off!
Stoic Joker
Honorary Member
**
Posts: 5,313



View Profile WWW Give some DonationCredits to this forum member
« Reply #4 on: December 01, 2011, 07:38:05 AM »

What if you use the disable USB port program via Task Scheduler on user logoff and enable on user logon?

I honestly don't know ... But it still sounds like it could end up being a race.


Or use Microsoft' devcon command to disable/enable the specific device using Task Scheduler.

Hm... Now this has a good sound/feeling to it. Easy to automate and direct drive smiley
Logged
nudone
Cody's Creator
Columnist
***
Posts: 4,116



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: December 01, 2011, 07:52:09 AM »

Thanks for the suggestions so far. I think I'll have to try a few experiments over the weekend - after I do a system backup; I expect it will break all my USB "stuff" at some point.

I did see someone talking about devcon elsewhere for a similar USB problem - I think they said it didn't help so I forgot about it. Probably worth investigating though.

I'll try the newer DisplayLink drivers too.

Logged
Stoic Joker
Honorary Member
**
Posts: 5,313



View Profile WWW Give some DonationCredits to this forum member
« Reply #6 on: December 01, 2011, 07:59:58 AM »

Might try having devcon disable the MIMO on shutdown, and enable it (with a delay) on startup to simplify logon/off incase you need to do a quick session refresh (it happens stuck apps etc..).

Or depending on how gracefully devcon handles it, you could enable it on logon and only disable it on shutdown.
Logged
4wd
Supporting Member
**
Posts: 3,345



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: December 01, 2011, 05:02:53 PM »

I did see someone talking about devcon elsewhere for a similar USB problem - I think they said it didn't help so I forgot about it. Probably worth investigating though.

FYI, some info for setting up a logoff event in Task Scheduler here.

For logon the Event ID is 7001, you might try increasing the delay before running and/or running Ath' WinButton program in the same event command file.
Logged

I do not need to control my anger ... people just need to stop pissing me off!
nudone
Cody's Creator
Columnist
***
Posts: 4,116



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: December 05, 2011, 02:36:48 AM »

Thanks for all the suggestions but I've decided to take a radical approach to the problem - I'm going to throw the MIMO in a cupboard and forget about it.

I've just booted my machine, plugged the MIMO into the slot that had always made everything work - and this time it didn't work. Several minutes messing about rebooting, unplugging, plugging, installing new drivers has made me accept that this touchscreen device just isn't worth the trouble.

I may have persevered but it has also made one of my screens lose its colour calibration settings. That means I'll have to spend another 20 minutes doing that with my Spyder colorimeter thingy.

Please do not suggest I try anything further with this horrible touchscreen - except for satisfying ways I can drop heavy objects onto it; the most pleasure I will get from this piece of crap is by seeing it explode into thousands of tiny pieces.
Logged
mouser
First Author
Administrator
*****
Posts: 33,571



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: December 05, 2011, 02:43:03 AM »

Quote
Please do not suggest I try anything further with this horrible touchscreen

i like torturing nudone so i will suggest another.. devices which like to suck lots of usb power may behave better on a POWERED usb hub.
If you haven't yet tried connecting it to a powered usb hub, that might be worth a quick try.
Logged
nudone
Cody's Creator
Columnist
***
Posts: 4,116



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #10 on: December 05, 2011, 03:03:28 AM »

Quote
Please do not suggest I try anything further with this horrible touchscreen

i like torturing nudone so i will suggest another.. devices which like to suck lots of usb power may behave better on a POWERED usb hub.
If you haven't yet tried connecting it to a powered usb hub, that might be worth a quick try.

Yep, that's the problem. I've tried more than one powered USB hub and other hubs and the ports on my motherboard. It just doesn't work.

I'm sure it works fine with one normal monitor attached to the machine but I've got three. I guess this is something the MIMO manufacturers have never thought about testing.

I've made a similar post about it here: http://www.donationcoder....27865.msg270234#msg270234
Logged
Ath
Supporting Member
**
Posts: 2,229



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #11 on: December 05, 2011, 05:53:50 AM »

As I wrote before, I did encounter some minor issues while starting up, having all black screens for several seconds, but eventually it just works. And I do have 2 dual-screen systems, at home both connected using DVI, and at work both connected using DisplayPort (DP), that I added the MIMO to.
I'm kinda disappointed that it won't work in your environment Sad, as originally a touchscreen seemed such a good idea huh

You'd better try to get a refund for your device, as you wrote in the other thread.

Oh, could there be a chance you're running the monday-mornin' model? The one they defunct on purpose, just to please the guys at their service desk? It's a bit hard, without someone with a similar device in the neighborhood, to swap it temporarily to find that out. undecided
Logged

nudone
Cody's Creator
Columnist
***
Posts: 4,116



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #12 on: December 05, 2011, 06:23:06 AM »

I've had black screens for several seconds each time too - that's if I was lucky enough for it to connect at all. For it to work means not having the touchscreen connected during startup; it's as simple as that. I was prepared to accept that, it was simple enough, I just plug the MIMO in after everything else has loaded in...

...but today, not even that worked. This is on a machine that hasn't changed since the last time the MIMO was connected (two days ago). So, what's happened? Nothing has changed on the machine (that I'm aware of) and yet the MIMO decided it just didn't feel like waking up today (you may be right about the Monday Morning model).

So, I can't get the touchscreen to work if I boot up with it plugged in. In this scenario, it doesn't make the screens go black - it just doesn't do anything at all; the system has no idea that it's there. On my previous computer it would struggle to do something in this configuration - but it amounted to nothing more than making a blue LED blink and a ping noise repeat constantly (the sound of a USB device trying to connect).

And now, it doesn't even work plugging the device in after startup. I'm not prepared to keep messing about with it anymore. There was absolutely no good reason for it not to work this morning.

It's too late to send back to Amazon, I've checked. I suppose I could send it back and say it's not fit for purpose or something but I suspect that it will work fine if I plug it into a system with less monitors attached. So, not fit for purpose isn't really the truth.

I'll see what happens when I get around to using it with another machine. Maybe I'll be quite happy with it then.

edit:
Having said all that. One thing I've not tried is letting the machine wait at a login screen during startup. Maybe that's the trick that makes it work. I'll give it one last try sometime this week. If it doesn't work then, I'll probably attempt to snap the screen over my knee.
Logged
Ath
Supporting Member
**
Posts: 2,229



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #13 on: December 05, 2011, 08:07:30 AM »

It's too late to send back to Amazon, I've checked. I suppose I could send it back and say it's not fit for purpose or something but I suspect that it will work fine if I plug it into a system with less monitors attached. So, not fit for purpose isn't really the truth.

You should be in time to claim it's faulty and have it replaced by another one (record the serial to be sure it's replaced), if you're luck they'll send you a complete new one from stock.

I'm not prepared to keep messing about with it anymore.

I fully understand what you are saying, I'd go the same route with such a bad experience.
Logged

mouser
First Author
Administrator
*****
Posts: 33,571



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #14 on: December 05, 2011, 09:39:52 AM »

Quote
It's too late to send back to Amazon, I've checked

In the past when i've sent something back to amazon past their return date they still accept it but charge a 10-15% restocking fee -- might be quite acceptable to you in this case.
Logged
nudone
Cody's Creator
Columnist
***
Posts: 4,116



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: December 05, 2011, 10:31:44 AM »

nah, I'll hang on to it. It might be brilliant used alongside the Wacom Cintiq. if it doesn't work with anything I plug it into then, fair enough, it's a dud. at which point i will happily smash it up. everything i buy i view as a gamble - i'm genuinely amazed when things work properly. when they don't i just accept that i lost that one - again.
Logged
Shades
Member
**
Posts: 1,669


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #16 on: December 05, 2011, 04:18:25 PM »

There was a thread about USB port misery caused by Windows here at DC.

In that a few tools were mentioned that can whip these sources of fury out of existence (scroll a bit down).

Just for future reference.
Logged
cranioscopical
Friend of the Site
Supporting Member
**
Posts: 4,182



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #17 on: December 05, 2011, 06:23:56 PM »

Please do not suggest I try anything further with this horrible touchscreen

What a pity! I'm getting on quite nicely with mine. (Just watch, it'll throw seven fits now!)
Have you talked to the people at MIMO at all? You can't be the only one with difficulties... can you?
Logged

Chris
nudone
Cody's Creator
Columnist
***
Posts: 4,116



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #18 on: December 06, 2011, 03:15:59 AM »

thanks, Shades. I'll go through that thread at the weekend (or when I feel up to the stress of constant reboots trying to get the MIMO to work).

as for MIMO difficulties, cranioscopical, all I've seen are complaints on the forums. I get the impressoin that people just give up and send the touchscreen back to Amazon. plenty of cases where the touchscreen worked and then one day it decided not to.

(which is all why I can't really be bothered to try and figure out the problem.)
Logged
cranioscopical
Friend of the Site
Supporting Member
**
Posts: 4,182



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #19 on: December 06, 2011, 12:52:31 PM »

cranioscopical, all I've seen are complaints on the forums.
Bad show! I understand your thinking — easier to shrug and walk away than endure the hassle.
Logged

Chris
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.043s | Server load: 0.01 ]