ibmtjbot / tjbot

IBM TJBot
https://ibmtjbot.github.io
Apache License 2.0
481 stars 282 forks source link

Verify that hardware tests and recipes work with RP4 #228

Open jweisz opened 1 year ago

jweisz commented 1 year ago

There appear to be several issues when attempting to set up TJBot on RP4 so we need to verify that it works properly.

jweisz commented 1 year ago

Two part plan:

  1. get USB audio working, figure out an easy way for people to configure the hw device (e.g. the plughw0,1 thing)
  2. also looking into this: https://learn.adafruit.com/adafruit-speaker-bonnet-for-raspberry-pi/overview and write some instructions for how to set it up
jweisz commented 7 months ago

Should also test the bootstrap script on the new OS (bookworm): https://www.raspberrypi.com/software/operating-systems/

jweisz commented 7 months ago

@heather-fillerup-miller may want to get a USB sound card for RPi 3 testing: https://www.adafruit.com/product/1475

andypiper commented 6 months ago

I just hit "the plughw0,1 thing" I think - updated Raspberry Pi OS on my TJBot and it is reporting issues at boot with the GEMBIRD Honk HK-5002 USB Speaker and I can only get it to make a short noise when playing a wav. Will have a poke when I have more time.

jweisz commented 6 months ago

@andypiper in case this is helpful, I try to diagnose audio issues by using aplay -l to list out my audio devices and then playing this sound file:

$ aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Center.wav

where the numbers in plughw come from careful scrutiny of aplay -l 😀

I'm not specifically familiar with the GEMBIRD though.

jweisz commented 4 weeks ago

@heather-fillerup-miller will bootstrap an RPi 4 and try running the hardware tests + the new Watsonx.ai recipe.