Re: [SlimDevices: Unix] Add a python library (SPI-pi) to picoreplayer

2017-11-14 Thread cubii

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-11-14 Thread raph

paul- wrote: 
> Do you have two LMS servers?  Players will connect to whatever server
> answers first.  Once LMS is running, use the LMS web interface to verify
> everything is working.
> 
> 
> 
> So the drive is connected fine.  Setting up the drive in pCP only mounts
> the drive, you still need to configure your music location in LMS.  
> This is the screeen shot from my system.
> 
> 24016

Hi Paul

thanks for pointing me to the LMS web interface and the settings therein
- this solved my issues. It cannot at all remember having done such
config when setting up my pyp under version 3.21 and therefore wonder
how I ever got it to work. Whatever, pcp now is working just smooth and
stable again under 3.22.

Mostly: thanks for your support !



raph's Profile: http://forums.slimdevices.com/member.php?userid=67532
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-11-14 Thread maddymarc

Thanks, Paul!

paul- wrote: 
> Yes, you can do that.   Setup pCP, but do not expand the file system to
> fill the whole card.  Once it is setup, pull the card and create a 3rd
> partition on the card to use the rest of the space, and then add your
> music.
> 
> Then restart your pi, and setup the mounting of the new partion on the
> pCP / LMS web page.  It will show up under the USB mounting.



maddymarc's Profile: http://forums.slimdevices.com/member.php?userid=8233
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

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


Re: [SlimDevices: Unix] help: pCP on Rpi3 and DSD

2017-11-14 Thread steff

paul- wrote: 
> Because squeezelite only supports DoP.
> 
> -D [delay]Output device supports DSD over PCM (DoP),
> delay = optional delay switching between PCM and DoP in ms
> 
> There are full DSD patches out there, but you would have to build your
> own squeezelite.

Yes I see this, but...
my DAC natively supports PCM 352 and DSD 11 Mhz.

using JRiver and disabling all the internals audio engines:
- if I play a PCM, the DAC displays ORIGINAL (it means no internal
processing) and PCM. It means the original source PCM is played with no
manipulation by the DAC
- if I play a DSD, the DAC displays OROGINAL and DSD
- if I set JRiver to bitstream to DoP, the DAC disaplays DoP and DSD,
meaning it receives a DoP signal that is then extracted to DSD

Playing the very same DSD file with pCP, the DAC displays ORIGINAL and
PCM !!! it means the DAC is not receiving a DoP signal, but a real PCM.
Seems that somewhere pCP takes the DSD and convert it into PCM, not DSD
over PCM, but real PCM.



steff's Profile: http://forums.slimdevices.com/member.php?userid=66870
View this thread: http://forums.slimdevices.com/showthread.php?t=108257

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