No Response From Joy Bonnet
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- talofaholbrook
- Posts: 14
- Joined: Thu Nov 07, 2019 7:59 pm
Re: No Response From Joy Bonnet
when i ctrl+c i get this message. so it seems to be running...
- Attachments
-
- PXL_20211120_041812911.jpg (808.8 KiB) Viewed 517 times
- adafruit_support_carter
- Posts: 29163
- Joined: Tue Nov 29, 2016 2:45 pm
Re: No Response From Joy Bonnet
That is the expected behavior. The code won't exit. It's looping forever reading the bonnet and emitting key presses as needed.
Let's now check if the script is actually running after boot. Run this to check that the script is set to run at boot:
and then run this to check that it is actually running:
Please post another photo of screen showing output from those commands.
Let's now check if the script is actually running after boot. Run this to check that the script is set to run at boot:
Code: Select all
cat /etc/rc.local | grep joyBonnet.py
Code: Select all
ps -ef | grep joyBonnet.py
- talofaholbrook
- Posts: 14
- Joined: Thu Nov 07, 2019 7:59 pm
Re: No Response From Joy Bonnet
Welp... now it's working all of a sudden. not sure what has changed.
- Attachments
-
- IMG_20211123_102345.jpg (297.14 KiB) Viewed 506 times
-
- IMG_20211123_102350.jpg (230.73 KiB) Viewed 506 times
-
- IMG_20211123_102354.jpg (257.99 KiB) Viewed 506 times
- talofaholbrook
- Posts: 14
- Joined: Thu Nov 07, 2019 7:59 pm
Re: No Response From Joy Bonnet
Come to think of it... i did install some packages it was complaining about after the install script ran. Now that all the components are installed properly. it's running now properly at boot
- adafruit_support_carter
- Posts: 29163
- Joined: Tue Nov 29, 2016 2:45 pm
Re: No Response From Joy Bonnet
Yep, looks good at this point. The rc.local file has the expected contents and the python script is showing up in the running processes. And you are getting keystrokes showing up.
Hopefully can just continue with rest of the guide now.
Hopefully can just continue with rest of the guide now.
- talofaholbrook
- Posts: 14
- Joined: Thu Nov 07, 2019 7:59 pm
Re: No Response From Joy Bonnet
It's good to go now. All is working. Thanks
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/