View: 1206|Reply: 2

No Sound after Tank setup install?

[Copy link]

4

Threads

7

Posts

52

Credits

Registered member

Rank: 2

Credits
52
Post time 2022-1-23 08:42:30 | Show all posts |Read mode
Edited by 1639169247 at 2022-1-23 10:26 AM

Why on a fresh build of the OS of buster do I have access to the sound card on the pi, but as soon as I install the software for the tank I loose access to it.I can't even find the built in audio board after I run the tank's py setup. 'No audio devices found"

What does the setup py uninstall that kills the built in soundcard?
Edit: It seems adeept is aware of a problem as they have added something in the setup.py regarding Blacklisting an audio conflict (line 111) "blacklist snd_bcm2835". What's this about? I want audio back.

Reply

Use magic Report

0

Threads

4

Posts

18

Credits

Newbie

Rank: 1

Credits
18
Post time 2022-4-11 15:51:54 | Show all posts
very informative
Reply

Use magic Report

0

Threads

53

Posts

201

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
201
Post time 2022-5-5 17:26:59 | Show all posts
Since the WS2812 LED used by the Raspberry Pi conflicts with the audio, we have blocked the audio in the setup.py program.
If you want audio try:
From the Raspberry Pi command line run:
"sudo killall python3"
"sudo rm /etc/modprobe.d/snd-blacklist.conf"
"sudo nano /boot/config.txt"
Then confirm "hdmi_force_hotplug=1" in the content
then reboot

If the above method does not work, please try to re-burn the image file. Before running the setup.py program, delete lines 111-116 of the setup.py file
The removed code is as follows:
try: #fix conflict with onboard Raspberry Pi audio
     os.system('sudo touch /etc/modprobe.d/snd-blacklist.conf')
     with open("/etc/modprobe.d/snd-blacklist.conf",'w') as file_to_write:
         file_to_write.write("blacklist snd_bcm2835")
except:
     pass
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules