Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

RPi2 USB power: is there a conclusive answer?
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
RPi2 USB power: is there a conclusive answer?
21st Jun, 2018, 02:36 AM (This post was last modified: 21st Jun, 2018 02:47 AM by deHakkelaar.)
Post: #6
deHakkelaar Offline
Administrator
******
Posts: 360
Joined: Dec 2012
Reputation: 23
RE: RPi2 USB power: is there a conclusive answer?
(20th Jun, 2018 08:16 PM)parsifal9 Wrote:  Where do you put the usb_max_current=1 setting?
I see other threads mention /boot/config.txt -- but I don't see such a file.

I made a /boot/config.txt and added
usb_max_current=1
but it does not seem to have changed anything.

I believe its "max_usb_current" and on my Pi it says its obsolete:

Terminal
xbian@avr ~ $ cat /boot/config.txt
# When adding this line the USB power manager will change its output current
# limit (for all 4 USB ports combined) from 600mA to double that, 1200mA.
# Obsolete and enabled per default on newer kernels
max_usb_current=1

EDIT: I believe GPIO38 state is controling this:

Terminal
xbian@avr ~ # wget http://archive.raspberrypi.org/debian/pool/main/r/raspi-gpio/raspi-gpio_0.20171123_armhf.deb
--2018-06-20 18:24:05-- http://archive.raspberrypi.org/debian/pool/main/r/raspi-gpio/raspi-gpio_0.20171123_armhf.deb
Resolving archive.raspberrypi.org (archive.raspberrypi.org)... 46.235.227.11, 93.93.128.230, 93.93.130.214, ...
Connecting to archive.raspberrypi.org (archive.raspberrypi.org)|46.235.227.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8968 (8.8K) [application/x-debian-package]
Saving to: ‘raspi-gpio_0.20171123_armhf.deb’

raspi-gpio_0.20171123_armhf. 100%[==============================================>] 8.76K --.-KB/s in 0.001s

2018-06-20 18:24:05 (6.88 MB/s) - ‘raspi-gpio_0.20171123_armhf.deb’ saved [8968/8968]

Terminal
xbian@avr ~ # sudo dpkg -i raspi-gpio_0.20171123_armhf.deb
Selecting previously unselected package raspi-gpio.
(Reading database ... 30963 files and directories currently installed.)
Preparing to unpack raspi-gpio_0.20171123_armhf.deb ...
Unpacking raspi-gpio (0.20171123) ...
Setting up raspi-gpio (0.20171123) ...

Terminal
xbian@avr ~ # sudo raspi-gpio get 38
GPIO 38: level=1 fsel=1 func=OUTPUT

There are only 10 types of people in the world: those who understand binary, and those who don't
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


Messages In This Thread
RPi2 USB power: is there a conclusive answer? - A.T.E. - 21st Mar, 2016, 09:56 PM
RE: RPi2 USB power: is there a conclusive answer? - Nachteule - 22nd Mar, 2016, 12:22 AM
RE: RPi2 USB power: is there a conclusive answer? - daharn - 23rd Mar, 2016, 12:08 AM
RE: RPi2 USB power: is there a conclusive answer? - Desy166 - 20th Nov, 2017, 10:40 PM
RE: RPi2 USB power: is there a conclusive answer? - parsifal9 - 20th Jun, 2018, 08:16 PM
RE: RPi2 USB power: is there a conclusive answer? - deHakkelaar - 21st Jun, 2018 02:36 AM
RE: RPi2 USB power: is there a conclusive answer? - Nachteule - 22nd Jun, 2018, 10:47 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 21st Jun, 2025, 11:29 AM Powered By MyBB, © 2002-2025 MyBB Group.