Skip to content
Kenneth McEnaney edited this page Jun 4, 2019 · 6 revisions

Welcome to the Tympan:Cape4all wiki!

Setting up the BeagleBone Black (BBB) or BeagleBone Black Wireless (BBB Wifi) for use with the Cape4all

  1. Download the latest mahalia operating system image
  2. Burn the mahalia OS to a micro SD card. Something like balenaEtcher, which is available for mac or pc, can do this.
  3. Attach the Cape4all to the BBB, plug in the micro SD card, and turn it on.

Connecting to the BBB

Simple Method

The simple method of connecting to the BBB is:

  1. Attach a USB cable between your computer and the BBB
  2. ssh to mha@192.168.7.2, password: mahalia. You can ssh from the mac terminal, or use something like putty for Windows.

In some cases, you may have to do some extra work to properly configure the USB connection on your computer's end. Here's what it may look like on a mac:

Complicated Method

If the simple version doesn't work, there's an alternate way (tested on PC only), which involves first connecting to the BBB using the default (not Mahalia) operating system:

  1. Power off the BBB, unplug the SD card with the Mahalia image, and then turn the BBB back on.
  2. Download and install the latest beaglebone USB driver for PC. The link is about 2/3 the way down the beaglebone “getting started” website. Note that this website says you probably wouldn’t need to download the driver; often that isn't true.
  3. Attach a USB cable between your computer and the BBB, ssh to 192.168.7.2, and log in with the username: debian password: temppwd
  4. Connect the BBB to your local network with an Ethernet cable
  5. Back at your terminal where you just logged into the BBB, type the following command and then press enter: ip address show eth0
  6. You should see a bunch of stuff printed to the screen. The third line should say inet xx.xx.xx.xx/yy where xx.xx.xx.xx without the /yy is the device’s IP address. Write this IP address down.
  7. Shut down the BBB. You can just tug the power cord out, but it is better to do it gently by typing sudo shutdown now at the command line in your terminal. It will ask you for the password, which you entered before (temppwd)
  8. Unplug the USB cable from the BBB
  9. Put the SD card with the mahalia image into the BBB, and then turn on the BBB (either plug it back in, or press the teensy tiny “power” button next to the Ethernet port).
  10. On any computer connected to your local network, ssh into the BBB at xx.xx.xx.xx , where xx.xx.xx.xx is the Ethernet address you wrote down in step 6. The username is mha, password mahalia

Connecting to the BeagleBone Black Wireless (BBB wifi)

This method is straightforward. However there is this caveat from the Mahalia repo “Please note there are noise issues when using the Wi-Fi hotspot with the Cape4all.”

  1. On any computer, connect to the Mahalia wifi network. The network should have a name like Mahalia_xxxxxxxxxxxxxx. The network is open, so no wireless network password is required.
  2. ssh into the BBB Wireless. IP address: 10.0.0.1, username: mha, password: mahalia

Getting started with a mic, headphones, and the alsamixer

Once you can connect to the BBB (or BBB wifi), it's time to hook up some hardware and try things out. OpenMHA should be running on the BBB on start-up. You should review the basic openMHA documentation, found under "OPENMHA CONFIGURATION FILE." in the Mahalia docs.