[AudioI] AudioInjector Zero no longer being recognized by raspberrypi 4 (Tony Henrie)
Matt
matt at audioinjector.net
Mon Mar 22 21:18:37 UTC 2021
I forgot to mention, I haven't worked out yet what it is in pulseaudio
and its configuration for Raspbian which is creating these problems. I
assume that pulseaudio is setup for a specific hardware expectation.
Matt
On 23/3/21 7:52 am, Matt via People wrote:
> The card is on the system.
>
> aplay -l should list hw:0
>
> Try getting the mixer up :
>
> alsamixer -D hw:0
>
> On 21/3/21 10:22 am, Tony Henrie via People wrote:
>> Oops! Forgot to rename the subject line. See my reply below.
>>
>>> On Mar 20, 2021, at 5:18 PM, people-request at lists.audioinjector.net
>>> wrote:
>>>
>>> Send People mailing list submissions to
>>> people at lists.audioinjector.net
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> https://lists.audioinjector.net/mailman/listinfo/people
>>> or, via email, send a message with subject or body 'help' to
>>> people-request at lists.audioinjector.net
>>>
>>> You can reach the person managing the list at
>>> people-owner at lists.audioinjector.net
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of People digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>> 1. Re: People Digest, Vol 14, Issue 9 (Tony Henrie)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Sat, 20 Mar 2021 17:18:13 -0600
>>> From: Tony Henrie <tthenrie at yahoo.com>
>>> To: people at lists.audioinjector.net
>>> Subject: Re: [AudioI] People Digest, Vol 14, Issue 9
>>> Message-ID: <DEA9BC7C-84EA-485C-BCF2-69F0F92CA849 at yahoo.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Thanks for the response.
>>>
>>> here is cat /proc/asound/cards:
>>>
>>> 0 [audioinjectorpi]: audioinjector-p - audioinjector-pi-soundcard
>>> audioinjector-pi-soundcard
>>>
>>> Here is lsmod:
>>>
>>> Module Size Used by
>>> uinput 20480 0
>>> fuse 126976 3
>>> cmac 16384 1
>>> rfcomm 49152 14
>>> bnep 20480 2
>>> 8021q 32768 0
>>> garp 16384 1 8021q
>>> stp 16384 1 garp
>>> llc 16384 2 garp,stp
>>> hid_logitech_hidpp 40960 0
>>> snd_soc_wm8731 20480 1
>>> regmap_spi 16384 1 snd_soc_wm8731
>>> spidev 20480 0
>>> joydev 20480 0
>>> v3d 73728 3
>>> gpu_sched 45056 1 v3d
>>> brcmfmac 327680 0
>>> brcmutil 20480 1 brcmfmac
>>> snd_soc_audioinjector_pi_soundcard 16384 0
>>> gpio_keys 20480 0
>>> raspberrypi_ts 16384 0
>>> sha256_generic 16384 0
>>> raspberrypi_hwmon 16384 0
>>> cfg80211 761856 1 brcmfmac
>>> i2c_bcm2835 16384 0
>>> rtl2832_sdr 24576 0
>>> r820t 28672 1
>>> rtl2832 20480 1
>>> i2c_mux 16384 1 rtl2832
>>> regmap_i2c 16384 2 snd_soc_wm8731,rtl2832
>>> snd_soc_bcm2835_i2s 16384 2
>>> spi_bcm2835 20480 0
>>> dvb_usb_rtl28xxu 28672 1
>>> pl2303 20480 0
>>> dvb_usb_v2 28672 1 dvb_usb_rtl28xxu
>>> usbserial 36864 1 pl2303
>>> dvb_core 110592 2 dvb_usb_v2,rtl2832
>>> vc4 253952 3
>>> sg 28672 0
>>> bcm2835_codec 36864 0
>>> hid_logitech_dj 28672 0
>>> v4l2_mem2mem 36864 1 bcm2835_codec
>>> cec 49152 1 vc4
>>> btusb 49152 0
>>> btrtl 16384 1 btusb
>>> btintel 24576 1 btusb
>>> btbcm 16384 1 btusb
>>> bluetooth 393216 43 btrtl,btintel,bnep,btbcm,rfcomm,btusb
>>> bcm2835_v4l2 40960 0
>>> bcm2835_isp 32768 0
>>> videobuf2_vmalloc 16384 2 rtl2832_sdr,bcm2835_v4l2
>>> bcm2835_mmal_vchiq 28672 3 bcm2835_isp,bcm2835_codec,bcm2835_v4l2
>>> videobuf2_dma_contig 20480 2 bcm2835_isp,bcm2835_codec
>>> videobuf2_memops 16384 2 videobuf2_dma_contig,videobuf2_vmalloc
>>> videobuf2_v4l2 32768 5
>>> bcm2835_isp,bcm2835_codec,rtl2832_sdr,bcm2835_v4l2,v4l2_mem2mem
>>> videobuf2_common 61440 6
>>> bcm2835_isp,bcm2835_codec,rtl2832_sdr,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
>>> videodev 249856 7
>>> bcm2835_isp,bcm2835_codec,videobuf2_common,rtl2832_sdr,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
>>> mc 45056 8
>>> bcm2835_isp,bcm2835_codec,videobuf2_common,videodev,dvb_core,dvb_usb_v2,v4l2_mem2mem,videobuf2_v4l2
>>> vc_sm_cma 32768 2 bcm2835_isp,bcm2835_mmal_vchiq
>>> ecdh_generic 16384 2 bluetooth
>>> ecc 40960 1 ecdh_generic
>>> rfkill 32768 6 bluetooth,cfg80211
>>> drm_kms_helper 241664 3 vc4
>>> drm 520192 10 v3d,vc4,gpu_sched,drm_kms_helper
>>> rpivid_mem 16384 0
>>> drm_panel_orientation_quirks 16384 1 drm
>>> snd_soc_core 225280 4
>>> snd_soc_wm8731,vc4,snd_soc_bcm2835_i2s,snd_soc_audioinjector_pi_soundcard
>>> snd_compress 20480 1 snd_soc_core
>>> snd_pcm_dmaengine 16384 1 snd_soc_core
>>> snd_pcm 106496 9
>>> snd_soc_wm8731,snd_compress,vc4,snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_soc_core,snd_soc_audioinjector_pi_soundcard
>>> snd_timer 32768 1 snd_pcm
>>> snd 77824 11
>>> snd_soc_wm8731,snd_compress,snd_timer,snd_soc_core,snd_pcm
>>> syscopyarea 16384 1 drm_kms_helper
>>> sysfillrect 16384 1 drm_kms_helper
>>> sysimgblt 16384 1 drm_kms_helper
>>> w1_gpio 16384 0
>>> fb_sys_fops 16384 1 drm_kms_helper
>>> wire 36864 1 w1_gpio
>>> rpi_backlight 16384 0
>>> backlight 20480 2 rpi_backlight,drm
>>> nvmem_rmem 16384 0
>>> cn 16384 1 wire
>>> uio_pdrv_genirq 16384 0
>>> uio 20480 1 uio_pdrv_genirq
>>> i2c_dev 20480 0
>>> ip_tables 28672 0
>>> x_tables 32768 1 ip_tables
>>> ipv6 495616 46
>>> pi at rpi4b1:~ $
>>>
>>> here is /boot/config.txt:
>>>
>>> cat /boot/config.txt
>>> # For more options and information see
>>> # http://rpf.io/configtxt
>>> # Some settings may impact device functionality. See link above for
>>> details
>>>
>>> # uncomment if you get no picture on HDMI for a default "safe" mode
>>> #hdmi_safe=1
>>>
>>> # uncomment this if your display has a black border of unused pixels
>>> visible
>>> # and your display can output without overscan
>>> #disable_overscan=1
>>>
>>> # uncomment the following to adjust overscan. Use positive numbers
>>> if console
>>> # goes off screen, and negative if there is too much border
>>> #overscan_left=16
>>> #overscan_right=16
>>> #overscan_top=16
>>> #overscan_bottom=16
>>>
>>> # uncomment to force a console size. By default it will be display's
>>> size minus
>>> # overscan.
>>> #framebuffer_width=1280
>>> #framebuffer_height=720
>>>
>>> # uncomment if hdmi display is not detected and composite is being
>>> output
>>> #hdmi_force_hotplug=1
>>>
>>> # uncomment to force a specific HDMI mode (this will force VGA)
>>> #hdmi_group=1
>>> #hdmi_mode=1
>>>
>>> # uncomment to force a HDMI mode rather than DVI. This can make
>>> audio work in
>>> # DMT (computer monitor) modes
>>> #hdmi_drive=2
>>>
>>> # uncomment to increase signal to HDMI, if you have interference,
>>> blanking, or
>>> # no display
>>> #config_hdmi_boost=4
>>>
>>> # uncomment for composite PAL
>>> #sdtv_mode=2
>>>
>>> #uncomment to overclock the arm. 700 MHz is the default.
>>> #arm_freq=800
>>>
>>> # 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=off
>>> dtoverlay=disable-bt
>>> disable_splash=1
>>> dtoverlay=vc4-fkms-v3d
>>>
>>> [pi3]
>>> gpu_mem=256
>>> max_framebuffers=1
>>>
>>> [pi3+]
>>> gpu_mem=256
>>> max_framebuffers=1
>>>
>>> [pi4]
>>> max_framebuffers=2
>>> start_x=1
>>> enable_uart=1
>>> dtoverlay=w1-gpio
>>> # enable the AudioInjector.net sound card
>>> dtoverlay=audioinjector-wm8731-audio
>>>
>>> # enable safe shutdown trigger by gpio
>>> dtoverlay=gpio-shutdown
>>>
>>> Here?s a thought. I recently added the last line to
>>> /boot/config.txt - code: < dtoverlay=gpio-shutdown > to allow a
>>> soft shutdown of the raspberrypi4 with a trigger on pin 5 (GPIO 3)
>>> from the vehicle ignition switch. Is it possible that interferes
>>> with the AudioInjector Zero?s connection to the rpi via gpio?
>>>
>>> I have uninstalled pulseaudio and uninstalled alsa-common (and
>>> others alsa-related) and reinstalled each alternately with no
>>> change. I uninstalled pulseaudio and made sure all the proper
>>> settings were made in alsamixer, still no sound. It does, in fact,
>>> look like the pulseaudio issue, except that without pulseaudio I
>>> still get no output.
>>>
>>> A related issue is that OpenAuto Pro requires pulseaudio. Without
>>> it, I get no audio controls (volume in particular) in OAP. OAP made
>>> that change when Raspberrypi.org <http://raspberrypi.org/> went to
>>> pulseaudio. If the AI zero will not function with pulseaudio, I may
>>> have to find another sound card for my OAP and move my AI zero to
>>> another project.
>>>
>>> Tony
>>>
>>>> On Mar 20, 2021, at 6:00 AM, people-request at lists.audioinjector.net
>>>> wrote:
>>>>
>>>> Send People mailing list submissions to
>>>> people at lists.audioinjector.net
>>>>
>>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>> https://lists.audioinjector.net/mailman/listinfo/people
>>>> or, via email, send a message with subject or body 'help' to
>>>> people-request at lists.audioinjector.net
>>>>
>>>> You can reach the person managing the list at
>>>> people-owner at lists.audioinjector.net
>>>>
>>>> When replying, please edit your Subject line so it is more specific
>>>> than "Re: Contents of People digest..."
>>>>
>>>>
>>>> Today's Topics:
>>>>
>>>> 1. AudioInjector Zero no longer being recognized by raspberrypi
>>>> 4 (Tony Henrie)
>>>> 2. Re: AudioInjector Zero no longer being recognized by
>>>> raspberrypi 4 (Matt)
>>>>
>>>>
>>>> ----------------------------------------------------------------------
>>>>
>>>> Message: 1
>>>> Date: Fri, 19 Mar 2021 20:05:39 -0600
>>>> From: Tony Henrie <tthenrie at yahoo.com>
>>>> To: people at lists.audioinjector.net
>>>> Subject: [AudioI] AudioInjector Zero no longer being recognized by
>>>> raspberrypi 4
>>>> Message-ID: <6C027A10-7DEF-468B-9E43-304DF546D004 at yahoo.com>
>>>> Content-Type: text/plain; charset="utf-8"
>>>>
>>>> I just read another very recent thread (02/21/21?) that appears to
>>>> have the same issue I have.
>>>>
>>>> I have a AI zero installed on a raspberrypi4B with OpenAuto Pro
>>>> installed on Raspbian. I recently re-installed the latest OAP
>>>> version, starting from scratch, and updated everything, did the
>>>> AudioInjector shell install and everything was working fine. I just
>>>> did another update of raspbian - sudo apt update and sudo apt
>>>> full-upgrade, this evening (03/19/21) and suddenly my soundcard is
>>>> no longer showing up. Your response to the other email indicated an
>>>> issue with Pulseaudio. I don?t believe this is the issue (but I may
>>>> be wrong) because it was working just fine a few days ago
>>>> (Raspberrypi.org <http://raspberrypi.org/> went to pulseaudio by
>>>> default some time ago). Now, after the recent update my card
>>>> doesn?t show up. It is installed correctly. I re-ran the setup
>>>> script this evening when I discovered my AIZ wasn?t outputting. I
>>>> can see that my iphone is connected via bluetooth to the rpi and
>>>> that it is registering sound input, but there is ?no output device?.
>>>>
>>>> I am familiar with linux, but not adept. where should I start to
>>>> debug? Alsamixer indicates "there are no controls for this device?
>>>> and no sound device shows under ?F6?.
>>>>
>>>> Tony Henrie
>>>> -------------- next part --------------
>>>> An HTML attachment was scrubbed...
>>>> URL:
>>>> <https://lists.audioinjector.net/pipermail/people/attachments/20210319/083159d9/attachment-0001.htm>
>>>>
>>>> ------------------------------
>>>>
>>>> Message: 2
>>>> Date: Sat, 20 Mar 2021 13:24:44 +1100
>>>> From: Matt <matt at audioinjector.net>
>>>> To: people at lists.audioinjector.net
>>>> Subject: Re: [AudioI] AudioInjector Zero no longer being recognized by
>>>> raspberrypi 4
>>>> Message-ID: <2f554ab1-d348-402c-b940-4b307abf5e14 at audioinjector.net>
>>>> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>>>>
>>>> Hi Tony,
>>>>
>>>> This certainly sounds like the pulseaudio problem. What does the
>>>> following command output ?
>>>>
>>>> cat /proc/asound/cards
>>>>
>>>> Matt
>>>>
>>>> On 20/3/21 1:05 pm, Tony Henrie via People wrote:
>>>>> I just read another very recent thread (02/21/21?) that appears to
>>>>> have the same issue I have.
>>>>>
>>>>> I have a AI zero installed on a raspberrypi4B with OpenAuto Pro
>>>>> installed on Raspbian. I recently re-installed the latest OAP
>>>>> version,
>>>>> starting from scratch, and updated everything, did the AudioInjector
>>>>> shell install and everything was working fine. I just did another
>>>>> update of raspbian - *sudo apt update*?and *sudo apt full-upgrade,
>>>>> *this evening (03/19/21)?and suddenly my soundcard is no longer
>>>>> showing up. Your response to the other email indicated an issue with
>>>>> Pulseaudio. I don?t believe this is the issue (but I may be wrong)
>>>>> because it was working just fine a few days ago (Raspberrypi.org
>>>>> <http://Raspberrypi.org>?went to pulseaudio by default some time
>>>>> ago).
>>>>> Now, after the recent update my card doesn?t show up. It is installed
>>>>> correctly. I re-ran the setup script this evening when I
>>>>> discovered my
>>>>> AIZ wasn?t outputting. I can see that my iphone is connected via
>>>>> bluetooth to the rpi and that it is registering sound input, but
>>>>> there
>>>>> is ?no output device?.
>>>>>
>>>>> I am familiar with linux, but not adept. where should I start to
>>>>> debug? Alsamixer indicates "there are no controls for this device?
>>>>> and
>>>>> no sound device shows under ?F6?.
>>>>>
>>>>> Tony Henrie
>>>>>
>>>> --
>>>> Join the community discussion forum :
>>>> https://lists.audioinjector.net/mailman/listinfo/people
>>>>
>>>> -------------- next part --------------
>>>> An HTML attachment was scrubbed...
>>>> URL:
>>>> <https://lists.audioinjector.net/pipermail/people/attachments/20210320/0ab9a7c3/attachment-0001.htm>
>>>>
>>>> ------------------------------
>>>>
>>>> Subject: Digest Footer
>>>>
>>>>
>>>> --
>>>> People mailing list
>>>> People at lists.audioinjector.net
>>>> https://lists.audioinjector.net/mailman/listinfo/people
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> End of People Digest, Vol 14, Issue 9
>>>> *************************************
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL:
>>> <https://lists.audioinjector.net/pipermail/people/attachments/20210320/4deae0f2/attachment.htm>
>>>
>>> ------------------------------
>>>
>>> Subject: Digest Footer
>>>
>>>
>>> --
>>> People mailing list
>>> People at lists.audioinjector.net
>>> https://lists.audioinjector.net/mailman/listinfo/people
>>>
>>>
>>> ------------------------------
>>>
>>> End of People Digest, Vol 14, Issue 10
>>> **************************************
>>
--
Checkout the community email list :
https://lists.audioinjector.net/mailman/listinfo/people
More information about the People
mailing list