Hello
I just received my octo cards and would like to use the inputs on my octocard to capture sounds, but do not get it running.
Here's my config:
Raspberry Pi Model B Plus Rev 1.2
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
I can't use the sudo dpkg -i Downloads/audioinjector.octo.setup_0.3_all.deb command so I gone the manual way via Firmware Upgrade which was running fine.
Also the changes in the /boot/config.txt are done.
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
#dtparam=audio=on
# enable the AudioInjector.net sound card
dtoverlay=audioinjector-addons
pi@vlf-01-pi:~ $ dmesg | grep audio
[ 15.243097] audioinjector-octo soc ASoC: CPU DAI (null) not registered - will retry
[ 15.243133] audioinjector-octo soc snd_soc_register_card failed (-517)
[ 16.803100] audioinjector-octo soc ASoC: CODEC DAI cs42448 not registered - will retry
[ 16.803134] audioinjector-octo soc snd_soc_register_card failed (-517)
[ 21.996351] audioinjector-octo soc cs42448 <-> 20203000.i2s mapping ok
After that I run all these commands
sudo modprobe -r snd_soc_audioinjector_octo_soundcard
sudo modprobe -r snd_soc_cs42xx8_i2c
sudo modprobe -r snd_soc_cs42xx8
sudo modprobe snd_soc_cs42xx8
sudo modprobe snd_soc_cs42xx8_i2c
sudo modprobe snd_soc_audioinjector_octo_soundcard
No error message, just this line added to DMESG
[ 107.347648] audioinjector-octo soc cs42448 <-> 20203000.i2s mapping ok
pi@vlf-01-pi:~ $
Any idea what I can further do?
Many thanks
Jochen
Octo on 2018-11-13 raspbian stretch lite not working
Moderator: flatmax
-
- Posts: 3
- Joined: Thu Jan 10, 2019 6:41 pm
- Contact:
Re: Octo on 2018-11-13 raspbian stretch lite not working
Hi there,
I am currently remote - with no Octo. I will check this problem later this month and get back to you.
In the mean time, you may want to downgrade your kernel (using rpi-update) to a slightly older version since before this problem showed up.
rpi-update VERSION
Where VERSION is the git commit number from here :
https://github.com/Hexxeh/rpi-firmware/commits/master
For example this would take it back around one month ago :
rpi-update eefe4b161f5e9730183c8dc1605e14c85b15cf51
thanks
Matt
I am currently remote - with no Octo. I will check this problem later this month and get back to you.
In the mean time, you may want to downgrade your kernel (using rpi-update) to a slightly older version since before this problem showed up.
rpi-update VERSION
Where VERSION is the git commit number from here :
https://github.com/Hexxeh/rpi-firmware/commits/master
For example this would take it back around one month ago :
rpi-update eefe4b161f5e9730183c8dc1605e14c85b15cf51
thanks
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Re: Octo on 2018-11-13 raspbian stretch lite not working
I have the same issue as the OP but I used the automatic installation deb. The only error I saw when doing the automatic install was:
..which I attribute the fact that I am running Stretch Lite which has no desktop and therefore no lxpanel. So no worries.
Then I did what jochen did:
Very similar result.
I took your advice and rolled back the kernel per your suggestion (about a month ago). No change in behavior.
I ran all the sudo modprobe commands per your suggestion and re-ran dmesg | grep audio:
So, no change, same results as jochen.
My system info:
Just for grins I updated to the latest kernel release (4.14.94) with no change.
If you'd like to move this to github, that's fine, I can do that.
This is part of a project for work not play so I hope we can get moving forward quickly.
Thanks,
--Jeff
Code: Select all
lxpanel's volume plugin is disfunctional, disabling it
sed: can't read /home/pi/.config/lxpanel/LXDE-pi/panels/panel: No such file or directory
dpkg: error processing package audioinjector.octo.setup (--install):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
audioinjector.octo.setup
Then I did what jochen did:
Code: Select all
pi@democase01:~ $ dmesg | grep audio
[ 7.281494] audioinjector-octo soc:sound: ASoC: CODEC DAI cs42448 not registered - will retry
[ 7.281516] audioinjector-octo soc:sound: snd_soc_register_card failed (-517)
[ 8.851407] audioinjector-octo soc:sound: ASoC: CODEC DAI cs42448 not registered - will retry
[ 8.851419] audioinjector-octo soc:sound: snd_soc_register_card failed (-517)
I took your advice and rolled back the kernel per your suggestion (about a month ago). No change in behavior.
I ran all the sudo modprobe commands per your suggestion and re-ran dmesg | grep audio:
Code: Select all
pi@democase01:~ $ sudo modprobe -r snd_soc_audioinjector_octo_soundcard
pi@democase01:~ $ sudo modprobe -r snd_soc_audioinjector_octo_soundcard
pi@democase01:~ $ sudo modprobe -r snd_soc_cs42xx8_i2c
pi@democase01:~ $ sudo modprobe -r snd_soc_cs42xx8
pi@democase01:~ $ sudo modprobe snd_soc_cs42xx8
pi@democase01:~ $ sudo modprobe snd_soc_cs42xx8_i2c
pi@democase01:~ $ sudo modprobe snd_soc_audioinjector_octo_soundcard
pi@democase01:~ $ dmesg | grep audio
[ 7.281494] audioinjector-octo soc:sound: ASoC: CODEC DAI cs42448 not registered - will retry
[ 7.281516] audioinjector-octo soc:sound: snd_soc_register_card failed (-517)
[ 8.851407] audioinjector-octo soc:sound: ASoC: CODEC DAI cs42448 not registered - will retry
[ 8.851419] audioinjector-octo soc:sound: snd_soc_register_card failed (-517)
[ 786.214671] audioinjector-octo soc:sound: cs42448 <-> 3f203000.i2s mapping ok
My system info:
Code: Select all
pi@democase01:~ $ uname -a
Linux democase01 4.14.85-v7+ #1173 SMP Tue Dec 4 17:59:59 GMT 2018 armv7l GNU/Linux
pi@democase01:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Code: Select all
pi@democase01:~ $ sudo i2cdetect -l
i2c-1 i2c bcm2835 I2C adapter I2C adapter
pi@democase01:~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
If you'd like to move this to github, that's fine, I can do that.
This is part of a project for work not play so I hope we can get moving forward quickly.
Thanks,
--Jeff
Re: Octo on 2018-11-13 raspbian stretch lite not working
After posting the above, I went through several power cycles (orderly shutdown & restart) as I mounted the Octo to a insulating baseplate. Seeing as how there were conflicting indications about what was loaded/recognized and not, i tried running speaker-test, reasoning that if there was an error, I'd know things weren't recognized/loaded. Speaker-test ran without error. I hooked up a scope and sure enough, I got sinewaves on the two outputs I checked. And no more errors in dmesg:
So this is running with the kernel version shown above.
1) I will investigate more thoroughly and report on whether the channels change around -- this would be a KO for my project.
2) I am disappointed by the lack of documentation of this device. I cannot find anything that shows me which RCA jack is which output (or input). If I am missing something, I apologize, but point me to the documents please.
3) My project involves using GPIO pins to change the sounds produced. Which GPIO pins should NOT be used?
4) Are there preferred sample rates for audio playback?
5) My goal is to generate sinewaves on the fly but I will use pygame to get started. I will report back on this as well.
--Jeff
Code: Select all
pi@democase01:~ $ dmesg | grep audio
[ 7.084256] audioinjector-octo soc:sound: cs42448 <-> 3f203000.i2s mapping ok
pi@democase01:~ $ uname -a
Linux democase01 4.14.94-v7+ #1193 SMP Tue Jan 22 15:34:30 GMT 2019 armv7l GNU/Linux
1) I will investigate more thoroughly and report on whether the channels change around -- this would be a KO for my project.
2) I am disappointed by the lack of documentation of this device. I cannot find anything that shows me which RCA jack is which output (or input). If I am missing something, I apologize, but point me to the documents please.
3) My project involves using GPIO pins to change the sounds produced. Which GPIO pins should NOT be used?
4) Are there preferred sample rates for audio playback?
5) My goal is to generate sinewaves on the fly but I will use pygame to get started. I will report back on this as well.
--Jeff
-
- Posts: 3
- Joined: Thu Jan 10, 2019 6:41 pm
- Contact:
Re: Octo on 2018-11-13 raspbian stretch lite not working
Hi Jeff
Thanks for all your investigation and work. I still have the error, but the MIC input seems to be working for me. Due to the snow situation I can not use my setup in the moment to do further investigation and testing.
I am using card for VLF or Spherics reception and analyzing. Therefore I am using a special SW called vlftools from abelian.org.
With the SW and a tone generator, I was able to inject an audio signal and identify the single channels in the sw.
So I can tell you the MIC in Ports are named as followed.
2 4 6
1 3 5
as seen straight to the plugs. So logically for the output, it should be the same.
Hope, this helps you a bit.
Cheers
Jochen
Thanks for all your investigation and work. I still have the error, but the MIC input seems to be working for me. Due to the snow situation I can not use my setup in the moment to do further investigation and testing.
I am using card for VLF or Spherics reception and analyzing. Therefore I am using a special SW called vlftools from abelian.org.
With the SW and a tone generator, I was able to inject an audio signal and identify the single channels in the sw.
So I can tell you the MIC in Ports are named as followed.
2 4 6
1 3 5
as seen straight to the plugs. So logically for the output, it should be the same.
Hope, this helps you a bit.
Cheers
Jochen
-
- Posts: 2
- Joined: Tue Jun 06, 2017 11:14 pm
Octo on 2018 11 13 raspbian stretch lite not working
Hi again I tried not to switch off the battries but the aircraft still went off after some time...what am i doing wrong? Sorry to bother you
Who is online
Users browsing this forum: No registered users and 2 guests