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

GPIO Issue - Channel already in use #50

Open
AtomicLaser opened this issue Nov 16, 2021 · 3 comments
Open

GPIO Issue - Channel already in use #50

AtomicLaser opened this issue Nov 16, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@AtomicLaser
Copy link

Hey all, having got this working, I am now having an issue with a GPIO warning - Logs below if anyone knows how this can be resolved?

I am running on a Raspberry Pi3

main Starting Train Departure Display v0.1.1
main /usr/src/python-packages/luma/core/interface/serial.py:200: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
main self._gpio.setup(pin, self._gpio.OUT)

@mattanorak
Copy link

mattanorak commented Nov 19, 2021

I think it's quite normal if the program has already been running and you've stopped it and then you're running it again. As far as I recall, unless it doesn't start, you can ignore it, but I'm prepared to stand corrected.

@chrisys
Copy link
Owner

chrisys commented Dec 6, 2021

What @mattanorak says is my understanding too; we can probably handle this in a more graceful manner but as it stands I've seen the message a lot but it's never actually caused an issue. I'll leave this issue open as a reminder for us to do that :)

@AtomicLaser
Copy link
Author

AtomicLaser commented Dec 6, 2021

FWIW, my original issue (which I neglected to put in my original post) is that the screen blanked at the same time as the log message and would not resume.

After doing some investigation, I think there was an issue with the solder blob on the 4SPI jumper, so after fixing that I've not had any other issues, although as noted, it still does show up in the logs from time to time without any further issue.

@chrisys chrisys added the enhancement New feature or request label Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants