element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Using the raspberry Pi 2 mod B to programming arduino with a usb externally powered hub
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 25 replies
  • Subscribers 709 subscribers
  • Views 3631 views
  • Users 0 members are here
  • arduino uno
  • raspberry-pi2
  • com_port
  • usb 2.0 hub
Related

Using the raspberry Pi 2 mod B to programming arduino with a usb externally powered hub

e14 Contributor
e14 Contributor over 10 years ago

HI i have started to use a usb externally powered hub due to power demands of arduino and current drops in rpi but when i connect the usb cable from hub to arduino port is not available in ide. I dont understand i mean i tried various things like

> i am in dialout group

> latest usb drivers usbutils

> i checked the lsusb hub seems to work fine

> ohh and one thing i noticed usb keyboard or mouse or anyother HID device wont work with rpi when pluged into USB hub but storage devices like external HDD and flash drives work with hub // hub is fine tho i checked it on other system it works fine.

> my config : rpi 2 mod b+ 1GB( 2.1 A power supply)  /  OS debian (arm kali linux)  / 2 HID's 1 USB hub (connected)

i dont understand how do i make it work?

  • Sign in to reply
  • Cancel
Parents
  • e14 Contributor
    0 e14 Contributor over 10 years ago

    Rpi is running from a 2.5A wall adapter but arduino is not running off wall but my usb hub can handle upto 2.5 A at each port cus my arduino powers up fine with usb hub it just wont show up in /dev/tty% also same case with keyboard and mouse.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mconners
    0 mconners over 10 years ago in reply to e14 Contributor

    I just connected an Arduino to my pi, directly to one of the usb ports and it showed up as

     

    /dev/ttyACM0

     

    I was able to verify this by typing

     

    dmesg

     

    and the last lines of the output were

     

    [682106.515303] usb 1-1.2: new full-speed USB device number 5 using dwc_otg

    [682106.630515] usb 1-1.2: New USB device found, idVendor=2341, idProduct=0043

    [682106.630544] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220

    [682106.630562] usb 1-1.2: Manufacturer: Arduino (www.arduino.cc)

    [682106.630578] usb 1-1.2: SerialNumber: 64938323131351B03152

    [682106.671443] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device

    [682106.672543] usbcore: registered new interface driver cdc_acm

    [682106.672561] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

     

    after connecting via a hub dmesg reported

     

    [682271.507115] usb 1-1.2: Product: USB 2.0 Hub

    [682271.508130] hub 1-1.2:1.0: USB hub found

    [682271.508334] hub 1-1.2:1.0: 4 ports detected

    [682279.806345] usb 1-1.2.3: new full-speed USB device number 8 using dwc_otg

    [682279.940367] usb 1-1.2.3: New USB device found, idVendor=2341, idProduct=0043

    [682279.940395] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=220

    [682279.940413] usb 1-1.2.3: Manufacturer: Arduino (www.arduino.cc)

    [682279.940429] usb 1-1.2.3: SerialNumber: 64938323131351B03152

    [682279.941874] cdc_acm 1-1.2.3:1.0: ttyACM0: USB ACM device

     

    so /dev/ttyACM0 would be the device I would tell the arduino ide to communicate through

     

    btw, using raspbian, I was able to do

     

    sudo apt-get install arduino

     

    to install the ide. It's an older version, but it should meet most needs.

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • mconners
    0 mconners over 10 years ago in reply to e14 Contributor

    I just connected an Arduino to my pi, directly to one of the usb ports and it showed up as

     

    /dev/ttyACM0

     

    I was able to verify this by typing

     

    dmesg

     

    and the last lines of the output were

     

    [682106.515303] usb 1-1.2: new full-speed USB device number 5 using dwc_otg

    [682106.630515] usb 1-1.2: New USB device found, idVendor=2341, idProduct=0043

    [682106.630544] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220

    [682106.630562] usb 1-1.2: Manufacturer: Arduino (www.arduino.cc)

    [682106.630578] usb 1-1.2: SerialNumber: 64938323131351B03152

    [682106.671443] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device

    [682106.672543] usbcore: registered new interface driver cdc_acm

    [682106.672561] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

     

    after connecting via a hub dmesg reported

     

    [682271.507115] usb 1-1.2: Product: USB 2.0 Hub

    [682271.508130] hub 1-1.2:1.0: USB hub found

    [682271.508334] hub 1-1.2:1.0: 4 ports detected

    [682279.806345] usb 1-1.2.3: new full-speed USB device number 8 using dwc_otg

    [682279.940367] usb 1-1.2.3: New USB device found, idVendor=2341, idProduct=0043

    [682279.940395] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=220

    [682279.940413] usb 1-1.2.3: Manufacturer: Arduino (www.arduino.cc)

    [682279.940429] usb 1-1.2.3: SerialNumber: 64938323131351B03152

    [682279.941874] cdc_acm 1-1.2.3:1.0: ttyACM0: USB ACM device

     

    so /dev/ttyACM0 would be the device I would tell the arduino ide to communicate through

     

    btw, using raspbian, I was able to do

     

    sudo apt-get install arduino

     

    to install the ide. It's an older version, but it should meet most needs.

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Problemchild
    0 Problemchild over 10 years ago in reply to mconners

    I get the same and  I think they do to except not with the HUB. I feel it may be something to do with the HUb it's self or the boot/power on order.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube