Hi there,

I upgraded from piCorePlayer v6.1.0 to v7.0.0, and was unable to get the
Cirrus Logic Audio Card working. I also tried installing piCore from
scratch with a new MicroSD card but same issue. As a sanity check, I
rolled back to v6.1.0, and it worked like it always has.

I tried to spot differences between the versions. One thing I noticed
with v7.0.0, is in the 'Cirrus Logic Audio Card Configuration', when I
click 'Update or Remove Cirrus Logic Configuration Scripts from pCP'. As
you can see below, it looks like the amixer command executed by
piCorePlayer was invalid, since amixer returned the usage information.


Code:
--------------------
    
  [ INFO ] Setting Cirrus Card Configuration...
  [ INFO ] Setting Speakers ON
  Usage: amixer <options> [command]
  
  Available options:
  -h,--help       this help
  -c,--card N     select the card
  -D,--device N   select the device, default 'default'
  -d,--debug      debug mode
  .....................................
  .....................................
  
--------------------


Back in v6.1.0, performing the same action shows a successful result:


Code:
--------------------
    
  [ INFO ] Setting Cirrus Card Configuration...
  [ INFO ] Setting Speakers ON
  [ INFO ] Setting Headset ON
  [ INFO ] Setting Line Out ON
  [ INFO ] Setting Spdif ON
  [ INFO ] Backing up files to /mnt/mmcblk0p2/tce/mydata.tgz/-
  Done.
  [ OK ] Backup successful.
  
--------------------


Any ideas? Is there something else that needs to be done for this card
to work?

Below are various bits of diagnostic information, just in case.


Code:
--------------------
    
  [ INFO ] Squeezelite Output devices
  Output devices:
  null                           - Discard all samples (playback) or generate 
zero samples (capture)
  default                       
  plugequal                     
  equal                         
  hw:CARD=Headphones,DEV=0       - bcm2835 Headphones, bcm2835 Headphones - 
Direct hardware device without any conversions
  plughw:CARD=Headphones,DEV=0   - bcm2835 Headphones, bcm2835 Headphones - 
Hardware device with all software conversions
  sysdefault:CARD=Headphones     - bcm2835 Headphones, bcm2835 Headphones - 
Default Audio Device
  dmix:CARD=Headphones,DEV=0     - bcm2835 Headphones, bcm2835 Headphones - 
Direct sample mixing device
  
--------------------



Code:
--------------------
    
  [ INFO ] Squeezelite Volume controls
  Volume controls for default
  Headphone
  
--------------------



Code:
--------------------
    
  [ INFO ] Current pcp.cfg
  WIFI="off"
  DEBUG="0"
  MODE="10"
  TEST="0"
  NAME="piCorePlayer"
  PCP_CUR_REPO="1"
  THEME="Light"
  OUTPUT="hw:CARD=RPiCirrus"
  ALSA_PARAMS="80:4::1"
  BUFFER_SIZE=""
  _CODEC=""
  XCODEC=""
  PRIORITY=""
  MAX_RATE=""
  UPSAMPLE=""
  MAC_ADDRESS=""
  SERVER_IP=""
  LOGLEVEL=""
  LOGFILE=""
  DSDOUT=""
  VISUALISER=""
  CLOSEOUT=""
  UNMUTE=""
  ALSAVOLUME=""
  OTHER=""
  AUDIO="cirrus"
  AUDIOBOOTSCRIPT="/usr/local/bin/rpi-cirrus-config.sh"
  HOST="pCP"
  TIMEZONE="EST-10EST,M10.1.0,M4.1.0/3"
  CPUGOVERNOR="ondemand"
  OVERCLOCK="NONE"
  ADVOVERCLOCK="None"
  CPUISOL=""
  SQLAFFINITY=""
  SQLOUTAFFINITY=""
  CMD="Default"
  FIQ="0xF"
  ALSAlevelout="Default"
  ALSAeq="no"
  EQUAL_OUT_DEVICE=""
  STREAMER="no"
  STREAMER_IN_DEVICE=""
  REBOOT="Disabled"
  RB_H="0"
  RB_WD="*"
  RB_DMONTH="*"
  RESTART="Disabled"
  RS_H="0"
  RS_WD="*"
  RS_DMONTH="*"
  CRON_COMMAND=""
  AUTOSTARTLMS=""
  A_S_LMS="Disabled"
  AUTOSTARTFAV=""
  A_S_FAV="Disabled"
  USER_COMMAND_1=""
  USER_COMMAND_2=""
  USER_COMMAND_3=""
  JIVELITE="no"
  SCREENROTATE="180"
  JL_SCREEN_WIDTH="0"
  JL_SCREEN_HEIGHT="0"
  JL_FRAME_BUFFER="/dev/fb0"
  JL_FRAME_RATE=""
  JL_FRAME_DEPTH=""
  SHAIRPORT="no"
  LMSERVER="no"
  LMSDATA="default"
  LMSBRANCH="release"
  SQLT_VERSION="basic"
  SQBINARY="default"
  SQUEEZELITE="yes"
  POWER_GPIO=""
  POWER_OUTPUT="L"
  POWER_SCRIPT=""
  GPIOPOWEROFF="no"
  GPIOPOWEROFF_GPIO="17"
  GPIOPOWEROFF_HI="yes"
  GPIOSHUTDOWN="no"
  GPIOSHUTDOWN_GPIO="22"
  GPIOSHUTDOWN_HI="yes"
  GPIOSHUTDOWN_PU="down"
  IR_LIRC="no"
  IR_KEYTABLES="no"
  IR_GPIO_IN="25"
  IR_GPIO_OUT=""
  IR_DEVICE="lirc0"
  IR_CONFIG=""
  LMSWEBPORT=""
  FSM="Default"
  LMSCONTROLS="yes"
  PLAYERTABS="yes"
  HDMIPOWER="on"
  APMODE="no"
  AP_IP=""
  RPI3INTWIFI="on"
  RPIBLUETOOTH="off"
  SAMBA="disabled"
  WOL="no"
  WOL_NIC=""
  WOL_LMSMACADDRESS=""
  SPARAMS1=""
  SPARAMS2=""
  SPARAMS3=""
  SPARAMS4=""
  SPARAMS5=""
  INTERNET_CHECK_IP=""
  ROTDASH="no"
  SHAIRPORT_OUT="hw:CARD=RPiCirrus"
  SHAIRPORT_CONTROL=""
  NETWORK_WAIT="50"
  GUI_DISABLE="0"
  WWW_PORT="80"
  MDNSD="yes"
  
--------------------



Code:
--------------------
    
  [ INFO ] dmesg
  [    0.000000] Booting Linux on physical CPU 0x0
  [    0.000000] Linux version 5.4.83-pcpCore (pCP@SoundStation) (gcc version 
7.4.1 20181213 (crosstool-NG 1.24.0.6-afaf7b9)) #1 Fri Dec 18 22:41:28 EST 2020
  [    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), 
cr=00c5387d
  [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing 
instruction cache
  [    0.000000] OF: fdt: Machine model: Raspberry Pi Model B Rev 2
  [    0.000000] Memory policy: Data cache writeback
  [    0.000000] Reserved memory: created CMA memory pool at 0x1a800000, size 
64 MiB
  [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id 
shared-dma-pool
  [    0.000000] On node 0 totalpages: 126976
  .............................................................................
  .............................................................................
  .............................................................................
  [    3.366316] Freeing unused kernel memory: 496K
  [    3.366335] This architecture does not have kernel memory protection.
  [    3.366346] Run /init as init process
  [    3.439327] mmc0: host does not support reading read-only switch, assuming 
write-enable
  [    3.443515] mmc0: new high speed SDHC card at address aaaa
  [    3.448431] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
  [    3.452960] Indeed it is in host mode hprt0 = 00021501
  [    3.518825]  mmcblk0: p1 p2
  [    3.682790] usb 1-1: new high-speed USB device number 2 using dwc_otg
  [    3.683051] Indeed it is in host mode hprt0 = 00001101
  [    4.023313] usb 1-1: New USB device found, idVendor=0424, idProduct=9512, 
bcdDevice= 2.00
  [    4.023365] usb 1-1: New USB device strings: Mfr=0, Product=0, 
SerialNumber=0
  [    4.024818] hub 1-1:1.0: USB hub found
  [    4.025043] hub 1-1:1.0: 3 ports detected
  [    4.342775] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
  [    4.473252] usb 1-1.1: New USB device found, idVendor=0424, 
idProduct=ec00, bcdDevice= 2.00
  [    4.473282] usb 1-1.1: New USB device strings: Mfr=0, Product=0, 
SerialNumber=0
  [    4.476790] smsc95xx v1.0.6
  [    4.568964] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at 
usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:45:b1:6c
  [    7.886901] zram: Added device: zram0
  [    7.984606] zram0: detected capacity change from 0 to 117452800
  [    8.003066] random: mkswap: uninitialized urandom read (16 bytes read)
  [    8.022213] Adding 114696k swap on /dev/zram0.  Priority:-2 extents:1 
across:114696k SSFS
  [    8.853231] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  [   10.200900] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data 
mode. Opts: (null)
  [   10.354288] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data 
mode. Opts: (null)
  [   28.126957] snd_bcm2835: module is from the staging directory, the quality 
is unknown, you have been warned.
  [   28.303414] bcm2835_audio bcm2835_audio: card created with 8 channels
  [   28.561655] snd-rpi-cirrus soc:sound: ASoC: failed to init link WM5102: 
-517
  [   28.572664] snd-rpi-cirrus soc:sound: ASoC: failed to init link WM5102: 
-517
  [   30.201162] Starting piCorePlayer v7.0.0 startup.
  [   30.402499] random: crng init done
  [   30.780226] wm8804 1-003b: revision E
  [   30.781393] snd-rpi-cirrus soc:sound: ASoC: failed to init link WM5102: 
-517
  [   31.150425] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote 
wakeup
  [   32.658737] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 
0xCDE1
  [   64.392219] Finished piCorePlayer v7.0.0 startup.
  
--------------------



Code:
--------------------
    
  [ INFO ] lsmod
  Module                  Size  Used by
  snd_soc_wm8804_i2c     16384  0
  snd_soc_wm8804         16384  1 snd_soc_wm8804_i2c
  regmap_i2c             16384  1 snd_soc_wm8804_i2c
  snd_soc_bcm2835_i2s    16384  0
  snd_soc_rpi_cirrus     24576  0
  regmap_mmio            16384  1 snd_soc_bcm2835_i2s
  snd_soc_core          200704  3 
snd_soc_wm8804,snd_soc_rpi_cirrus,snd_soc_bcm2835_i2s
  snd_compress           20480  1 snd_soc_core
  snd_bcm2835            28672  0
  snd_pcm_dmaengine      16384  1 snd_soc_core
  snd_pcm                94208  6 
snd_soc_wm8804,snd_soc_rpi_cirrus,snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_core
  snd_timer              32768  1 snd_pcm
  snd                    73728  6 
snd_compress,snd_soc_rpi_cirrus,snd_timer,snd_bcm2835,snd_soc_core,snd_pcm
  i2c_bcm2835            16384  0
  spi_bcm2835            20480  0
  fixed                  16384  2
  squashfs               40960  24
  zram                   24576  1
  zsmalloc               28672  1 zram
  raspberrypi_hwmon      16384  0
  
--------------------


------------------------------------------------------------------------
petar's Profile: http://forums.slimdevices.com/member.php?userid=50217
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

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

Reply via email to