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

Revision-detection code is fragile #43

Open
lurch opened this issue Mar 11, 2013 · 3 comments
Open

Revision-detection code is fragile #43

lurch opened this issue Mar 11, 2013 · 3 comments

Comments

@lurch
Copy link

lurch commented Mar 11, 2013

I think the test in quick2wire/board_revision.py needs to be made more robust.
I've just seen from http://elinux.org/RPi_HardwareHistory that the board revisions already go up to 000f.
With the current code in board_revision.py, as soon as the board revision hits 0012, it'll get mis-identified as a Revsion1 board (and hence use the wrong GPIO pin mapping).

The references from my previous bug report #14 still apply ;-)

@pckeller29
Copy link

You are totally right.
I'm using quick2wire on raspberry A+ (A plus) model. The revision number is 0012 and then the default bus is 0 which is wrong. I was able to run my python script by forcing default bus to 1 otherwise I always get an Error 5, write error when using I2C.

@lurch
Copy link
Author

lurch commented Nov 27, 2014

The last commit to this project was nearly 18 months ago, so a fix for this seems very unlikely :-/

@pckeller29
Copy link

You're definitely right and I don't expect a corrective patch. I was able to solve this small issue myself.
Thanx for replying.

----- Mail original -----
De: "Andrew Scheller" [email protected]
À: "quick2wire/quick2wire-python-api" [email protected]
Cc: "pckeller29" [email protected]
Envoyé: Jeudi 27 Novembre 2014 12:35:36
Objet: Re: [quick2wire-python-api] Revision-detection code is fragile (#43)

The last commit to this project was nearly 18 months ago, so a fix for this seems very unlikely :-/


Reply to this email directly or view it on GitHub .

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

No branches or pull requests

2 participants