View: 7812|Reply: 16

Orange Pi PC: USB Power Setting?

[Copy link]

3

threads

9

posts

61

credits

Registered member

Rank: 2

credits
61
Published in 2015-11-8 01:46:01 | Show all floors |Read mode
Edited by sopifore at 2015-11-8 03:06

I have a problem with using two SDR USB adapters. I am using Debian Jessie "mini". When I boot, One of the USB adapters will fail to work. Here is part of the bool log (compare USB 2-0 and  USB 4-0)

  1. [2.325082] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  2. [2.358126] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
  3. [2.372816] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
  4. [2.387557] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
  5. [2.410032] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
  6. [2.422891] hub 1-0:1.0: USB hub found
  7. [2.432796] hub 1-0:1.0: 1 port detected
  8. <font color="#2e8b57">[2.463189] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
  9. [2.477909] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2
  10. [2.492591] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000
  11. [2.520045] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00
  12. [2.532406] ehci_irq: highspeed device connect
  13. [2.543647] hub 2-0:1.0: USB hub found
  14. [2.553551] hub 2-0:1.0: 1 port detected</font>
  15. [2.583887] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
  16. [2.598538] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3
  17. [2.613146] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000
  18. [2.640045] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00
  19. [2.652766] hub 3-0:1.0: USB hub found
  20. [2.662595] hub 3-0:1.0: 1 port detected
  21. <font color="#ff0000">[2.692833] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
  22. [2.707424] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4
  23. [2.722014] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000
  24. [2.750044] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00
  25. [2.762377] ehci_irq: highspeed device connect
  26. [2.773475] hub 4-0:1.0: USB hub found
  27. [2.783235] hub 4-0:1.0: 1 port detected
  28. [2.793465] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  29. [2.820048] ehci_irq: highspeed device disconnect</font>
  30. [2.835872] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
  31. [2.850085] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5
  32. [2.864197] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
  33. [2.934462] hub 5-0:1.0: USB hub found
  34. [2.944266] hub 5-0:1.0: 1 port detected
  35. [2.974530] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
  36. [2.988804] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6
  37. [3.003050] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400
  38. [3.074475] hub 6-0:1.0: USB hub found
  39. [3.084463] hub 6-0:1.0: 1 port detected
  40. [3.114899] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver
  41. [3.120042] usb 4-1: new high-speed USB device number 2 using sunxi-ehci
  42. [3.142703] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7
  43. [3.157076] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400
  44. [3.224470] hub 7-0:1.0: USB hub found
  45. [3.234501] hub 7-0:1.0: 1 port detected
  46. [3.265039] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver
  47. [3.279622] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8
  48. [3.294138] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400
  49. [3.364469] hub 8-0:1.0: USB hub found
  50. [3.374597] hub 8-0:1.0: 1 port detected
Copy code

However, if I boot the Orange Pi PC and *then* plug in the second USB adapter, it works. I suspect I am seeing a power problem on the USB. Each USB adapter needs more power when first starting and then a little less once running. If both are started at the same time, the total demand on USB is too high.

I saw the same problem on Raspberry Pi. The solution on Raspberry Pi is to edit the boot/config.txt file:
  1. max_usb_current=1
Copy code
This sets the available current of USB to 1.2A (default is 600mA). During startup, my USB adapters take a little more than 300mA each. For a short time, they exceed the 600mA total limit. On the Raspberry Pi, increasing the available current is enough to make the USB adapters start and work correctly.

Does anyone know if there is a way to increase the available USB current for the Orange Pi PC?

Published in 2025-7-30 19:47:03 | Show all floors
The online world is usually bogged decrease having untrue information sites without the need of authentic meaning even so the write-up seemed to be excellent in addition to worthwhile this understand. Appreciate it intended for giving that by himself.        funny halloween panties
Published in 2025-8-2 17:18:32 | Show all floors
Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for.        my story of my life
Published in 2025-8-4 16:51:30 | Show all floors
I would like to convey my admiration for your generosity in support of men and women that have the need for help with this particular concern. Your special dedication to getting the message all over had been wonderfully productive and have all the time made professionals much like me to attain their dreams. Your own invaluable tutorial means a great deal to me and additionally to my office workers. Thank you; from everyone of us.        Rankexpert
Published in 2025-8-4 17:59:24 | Show all floors
This unique is a fantastic put up I just spotted using show it again. Suggest whatever I wanted to ascertain optimism through forthcoming you are likely to remain for the purpose of showing this terrific put up.        https://www.cricketweb.net/1win-promo-code-welcome-bonus-500-up-to-1025/
Published in 7 daybefore | Show all floors
Hands down, Apple’s app store wins by a mile. It’s a huge selection of all sorts of apps vs a rather sad selection of a handful for Zune. Microsoft has plans, especially in the realm of games, but I’m not sure I’d want to bet on the future if this aspect is important to you. The iPod is a much better choice in that case.        Blogger Outreach
Published in 6 daybefore | Show all floors
This particular is a superb publish We observed because of reveal this. It really is exactly what I needed to determine wish within long term you'll carry on with regard to discussing this type of superb publish.        iosbet slot
Published in 6 daybefore | Show all floors
Cyberspace is without a doubt bogged downward through fake blogging and no realistic note nevertheless blog post is fabulous and even worthy that browse. Thanks for your time designed for writing it with me at night.        slot pragmatic
Published in 6 daybefore | Show all floors
Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!..        damangame
Published in 6 daybefore | Show all floors
저는 항상 인터넷에서 무료 자료를 찾고 있습니다. 무료 샘플을 제공하는 회사도 있습니다.        가락시장 노래방
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list