external usb drive disappears

mer

Well-Known Member

Reaction score: 286
Messages: 485

Sometime USB hubs can power down ports, I ran into that a while ago on Linux systems. Maybe something configured with "power management" is powering down the port because there is no activity to the external drive.
maybe "sysctl -a | grep usb | grep power" can give a hint or two.
 
OP
P

ProServ

Active Member

Reaction score: 4
Messages: 182

Hi, thanks for responding. It was actually somewhat embarrising because it turned out to be an extremely loose connection from the power supply. Had to change AC source and then it was fine.
 

judd

Active Member

Reaction score: 201
Messages: 237

Sometime USB hubs can power down ports, I ran into that a while ago on Linux systems. Maybe something configured with "power management" is powering down the port because there is no activity to the external drive.
maybe "sysctl -a | grep usb | grep power" can give a hint or two.

Hello!
mer just out of curiosity, what do these values mean that the console throws with your commands ?

% sysctl -a | grep usb | grep power hw.usb.disable_port_power: 0 hw.usb.power_timeout: 30 hw.usb.timings.extra_power_up_time: 20 hw.usb.timings.port_powerup_delay: 300

Thank you.
 

mer

Well-Known Member

Reaction score: 286
Messages: 485

ProServ nice that it was that simple. "note to self, always check physical connections, including power first"
judd I'm not 100% sure so taking a guess (grep source tree would probably help):
disable_port_power, probably a boolean, could mean "don't allow a usb port to provide power" or "don't power off ports"
power_timeout, maybe "wait this long after powering up something to go check it. If it's not ready in this time, error"
The other two are probably similar to the power_timeout, but modify behavior on an error.
 

judd

Active Member

Reaction score: 201
Messages: 237

ProServ nice that it was that simple. "note to self, always check physical connections, including power first"
judd I'm not 100% sure so taking a guess (grep source tree would probably help):
disable_port_power, probably a boolean, could mean "don't allow a usb port to provide power" or "don't power off ports"
power_timeout, maybe "wait this long after powering up something to go check it. If it's not ready in this time, error"
The other two are probably similar to the power_timeout, but modify behavior on an error.
I understand and with your explanation, it helps me to understand something.
Thank you again !
 
Top