[SOLVED] No sound Chromebook pixel 2015 LS (used to work)

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
linuxbootsamus
Level 1
Level 1
Posts: 27
Joined: Tue Apr 21, 2020 9:23 pm

Re: No sound Chromebook pixel 2015 LS (used to work)

Post by linuxbootsamus »

MrEen wrote:
Sun Apr 26, 2020 2:07 am
I'm really sorry, but it's looking like this is a no go.

Just in case, try this now:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
The last line will be a termin.com URL that points to your complete sound setup.

I have to head to bed now, but will look through it tomorrow to see if I spot anything unusual.
There is a lot in that URL I will have to look better.

Code: Select all

kegan@kegan-Samus:~$ curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2039  100  2039    0     0   5776      0 --:--:-- --:--:-- --:--:--  5792
lsof: WARNING: can't stat() ext4 file system /media/root/809385d8-2fd4-4ef4-ad50-143f7a86143a
      Output information may be incomplete.
cat: '/sys/module/snd_soc_sst_bdw_rt5677_mach/parameters/*': No such file or directory
https://termbin.com/701x
just in case you want to look at the URL as well. thank you for your help. I will check tomorrow,

linuxbootsamus
Level 1
Level 1
Posts: 27
Joined: Tue Apr 21, 2020 9:23 pm

Re: No sound Chromebook pixel 2015 LS (used to work)

Post by linuxbootsamus »

I restarted and it works now!!!

not sure what the restart did to fix it after we made the changes but all is good now! not sure if the mic or headphones work but I am going to try that tomorrow.

marked as solved though, well-done sir!

User avatar
MrEen
Level 20
Level 20
Posts: 10680
Joined: Mon Jun 12, 2017 8:39 pm

Re: [SOLVED] No sound Chromebook pixel 2015 LS (used to work)

Post by MrEen »

Holy Sheesh!

I wouldn't have thought a reboot would have made a difference.

For headhphone and mic, you may need to run these lines:

Code: Select all

amixer -c $CARD cset name='Speaker Switch' off
amixer -c 1 cset name='Stereo DAC MIXL DAC1 R Switch' off
amixer -c 1 cset name='Stereo DAC MIXR DAC1 L Switch' off
amixer -c 1 cset name='Stereo DAC MIXL DAC1 L Switch' on
amixer -c 1 cset name='Stereo DAC MIXR DAC1 R Switch' on
amixer -c 1 cset name='OUT1 Playback Switch' on
amixer -c 1 cset name='OUT2 Playback Switch' on
amixer -c 1 cset name='Headphone Switch' on

Code: Select all

amixer -c $CARD cset name='Sto1 ADC MIXL ADC1 Switch' off
amixer -c 1 cset name='Sto1 ADC MIXR ADC1 Switch' off
amixer -c 1 cset name='Headset Mic Switch' off
amixer -c 1 cset name='IF1 ADC1 Swap Mux' L/R
amixer -c 1 cset name='Sto1 ADC MIXL ADC2 Switch' on
amixer -c 1 cset name='Sto1 ADC MIXL ADC2 Switch' on
amixer -c 1 cset name='Local DMICs Switch' on
amixer -c 1 cset name='Remote DMICs Switch' on
Then yesterdays list of commands to switch back to speakers. Also, here's a list for a headset mic:

Code: Select all

amixer -c $CARD cset name='Sto1 ADC MIXL ADC2 Switch' off
amixer -c 1 cset name='Sto1 ADC MIXR ADC2 Switch' off
amixer -c 1 cset name='Local DMICs Switch' off
amixer -c 1 cset name='Remote DMICs Switch' off
amixer -c 1 cset name='IF1 ADC1 Swap Mux' L/L
amixer -c 1 cset name='Sto1 ADC MIXL ADC1 Switch' on
amixer -c 1 cset name='Sto1 ADC MIXL ADC1 Switch' on
amixer -c 1 cset name='Headset Mic Switch' on
All of these came from here. There's a few more for muting and raising or lowering the volume, but you should get the idea how the work once you look at them. You just need to change $CARD to 1 for each line. Or you could even copy the complete scripts, then make the changes by running the scripts.

I'm so glad we found something that worked! Thanks for hanging in there. :D

linuxbootsamus
Level 1
Level 1
Posts: 27
Joined: Tue Apr 21, 2020 9:23 pm

Re: [SOLVED] No sound Chromebook pixel 2015 LS (used to work)

Post by linuxbootsamus »

MrEen wrote:
Sun Apr 26, 2020 11:34 am
Holy Sheesh!

I wouldn't have thought a reboot would have made a difference.

For headhphone and mic, you may need to run these lines:

Code: Select all

amixer -c $CARD cset name='Speaker Switch' off
amixer -c 1 cset name='Stereo DAC MIXL DAC1 R Switch' off
amixer -c 1 cset name='Stereo DAC MIXR DAC1 L Switch' off
amixer -c 1 cset name='Stereo DAC MIXL DAC1 L Switch' on
amixer -c 1 cset name='Stereo DAC MIXR DAC1 R Switch' on
amixer -c 1 cset name='OUT1 Playback Switch' on
amixer -c 1 cset name='OUT2 Playback Switch' on
amixer -c 1 cset name='Headphone Switch' on

Code: Select all

amixer -c $CARD cset name='Sto1 ADC MIXL ADC1 Switch' off
amixer -c 1 cset name='Sto1 ADC MIXR ADC1 Switch' off
amixer -c 1 cset name='Headset Mic Switch' off
amixer -c 1 cset name='IF1 ADC1 Swap Mux' L/R
amixer -c 1 cset name='Sto1 ADC MIXL ADC2 Switch' on
amixer -c 1 cset name='Sto1 ADC MIXL ADC2 Switch' on
amixer -c 1 cset name='Local DMICs Switch' on
amixer -c 1 cset name='Remote DMICs Switch' on
Then yesterdays list of commands to switch back to speakers. Also, here's a list for a headset mic:

Code: Select all

amixer -c $CARD cset name='Sto1 ADC MIXL ADC2 Switch' off
amixer -c 1 cset name='Sto1 ADC MIXR ADC2 Switch' off
amixer -c 1 cset name='Local DMICs Switch' off
amixer -c 1 cset name='Remote DMICs Switch' off
amixer -c 1 cset name='IF1 ADC1 Swap Mux' L/L
amixer -c 1 cset name='Sto1 ADC MIXL ADC1 Switch' on
amixer -c 1 cset name='Sto1 ADC MIXL ADC1 Switch' on
amixer -c 1 cset name='Headset Mic Switch' on
All of these came from here. There's a few more for muting and raising or lowering the volume, but you should get the idea how the work once you look at them. You just need to change $CARD to 1 for each line. Or you could even copy the complete scripts, then make the changes by running the scripts.

I'm so glad we found something that worked! Thanks for hanging in there. :D
Definitely will save this for future use. Since it doesn't seem like this it's an easy fix. Can you explain a little bit what I'm changing? I know it might be a little bit over my head but it seems like I'm turning things on and off not really sure what I'm turning on and off. Just trying to learn more of the Linux ropes as I go!

Thanks again and is this something I should share with galliumos community for a fix as well?

User avatar
MrEen
Level 20
Level 20
Posts: 10680
Joined: Mon Jun 12, 2017 8:39 pm

Re: [SOLVED] No sound Chromebook pixel 2015 LS (used to work)

Post by MrEen »

I think something in GalliumOS had the same thing, or very similar.

Somewhat simplified, what's happening is you need to turn off the present output, then the 2 mixing amps, then turn on the mixing amps, then turn on the new output. It's a very peculiar setup, and I think the new audio driver might simplify this when all the support is in place.

Post Reply

Return to “Sound, Multimedia, & Codecs”