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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
PicoZed SDR Software-Defined Radio Mouse and Keyboard not responding with USB OTG
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 11 replies
  • Subscribers 305 subscribers
  • Views 1456 views
  • Users 0 members are here
Related

Mouse and Keyboard not responding with USB OTG

Former Member
Former Member over 8 years ago

Support,

I just got my PicoZed SDR and followed the directions for startup and I cannot get my mouse or keyboard to respond.

Ideas?

Thanks,

Craig

  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 8 years ago in reply to Former Member +1 verified
    Just to be clear, you're plugging the USB hub into the same Micro USB to USB A socket that you plugged the USB mouse into, right? You can't use a Micro USB to USB A cable (like a phone charger style cable…
  • Former Member
    Former Member over 8 years ago in reply to Former Member +1
    Hi, I have got this to work now. I tried a third make of hub and it worked! I have a fourth hub on order so will try that when it arrives. It seems some hubs are a bit flaky ... John
  • Former Member
    0 Former Member over 8 years ago

    Are you using the FMC carrier and stock SD card?  Are you plugging it into the OTG port (not the UART port)?  I assume you're using a Micro USB to USB-A adapter, plus a USB hub to plug both the KB and mouse?

     

    Have you tried plugging just the mouse into the adapter, and if so, does the mouse light up (assuming an optical mouse)?  That would confirm that you have power and that the controller knows that it should be in host mode.

     

    I personally haven't had any problems using OTG on the FMC or my custom carrier using any of the stock SD card images.

     

    Pat

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mbrown
    0 mbrown over 8 years ago

    All good suggestions - thanks Pat.

     

    Another question - are you successfully booting Linux?

     

    /Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to Former Member

    Pat,

    1) Yes I am using the FMC carrier and stock SD card?

    2) Yes I am plugging into the OTG port.

    3) Yes I am using a Micro USB to USB-A adapter, plus a USB hub to plug both the KB and mouse.

    4) The only way I am able to get the mouse to light up is when the USB hub is connected.

    5) How do I know that the controller knows that it is in host mode?

    Craig

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to mbrown

    Pat,

    I am successfully booting Linux.

    Craig

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to Former Member

    Just to confirm, you're using a Micro USB to USB A female (OTG host dongle)... not a Micro USB to USB A Male (standard Micro USB cable, like you'd charge a phone with), right?

     

    I just saw this post: http://zedboard.org/content/picozed-sdr-development-kit-startup-problem , where the user was having a similar problem, caused by the incorrect cable.

     

    Pat

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to Former Member

    Pat,

    I am using https://www.amazon.com/Adapter-Samusung-Android-Windows-Function/dp/B00LN3LQKQ

    Craig

    UGREEN Micro USB 2.0 OTG Cable On The Go Adapter Male Micro USB to Female USB for Samusung S7 S6 Edge S4 S3 Android or Windows Smart Phones Tablets with OTG Function 6 Inch

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mbrown
    0 mbrown over 8 years ago in reply to Former Member

    Hi Craig -- were you able to get things working yet?

     

    /Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to Former Member

    That cable should work, though of course it's possible to have a defective cable.  If your mouse doesn't light up when plugged directly into the port using the OTG cable, I'd say either the cable is bad (isn't grounding the ID pin to tell it to be a host, bad contacts, broken wire, etc), or there's something messed up with your SOM/carrier (not seeing the ID pin, not turning on 5V, etc).  There's probably a way to echo the OTG state from Linux, but I'm not sure exactly how.

     

    Personally, I'd try another cable, or try that cable on a newer Android tablet or phone with a USB flash drive plugged in, and see if it detects it (which would tell you that the cable is good).

     

    Pat

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago

    Hi all,

    I seem to have the same problem as Craig, has anyone found a solution to this?

    If I connect a mouse directly to the board using a Micro USB type B to USB-A adapter the mouse works. Same if I connect a keyboard using the adapter to the board, keyboard works fine.

    The problem is if I connect a USB hub using the Micro USB type B to USB-A adapter to the board. The mouse and keyboard plugged in to the hub do not work. 

    I have tried two different makes of hub, same results.

     

    John 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to Former Member

    Just to be clear, you're plugging the USB hub into the same Micro USB to USB A socket that you plugged the USB mouse into, right?  You can't use a Micro USB to USB A cable (like a phone charger style cable) to plug the board into a hub.

     

    You have to use a Micro USB OTG host dongle (like: https://www.amazon.com/Wblue-Adapter-Function-Samsung-BlackBerry/dp/B00Y2OTR72/ ), and then plug the USB hub into that cable, and then the USB keyboard and mouse into the hub.  If the PicoZed SDR is working fine when you plug the mouse and keyboard in directly, I'd say you either have the hub hooked up wrong, have defective hubs, or possibly need a hub that's powered externally (though the PicoZed SDR should be able to handle the current of the hub, KB, and mouse).  I've personally used a few different hubs and haven't had any issues with any of them.

     

    Pat

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject 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 © 2025 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.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube