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

2021-09-12 Thread Greg Erskine


sudo?



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
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-12 Thread cassio299


Man in a van wrote: 
> Look in the Extension list for nano.tcz
> 
> ronnie

Thankyou Ronnie ... I'm ind...



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-12 Thread Man in a van


cassio299 wrote: 
> Hi Paul
> 
> Thank you for your reply.. I am not able to open the files in
> /usr/local/share/pcp/cards I managed to ssh into pCP but neither nano
> nor apt is installed so I don't know how to open files or make new
> files.
> I am on a Mac so I am not able to open the root  dir from the sd card.
> 
> Is there another way to access root in piCorePlayer ??

Look in the Extension list for nano.tcz

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-12 Thread cassio299


paul- wrote: 
> 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


Hi Paul

Thank you for your reply.. I am not able to open the files in
/usr/local/share/pcp/cards I managed to ssh into pCP but neither nano
nor apt is installed so I don't know how to open files or make new
files.
I am on a Mac so I am not able to open the root  dir from the sd card.

Is there another way to access root in piCorePlayer ??



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 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] 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


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

2021-09-10 Thread cassio299

paul- wrote: 
> The kernel dump in dmesg is a problem.   I’m not sure how popular this
> card is.  It’s never came up as a subject with pCP.
> 
> Need to check in the latest raspiOS…..  if it crashes there, the an
> issue will need to be reported.

Hi and thank you for your answer.

I can't see any problems in the dmesg file maybe because I don't know
what to look fore. I had the same problem when I change my RPI 3a+ to
PRI 3b+and installed rasbian and Squeezelite I uninstalled pulseaudio
according to the githubpage  (I could not figure out how to do that in
picoreplayer) 

By googleling it seems that people with my soundcard are not using
picoreplayer but they have managed to get it to work in Squeezelite on
raspian. 

I have given up on this soundcard as it semes to bring more trouble than
joy, thank you again for your time



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-10 Thread cassio299


Man in a van wrote: 
> @CASSIO299
> 
> If this was my problem I would first try another OS to confirm if the
> card was working.
> 
> If you are happy with trying this route, and with the command line, I
> suggest you download the Raspberry PI OS Buster Lite image
> This is a headless OS, so you need to connect by SSH (if you use the
> raspberry foundation image maker tool, this can be preconfigured)
> 
> Update the image (sudo apt update && sudo apt full-upgrade -y; sudo
> reboot)
> 
> Install squeezelite (sudo apt install squeezelite)
> 
> Edit the /boot/config.txt file (sudo nano /boot/config.txt) to add the
> overlay and comment out the onboard audio, save, exit and reboot
> 
> This will require a bit of research on your part
> Let me know if you need any help
> 
> Or you could use the download available at
> 
> https://github.com/Audio-Injector/stereo-and-zero
> 
> to confirm if the card is working.
> 
> Their github info is a little behind, but if it works on another OS (I'm
> thing the raspberry pi os lite, here)  the dmseg from that will maybe
> help the pCP team 
> 
> ronnie

Hi Thankyou for your answer

I did try to instal rasbian and Squeezelite and I couldn't get it to
work either. As they both use Squeezelite I did not think that mi
soundcard could be the problem. The text method in the GitHub link looks
very troublesome well at least I think that some instructions are
missing...  So I have giving up and will look for some other soundcards.
But thanks for you answer.



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-10 Thread paul-

The kernel dump in dmesg is a problem.   I’m not sure how popular this
card is.  It’s never came up as a subject with pCP.

Need to check in the latest raspiOS…..  if it crashes there, the an
issue will need to be reported.



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-10 Thread Man in a van


Just had another thought:

Does pCP report Squeezelite as running ?

If so, have you checked the Alsamixer for output volume levels ?

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-10 Thread Man in a van


@CASSIO299
If this was my problem I would first try another OS to confirm if the
card was working.

If you are happy with trying this route, and with the command line, I
suggest you download the Raspberry PI OS Buster Lite image
This is a headless OS, so you need to connect by SSH (if you use the
raspberry foundation image maker tool, this can be preconfigured)

Update the image (sudo apt update && sudo apt full-upgrade -y; sudo
reboot)

Install squeezelite (sudo apt install squeezelite)

Edit the /boot/config.txt file (sudo nano /boot/config.txt) to add the
overlay and comment out the onboard audio, save, exit and reboot

This will require a bit of research on your part
Let me know if you need any help

Or you could use the download available at

https://github.com/Audio-Injector/stereo-and-zero

to confirm if the card is working.

Their github info is a little behind, but if it works on another OS (I'm
thing the raspberry pi os lite, here)  the dmseg from that will maybe
help the pCP team 

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


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

2021-09-09 Thread cassio299


Hi All

I have Tried and Tried and can't simply not getting my audioijector
stereo soundcard to work:
1.No sound out via RCA jack on soundcard connected to active speakers
2.Checked spelling and input on config file tried different sound cards
on drop down list 
3.tried to overwrite audioinjector dtbo files with new ones
4.reinstalled picoreplayer several times

Respberry PI 3a with bt disabled

Picoreplayer:
BeoPlayer | piCorePlayer v8.0.0 | www v00016 | linux 5.10.42-pcpCore-v7
(32) | piCore v13.0 | Squeezelite v1.9.9-1386-pCP

edit config.txt:

dtparam=i2c_arm=on,spi=on,i2s=on
#---pCP--
# pCP does not use graphics chip by default, free up most memory
gpu_mem=16
initial_turbo=60
disable_pvt=1

# onboard audio overlay
#dtparam=audio=on
#audio_pwm_mode=2
dtoverlay=audioinjector-wm8731-audio 

Squeezelite Output devices:

Output devices:
null   - Discard all samples (playback) or
generate zero samples (capture)
default   
plugequal 
equal 
hw:CARD=audioinjectorpi,DEV=0  - audioinjector-pi-soundcard,
AudioInjector audio wm8731-hifi-0 - Direct hardware device without any
conversions
plughw:CARD=audioinjectorpi,DEV=0 - audioinjector-pi-soundcard,
AudioInjector audio wm8731-hifi-0 - Hardware device with all software
conversions
sysdefault:CARD=audioinjectorpi - audioinjector-pi-soundcard,
AudioInjector audio wm8731-hifi-0 - Default Audio Device
dmix:CARD=audioinjectorpi,DEV=0 - audioinjector-pi-soundcard,
AudioInjector audio wm8731-hifi-0 - Direct sample mixing device
dsnoop:CARD=audioinjectorpi,DEV=0 - audioinjector-pi-soundcard,
AudioInjector audio wm8731-hifi-0 - Direct sample snooping device

Squeezelite process:

/usr/local/bin/squeezelite -n BeoPlayer -o hw:CARD=audioinjectorpi,DEV=0
-a 80   0


35701


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


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