Closed Sispheor closed 8 years ago
Looks like an upstream issue between kernel (raspberrypi/linux#1547) and SPI-py (https://github.com/lthiery/SPI-Py/issues/17)
@Sispheor doesn't look like it's related to ioctl and the article you linked was from Oct 2015. I had this working for me in Apr 2016 on Jessie
.
Yes, the first article is outdated. And Yes it was actualy an issue in SPI-py. Thx for your answer.
2016-08-08 4:36 GMT+02:00 faulty.lee notifications@github.com:
Looks like an upstream issue between kernel (raspberrypi/linux#1547 https://github.com/raspberrypi/linux/issues/1547) and SPI-py ( lthiery/SPI-Py#17 https://github.com/lthiery/SPI-Py/issues/17)
@Sispheor https://github.com/Sispheor doesn't look like it's related to ioctl and the article you linked was from Oct 2015. I had this working for me in Apr 2016 on Jessie.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ondryaso/pi-rc522/issues/6#issuecomment-238129547, or mute the thread https://github.com/notifications/unsubscribe-auth/ACdEXbAbBUEkiDMjUDG7K5rpGaf5wNWHks5qdpZIgaJpZM4JeSOW .
Nicolas MARCQ
So it's needed to use custom SPI-py with the cs_change set to 0, do I understand this correctly?
Yes !
Le 9 août 2016 6:40 PM, "Ondřej Ondryáš" notifications@github.com a écrit :
So it's needed to use custom SPI-py with the cs_change set to 0, do I understand this correctly?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ondryaso/pi-rc522/issues/6#issuecomment-238612827, or mute the thread https://github.com/notifications/unsubscribe-auth/ACdEXbGWil0ZZEp-QdXUnDjjvzYNatqzks5qeK1ygaJpZM4JeSOW .
Alright, I'm gonna mention this in the README and close this.
It seems something changes ioctl message structure. See https://wolfgangklenk.wordpress.com/2015/10/25/spi-communication-issues-with-raspbian-jessie/
Also: https://github.com/mxgxw/MFRC522-python/issues/29