Hi there,

I cant get picoreplayer 3.22 and a MFRC522 NFC Reader via  spi-py work
together.

I have installed:


Code:
--------------------
    tce-load -wi  compiletc.tcz
  tce-load -wi  python-dev.tcz
  tce-load -wi  python-RPi.GPIO.tcz
  tce-load -wi  nano.tcz
--------------------



via ssh

and then i want to install the following apps via git:


Code:
--------------------
             _ _____             ___  __
  ___  (_) ___/__  _______ / _ \/ /__ ___ _____ ____
  / _ \/ / /__/ _ \/ __/ -_) ___/ / _ `/ // / -_) __/
  / .__/_/\___/\___/_/  \__/_/  /_/\_,_/\_, /\__/_/
  /_/                                   /___/
  
  piCorePlayer = piCore + Squeezelite + Raspberry Pi
  
  The software is provided "as is" without warranty of any kind,
  either express or implied, including without limitation any implied
  warranties of condition, uninterrupted use, merchantability,
  fitness for a particular purpose, or non-infringement.
  tc@piCorePlayer:~$ cd SPI-Py/
  tc@piCorePlayer:~/SPI-Py$ sudo python setup.py install
  running install
  running build
  running build_ext
  building 'spi' extension
  creating build
  creating build/temp.linux-armv6l-2.7
  gcc -pthread -fno-strict-aliasing -O3 -pipe -march=armv6zk 
-mtune=arm1176jzf-s -                                                           
                                                                                
                  mfpu=vfp -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes 
-fPIC -I/usr/local/in                                                           
                                                                                
                  clude/python2.7 -c spi.c -o build/temp.linux-armv6l-2.7/spi.o
  creating build/lib.linux-armv6l-2.7
  gcc -pthread -shared build/temp.linux-armv6l-2.7/spi.o -L/usr/local/lib 
-lpython                                                                        
                                                                                
     2.7 -o build/lib.linux-armv6l-2.7/spi.so
  running install_lib
  copying build/lib.linux-armv6l-2.7/spi.so -> 
/usr/local/lib/python2.7/site-packa                                             
                                                                                
                                ges
  running install_egg_info
  Writing /usr/local/lib/python2.7/site-packages/SPI_Py-1.0-py2.7.egg-info
  tc@piCorePlayer:~/SPI-Py$ git clone https://github.com/mxgxw/MFRC522-python
  Cloning into 'MFRC522-python'...
  remote: Counting objects: 60, done.
  remote: Total 60 (delta 0), reused 0 (delta 0), pack-reused 60
  Unpacking objects: 100% (60/60), done.
  Checking connectivity... done.
  tc@piCorePlayer:~/SPI-Py$ cd MFRC522-python/
  tc@piCorePlayer:~/SPI-Py/MFRC522-python$ sudo python Read.py
  can't open device: No such file or directory
  Aborted
  tc@piCorePlayer:~/SPI-Py/MFRC522-python$
  tc@piCorePlayer:~/SPI-Py/MFRC522-python$
  
--------------------


But the MRFCReader is not found.

This worked with picoreplayer 3.18.

Does someone know what is the problem there?

There was a problem with the Reader and raspbian, see here:
https://github.com/lthiery/SPI-Py/commit/2c6cf5c8caa6157f84617de5e31af8e48ddbd8e7

and here:
https://github.com/raspberrypi/linux/issues/1547

perhaps these links can give a hint?

It seems the change from spi-bcm2708 to the bcm2835 broke something.

config.txt is untouched.

Thanks 
cubii


------------------------------------------------------------------------
cubii's Profile: http://forums.slimdevices.com/member.php?userid=66338
View this thread: http://forums.slimdevices.com/showthread.php?t=107137

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to