Google Answers Logo
View Question
 
Q: Convince powered USB hub to provide power without computer attached ( No Answer,   4 Comments )
Question  
Subject: Convince powered USB hub to provide power without computer attached
Category: Computers > Hardware
Asked by: unithom-ga
List Price: $20.00
Posted: 17 Dec 2002 15:57 PST
Expires: 16 Jan 2003 15:57 PST
Question ID: 126216
Hello,

I have a D-Link DSB-H7 (7 port, self powered USB 1.x hub.)
http://www.dlink.com/products/usb/dsbh7/

I only want to use it to provide power to long-haul VGA extenders,
which are USB-powered.

The problem is, the DSB-H7 appears to need to be plugged in to a
computer (virtual root hub, whatever) before it will turn on the
power.

I suspect the reason for this was some braniac engineer somewhere
saying, "Well, OBVIOUSLY we don't want to power attached devices if
the computer itself is not on!" Well, duh. It's probably part of the
USB spec.

Solutions I have already tried:
1) Took a 3' USB A to B cable, and cut off the A end. I'm left with
four wires + ground, leading up to a B end. Pluged the B end into the
hub and shorted across all unique pin combinations (data to data,
power to power -- data to power, I didn't care -- hoping that one
combination would trick the hub into providing power.  Cons: I
might've shorted out one of my hubs, though at least I doubt that it,
in turn,  shorted anything out down the chain. And, of course, it did
not work.

2) Took a radio shack 5V power adapter and tried using that on all pin
combinations; since USB uses 5V, I figured that it might sense power
coming from the upstream computer and trip some solid-state relay for
the power on all of the downstream ports... Cons: if I thought that
shorting the pins to one another was bad, I'm sure this was worse. And
of course, it did not work.

Solutions I have brainstormed but not yet tried:
1) open up the hub and try to modify it, shorting across a solid state
relay (I assume) so that power is always on. The cons are: this would
require that I do this for all of the hubs, and it means I can't ever
re-use the hub for another applications.
2) modify one hub and daisy-chain all of the others to it. Cons: Not
sure if modifying one hub to 'fake it out' will propagate down the
chain.

I don't even know how the heck to search google for this answer
because it's so specific and obscure, requires knowledge of the USB
pinouts and possibly spec.

An acceptable answer could include:
1) Plans for building an inexpensive IC to attach to my hacked cable,
if that's what it requires -- I have to order from digikey soon anyway
for something else;
2) A manufacturer who sells a product for less than $20 which will
solve my problem, and whose solution will (preferably) propagate
through all daisy chained hubs.

Anyone?  Anyone.... Bueller?

If you can answer this question, you'll save Christmas! (Well, okay,
you'll make an entire "CyberSpace Gallery" in our Planetarium/Museum
light up in festive cheer. Close enough.)

Tips also available, the neater/more reliable the solution is.

Best,

Thom Brooks
Computer Support Supervisor
Adler Planetarium and Astronomy Museum
Chicago, IL

Request for Question Clarification by duncan2-ga on 17 Dec 2002 21:42 PST
Hi unithom,

Can you tell me a little bit more about the USB-powered VGA extender
you're using?  I'm not very familiar with USB/VGA solutions.  If the
only reason you need the hub is to provide power to the extender (i.e.
the VGA signal isn't being compressed and passed somehow down the USB
chain), then this seems to be just a 'how can I get power to a
USB-powered device' question--in which case you might be able to
eliminate the hub entirely.

If the extender just needs the 5v/500ma, you might be able to wire a
power supply directly to it, instead of having to worry about USB host
protocols.

On the other hand, if you really do need the hub, then you're going to
need a root hub on the chain, somehow.  If a PC isn't a possibility,
then the only thing I can suggest is perhaps some USB test equipment,
like the standalone root hub from RPM Systems Corporation
(http://www.rpmsys.com/ ).  It's designed to work with a computer via
RS-232, but the docs seem to suggest that can work alone as well.  I
suspect this doesn't meet your $20 limitation though.

Regards,
Duncan2-ga

Clarification of Question by unithom-ga on 17 Dec 2002 22:45 PST
Using a computer: while it might SEEM to be the easiest and most
brainless solution,
I've BEEN using one of the machines as the root hub to drive all of
the other hubs & screens; guess which machine totally fritzed
yesterday? Hint: it prompted me to post this question. So I'm trying
to separate the functionality of a machine providing content (maybe
someone will want it turned off, etc) from the functionality of a
device providing power to these DAs.

Here's a page on the DAs:

http://www.extron.com/product/product.asp?id=p2da1
P/2 DA1 (USB)	 	60-319-03

Specs are all there, but I'm pretty sure that these are JUST drawing
the power from the hubs. But we already have the hubs, and these
Extrons already have USB ends on them. (And they weren't cheap. Extron
makes good, but pricey, stuff.)
Besides: chopping up 55 already existing USB connectors and wiring
them to a power supply is not my idea of a party! Too much room for
human error and it'd take a while.

Our main reason for going with this 'solution' (the 7 port hubs) was
simply because they were cheaper than the custom (read: way too
expensive) solution offered us by the contractor who built the space.

Another factor: space is at an EXTREME premium here. We are
line-driving approximately 55 computers' VGA and usb HID's to a room
250 feet away. Half go to custom classroom desks (lockable flip-up top
conceals mercury-switch activated flatscreen display, touchpad and
keyboard); the other half have their VGA converted to pigtail (5 wire
BNC) which then go to plasma screens or LCD screens that display
video, slide shows, interactives, and other content.

So, in a space smaller than my clothes closet (which is very small),
we're running an entire computer classroom and a gallery with over 40
screens. (Cool, huh?) But my boss would SCREAM bloody murder if I
wanted to put even one more machine in there, just to keep these hubs
alive.

Therefore: small form factor -> pricier computer. And depending on an
entire computer (read: complicated, involves hard drive, must be
happily booted into some OS probably before ever considering turning
on its USB stuff...) to daisy-chain all of these hubs means that if
one computer dies (for whatEVER reason), half of the screens fail.
During visitor hours we want 5 9's uptime so nobody has a reason to
complain!

 I'm asking the impossible, I know -- cheap, easy, fast. Pick one.  :)
Did I mention that it's the end of the year and we don't have a
budget? (Stop banging your heads on your desks...  ;)

Duncan, you've got the most 'can-do' attitude; I will see if rpm sys'
device would work, and if it's a reasonable solution (pricewise and
does what we want), or if their people are able to help us, it's all
yours.

PS: Omnivorous: thanks! A lot of people get really mad if our camera
is ever unavailable, so we know what a following it has.
Unfortunately, when important people are here for special events,
people in suits and black sunglasses make us turn it off.  :)
Answer  
There is no answer at this time.

Comments  
Subject: Web site
From: omnivorous-ga on 17 Dec 2002 16:56 PST
 
Thom --

I don't have a solution to your problem but have to take the
opportunity to say that you guys have the COOLEST webcam on the 'net:
http://www.adlerplanetarium.org/

Did you give up the .com website or did someone hijack that one?

Best regards,

Omnivorous-GA
Subject: Re: Convince powered USB hub to provide power without computer attached
From: maniac-ga on 17 Dec 2002 20:58 PST
 
Hello Unithom,

I think the answer is "it can't be done for $20". In reading through
the USB documents at
  http://www.usb.org/
  http://www.microsoft.com/hwdev/bus/USB/hubs.asp
  http://www.apple.com/usb/
and a few other sites, it appears the hub has a lot more intelligence
than you might think. The power your USB device can draw is limited to
100 ma until it is activated by a driver (then it can draw 500 ma).
The activation is performed by a pretty complex set of messages sent
down the wire.

The simple (but costly) answer is to spend a few hundred bucks to buy
a spare PC and just plug it in to do the handshake - but I doubt that
is the kind of answer you are looking for.

Perhaps someone can come up with a better answer.
  --Maniac
Subject: Re: Convince powered USB hub to provide power without computer attached
From: vinods-ga on 17 Dec 2002 22:07 PST
 
Hi, 

I would agree with maniac-ga on this issue. Simplest method seems to
be to connect the upstream side to a stripped-down PC. You can do away
with most of the stuff on it that is not required and probably even
enclose it differently, make a sort of 'black-box'.

"A single type "B" upstream port is provided for connecting to the
host computer, or another USB hub. Configured directly by the
operating system, the DSB-H7 operates seamlessly with both Microsoft's
OpenHCI and Intel's UniversalHCI." - from the Dlink site

There is some complex handshake required for it to work. 

warm regards
vinods-ga
Subject: Re: Convince powered USB hub to provide power without computer attached
From: haversian-ga on 17 Dec 2002 22:31 PST
 
USB has 4 wires.  Two wires are for differential signalling, and two
wires are for power.  The green and white wires should be data, and
the red and black wires should be power.  Red is +5V, black is GND.

If you need only to provide power, you could rig up a power supply to
a series of current limiters (500mA) and USB plugs of the appropriate
type.  You can buy USB plugs with wire crimp sockets from Jameco or
Mouser and a custom project box from some place like Radio Shack to
house the whole thing.  It would take a little enginuity, but
shouldn't be too hard.  You can get prototyping boards from radio
shack to build your circuit on for simplicity, and then you just need
to mount the USB ports securely and cut holes in the box so you can
access them.

If you decide to give it a try, let me know how it works out!

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy