Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround SPI issue on Pi #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Workaround SPI issue on Pi #15

wants to merge 1 commit into from

Conversation

andrewn
Copy link
Owner

@andrewn andrewn commented Jan 12, 2018

After reboot the SPI interface on the Pi seems to be enabled yet no messages arrive from the card reader. The workaround seems to be disabling SPI using raspi-config and enabling it again before starting the service.

I tried doing this using a ExecStartPre= flag in systemd but this didn't work.

After reboot the SPI interface on the Pi seems to be enabled yet
no messages arrive from the card reader. The workaround seems to
be disabling SPI using `raspi-config` and enabling it again before
starting the service.

I tried doing this using a `ExecStartPre=` flag in systemd but
this didn't work.
@andrewn
Copy link
Owner Author

andrewn commented Jan 17, 2018

Good point about running a root. It always was because it's being started by systemd and no other user is specified but this isn't ideal.

@andrewn
Copy link
Owner Author

andrewn commented Jan 17, 2018

Also, I've just tested this some more and it seems it only intermittently fixes the issue. So I think let's hold off on merging until I've found a consistent fix. 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants