Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix audio_test.py and camera_ffplay_test.py demos #59

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions RPiCamera/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ cd ~/mini_pupper_2_bsp/RPiCamera # To RPiCamera directory
```

```bash
# https://askubuntu.com/questions/1346874/failed-to-check-for-processor-microcode-upgrades-at-the-end-of-apt-get-how-ca
# fix failed-to-check-for-processor-microcode-upgrades
sudo apt-get purge needrestart
. install.sh # Set camera configurations
reboot
```
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ grep -q "mini_pupper_v2" /etc/hosts || echo "127.0.0.1 mini_pupper_v2" | sudo te
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections
sudo sed -i "s/# deb-src/deb-src/g" /etc/apt/sources.list
sudo apt update
sudo apt -y upgrade
#sudo apt -y upgrade
sudo apt install -y i2c-tools dpkg-dev curl python-is-python3 mpg321 python3-tk openssh-server screen alsa-utils libportaudio2 libsndfile1
sudo sed -i "s/pulse/alsa/" /etc/libao.conf
if [ $(lsb_release -cs) == "jammy" ]; then
Expand Down
2 changes: 1 addition & 1 deletion prepare_dkms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ sudo cp dkms.conf /usr/src/rpi-i2s-audio-1.0/

sudo dkms add -m rpi-i2s-audio -v 1.0
sudo dkms build -m rpi-i2s-audio -v 1.0
sudo dkms install -m rpi-i2s-audio -v 1.0
sudo dkms install -m rpi-i2s-audio -v 1.0 --all