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/
User avatar
talofaholbrook
 
Posts: 14
Joined: Thu Nov 07, 2019 7:59 pm

Re: No Response From Joy Bonnet

Post by talofaholbrook »

when i ctrl+c i get this message. so it seems to be running...
Attachments
PXL_20211120_041812911.jpg
PXL_20211120_041812911.jpg (808.8 KiB) Viewed 517 times

User avatar
adafruit_support_carter
 
Posts: 29163
Joined: Tue Nov 29, 2016 2:45 pm

Re: No Response From Joy Bonnet

Post by adafruit_support_carter »

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:

Code: Select all

cat /etc/rc.local | grep joyBonnet.py
and then run this to check that it is actually running:

Code: Select all

ps -ef | grep joyBonnet.py
Please post another photo of screen showing output from those commands.

User avatar
talofaholbrook
 
Posts: 14
Joined: Thu Nov 07, 2019 7:59 pm

Re: No Response From Joy Bonnet

Post by talofaholbrook »

Welp... now it's working all of a sudden. not sure what has changed.
Attachments
IMG_20211123_102345.jpg
IMG_20211123_102345.jpg (297.14 KiB) Viewed 506 times
IMG_20211123_102350.jpg
IMG_20211123_102350.jpg (230.73 KiB) Viewed 506 times
IMG_20211123_102354.jpg
IMG_20211123_102354.jpg (257.99 KiB) Viewed 506 times

User avatar
talofaholbrook
 
Posts: 14
Joined: Thu Nov 07, 2019 7:59 pm

Re: No Response From Joy Bonnet

Post by talofaholbrook »

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

User avatar
adafruit_support_carter
 
Posts: 29163
Joined: Tue Nov 29, 2016 2:45 pm

Re: No Response From Joy Bonnet

Post by adafruit_support_carter »

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.

User avatar
talofaholbrook
 
Posts: 14
Joined: Thu Nov 07, 2019 7:59 pm

Re: No Response From Joy Bonnet

Post by talofaholbrook »

It's good to go now. All is working. Thanks

Locked
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/

Return to “Adafruit Raspberry Pi® accessories”