Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] HDMI Audio: Lubuntu has, Debian doesn't?

Need help with peripherals or devices?
Post Reply
Message
Author
edtguy
Posts: 5
Joined: 2018-02-06 02:59

[SOLVED] HDMI Audio: Lubuntu has, Debian doesn't?

#1 Post by edtguy »

I'm trying to understand why the output of aplay -l shows two cards for Lubuntu on a LattePanda 4Gb/64Gb, but only one card for Debian on a LattePanda 2Gb/32Gb.
I've installed Debian on the LattePanda 2Gb/32Gb from debian-9.3.0-amd64-i386-netinst.iso because it appears to be the only distro that installs on that device.
With both devices, I have an Element HD TV connected to the hdmi port of the device. The video is working fine for both.
The output of aplay -l for Lubuntu shows the following:

**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 2: chtrt5645 [chtrt5645], device 0: 3 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: chtrt5645 [chtrt5645], device 1: Deep-Buffer Audio (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0

The output for Debian only shows the chtrt5645 card.

Any clues how to make the other card appear?
Last edited by edtguy on 2018-02-09 16:27, edited 1 time in total.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: HDMI Audio: What does Lubuntu have that Debian doesn't?

#2 Post by stevepusser »

The Science! demands that you test on the same device...see what Debian reports on the 4GB Latte that you have Lubuntu installed on.
MX Linux packager and developer

User avatar
smoki
Posts: 146
Joined: 2011-08-03 05:04
Location: Srbija, kude snajka posvađa dva sina

Re: HDMI Audio: What does Lubuntu have that Debian doesn't?

#3 Post by smoki »

edtguy wrote: Any clues how to make the other card appear?
Support for that was added a year ago via HDMI_LPE_AUDIO:

https://patchwork.kernel.org/patch/9470077/

https://git.kernel.org/pub/scm/linux/ke ... /sound/x86

Further stabilised up to the middle of last year, blah blah :D So make sure your kernel have HDMI_LPE_AUDIO enabled:

Also for alsa, this is where conf is added:
conf: Add card config for Intel HDMI/DP LPE audio
http://alsa-project.org/main/index.php/ ... 1.3_v1.1.4
https://patchwork.kernel.org/patch/9561057/

Basically bump kernel and alsa (or just patch existent alsa version with a conf or put a conf in a directory or you know what :D) and it should be setuped fine.

You can browse on https://www.kernel.org/ and see path 'sound/x86' is there for kernel 4.14 and up, but for 4.9 it isn't there... which means it was added somewhere in between (to be stright that was there since 4.11 https://kernelnewbies.org/Linux_4.11)... simply said - newer kernel is needed if you want that to appear, so try 4.14 kernel from backports repo ;)

edtguy
Posts: 5
Joined: 2018-02-06 02:59

Re: HDMI Audio: What does Lubuntu have that Debian doesn't?

#4 Post by edtguy »

smoki wrote:simply said - newer kernel is needed if you want that to appear, so try 4.14 kernel from backports repo ;)
D'oh! I had a typo in sources.list for the backports, so only saw kernels up to 4.9.0-5
Thank you! I corrected the typo, installed 4.14, and now have hdmi sound.
Cheers,
Ed

Post Reply