spt58 wrote: 
> Hi
> 
> I'm having an issue getting GPIO toggling on power on/off to work on
> 3.20 - squeezelite fails to start. Here's the log:
> 
> -/mnt/mmcblk0p2/tce/squeezelite -n Kitchen -o hw:CARD=sndrpihifiberry -a
> 80:4::1: -d all=debug -f /var/log/pcp_squeezelite.log -G 20:H           
> 
> [22:00:52.557735] stream_init:294 init stream                           
> 
> 
> [22:00:52.558412] stream_init:295 streambuf size: 2097152               
> 
> 
> [22:00:52.571510] output_init_alsa:865 init output                      
> 
> 
> [22:00:52.571718] output_init_alsa:895 requested alsa_buffer: 80
> alsa_period: 4 format: any mmap: 1                                      
> 
> [22:00:52.571927] output_init_common:347 outputbuf size: 3528000        
> 
> 
> [22:00:52.572362] output_init_common:371 idle timeout: 0                
> 
> 
> [22:00:52.586512] output_init_common:411 supported rates: 192000 176400
> 96000 88200 48000 44100 32000 16000 11025 8000                          
> 
> [22:00:52.618578] output_init_alsa:911 memory locked                    
> 
> 
> [22:00:52.619978] output_thread:664 open output device:
> hw:CARD=sndrpihifiberry                                                 
> 
> [22:00:52.620143] alsa_open:381 opening device at: 44100                
> 
> 
> [22:00:52.623274] alsa_open:432 opened device hw:CARD=sndrpihifiberry
> using format: S32_LE sample rate: 44100 mmap: 1                         
> 
> [22:00:52.623638] alsa_open:511 buffer: 80 period: 4 -> buffer size:
> 3528 period size: 882                                                   
> 
> Unable to determine hardware version. I see: Hardware   : BCM2835       
> 
> 
> ,                                                                       
> 
> 
> - expecting BCM2708 or BCM2709.                                        
> 
> If this is a genuine Raspberry Pi then please report this               
> 
> to [email protected]. If this is not a Raspberry Pi then you          
> 
> are on your own as wiringPi is designed to support the                  
> 
> Raspberry Pi ONLY.        - 
> 
> 
> I'VE MANUALLY TESTED THE GPIO20 AND IT WORKS 
> 
> sudo sh -c 'echo 20 > /sys/class/gpio/export'
> sudo sh -c 'echo out > /sys/class/gpio/gpio20/direction'
> sudo sh -c 'echo 1 > /sys/class/gpio/gpio20/value' ------> TURNS ON THE
> LED
> sudo sh -c 'echo 0 > /sys/class/gpio/gpio20/value' ------> TURNS OFF THE
> LED
> 
> 
> Works perfectly on 3.00, same version of squeezelite, I'm using:
> 
> Physical pin 38
> BCM pin 20
> Wiring Pi pin 28
> 
> Raspberry Pi A+
> 
> Any ideas? 
> 
> Many thanks

hi spt58,

I think this is an issue with the version of wiringPi. I think the error
message is from the wiringPi Raspberry Pi recognition code.

I would try loading the latest wiringpi.tcz.


Code:
--------------------
    Title:          wiringpi.tcz
  Description:    GPIO Interface library
  Version:        2.44
  Author:         Gordon Henderson
  Original-site:  http://wiringpi.com
  Copying-policy: LGPL v3
  Size:           44k
  Extension_by:   paul-123
  Tags:           LIBRARY CLI GPIO
  Comments:       Binaries only
  ----
  Compiled for piCore 8.x
  Change-log:     2016/07/10 First version, 2.32
  Current:        2017/03/03 Updated to version, 2.44
  
--------------------


regards
Greg


------------------------------------------------------------------------
Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to