With linux-rpi 5.15.23-1 kernel, Hifiberry DAC2 HD fails

Problems with packages? Post here, using [tags] of the package name.

With linux-rpi 5.15.23-1 kernel, Hifiberry DAC2 HD fails

Postby apastuszak » Thu Feb 17, 2022 1:26 am

I've been tinkering with this all day. I have a Raspberry Pi 4B with Arch Linux installed. I have a Hifiberry DAC2 HD, and with kernel 5.15.23, I cannot get the DAC2 HD to initialize.

My config.txt is:

$this->bbcode_second_pass_quote('', 'g')pu_mem=32
initramfs initramfs-linux.img followkernel
max_usb_current=1
disable_splash=1
disable_overscan=1
dtparam=krnbt=on
dtparam=i2s=on
force_eeprom_read=0
dtoverlay=hifiberry-dacplushd


When I do an aplay -l, I get the following

$this->bbcode_second_pass_quote('', 'a')play: device_list:274: no soundcards found...


I'm not sure the last time this worked, because I erased my SD card and started over, so I don't have my old kernel files around any more.
apastuszak
 
Posts: 9
Joined: Wed Feb 16, 2022 8:27 pm

Re: With linux-rpi 5.15.23-1 kernel, Hifiberry DAC2 HD fails

Postby graysky » Thu Feb 17, 2022 8:14 am

I believe we are shipping modules for all hifiberry stuff offered in the kernel. I did not see one specifically named "DAC2" though. Can you point me to a reference document spelling out which modules are needed for this hardware?
$this->bbcode_second_pass_code('', '
Location:
-> Device Drivers
-> Sound card support (SOUND [=y])
-> Advanced Linux Sound Architecture (SND [=m])
-> ALSA for SoC audio support (SND_SOC [=m])
...
<M> Support for HifiBerry DAC
<M> Support for HifiBerry DAC+
<M> Support for HifiBerry DAC+ HD
<M> Support for HifiBerry DAC+ADC
<M> Support for HifiBerry DAC+ADC PRO
<M> Support for HifiBerry DAC+DSP
<M> Support for HifiBerry Digi
<M> Support for the HifiBerry Amp
...
')
graysky
Developer
 
Posts: 1880
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: With linux-rpi 5.15.23-1 kernel, Hifiberry DAC2 HD fails

Postby apastuszak » Thu Feb 17, 2022 1:56 pm

Hifiberry's documentation says to use DAC+ HD:

https://www.hifiberry.com/blog/configur ... linux-5-4/

https://www.hifiberry.com/docs/software ... ux-3-18-x/

This does work in the 5.10 kernel.
apastuszak
 
Posts: 9
Joined: Wed Feb 16, 2022 8:27 pm

Re: With linux-rpi 5.15.23-1 kernel, Hifiberry DAC2 HD fails

Postby graysky » Thu Feb 17, 2022 8:07 pm

Please consider opening a ticket upsteam if you believe the hardware worked under rpi-5.10.y but not under rpi-5.15.y: https://github.com/raspberrypi/linux/issues/new/choose
graysky
Developer
 
Posts: 1880
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: With linux-rpi 5.15.23-1 kernel, Hifiberry DAC2 HD fails

Postby apastuszak » Thu Feb 17, 2022 9:04 pm

I installed Raspbian and used rpi-update to install the 5.15 kernel and the DAC 2 HD disappeared from the aplay list.

I opened an upstream bug.

https://github.com/raspberrypi/linux/issues/4898

Feel freed to review and tell me if I need to provide them with any additional details.
apastuszak
 
Posts: 9
Joined: Wed Feb 16, 2022 8:27 pm

Re: With linux-rpi 5.15.23-1 kernel, Hifiberry DAC2 HD fails

Postby graysky » Fri Feb 18, 2022 1:28 am

If you can confirm the bug on RPiOS + ArchARM, it is clearly upstream
graysky
Developer
 
Posts: 1880
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: With linux-rpi 5.15.23-1 kernel, Hifiberry DAC2 HD fails

Postby graysky » Wed Feb 23, 2022 2:57 pm

graysky
Developer
 
Posts: 1880
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: With linux-rpi 5.15.23-1 kernel, Hifiberry DAC2 HD fails

Postby apastuszak » Wed Feb 23, 2022 2:58 pm

I saw that this morning. Now we just need to wait for it to trickle down. Impressive, they got it done so quickly.
apastuszak
 
Posts: 9
Joined: Wed Feb 16, 2022 8:27 pm

Re: With linux-rpi 5.15.23-1 kernel, Hifiberry DAC2 HD fails

Postby graysky » Wed Feb 23, 2022 3:00 pm

$this->bbcode_second_pass_quote('apastuszak', 'I') saw that this morning. Now we just need to wait for it to trickle down. Impressive, they got it done so quickly.


I just bumped linux-rpi incorporating this. Try it when it hits your mirror and let me know if it fixed your problem.
graysky
Developer
 
Posts: 1880
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000
Top

Re: With linux-rpi 5.15.23-1 kernel, Hifiberry DAC2 HD fails

Postby apastuszak » Wed Feb 23, 2022 4:03 pm

I manually updated the overlay and it worked, once I I added the overlay to my config.txt.

In 5.10, the kernel automatically detected it and it just worked. In 5.15, I have to add:

$this->bbcode_second_pass_code('', 'force_eeprom_read=0
dtoverlay=hifiberry-dacplushd')

Then I reboot and the DAC2HD works.
apastuszak
 
Posts: 9
Joined: Wed Feb 16, 2022 8:27 pm

Next

Return to Packages

Who is online

Users browsing this forum: No registered users and 15 guests