-
Notifications
You must be signed in to change notification settings - Fork 249
RFC: Attempt To Recognize Raspberry Pi Running Non-Raspbian OS #40
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
Conversation
Any resolution on this? I'm trying to get the bme280 python library working and I'm also running into this:
I also have the same setup:
(I can get this to work by hacking /usr/local/lib/python3.7/dist-packages/busio.py
is changed to
FYI I can get rpi-ws281x-python to install by first compiling rpi_ws281x from github, changing DEBIAN/control to be for arm64, and then making a debian package with |
Hi @sommersoft, Could you please look into the merge conflicts? I'd like to test this on a Raspberry Pi 4 to see if it's still working. Thanks. |
I'll deconflict and re-test on RPi3, tonight. |
Thank you! |
Conflicts fixed. Re-loading my Pi3b+ with Ubuntu Disco now (needed to happen anyway, since CircuitPython bumped to using GCC9). Will have my test results up later. |
Sounds good. I'll test on a RasPi 4 with ubuntu as soon as I'm able. |
Re-test checks good on my end, with my old SD with Ubuntu Server 19.04. Now to try and figure out how to boot Ubuntu from an SSD. It has fought me for a couple hours. EDIT: now booting from SSD, with Ubuntu Server 19.10. Platform detected correctly. |
Doh, sorry to do this, but after merging another PR that I had been assisting with, it appears we have another merge conflict. I'm going to see if I can just fix it... |
Looks like you didn't give permissions for me to upload the fixed merge conflicts to your repo, so you'll have to do it. If you want to see what I did, you can check it out at https://github.com/makermelissa/Adafruit_Python_PlatformDetect/tree/ubuntu-disco |
Thanks @sommersoft. This is now at the front of the line. ;) |
All good. Ran re-regression; all good from my setup. Sorry about the PR not letting you edit. It's marked |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on Raspberry Pi 4 with Raspbian and Ubuntu and everything seemed to work fine.
Addresses Adafruit-Blinka issue 99.
I'm currently running Ubuntu Server 19.04 on a Pi 3B+, which seems to produce the same results as the Arch user in the aforementioned issue. The
RPI.GPIO
issue seems to have been fixed, according to the linked issue/ticket.Output examples:
I haven't tested this on any other board, nor with Raspbian or any other distro.
Also, attempts so far to test with Adafruit-Blinka have failed.
rpi-ws281x
has build issues on aarch64/arm64 (same as this issue: rpi-ws281x/rpi-ws281x-python#26, but with all versions).