[SOLVED] External HDMI Audio device not listed

New to Debian (Or Linux in general)? Ask your questions here!

[SOLVED] External HDMI Audio device not listed

Postby edtguy » 2018-02-06 03:25

Hello,
Does anyone know how to expose an HD TV to Debian as an HDMI audio destination (aka sink)?
I am trying to get a LattePanda 2GB/32Gb with Debian 9 to recognize and list an external Element 48" HD TV as an audio sink, so far with no luck. It is recognized for the video monitor and displays HTML5 <video> with no problem.
Before wiping out Windows 10 from the LattePanda, both audio and video played on the TV from Windows 10.
Several other devices, LattePanda 4Gb/64Gb with Lubuntu, Intel CompuStick with Lubuntu and Rasberry Pi with Raspbian, send both audio and video to the TV after some fiddling with aplay, xrandr and pavucontrol.
Neither aplay or pavucontrol even list HDMI as an option on this device.
Anything I've googled so far, e.g. modifying various config files, are referencing NVidia card issues, which is not my case.
If you have any suggestions and need me to run any utilities and post the results, please let me know. Thanks.
Last edited by edtguy on 2018-02-09 16:36, edited 1 time in total.
edtguy
 
Posts: 5
Joined: 2018-02-06 02:59

Re: External HDMI Audio device not listed

Postby dilberts_left_nut » 2018-02-06 03:45

edtguy wrote:Anything I've googled so far, e.g. modifying various config files, are referencing NVidia card issues, which is not my case.

So, what IS your case?
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4886
Joined: 2009-10-05 07:54
Location: enzed

Re: External HDMI Audio device not listed

Postby edtguy » 2018-02-06 13:56

dilberts_left_nut wrote:So, what IS your case?


My apologies if I was not clear that the LattePanda does NOT have an NVidia card.
I did not have access to the device last night, to list some of the relevant output, showing no reference to the HDMI device.

Here is some of that output

Output from lspci:
Code: Select all
00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 36)
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers (rev 36)
00:03.0 Multimedia controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Imaging Unit (rev 36)
00:0b.0 Signal processing controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller (rev 36)
00:11.0 SD Host controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SDIO Controller (rev 36)
00:14.0 USB controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller (rev 36)
00:1a.0 Encryption controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine (rev 36)
00:1f.0 ISA bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU (rev 36)


Output from pacmd list-sinks:
Code: Select all
1 sink(s) available.
  * index: 0
   name: <alsa_output.platform-cht-bsw-rt5645.HiFi__hw_chtrt5645_0__sink>
   driver: <module-alsa-card.c>
   flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
   state: SUSPENDED
   suspend cause: IDLE
   priority: 9000
   volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
           balance 0.00
   base volume: 65536 / 100% / 0.00 dB
   volume steps: 65537
   muted: no
   current latency: 0.00 ms
   max request: 0 KiB
   max rewind: 0 KiB
   monitor source: 1
   sample spec: s16le 2ch 48000Hz
   channel map: front-left,front-right
                Stereo
   used by: 0
   linked by: 0
   configured latency: 0.00 ms; range is 0.50 .. 4000.00 ms
   card: 1 <alsa_card.platform-cht-bsw-rt5645>
   module: 7
   properties:
      alsa.resolution_bits = "16"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = ""
      alsa.id = "Audio (*)"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "0"
      alsa.card = "0"
      alsa.card_name = "chtrt5645"
      alsa.long_card_name = "chtrt5645"
      alsa.driver_name = "snd_soc_sst_cht_bsw_rt5645"
      device.bus_path = "platform-cht-bsw-rt5645"
      sysfs.path = "/devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card0"
      device.string = "hw:chtrt5645,0"
      device.buffering.buffer_size = "768000"
      device.buffering.fragment_size = "384000"
      device.access_mode = "mmap+timer"
      device.profile.name = "HiFi: hw:chtrt5645,0: sink"
      device.profile.description = "Headphones + Speaker"
      device.description = "chtrt5645 Headphones + Speaker"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card"
   ports:
      [Out] Headphone: Headphones (priority 100, latency offset 0 usec, available: yes)
         properties:
            
      [Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: no)
         properties:
            
   active port: <[Out] Headphone>


Output from aplay -l:
Code: Select all
**** List of PLAYBACK Hardware Devices ****
card 0: chtrt5645 [chtrt5645], device 0: Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: chtrt5645 [chtrt5645], device 1: Deep-Buffer Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Output from aplay -L:
Code: Select all
default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=chtrt5645
    chtrt5645,
    Default Audio Device
dmix:CARD=chtrt5645,DEV=0
    chtrt5645,
    Direct sample mixing device
dmix:CARD=chtrt5645,DEV=1
    chtrt5645,
    Direct sample mixing device
dsnoop:CARD=chtrt5645,DEV=0
    chtrt5645,
    Direct sample snooping device
dsnoop:CARD=chtrt5645,DEV=1
    chtrt5645,
    Direct sample snooping device
hw:CARD=chtrt5645,DEV=0
    chtrt5645,
    Direct hardware device without any conversions
hw:CARD=chtrt5645,DEV=1
    chtrt5645,
    Direct hardware device without any conversions
plughw:CARD=chtrt5645,DEV=0
    chtrt5645,
    Hardware device with all software conversions
plughw:CARD=chtrt5645,DEV=1
    chtrt5645,
    Hardware device with all software conversions
edtguy
 
Posts: 5
Joined: 2018-02-06 02:59

Re: External HDMI Audio device not listed

Postby edtguy » 2018-02-09 16:35

My issue was that I had a typo in my /etc/apt/sources.list for backports that was preventing me from seeing kernels later than 4.9. It should have been
Code: Select all
deb http://ftp.debian.org/debian stretch-backports main

After correcting the typo, I could see the newer kernels
Code: Select all
apt-cache search linux-image

After installing 4.14, hdmi audio is now accessible.
edtguy
 
Posts: 5
Joined: 2018-02-06 02:59


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable