USB Woes

Beagleblog
[edit: this blog post is about the Beagleboard Rev B. As Jason Kridner points out in the comments, Rev C features two USB ports, so you can use one for host mode and the other as a USB slave]
I have been using the Beagleboard with a terminal connection over the serial line for quite a while. But now I want to attach keyboard and mouse to use it as a standalone computer. For this I need a USB hub because the board only features a mini USB port. If you are going to just connect the hub to it you won't have much fun because the Beagleboard doesn't find the peripherals.
The reason for this is that the USB controller chip on the board can operate as a master as well as a slave. Usually, when you connect it to a PC, it's running as slave. To have mouse and keyboard working you need to make the Beaglboard run in host (master) mode, however. As far as I know there is no way to do this with software (you need to have the voltage level of individual pins). To make this work you need a special cable that has a mini A and a mini B plug. I went to several local dealers with no success and finally ordered one online.

Additionally I had to get two power supplies, one for the Beagleboard (in this setup you can no longer power it over USB) and one for the USB hub. So my collection of additional hardware is constantly getting bigger.

When I boot the Beagleboard everything works great, it finds mouse and keyboard, and I am able to use it like a real computer. Now the only problem is that I can't use networking over USB because that requires the Beagleboard operating in slave mode. Looks like there's only one way out: going to the shop again and getting a USB ethernet device that I can plug into the hub, too ..

Comments
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
Fedora Continues 32-Bit Support
In a move that should come as a relief to some portions of the Linux community, Fedora will continue supporting 32-bit architecture.
-
Linux Kernel 6.17 Drops bcachefs
After a clash over some late fixes and disagreements between bcachefs's lead developer and Linus Torvalds, bachefs is out.
-
ONLYOFFICE v9 Embraces AI
Like nearly all office suites on the market (except LibreOffice), ONLYOFFICE has decided to go the AI route.
-
Two Local Privilege Escalation Flaws Discovered in Linux
Qualys researchers have discovered two local privilege escalation vulnerabilities that allow hackers to gain root privileges on major Linux distributions.
-
New TUXEDO InfinityBook Pro Powered by AMD Ryzen AI 300
The TUXEDO InfinityBook Pro 14 Gen10 offers serious power that is ready for your business, development, or entertainment needs.
-
Danish Ministry of Digital Affairs Transitions to Linux
Another major organization has decided to kick Microsoft Windows and Office to the curb in favor of Linux.
-
Linux Mint 20 Reaches EOL
With Linux Mint 20 at its end of life, the time has arrived to upgrade to Linux Mint 22.
-
TuxCare Announces Support for AlmaLinux 9.2
Thanks to TuxCare, AlmaLinux 9.2 (and soon version 9.6) now enjoys years of ongoing patching and compliance.
-
Go-Based Botnet Attacking IoT Devices
Using an SSH credential brute-force attack, the Go-based PumaBot is exploiting IoT devices everywhere.
-
Plasma 6.5 Promises Better Memory Optimization
With the stable Plasma 6.4 on the horizon, KDE has a few new tricks up its sleeve for Plasma 6.5.
Yeah, right
I guess it's much less hassle with Rev C
Best
Oliver
Rev C has full-size A USB port