Closed 0xueping closed 5 years ago
When did that error occur? on start? or some period after running?
Keyborad Interrupt means, Grove Gesture detection script (grove_gesture_sensor.py) was quitted by external interruption (Sorry for confusing, someday I'll edit the error message) This error will occur when;
Well, I'll try to modify source to restart when that error occurs, Plz wait a few days.
@eouia Thanks for your suggestion.
I'll check these connections although I don't think so. The PAJ7620u2 sensor was tightly connected Respeaker-2mic I2C interface by one 4-Pin cable.
This issue often happened during some period after MagicMirror running. NO KEYBOARD, NO TOUCH, even if NO SSH SESSION (disconnect ssh session).
According to the issue https://github.com/eouia/MMM-GroveGestures/issues/5, I modified i2c speed to 10000. Although after that the issue happened one time again, I found that the issue seems like disappear. I'm not sure. I'll pay attention on it.
Maybe some i2c speed might make too fast or too slow connection between sensor and RPI. I didn't think about it before. I hope you'll get a good luck. (if so, I don't need to edit... :D)
If the issue will not happen again in future, I'll tell you. Thanks for your fantastic application and your conscientious attitude!
@eouia When the i2c speed is 10000, the issue unluckily appeared two times during 24 hours. Although it seems like that the frequency decreases, I still adjusted the i2c speed to 32000. The issue hasn't happened in past 30 hours. Let me keep watching it.
@eouia
I found that the module automatically stop running. The console log is as followings:
There are not keyboard or mouse in Raspberry Pi 3b+. During the whole process, I did not touch any windows from remote ssh session.
The config is very simple. There is one or two modules in each page. the config is as following:
How to troubleshooting this issue? Could you give me some suggestion? Thanks in advance!
Have a nice day!