this post was submitted on 07 Oct 2024
26 points (93.3% liked)

Ask Electronics

3325 readers
1 users here now

For questions about component-level electronic circuits, tools and equipment.

Rules

1: Be nice.

2: Be on-topic (eg: Electronic, not electrical).

3: No commercial stuff, buying, selling or valuations.

4: Be safe.


founded 1 year ago
MODERATORS
 

Back in my day, you could usually sip a few mA from a USB2 port without any trouble.

When I try that now, Windows pops up with a “device not recognized” error. I know you can draw up to 150mA before enumeration, but it looks like after some time, Windows will complain that you haven’t enumerated yet.

Is there an easy way to keep from getting this error without having to actually make the device smart?

I’m hoping for something dumb along the lines of USB-PD but facing the other direction. For the record, it has to work on a USB-A port, so USB-C hacks won’t work.

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 1 month ago (1 children)
[–] [email protected] 3 points 1 month ago (1 children)

I think that’s a Qualcomm proprietary thing that isn’t supported by standard USB downward facing ports.

[–] [email protected] 4 points 1 month ago

QC 2.0 is proprietary but it would probably still be identified as a device on a standard USB port. For $2 it's probably worth giving one a try, anyway.

[–] [email protected] 7 points 1 month ago

Buy the 5 dollariest arduino?

[–] [email protected] 4 points 1 month ago (1 children)

Do you get the same issue if you short the data lines? That's usually the indication (to devices) that the port is for charging only; not sure how thats received in the reverse direction.

[–] [email protected] 3 points 1 month ago (1 children)

Looking at the PD spec I got the impression devices are supposed to pull the D+ pin up to a certain voltage, but I got lost partway through.

OP asked for the easiest way and deciphering the spec docs probably isn't it.

[–] [email protected] 3 points 1 month ago* (last edited 1 month ago)

For power delivery, ie requesting power outside the typical 5v 3a max; yes.

The charger shorting them together usually indicates to the device, it's fixed at 5v 3a.

I think the device shorting them will indicate to the charger/port that you're only requesting power @ 5v 3a max; but I haven't dived into the spec.

I'd give that a try and dig further if it doesn't work.

[–] [email protected] 3 points 1 month ago

If the computer has a PS/2 port that you aren't using, you could probably power the device by plugging it into a passive USB adapter like the ones that came with older keyboards and mice.

[–] [email protected] 3 points 1 month ago

I probably just run a tap off of a thumb drive.

[–] [email protected] 2 points 1 month ago

Mobo not have internal USB headers?