no sound on unsupported chromebook

there is an unsupported and deleted chrome OS on an Gemini Lake chromebook now open to UEFI, thx to mr. chromebooks script:


kernel:
Code:
hdaa0: <Intel Gemini Lake Audio Function Group> at nid 1 on hdacc0
pcm0: <Intel Gemini Lake (HDMI/DP 8ch)> at nid 3 on hdaa0

dmesg | grep hda
hdac0: <Intel Gemini Lake HDA Controller> mem 0x9111c000-0x9111ffff,0x91000000-0x910fffff at device 14.0 on pc
i0
   0xffffffff81086170(0)... hdacc0: <Intel Gemini Lake HDA CODEC> at cad 2 on hdac0
hdaa0: <Intel Gemini Lake Audio Function Group> at nid 1 on hdacc0
pcm0: <Intel Gemini Lake (HDMI/DP 8ch)> at nid 3 on hdaa0

pciconf -lv | grep -B3 multimedia
hdac0@pci0:0:14:0:      class=0x040100 rev=0x06 hdr=0x00 vendor=0x8086 device=0x3198 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Intel Corporation'
    device     = 'Celeron/Pentium Silver Processor High Definition Audio'
    class      = multimedia

sound works with linux but not with windows, there are drivers for it for sale @ coolstar.org, but they ruin your whole doze until you can setup a new canary built, too.

Code:
pulseaudio -v:

W: [(null)] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseA
udio was built without capabilities support.
I: [(null)] core-util.c: Failed to acquire high-priority scheduling: Operation not supported
I: [(null)] main.c: This is PulseAudio 16.1
I: [(null)] main.c: Page size is 4096 bytes
I: [(null)] main.c: Machine ID is 7fc968a6848b40b087ae421848ffc7ec.
I: [(null)] main.c: Using runtime directory /var/run/user/1001/pulse.
I: [(null)] main.c: Using state directory /home/lizbeth/.config/pulse.
I: [(null)] main.c: Using modules directory /usr/local/lib/pulseaudio/modules.
I: [(null)] main.c: Running in system mode: no
I: [(null)] main.c: System supports high resolution timers
I: [(null)] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2  
I: [(null)] svolume_mmx.c: Initialising MMX optimized volume functions.
I: [(null)] remap_mmx.c: Initialising MMX optimized remappers.
I: [(null)] svolume_sse.c: Initialising SSE2 optimized volume functions.
I: [(null)] remap_sse.c: Initialising SSE2 optimized remappers.
I: [(null)] sconv_sse.c: Initialising SSE2 optimized conversions.
I: [(null)] svolume_orc.c: Initialising ORC optimized volume functions.
E: [(null)] main.c: Daemon startup without any loaded modules, refusing to work.
I: [(null)] main.c: Daemon terminated.

First I built audio/pulseaudio myself, but it didn't help. I tried an old patch @, but it didn't work (should already be integrated in source). I see to build a new world? but it's a rather a new CURRENT-15 image - there's now way back to stock!
Code:
uname -a:
FreeBSD FreeBSD15 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n266298-ecf710f0e04e: Tue Nov  7 14:01:53 CET 2023     root@FreeBSD15:/usr/obj/usr/src/amd64.amd64/sys/COVERAGE amd64
I enabled the COVERAGE things but disabled the WITNESS function and the whole debugger by building it. VERBOSE_SYSINIT=2 for a brighthter startup!

There's load_snd_driver="YES" and load_hda="YES" in /boot/loader.conf

Is there a way to beat doze?

Regards,
Liz
 
Code:
uname -a:
FreeBSD FreeBSD15 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n266298-ecf710f0e04e: Tue Nov 7 14:01:53 CET 2023 root@FreeBSD15:/usr/obj/usr/src/amd64.amd64/sys/COVERAGE amd64
 
there is an unsupported and deleted chrome OS on an Gemini Lake chromebook now open to UEFI, thx to mr. chromebooks script:


kernel:
Code:
hdaa0: <Intel Gemini Lake Audio Function Group> at nid 1 on hdacc0
pcm0: <Intel Gemini Lake (HDMI/DP 8ch)> at nid 3 on hdaa0

dmesg | grep hda
hdac0: <Intel Gemini Lake HDA Controller> mem 0x9111c000-0x9111ffff,0x91000000-0x910fffff at device 14.0 on pc
i0
   0xffffffff81086170(0)... hdacc0: <Intel Gemini Lake HDA CODEC> at cad 2 on hdac0
hdaa0: <Intel Gemini Lake Audio Function Group> at nid 1 on hdacc0
pcm0: <Intel Gemini Lake (HDMI/DP 8ch)> at nid 3 on hdaa0

pciconf -lv | grep -B3 multimedia
hdac0@pci0:0:14:0:      class=0x040100 rev=0x06 hdr=0x00 vendor=0x8086 device=0x3198 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Intel Corporation'
    device     = 'Celeron/Pentium Silver Processor High Definition Audio'
    class      = multimedia

sound works with linux but not with windows, there are drivers for it for sale @ coolstar.org, but they ruin your whole doze until you can setup a new canary built, too.

Code:
pulseaudio -v:

W: [(null)] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseA
udio was built without capabilities support.
I: [(null)] core-util.c: Failed to acquire high-priority scheduling: Operation not supported
I: [(null)] main.c: This is PulseAudio 16.1
I: [(null)] main.c: Page size is 4096 bytes
I: [(null)] main.c: Machine ID is 7fc968a6848b40b087ae421848ffc7ec.
I: [(null)] main.c: Using runtime directory /var/run/user/1001/pulse.
I: [(null)] main.c: Using state directory /home/lizbeth/.config/pulse.
I: [(null)] main.c: Using modules directory /usr/local/lib/pulseaudio/modules.
I: [(null)] main.c: Running in system mode: no
I: [(null)] main.c: System supports high resolution timers
I: [(null)] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 
I: [(null)] svolume_mmx.c: Initialising MMX optimized volume functions.
I: [(null)] remap_mmx.c: Initialising MMX optimized remappers.
I: [(null)] svolume_sse.c: Initialising SSE2 optimized volume functions.
I: [(null)] remap_sse.c: Initialising SSE2 optimized remappers.
I: [(null)] sconv_sse.c: Initialising SSE2 optimized conversions.
I: [(null)] svolume_orc.c: Initialising ORC optimized volume functions.
E: [(null)] main.c: Daemon startup without any loaded modules, refusing to work.
I: [(null)] main.c: Daemon terminated.

First I built audio/pulseaudio myself, but it didn't help. I tried an old patch @, but it didn't work (should already be integrated in source). I see to build a new world? but it's a rather a new CURRENT-15 image - there's now way back to stock!
Code:
uname -a:
FreeBSD FreeBSD15 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n266298-ecf710f0e04e: Tue Nov  7 14:01:53 CET 2023     root@FreeBSD15:/usr/obj/usr/src/amd64.amd64/sys/COVERAGE amd64
I enabled the COVERAGE things but disabled the WITNESS function and the whole debugger by building it. VERBOSE_SYSINIT=2 for a brighthter startup!

There's load_snd_driver="YES" and load_hda="YES" in /boot/loader.conf

Is there a way to beat doze?

Regards,
Liz
Sound won't work period. I have a hp chromebook x360 14c and I also use uefi because of Mr Chromebox I run all distros of Linux and sound works. Yet freebsd it won't work. I talked to the discord people for chromebooks especially the guy who does the sound on Chromebooks and he literally said he has no interest in freebsd.

I've bought USB dongle and headphone/mic combo and sound works that way. I think that is the only option. My Chromebook is running 14.0-RELEASE and is my daily driver.
 
Same here, linux works audio but FreeBSD shows already the output on detail but stays silent. She’s a Silent Queen. Have a box to put into USB-soundcard with jack out, works!

Doze isn’t further but they want 10 bucks for the driver which ruins your canary.
 
Same here, linux works audio but FreeBSD shows already the output on detail but stays silent. She’s a Silent Queen. Have a box to put into USB-soundcard with jack out, works!

Doze isn’t further but they want 10 bucks for the driver which ruins your canary.
Yea I tried windows on the CB and had to pay $10 and it works fine. I hope freebsd will eventually get the sof-firmware
 
For me it ruined the system, the next boot was a boot to blue screen or whatever it called now, had to setup again. Important to out the sd outta, because do$e tries to make a partition - the first primary- on every device it finds. This is to be avoided! … although the SOF drivers for touchpad work fine.
 
You could it be that the output is muted by chance?

You can see it with mixer on what your values are.
Since we are both on Chromebook i might as well jump in also.

Code:
joe@freebsd:~ $ mixer
pcm0:mixer: <Intel Kaby Lake (HDMI/DP 8ch)> on hdaa0  (play) (default)
    vol       = 1.00:1.00     pbk
    pcm       = 1.00:1.00     pbk

Does that help at all ? i have nothing under /dev/sndstat except this

Code:
joe@freebsd:~ $ cat /dev/sndstat 
Installed devices:
pcm0: <Intel Kaby Lake (HDMI/DP 8ch)> (play) default
No devices installed from userspace.

If that helps i hope it does. I have an acer and another laptop that sound and microphone worked right out of the box. its just this chromebook

Thanks
 
I think this is really the modified Chromebook, but of course I tried the mixer and different sound plugins than pulseaudio, like sndio(d), but non worked. The data jb1277976 provided match with mine.
 
You could it be that the output is muted by chance?

You can see it with mixer on what your values are.
I've made some progress.

I followed this post And I'm on 13.2-STABLE I have audio through my hdmi now but I'm still trying to get it through my speakers if i can.

Here is sysctl -a |grep hda https://termbin.com/x2l9

Code:
joe@freebsd:~ $ mixer
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to 100:100

Any help is appreciated. We are almost there.
 
it`s different with 0 and 1; 0 means tx,proc; 1 means, rx; proc means ==.
I'm putting my Chromebook to the side for a little while. I'm going to keep researching on another laptop for now and if something comes up i will try it. I'm losing my mind over here LOL , This other laptop is on 13.2-RELEASE will just stay and help out on the forums, irc and discord for now
 
Back
Top