throws error termios error 25, ‘inappropriate ioctl for device’
model - gopigo3
raspbian being used
what could possibly be going wrong?
please help
(Not DI Here, some thoughts till they pop in - Please make sure you have a backup copy of your card image before trying any update scripts.)
======= check OS version ====== (I’m pretty sure you need to be on Stretch.)
cat /etc/os-release
PRETTY_NAME=“Raspbian GNU/Linux 9 (stretch)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“9”
VERSION=“9 (stretch)”
ID=raspbian
ID_LIKE=debian
HOME_URL=“http://www.raspbian.org/”
SUPPORT_URL=“http://www.raspbian.org/RaspbianForums”
BUG_REPORT_URL=“http://www.raspbian.org/RaspbianBugs”
How to Check Versions of GoPiGo3 Hardware and Software
=== Check version of GoPiGo3 Firmware
sudo ~/Dexter/GoPiGo3/Troubleshooting/all_tests.sh
=== Check version of Python GoPiGo3 package
pip freeze | grep gopigo3
gopigo3==1.2.0
=== Check version of Python DI Sensors package
pip freeze | grep DI-Sensors
DI-Sensors==1.0.0
=== Check version of Raspbian for Robots
You said “raspbian” - Are you on “Raspian” or “Raspian For Robots”?
cd ~/di_update/Raspbian_For_Robots directory on your Raspberry Pi
git rev-parse HEAD
gives the hash code for the last commit.
Once you get that hash code, you can use it in this URL format:
https://github.com/DexterInd/Raspbian_For_Robots/commit/<>
Put it in your browser and that will take you to the version you have in GitHub.
You can check the dates and see how far behind your version is from the latest one.
WARNING WARNING WARNING - These change your image.
=== Update GoPiGo3 software to latest:
curl -kL dexterindustries.com/update_gopigo3 | bash
=== Update DI Sensors
curl -kL dexterindustries.com/update_sensors | bash
In addition to what @cyclicalobsessive said, the instructions necessary to set up a Raspbian For Robots image are here:
https://www.dexterindustries.com/howto/install-raspbian-for-robots-image-on-an-sd-card/
Thanks!