Chromebook to LM 20.1: sound set to HDMI

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
jackthelad430
Level 1
Level 1
Posts: 11
Joined: Sat Apr 17, 2021 2:43 pm

Chromebook to LM 20.1: sound set to HDMI

Post by jackthelad430 »

Hi, I am a newbie here and before you all sound off saying this topic has been done to death, I _seem_ to have a new twist on it which if you will permit me, I wiil explain.

After much, much searching on search engines and much typing in the terminal to no effect, I did a clean install and tried again ending up on the "itsfoss.com" website. This suggested to do aplay -l and then edit the asound.conf file to add a couple of lines with my card. the problem is my card shows as Audio (*)

(a big) IF I am reading it right !

I am listing the aplay output below:

jackthelad430@turtle:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: chtmax98090 [chtmax98090], device 0: Audio (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: chtmax98090 [chtmax98090], device 1: Deep-Buffer Audio (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0

I assume this means my audio device is not recognized????? Is there any other way to a) find my audio device ( on an Acer CB3-111-C9K2) and am I on the right track to get sound?

jackthelad430
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
jackthelad430
Level 1
Level 1
Posts: 11
Joined: Sat Apr 17, 2021 2:43 pm

Re: Chromebook to LM 20.1: sound set to HDMI

Post by jackthelad430 »

I am still trying to get audio to work . I have tried running pulseaudio --system in terminal and came up with this:

E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="platform-cht-bsw-max98090" card_name="alsa_card.platform-cht-bsw-max98090" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.

Is this just pretty much the same as the aplay output or new data?

How does a newbie create a working profile?

JTL
User avatar
jackthelad430
Level 1
Level 1
Posts: 11
Joined: Sat Apr 17, 2021 2:43 pm

Re: Chromebook to LM 20.1: sound set to HDMI

Post by jackthelad430 »

Ok, so 'pacmd list-cards' shows the intel HDA but only with profiles for HDMI. So...... how do I create a profile for internal speakers and headphones? Ideally with an automatic switch between the two.
(it's index 1 because I am currently using a USB sound card as a work around which shows up as Index 0)
(could I just copy and paste the profile from this working USB sound card ?.... always assuming I new enough about linux to know where the dot dot dot profiles are stored; which I don't)

JTL



index: 1
name: <alsa_card.pci-0000_00_1b.0>
driver: <module-alsa-card.c>
owner module: 8
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xd0714000 irq 90"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0f04"
device.product.name = "Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
off: Off (priority 0, available: unknown)
active profile: <off>
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"

index: 1
name: <alsa_card.pci-0000_00_1b.0>
driver: <module-alsa-card.c>
owner module: 8
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xd0714000 irq 90"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0f04"
device.product.name = "Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
off: Off (priority 0, available: unknown)
active profile: <off>
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
User avatar
jackthelad430
Level 1
Level 1
Posts: 11
Joined: Sat Apr 17, 2021 2:43 pm

Re: Chromebook to LM 20.1: sound set to HDMI

Post by jackthelad430 »

Hmm, I saw that the Alsa card name is 'HDA Intel PCH' and found alsa cards in USR/Share/alsa/cards which has HDA-Intel.conf but not HDA_Intel-PCM.conf. I tried copying and saving HDA_Intel as HDA-Intel-PCM but it did not help. Oh well back to the drawing board..... unless anyone feels like pointing me in the correct direction...Anyone?

At least I am learning a lot more about the inner workings of LM, more than I ever thought I would need. I am currently going down a rabbit hole thinking it might be something to do with alsa misidentifying the ICH version and loading the wrong file but you know what happened to Alice went she went down a rabbit hole.

JTL
User avatar
jackthelad430
Level 1
Level 1
Posts: 11
Joined: Sat Apr 17, 2021 2:43 pm

Re: Chromebook to LM 20.1: sound set to HDMI

Post by jackthelad430 »

(I think I have finally got somewhere! But it is the end of the road for me.
I have found that usr/share/alsa/ucm2/codecs/hda only has an hdmi.conf file whereas all the others have multiple files. Presumably this is why only hdmi profiles show. However since I am not a coder and do not have a clue how to make a .conf file for analogue speakers and headphones, this is the end.

My only niggling worry is that I accidentally connect my bluetooth headset to the laptop and they worked. Now why is that? Are my presumptions wrong yet again.)

EDIT

Scratch all of the above. I finally found a page on reddit (not a place I usually go anywhere near) about installing linux on old chromebooks. It seem that my sound card is CHTmax98090 and it is no longer supported in linux. Full stop! So a new kernal would need to be developed around it which is way out of my league. The workarounds mentioned are the ones that I have already found; ie bluetooth or a usb sound card.

Ah well, that's that:

CASE CLOSED-UNRESOLVED

JTL
Locked

Return to “Hardware Support”