# Error when trying to run i2samp.sh script

**URL:** <https://forum.sunfounder.com/t/error-when-trying-to-run-i2samp-sh-script/544>\
**Category:** Robotic kit for Raspberry Pi\
**Created:** [September 14, 2023, 2:43am UTC](https://forum.sunfounder.com/t/error-when-trying-to-run-i2samp-sh-script/544 "2023-09-14T02:43:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gunther](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@Gunther](https://forum.sunfounder.com/u/Gunther)\
**Post date:** [September 14, 2023, 2:43am UTC](https://forum.sunfounder.com/t/error-when-trying-to-run-i2samp-sh-script/544/1 "2023-09-14T02:43:45Z")

</div>

I received an error that said “this hardware is not supported” when I attempted to run the i2samp.sh script as I was getting my raspberry pi setup for the Sunfound Picrawler Kit. Is something wrong with the robohat or is there a recommended way to redo the installation?

![image](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/1X/1b581e728e63dac673a78daebe9448e253d5b63a.png)

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [September 14, 2023, 3:49am UTC](https://forum.sunfounder.com/t/error-when-trying-to-run-i2samp-sh-script/544/2 "2023-09-14T03:49:36Z")

</div>

What system are you using and what version is it ？  
We suggest you try  
Debian bullseye  
Debian buster  
to see if it works.

---

<div class="post-metadata">

**Author:** ![Gunther](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@Gunther](https://forum.sunfounder.com/u/Gunther)\
**Post date:** [September 15, 2023, 12:48am UTC](https://forum.sunfounder.com/t/error-when-trying-to-run-i2samp-sh-script/544/3 "2023-09-15T00:48:11Z")

</div>

I was using Raspberry Pi OS Lite (Legacy) which is a port of Debian Buster. I just tried using the Raspberry Pi OS lite (Bullseye) and the same error message has popped up.

Any other recommendations?

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [September 15, 2023, 2:52am UTC](https://forum.sunfounder.com/t/error-when-trying-to-run-i2samp-sh-script/544/4 "2023-09-15T02:52:26Z")

</div>

Did you reboot the system after executing the i2samp.sh script and then go back to the sound example and did the bot make any sound.  
Please provide us the full screenshot. It will be easier to analyze and solve the problem.

---

<div class="post-metadata">

**Author:** ![Gunther](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@Gunther](https://forum.sunfounder.com/u/Gunther)\
**Post date:** [September 16, 2023, 6:55pm UTC](https://forum.sunfounder.com/t/error-when-trying-to-run-i2samp-sh-script/544/5 "2023-09-16T18:55:34Z")

</div>

I’ll be able to provide a full screenshot later but now the problem seems to be that the RobotHAT is not turning on despite the batteries being fully charged

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [September 18, 2023, 7:08am UTC](https://forum.sunfounder.com/t/error-when-trying-to-run-i2samp-sh-script/544/6 "2023-09-18T07:08:57Z")

</div>

Okay, we’re waiting for your screenshot.

---

<div class="post-metadata">

**Author:** ![Gunther](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@Gunther](https://forum.sunfounder.com/u/Gunther)\
**Post date:** [September 19, 2023, 12:20pm UTC](https://forum.sunfounder.com/t/error-when-trying-to-run-i2samp-sh-script/544/7 "2023-09-19T12:20:10Z")

</div>

Is this what you needed for a “full screenshot”?

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/1X/1296477639b8aac71f695c2401369aaa33e4e4ef.png)

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [September 20, 2023, 9:31am UTC](https://forum.sunfounder.com/t/error-when-trying-to-run-i2samp-sh-script/544/8 "2023-09-20T09:31:01Z")

</div>

We have fixed the issue and the code has been re-uploaded.  
You just need to pull the code.  
Execute the command as follows:  
cd picrawler/  
git pull  
sudo python3 setup.py install  
After re-pulling the code and installing it, reboot the Raspberry Pi and go ahead and execute install i2samp.sh again:  
cd picrawler/  
sudo bash i2samp.sh  
After the installation, reboot the Raspberry Pi again and go back to executing the sound example.

---

<div class="post-metadata">

**Author:** ![Gunther](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@Gunther](https://forum.sunfounder.com/u/Gunther)\
**Post date:** [September 28, 2023, 11:02pm UTC](https://forum.sunfounder.com/t/error-when-trying-to-run-i2samp-sh-script/544/9 "2023-09-28T23:02:51Z")

</div>

Hello,

I was able to successfully run the script. However I am still rerunning it because I still cannot hear any sound. Is there a certain number of times before the speakers will begin to work or is something else wrong?

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [October 7, 2023, 3:18am UTC](https://forum.sunfounder.com/t/error-when-trying-to-run-i2samp-sh-script/544/10 "2023-10-07T03:18:04Z")

</div>

If you installed i2samp.sh as requested and restarted your Raspberry Pi system, and then went to run the sound example it did not sound.  
It is possible that your Raspberry Pi is connected to an external screen, which is causing an audio conflict.  
So please run sudo killall pulseaudio and then run the sound example again to see if it works.
