[arm-allstar] One of two USB URIs dropping off

Doug Crompton wa3dsp at gmail.com
Fri Jan 11 23:03:46 EST 2019


Here are some interesting articles on Pi USB power.  I think it is doubtful
that two DMK-URI's and a 32G USB stick would over power a Pi3. While the
typical total USB power per port is 500ma, on the Pi's it is referred to as
total for ALL ports combined. For the Pi3 this is 1.2A.  Even so the
DMK-URI is probably less than 50ma. Since USB FOBS are designed to work in
ports supplying a rated maximum of 500ma it does not add up that having two
FOB's and a USB stick would overload the USB on a Pi3. However total power
is supplied to the Pi through the one micro usb port. Whatever you draw on
the USB PLUS the power the Pi itself consumes goes through this port. While
I have never found a problem with that there are situations where
(carefully) soldering power directly to the Pi might be required for
increased reliability. You can also supply 5V power at the appropriate pins
on the GPIO connector.

Since many are using FOB's in combination with USB sticks successfully I
really think there is some other issue other issue in your case. Possibly a
bad USB stick BUT also remember that FOB's can be disrupted by RF. Is it
possible some RF is getting back into them? Repeater sites often have high
RF fields.

Here is some data regarding Pi power -

https://github.com/superjamie/lazyweb/wiki/Raspberry-Pi-Power

https://raspberrypi.stackexchange.com/questions/340/how-much-power-can-be-provided-through-usb

https://www.raspberrypi.org/forums/viewtopic.php?t=148296

https://raspi.tv/2018/how-much-power-does-raspberry-pi-3b-use-power-measurements


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*


On Fri, Jan 11, 2019 at 8:10 PM Randy Neals <randy at neals.ca> wrote:

> Hi Doug,
>
> Yes, I agree. It was recently introduced.
> I did not suspect it because, as you say, it should be <100 milliamps.
>
> However, I think is was either 16GB or 32GB.. Larger than I've previously
> bought, but thats what Staples had when I needed it.
> Larger  drive apparently draws more power.
>
> I also did not suspect power because one of the USB devices stayed
> operational, yet the USB power bus is common in RPI
>
> The 3B+ has a chip that polices USB power draw.
> Earlier models used a polyfuse.
> I see reports where the 3B+ is more picky on USB current draw than say a
> RPi 2.
>
> Thanks,
> Randy
>
> On Fri, Jan 11, 2019 at 7:59 PM Doug Crompton <wa3dsp at gmail.com> wrote:
>
>> Randy,
>>
>>  A flash drive does not draw that much current so I suspect if removing
>> it solves the problem that there might be something wrong with it. If that
>> was recently introduced into your system when the problem started it might
>> be the issue. I have flash drives running here with no problems.
>>
>>
>> *73 Doug*
>>
>> *WA3DSP*
>>
>> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>>
>> On Fri, Jan 11, 2019 at 7:54 PM Randy Neals <randy at neals.ca> wrote:
>>
>>> 2 Hours without USB Flash drive. Repeaters/USB interfaces (2 URIs) still
>>> up...
>>>
>>> The USB Thumb Drive was a Verbatim Metal Cased "executive" series.
>>>
>>> https://www.verbatim.com/prod/usb-drives/everyday-usb-drives/metal-executive-usb-drive/
>>>
>>> Randy
>>>
>>> On Fri, Jan 11, 2019 at 4:45 PM Randy Neals <randy at neals.ca> wrote:
>>>
>>>> My “remote-hands” Ham friend made a trip up the hill to the transmitter
>>>> building, powered down the Pi, pulled the 32 GB Thumb Drive and powered the
>>>> Pi back up.
>>>>
>>>> I’ll report back to list what the results are in a few hours. (It was
>>>> between 10 minutes and 2 hours to fail previously)
>>>>
>>>> *If this solves the problem, I will be shocked. (No pun intended).  But
>>>> certainly appreciative of the collective list wisdom.
>>>>
>>>> Randy, W3RWN
>>>>
>>>> On Fri, Jan 11, 2019 at 2:56 PM Justin Reed <celltech161 at gmail.com>
>>>> wrote:
>>>>
>>>>> It’s possible. The Pi 3B+ by itself is pushing the upper limit of
>>>>> micro USB’s continuous current handling capability. It’s going to be
>>>>> interesting to see how they address this in the next gen which we assume
>>>>> will be even more hungry.
>>>>>
>>>>> Sent from my iPhone
>>>>>
>>>>> On Jan 11, 2019, at 1:48 PM, Randy Neals <randy at neals.ca> wrote:
>>>>>
>>>>>
>>>>> I added a USB thumb drive for backing up the Pi when I
>>>>> reinstalled/rebuilt.
>>>>>
>>>>> Making a leap here, but possibly the USB Flash drive is drawing enough
>>>>> extra load, along with two DML URIs to exceed 5VDC capability of RPI USB
>>>>> power capability.
>>>>>
>>>>> Will remove USB flash and reboot.
>>>>>
>>>>> Randy
>>>>>
>>>>> On Fri, Jan 11, 2019 at 2:04 PM Randy Neals <randy at neals.ca> wrote:
>>>>>
>>>>>> Thanks to both..
>>>>>>
>>>>>> Are you familiar with any Pi/Linux debug for power or  USB?
>>>>>>
>>>>>> Something I could send to a terminal or file to provide some clues?
>>>>>>
>>>>>> On Fri, Jan 11, 2019 at 12:34 PM "Doug Crompton via ARM-allstar" <
>>>>>> arm-allstar at hamvoip.org> wrote:
>>>>>>
>>>>>>> I would agree with that but he did say he tried a different supply.
>>>>>>>
>>>>>>>
>>>>>>> *73 Doug*
>>>>>>>
>>>>>>> *WA3DSP*
>>>>>>>
>>>>>>> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio
>>>>>>> >*
>>>>>>>
>>>>>>> On Fri, Jan 11, 2019 at 12:00 PM Justin Reed <celltech161 at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>> > I’m going to take a stab and suggest that your Pi power supply is
>>>>>>> > under-sized for two fobs. You’ll need a minimum of 3000 mAh at 5.1
>>>>>>> VDC. Any
>>>>>>> > time I see random issues with a Pi it’s power supply related 100%
>>>>>>> of the
>>>>>>> > time, every time.
>>>>>>> >
>>>>>>> > Sent from my iPhone
>>>>>>> >
>>>>>>> > > On Jan 11, 2019, at 10:40 AM, Doug Crompton via ARM-allstar <
>>>>>>> > arm-allstar at hamvoip.org> wrote:
>>>>>>> > >
>>>>>>> > > Randy,
>>>>>>> > >
>>>>>>> > >   I run very few if any Pi's here with more than one USB FOB so
>>>>>>> I have
>>>>>>> > > never experienced that but I know many others are using multiple
>>>>>>> ports.
>>>>>>> > > Have you tried a different Pi? What error messages are you
>>>>>>> getting in the
>>>>>>> > > client when this happens?
>>>>>>> > >
>>>>>>> > >
>>>>>>> > > *73 Doug*
>>>>>>> > >
>>>>>>> > > *WA3DSP*
>>>>>>> > >
>>>>>>> > > *http://www.crompton.com/hamradio <
>>>>>>> http://www.crompton.com/hamradio>*
>>>>>>> > >
>>>>>>> > > On Fri, Jan 11, 2019 at 10:08 AM "Randy Neals via ARM-allstar" <
>>>>>>> > > arm-allstar at hamvoip.org> wrote:
>>>>>>> > >
>>>>>>> > >> Hi All,
>>>>>>> > >>
>>>>>>> > >> I have a fresh HamVoip install on a RPi3.
>>>>>>> > >> I started with one node configured, then plugged in a second
>>>>>>> USB URI and
>>>>>>> > >> configured the second node.
>>>>>>> > >>
>>>>>>> > >> After about 15-20 minutes, one of the two USB URIs will stop
>>>>>>> working.
>>>>>>> > >> (It could be either one, not consistent) ie: Heartbeat led stops
>>>>>>> > blinking
>>>>>>> > >> on URI.
>>>>>>> > >>
>>>>>>> > >> I've tried a couple of different power supplies on the RPi.
>>>>>>> > >> Same results.
>>>>>>> > >>
>>>>>>> > >> I've verified my config files.
>>>>>>> > >> I'm using usb / usb1 as the reference names for each node.
>>>>>>> > >>
>>>>>>> > >> I've done the simpleusb-tune-menu and wrote the config.
>>>>>>> > >> Verified that the simple usb files have the USB hardware
>>>>>>> address.
>>>>>>> > >>
>>>>>>> > >> It feel like this is a USB subsystem issue in the Rpi/Linux.
>>>>>>> > >> Not really sure what I might do next to test/isolate.
>>>>>>> > >>
>>>>>>> > >> [root at VE3RTR etc]# lsusb
>>>>>>> > >>
>>>>>>> > >> Bus 001 Device 006: ID 18a5:0251 Verbatim, Ltd
>>>>>>> > >>
>>>>>>> > >> Bus 001 Device 005: ID 0d8c:013a C-Media Electronics, Inc.
>>>>>>> > >>
>>>>>>> > >> Bus 001 Device 004: ID 0d8c:013a C-Media Electronics, Inc.
>>>>>>> > >>
>>>>>>> > >> Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
>>>>>>> > SMSC9512/9514
>>>>>>> > >> Fast Ethernet Adapter
>>>>>>> > >>
>>>>>>> > >> Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
>>>>>>> SMC9514 Hub
>>>>>>> > >>
>>>>>>> > >> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>>>>>> > >>
>>>>>>> > >>
>>>>>>> > >> simpleusb_tune_usb.conf
>>>>>>> > >>
>>>>>>> > >> [usb]
>>>>>>> > >>
>>>>>>> > >> ; name=usb
>>>>>>> > >>
>>>>>>> > >> ; devicenum=1
>>>>>>> > >>
>>>>>>> > >> devstr=1-1.3:1.0
>>>>>>> > >>
>>>>>>> > >> rxmixerset=140
>>>>>>> > >>
>>>>>>> > >> txmixaset=290
>>>>>>> > >>
>>>>>>> > >> txmixbset=0
>>>>>>> > >>
>>>>>>> > >>
>>>>>>> > >> simpleusb_tune_usb1.conf
>>>>>>> > >>
>>>>>>> > >> [usb1]
>>>>>>> > >>
>>>>>>> > >> ; name=usb1
>>>>>>> > >>
>>>>>>> > >> ; devicenum=0
>>>>>>> > >>
>>>>>>> > >> devstr=1-1.2:1.0
>>>>>>> > >>
>>>>>>> > >> rxmixerset=140
>>>>>>> > >>
>>>>>>> > >> txmixaset=290
>>>>>>> > >>
>>>>>>> > >> txmixbset=0
>>>>>>> > >>
>>>>>>> > >> Thanks,
>>>>>>> > >> Randy W3RWN
>>>>>>> > >> _______________________________________________
>>>>>>> > >>
>>>>>>> > >> ARM-allstar mailing list
>>>>>>> > >> ARM-allstar at hamvoip.org
>>>>>>> > >> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>>>>>> > >>
>>>>>>> > >> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>>>>>>> > >>
>>>>>>> > > _______________________________________________
>>>>>>> > >
>>>>>>> > > ARM-allstar mailing list
>>>>>>> > > ARM-allstar at hamvoip.org
>>>>>>> > > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>>>>>> > >
>>>>>>> > > Visit the BBB and RPi2/3 web page - http://hamvoip.org
>>>>>>> >
>>>>>>> _______________________________________________
>>>>>>>
>>>>>>> ARM-allstar mailing list
>>>>>>> ARM-allstar at hamvoip.org
>>>>>>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>>>>>>
>>>>>>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>>>>>>
>>>>>> --
>>>>>> Sent from mobile.
>>>>>>
>>>>> --
>>>>> Sent from mobile.
>>>>>
>>>>> --
>>>> Sent from mobile.
>>>>
>>>


More information about the ARM-allstar mailing list