Re: [SlimDevices: Unix] PiCorePlayer: soundcard Audioinjector stereo not working RPi 3a

2021-09-11 Thread paul-


You can create a card config file.

Look in /usr/local/share/pcp/cards

After you make The file, you need to add the file to be backed up.  Add
usr/local/share/pcp/cards/xx.conf

To the file /opt/.filetool.lst



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=115118

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


Re: [SlimDevices: Unix] PiCorePlayer: soundcard Audioinjector stereo not working RPi 3a

2021-09-11 Thread cassio299

paul- wrote: 
> The -517 errors are normal….it’s just a timing thing.   The kernel only
> prints the errors, not the last success.  Also, upgrade To the latEst
> kernel, don’t use the next branch.

Thanks I will not upgrade the kernel any further unless I need to.

I would like to setup my Oled ssd 1306 with LMSMonitor however it sems
that the easiest way is via pCP. I tried googleling (a lot) and as you
mentioned people are not using pCP with audio injector stereo or orcto.
Maybee because our card has inputsound   

You mentioned last year to one that he could try to add the driver to
config.txt as an overlay I tried the following:  #dtparam=audio=on, 
audio_pwm_mode=2, dtoverlay=audioinjector-wm8731-audio.

Is there anyway I can add the card to the list in Squezzelight settings
and change the alsa mixer settings  I enclose pictures from my
alsamixer and the setup page 

Peter3572035721


+---+
|Filename: Skærmbillede 2021-09-11 kl. 11.24.03.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=35721|
+---+


cassio299's Profile: http://forums.slimdevices.com/member.php?userid=65363
View this thread: http://forums.slimdevices.com/showthread.php?t=115118

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


Re: [SlimDevices: Unix] PiCorePlayer: soundcard Audioinjector stereo not working RPi 3a

2021-09-11 Thread cassio299


bpa wrote: 
> Are still using dmix ?  This is a mixer and so another source (e.g.
> system sounds) can be merged and possibly affecting the audio .
> 
> Try with plughw.

Hi I changed to plughw to avoid me from accidentally activating some
sound in Raspian... thanks



cassio299's Profile: http://forums.slimdevices.com/member.php?userid=65363
View this thread: http://forums.slimdevices.com/showthread.php?t=115118

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2021-09-11 Thread Man in a van


*@mr-b
*
The outputs listed seem to indicate that the dac hat is not being
recognised.

To confirm it is working, I suggest you use the HiFIberry OS.

Or 

Edit pCP 

The overlay required, according to the data sheet is

Configuration
Overlay for config.txt:
dtoverlay=hifiberry-dacplus

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2021-09-11 Thread mr-b


Hi

I'm having trouble getting my new Rpi4 with a Hifiberry DAC2 Pro XLR to
work. No audio comes out of the XLR or even minijack outputs. I searched
and found a few posts back about some settings for this HAT but was
rather confused by them as I've not seen an Extra HATS setting.
Also I found this
https://forums.slimdevices.com/showthread.php?114030-piCorePlayer-7-0-0-doesn-t-play-well-with-HiFiBerry-DAC2-Pro
which semed very similar. I found like the OP too that the HAT LED came
on when the DAC+ output was used! But then if I selected DAC2HD (and
Pro) Squeezelite didn't run. The Alsa mixer button gives Save and 0dB
buttons, which didn't make much sense to me.
Also I thought that the DAC+, DAC2 and DAC2 HD HATs all used different
chips so why are there only two outputs?


Or is it just that my card is faulty?



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] PiCorePlayer: soundcard Audioinjector stereo not working RPi 3a

2021-09-11 Thread paul-

The -517 errors are normal….it’s just a timing thing.   The kernel only
prints the errors, not the last success.  Also, upgrade To the latEst
kernel, don’t use the next branch.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=115118

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


Re: [SlimDevices: Unix] PiCorePlayer: soundcard Audioinjector stereo not working RPi 3a

2021-09-11 Thread bpa


cassio299 wrote: 
> However the sound became flat so I will only use this in an emergency. 

Are still using dmix ?  This is a mixer and so another source (e.g.
system sounds) can be merged and possibly affecting the audio .

Try with plughw.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=115118

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


Re: [SlimDevices: Unix] PiCorePlayer: soundcard Audioinjector stereo not working RPi 3a

2021-09-11 Thread cassio299


bpa wrote: 
> I think these lines may be the issue in dmesg
> > 
Code:

  >   > 
  > .
  > .
  > [ 10.001058] wm8731 1-001a: supply DBVDD not found, using dummy regulator
  > [ 10.002405] audioinjector-stereo soc:sound: snd_soc_register_card failed 
(-517)
  > [ 10.003540] [ cut here ]
  > [ 10.003636] WARNING: CPU: 0 PID: 32 at sound/core/init.c:208
  > snd_card_new+0x43c/0x474 [snd]
  > [ 10.003645] Modules linked in: snd_soc_wm8731(+) regmap_spi spidev(+)
  > regmap_i2c snd_soc_audioinjector_pi_soundcard brcmfmac brcmutil
  > sha256_generic cfg80211 rfkill raspberrypi_hwmon snd_soc_bcm2835_i2s
  > spi_bcm2835 snd_soc_core snd_compress snd_pcm_dmaengine i2c_bcm2835
  > .
  > .
  > 

> > 

Hi bpa

Thank you for leading me to this error, After I got my card working I
took a new dmesg read and boy its full off errors:

7.138025] audioinjector-stereo soc:sound: snd_soc_register_card failed
(-517)
[7.142970] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[7.147638] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[7.527869] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[7.537010] brcmfmac: brcmf_fw_alloc_request: using
brcm/brcmfmac43455-sdio for chip BCM4345/6
[7.539097] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[7.808646] brcmfmac: brcmf_fw_alloc_request: using
brcm/brcmfmac43455-sdio for chip BCM4345/6
[7.808829] brcmfmac: brcmf_fw_alloc_request: using
brcm/brcmfmac43455-sdio for chip BCM4345/6
[7.884673] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0:
Jan  4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
[8.532307] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[8.536466] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[   11.070282] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save
enabled
[   11.900378] process '/usr/bin/squeezelite-armv6hf' started with
executable stack
[   12.390687] bcm2835-i2s 3f203000.i2s: I2S SYNC error!


So I started to google for this -517 error and ended up at audio
injectors forum were others back in 2019 had came to the conclusion of
an kernel error with the current driver from audio injector... well my
card is working so im not so keen in doing all to much but here is what
I did:

in /boot/config.txt I unmarked the on for i2s,i2c and spi
I den upgraded to latest firmware and kernel for the RPi 3a  sudo
BRANCH=next rpi-update

my new dmesg is now only have this errors:

[7.191372] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[7.432707] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[7.461112] brcmfmac: brcmf_fw_alloc_request: using
brcm/brcmfmac43455-sdio for chip BCM4345/6
[7.463819] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[7.507412] brcmfmac mmc1:0001:1: Direct firmware load for
brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt failed with error
-2
[8.349142] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[8.350999] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[   11.497874] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save
enabled
[   12.223105] process '/usr/bin/squeezelite-armv6hf' started with
executable stack
[   12.702312] bcm2835-i2s 3f203000.i2s: I2S SYNC error!


Back in 2019 the audio injector onto card working a work around was to
add another driver to /etc/modules.  snd_soc_cs42xx8_i2c

after this the dmsg errors came down to this:

[7.204357] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[7.472658] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[7.499580] brcmfmac: brcmf_fw_alloc_request: using
brcm/brcmfmac43455-sdio for chip BCM4345/6
[7.502034] audioinjector-stereo soc:sound: snd_soc_register_card
failed (-517)
[7.811501] brcmfmac: brcmf_fw_alloc_request: using
brcm/brcmfmac43455-sdio for chip BCM4345/6
[7.836111] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0:
Jan  4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
[   11.096476] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save
enabled
12.213389] bcm2835-i2s 3f203000.i2s: I2S SYNC error!


However the sound became flat so I will only use this in an emergency. I
enclose the fully dmsg If you or anybody else has suggestions to fix
those errors I will be happy to hear from you
Peter


+---+
|Filename: dmseg 2.pdf  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=35718|
+---+


cassio299's Profile: 

Re: [SlimDevices: Unix] PiCorePlayer: soundcard Audioinjector stereo not working RPi 3a

2021-09-11 Thread Man in a van


cassio299 wrote: 
> Thank you Ronnie I got it to work.
> 
> For future reference here is how I got it to work on Raspian desktop
> with Squeezelite
> 
> Burn The Raspbian desktop to your SD Card and set it up to work 
> 
> In terminal type:
> 
> sudo apt purge pulseaudio
> 
> sudo nano /boot/config.txt
> 
> edit:
> 
> remove the # from: dtparam=i2c_arm=on
> dtparam=i2s=on
> dtparam=spi=on
> 
> set dtparam=audio=on to #dtparam=audio=onand add in a new line
> below:
> dtoverlay=audioinjector-wm8731-audio
> 
> leave the rest as is...
> 
> save and leave config
> 
> type in terminal:
> alsamixer
> 
> in alsamixer hit F6 and choose your soundcard move the cursor to: Master
> Playback ZC
> 
> Playback Deemphasis
> 
> ADC High Pass Filter
> 
> Output Mixer HiFi 
> 
> Output Mixer Line
> 
> Output Mixer Mic
> 
> Store DC Offset
> If the box
> above the settings says [MM] hit the [M] button to unmute it. The box
> will now say [00] instead (Thankyou JGCOBRA from the audio injector
> forums)
> 
> hit [ESC]
> 
> Follow this guide to installing and setting up Squeezelite:
> 
> http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-installing-squeezelite-player-on-raspbian/
> 
> In the script squeezelite_settings.sh I added:
> 
> SL_SOUNDCARD="dmix:CARD=audioinjectorpi,DEV=0"
> SL_ALSA_PARAMS="80:::0"
> 
> Peter

Hey Peter

Good Work :):)

What a faff !!:rolleyes::rolleyes:

And thanks for the info, there are a couple of nuggets there, that will,
maybe , help others (I'm likely to forget them :(:o) 

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=115118

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


Re: [SlimDevices: Unix] PiCorePlayer: soundcard Audioinjector stereo not working RPi 3a

2021-09-11 Thread cassio299


Man in a van wrote: 
> @CASSIO299
> 
> 
> My suggestion to use the
> 
> https://www.raspberrypi.org/software/operating-systems/
> 
> 35716
> 
> is based on the fact that it does not include PulseAudio (which, I
> think, requires xserver)
> 
> Access is by SSH; as I have said, I am willing to help if you wish it.
> 
> I  don't have a rpi3A+ but do have a rpi3B+, so can knock up an image
> for you, without any problem.
> 
> ronnie

Thank you Ronnie I got it to work.

For future reference here is how I got it to work on Raspian desktop
with Squeezelite

Burn The Raspbian desktop to your SD Card and set it up to work 

In terminal type:

sudo apt purge pulseaudio

sudo nano /boot/config.txt

edit:

remove the # from: dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on

set dtparam=audio=on to #dtparam=audio=onand add in a new line
below:
dtoverlay=audioinjector-wm8731-audio

leave the rest as is...

save and leave config

type in terminal:
alsamixer

in alsamixer hit F6 and choose your soundcard move the cursor to: Master
Playback ZC

Playback Deemphasis

ADC High Pass Filter

Output Mixer HiFi 

Output Mixer Line

Output Mixer Mic

Store DC Offset
If the box
above the settings says [MM] hit the [M] button to unmute it. The box
will now say [00] instead (Thankyou JGCOBRA from the audio injector
forums)

hit [ESC]

Follow this guide to installing and setting up Squeezelite:

http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-installing-squeezelite-player-on-raspbian/

In the script squeezelite_settings.sh I added:

SL_SOUNDCARD="dmix:CARD=audioinjectorpi,DEV=0"
SL_ALSA_PARAMS="80:::0"

Peter



cassio299's Profile: http://forums.slimdevices.com/member.php?userid=65363
View this thread: http://forums.slimdevices.com/showthread.php?t=115118

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


Re: [SlimDevices: Unix] PiCorePlayer: soundcard Audioinjector stereo not working RPi 3a

2021-09-11 Thread bpa


cassio299 wrote: 
> I can't see any problems in the dmesg file maybe because I don't know
> what to look fore. 

I think these lines may be the issue in dmesg

Code:


  .
  .
  [ 10.001058] wm8731 1-001a: supply DBVDD not found, using dummy regulator
  [ 10.002405] audioinjector-stereo soc:sound: snd_soc_register_card failed 
(-517)
  [ 10.003540] [ cut here ]
  [ 10.003636] WARNING: CPU: 0 PID: 32 at sound/core/init.c:208
  snd_card_new+0x43c/0x474 [snd]
  [ 10.003645] Modules linked in: snd_soc_wm8731(+) regmap_spi spidev(+)
  regmap_i2c snd_soc_audioinjector_pi_soundcard brcmfmac brcmutil
  sha256_generic cfg80211 rfkill raspberrypi_hwmon snd_soc_bcm2835_i2s
  spi_bcm2835 snd_soc_core snd_compress snd_pcm_dmaengine i2c_bcm2835
  .
  .
  




bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=115118

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


Re: [SlimDevices: Unix] PiCorePlayer: soundcard Audioinjector stereo not working RPi 3a

2021-09-11 Thread Man in a van


@CASSIO299

My suggestion to use the

https://www.raspberrypi.org/software/operating-systems/

35716

is based on the fact that it does not include PulseAudio (which, I
think, requires xserver)

Access is by SSH; as I have said, I am willing to help if you wish it.

I  don't have a rpi3A+ but do have a rpi3B+, so can knock up an image
for you, without any problem.

ronnie


+---+
|Filename: Raspberry pi OS lite.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=35716|
+---+


Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=115118

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