Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Fails to run or Raspberry PI 3, gives error, "Can only run on Raspberry PI" #80

Open
pnduffy opened this issue May 11, 2016 · 6 comments

Comments

@pnduffy
Copy link

pnduffy commented May 11, 2016

Apparently the package does not recognize the PI3.

@lurch
Copy link

lurch commented May 15, 2016

Duplicate of #78

@metachris
Copy link
Owner

Changes are in https://github.com/metachris/RPIO/tree/v2

If everything works, an update is coming to PyPi end of next week.

@JoBergs
Copy link

JoBergs commented Jul 27, 2016

v2 works well on my RPi3 with the newest Jessie, thanks!

@dalanmiller
Copy link

v2 branch isn't working for me, I just cloned the repo switched to the branch and installed via pip:

sudo rpio-curses
Traceback (most recent call last):
  File "/usr/local/bin/rpio-curses", line 96, in <module>
    GPIO_LIST = get_gpiolist()
  File "/usr/local/bin/rpio-curses", line 78, in get_gpiolist
    if RPIO.sysinfo()[1] == 'B+':
  File "/usr/local/lib/python2.7/dist-packages/RPIO/__init__.py", line 186, in sysinfo
    return (RPI_REVISION_HEX,) + MODEL_DATA[RPI_REVISION_HEX.lstrip("0")]
KeyError: 'a22082'

@JoBergs
Copy link

JoBergs commented Aug 2, 2016

I didn't try rpio-curses but imported RPIO in Python.

@lurch
Copy link

lurch commented Aug 2, 2016

Yeah, looks like https://github.com/metachris/RPIO/blob/v2/source/RPIO/__init__.py#L150 (and various other parts) still need to be updated with the revision-codes for the Pi2, Pi3, PiZero, etc.

@metachris see https://github.com/metachris/RPIO/pull/82/files for an example of where parts need to be changed to cope with different revision-codes / model-numbers, etc.

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

No branches or pull requests

5 participants