Official touchscreen display and ALSA error - archat68 - 01-25-2023
I'm running moode 8.2.4 on a Rpi 4. It is working fine as a headless server. Today I installed the official Raspberry pi 7inch display which works fine but whenever I boot with the display enabled I get error playing music "" Failed to open ALSA default. Failed to open alsa device "audio out" no such file or directory.
The problem vanishes if I reboot with the display disconnected or local display turned off.
The screenshot is attached.
Please help.
RE: Official touchscreen display and ALSA error - Tim Curtis - 01-25-2023
What audio device are u using?
RE: Official touchscreen display and ALSA error - archat68 - 01-25-2023
Topping D10 balanced and that is recognised correctly.
RE: Official touchscreen display and ALSA error - Tim Curtis - 01-25-2023
The symptom "Failed to open ALSA default. Failed to open alsa device "audio out" no such file or directory" suggests that Linux is not seeing the USB audio device.
When the error occurs post output from the commands below.
RE: Official touchscreen display and ALSA error - archat68 - 01-25-2023
Code: lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 152a:8750 Thesycon Systemsoftware & Consulting GmbH D10 Balanced
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Quote:Quote:Code: aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: Balanced [D10 Balanced], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Here is the output as requested.
RE: Official touchscreen display and ALSA error - Nutul - 01-25-2023
(01-25-2023, 02:37 PM)archat68 Wrote: Code: lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 152a:8750 Thesycon Systemsoftware & Consulting GmbH D10 Balanced
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Quote:Quote:Code: aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: Balanced [D10 Balanced], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Here is the output as requested.
Could it be that activating the local display causes more current to be pulled in?
RE: Official touchscreen display and ALSA error - archat68 - 01-25-2023
(01-25-2023, 04:06 PM)Nutul Wrote: (01-25-2023, 02:37 PM)archat68 Wrote: Code: lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 152a:8750 Thesycon Systemsoftware & Consulting GmbH D10 Balanced
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Quote:Quote:Code: aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: Balanced [D10 Balanced], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Here is the output as requested.
Could it be that activating the local display causes more current to be pulled in?
No I already ruled that out by powering the display by the separate usb power supply.
RE: Official touchscreen display and ALSA error - Nutul - 01-25-2023
Those results of lsusb and aplay, are WITHOUT the display connected, right?
RE: Official touchscreen display and ALSA error - Tim Curtis - 01-25-2023
(01-25-2023, 02:37 PM)archat68 Wrote: Code: lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 152a:8750 Thesycon Systemsoftware & Consulting GmbH D10 Balanced
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Quote:Quote:Code: aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: Balanced [D10 Balanced], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Here is the output as requested.
Looks OK but I'll need to run a test on my pi-touch connected to a USB DAC.
Btw, is the HDMI port Off in System Config?
RE: Official touchscreen display and ALSA error - Tim Curtis - 01-25-2023
I just ran a quick test with a Revolution USB DAC + Pi-3B + Pi Touch and did not experience any issues in audio playback with Local display On or Off.
|