0
votes
1answer
29 views

How to give more power to a USB device (error -110)?

I’m trying to mount an external hard drive (2.5", USB, no separate power supply) on Debian 7, but it gives me (in dmesg as well as when trying to boot with the device connected) errors like: ...
3
votes
1answer
233 views

Turn system on by USB keyboard?

To hibernate my Debian Wheezy system, I run the following command: sudo sh -c 'echo disk > /sys/power/state' To wake up the system, I can press any key on my USB keyboard. My understanding of ...
0
votes
2answers
85 views

embedded linux and powering usb stick

I have a problem where I need to read a usb-stick or a usb keyboard: When I plug in the USB stick or keyboard I can't get power to the device. dmesg says nothing I tried: for device in $(ls ...
8
votes
2answers
6k views

How to disable USB autosuspend on kernel 3.7.10 or above?

I've updated my HTPC from kernel 3.7.10 to 3.10.7 and it seems CONFIG_USB_SUSPEND is now gone from the kernel options and included in PM. The main problem I'm facing is that I have an external HDD ...
6
votes
3answers
2k views

Get power consumption of a USB device

Is there a way to check how much power a USB device requires? Why do I need this? I need to connect an LTE USB stick to my Raspberry pi, and don't know how much power it needs. We got it quite ...
1
vote
1answer
1k views

How to power off USB stick or MMC card under linux?

Usually I just unmount the usb stick or mmc before unplugging it but I'd prefer to turn the power off before doing so. I think Windows does this, so the hardware should allow for turning off the power ...
2
votes
1answer
2k views

Power off USB storage device/port to avoid power consumption

A connected USB storage device, even if unused (unmounted, etc.), consumes power. How can I turn it off / turn its power off so that it doesn't consume power as if it was disconnected, but without ...
5
votes
4answers
6k views

Disable USB power for USB controlled power strip

I have a USB controlled power strip that has a single usb port. If my computer is turned on and connected via usb to the power strip, the power strip will provide electricity to all the sockets. I ...
4
votes
2answers
7k views

How to avoid powering down certain USB devices when a machine is suspended

I'd like to maintain power supply to a USB-powered drive when the system goes into suspend (AKA S3 or "suspend-to-RAM") mode. Normally the power is cut while the machine is suspended, which causes it ...