Helpme1986
Posts: 121
Joined: Tue Jan 03, 2012 3:48 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 1:19 pm

Hey, got my pi today and thought everything was going well until after about 30 seconds from boot the USB seems to stop working, the OS is still running (the CPU usage is still updating in the task bar) but I cant do anything

First power supply i used was a blackberry charger at 5v 700mah, tried a HTC charger 5v 1ah but still the same

using a wired dell keyboard and mouse (tried removing both but still happens)

Ethernet cuts out as well (which is powered by USB?) also unplugging this but same happens,

Any ideas?

andri
Posts: 51
Joined: Fri Jan 27, 2012 5:05 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 1:22 pm

Helpme1986 said:


Hey, got my pi today and thought everything was going well until after about 30 seconds from boot the USB seems to stop working, the OS is still running (the CPU usage is still updating in the task bar) but I cant do anything

First power supply i used was a blackberry charger at 5v 700mah, tried a HTC charger 5v 1ah but still the same

using a wired dell keyboard and mouse (tried removing both but still happens)

Ethernet cuts out as well (which is powered by USB?) also unplugging this but same happens,

Any ideas?


Do you use usb hub?

Helpme1986
Posts: 121
Joined: Tue Jan 03, 2012 3:48 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 1:29 pm

no hub (havent got 1 to test)

also should have mentioned using a Sandisk 32gb class4 card running the latest debian

spurious
Posts: 343
Joined: Mon Nov 21, 2011 9:29 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 1:31 pm

what power rating are your keyboard and mouse?

Helpme1986
Posts: 121
Joined: Tue Jan 03, 2012 3:48 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 1:35 pm

keyboard 5v 1.5amps (WHAT!?)

Mouse 5v 100ma

I have got a RF keyboard/mouse dongle thing which is 5v 100mah but that doesnt work neither

JoeDaStudd
Posts: 274
Joined: Fri Jan 27, 2012 1:34 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 1:36 pm

Are you using a USB stick or harddrive?
If its harddrive its because its drawing too much power.

Helpme1986
Posts: 121
Joined: Tue Jan 03, 2012 3:48 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 1:37 pm

JoeDaStudd said:


Are you using a USB stick or harddrive?
If its harddrive its because its drawing too much power.


nope, at the moment just the keyboard, power and RCA video is attached (changed from HDMI just incase it was that)

Helpme1986
Posts: 121
Joined: Tue Jan 03, 2012 3:48 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 1:57 pm

well I have gone back to my RF keyboard and mouse as the receiver is only 5v 100ma which was the same as my mouse on its own,

Seems stable if the Ethernet is not plugged in (to a powered gigabit switch) been on 5mins now without failing

Could it be the length, type or switch of ethernet cable thats causing the issue?

EDIT: just stopped again

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 2:05 pm

It sounds like something on the USB bus is tripping the polyfuse.

Try unplugging everything from the USB bus to see how long it will last with only the display running. If it still fails with nothing connected to the USB, you may have a faulty polyfuse.

I assume that the RPi is not resting on something conductive, such as the original packing bag...

Helpme1986
Posts: 121
Joined: Tue Jan 03, 2012 3:48 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 2:11 pm

Just turned it on with only the Power supply (5v 1a) HDMI and Ethernet plugged in (need some way of finding out if its dropped out unless you can think of another way) and now ethernet has dropped out

Really hope its not faulty as ill have to wait for the next batch

User avatar
RaTTuS
Posts: 10460
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 2:32 pm

sounds like the power supply is not supplying enough umph
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

Eros
Posts: 26
Joined: Tue Feb 28, 2012 5:16 am

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 2:35 pm

You can probably ping something on the outside world, and keep watching it and wait and see if it drops?? (or alternatively pinging the RPi from another computer if you can)

This likely means plugging in the keyboard for a few moments though.

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 2:39 pm

Does it fail if you leave the ethernet unplugged?

If you could, plug things in one at a time and let's see when the failure happens.

First just the Keyboard

Then just the mouse

Then keyboard and mouse

Then Keyboard/Ethernet

Then mouse/ethernet

Then all three.

What you're describing does sound like something is tripping the polyfuse on the usb ports.  Each usb port can supply up to 140 mA of power, so the 100 mA keyboard and 100 mA mouse should work just fine on it... I wonder if A) one of the devices is misrepresenting it's current draw or B) if there's something about that gigabit switch where it is trying to send an odd amount of current down the ethernet line?

I hope this helps narrow down the culprit!
Dear forum: Play nice ;-)

Helpme1986
Posts: 121
Joined: Tue Jan 03, 2012 3:48 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 3:29 pm

Pretty certain the Keyboard is an issue (1.5amp, has a 2 port usb hub which isnt used)

Mouse on its own is fine,

Mouse with Ethernet on a 500ma supply cuts out quite quickly, on a 1amp supply it cuts out after 1-2mins

EDIT: also moved to a router instead of gigabit switch

Helpme1986
Posts: 121
Joined: Tue Jan 03, 2012 3:48 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 3:37 pm

and ethernet on its own dropps out after 3-4mins

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23708
Joined: Sat Jul 30, 2011 7:41 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 3:37 pm

Ah, the keyboard has an inbuilt hub which explains 1.5A. Is the keyboard powered, or can it be? Must be some way of supplying 1.5A because you cannot get that off a standard USB port.

Even just having the hub in there will draw some power I would have thought, even when not used.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

plugwash
Forum Moderator
Forum Moderator
Posts: 3456
Joined: Wed Dec 28, 2011 11:45 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 4:19 pm

When using the two different power supplies did you use the same micro USB cable?

Do you own a multimeter?

Guest

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 4:42 pm

I think i've got the issue too - After a little bit, ssh just returns "Connection refused".

I'm powered by a USB port from a powered hub. Nothing appears on error-ry on the HDMI output...

Helpme1986
Posts: 121
Joined: Tue Jan 03, 2012 3:48 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 4:56 pm

went to Tesco and got the cheapest keyboard and mouse i could (£5 each) both 5v 100mA along with a powered belkin USB hub (no mA info on the hub its self)

Used it all without the hub to start with and was working for 5mins then cut out

Then used hub and without ethernet its fine but with it drops,

Ethernet plugged in but not connected the other end the keyboard/mouse continue to work

As soon as i connect the ethernet to any router it drops after a few mins. (including a router which only had the Pi connected, no internet)

Helpme1986
Posts: 121
Joined: Tue Jan 03, 2012 3:48 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 5:29 pm

Been on the Pi for 30mins now with no ethernet plugged in and working great.

Just used GParted to create a new partition on the SDCard and keyboard and mouse were working for a while but did stop after a few minutes of the CPU being maxed out.

The operation completed the keyboard and mouse still wouldnt work even after unplugging and repluging the hub back in, i needed to reset the Pi

I was going to put it down to the ethernet (how we fix this i dont know!!) but with the CPU maxing out causing the same problem im not so sure. Maybe i just have a dud Pi but hoping its just something stupid im doing!

Helpme1986
Posts: 121
Joined: Tue Jan 03, 2012 3:48 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 5:46 pm

plugwash said:


When using the two different power supplies did you use the same micro USB cable?

Do you own a multimeter?


I do have a multimeter but no idea how to use it!

User avatar
jbeale
Posts: 3494
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 6:16 pm

From what I"ve read elsewhere, these symptoms could be caused by low voltage on the Pi board, causing it to drop out when a higher-power device draws current from the RasPi USB host port, and/or the ethernet chip is trying to drive the cable, and/or the CPU in the SoC draws more current.

This could be caused by (for instance): low current/low voltage from power supply, high resistance USB cable, bad connection on microUSB connector, out-of-tolerance polyfuse on RasPi board, and probably other things.  I don"t know what is the most likely.

If you use a voltmeter or multimeter to measure the voltage between the "5V" (P1-02) and "0V" (P1-06) GPIO pins, you could confirm a low voltage issue if it measures anything lower than 4.75 V.

For the map of the GPIO pins, see http://elinux.org/Rpi_Low-leve.....eripherals

How to use a voltmeter:

User avatar
jbeale
Posts: 3494
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 6:32 pm

by the way, it's tricky to hold standard meter probes on 0.1" header pins without shorting out to an adjacent pin.  When I do this sort of thing I use "mini-grabber" hooks which are the right size to grab just one header pin at a time, without shorting.  You can get them on banana plug wires, or separate adapters which snap onto the multimeter probe tips like Radio Shack #270-334.

http://www.amazon.com/Fluke-TL.....B000VRHD8Y

http://www.radioshack.com/prod.....Id=2062221

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23708
Joined: Sat Jul 30, 2011 7:41 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 6:36 pm

You can also measure voltage across TP1 and TP2.  TP1 is 5V, and TP2 is GND.

They are both through holes, so hold up to the light, and see where the holes are to find the points quickly.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

Helpme1986
Posts: 121
Joined: Tue Jan 03, 2012 3:48 pm

Re: USB bus seems to be shutting down after 30seconds

Tue Apr 17, 2012 6:43 pm

when things are working its 4.80 (though does jump around, dont know if thats because of the way im holding it) when the keyboard and ethernet etc stop working its 5.05

Return to “Troubleshooting”