GalliumOS / galliumos-distro

Docs, issues, and artwork sources for GalliumOS
https://galliumos.org/
GNU General Public License v2.0
348 stars 11 forks source link

Very Low audio in gallium os baytrail!! Samsung chromebook 2(winky) #520

Open denomparkour opened 4 years ago

denomparkour commented 4 years ago

In the first version of gallium os the sound experience was amazing in winky.After downloading latest image,every thing is fine except the audio!.I used "pactl" command to increase the audio manually but the quality of the audio goes critical!.

Thanks in advance :)

srvrguy commented 4 years ago

I have a Bay Trail system too (The Lenovo 100S aka Orco). I finally figured out a possible solution and maybe it will work for you too. In terminal, run alsamixer and find "pcm0_in Gain 0". For my system it was set to a very low value. Bump it to about 86 and it should hopefully make a difference.

If that works, you can run alsactl store as root to save the settings as default.

denomparkour commented 4 years ago

Bro bro.... No words to say to you! You made my day! It worked as charm I increased speaker value in alsactl then all done! Working awesome!

Thankyou very much bro!

On Sun, 1 Sep, 2019, 1:51 AM Michael Johnson <notifications@github.com wrote:

I have a Bay Trail system too (The Lenovo 100S aka Orco). I finally figured out a possible solution and maybe it will work for you too. In terminal, run alsamixer and find "pcm0_in Gain 0". For my system it was set to a very low value. Bump it to about 86 and it should hopefully make a difference.

If that works, you can run alsactl store as root to save the settings as default.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GalliumOS/galliumos-distro/issues/520?email_source=notifications&email_token=AKDQWTAKDVBSZ327YTEIBU3QHLHGDA5CNFSM4IR5M2WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5TUSSI#issuecomment-526862665, or mute the thread https://github.com/notifications/unsubscribe-auth/AKDQWTD3I4JFWNZFVHZVY7LQHLHGDANCNFSM4IR5M2WA .

mikebw commented 4 years ago

This solution worked for me on a Dell 3120 (Bay Trail), too. It was necessary to run "alsamixer" as root and then use F6 (that is, right-Alt and brightness-down) to select the "chtmax98090" card. Otherwise, the recipe could be followed exactly.

lance770 commented 4 years ago

I have a similar issue with an HP Baytrail Chromebook. Alsamixer resets volume on headphones and internal speakers very low, so I have to fix it every time I do a fresh login. Running alsamixer as root and alsactl store as root, but it resets every time. Any thoughts on why it won't save from one session to the next?

mikebw commented 4 years ago

I also need to reset the parameter after every reboot or logout/login.

kousu commented 4 years ago

:+1: I discovered that codec_in0 Gain 0 would control the volume too. You can set it from the command line with:

amixer -D hw:CARD=chtmax98090 sset 'codec_in0 Gain 0' 75
cizmazia commented 3 years ago

These commands worked for me:

amixer -D hw:CARD=chtmax98090 sget 'Speaker'
amixer -D hw:CARD=chtmax98090 sset 'Speaker' 10dB

To preserve the settings after reboot, I used the following workaround:

alsactl --file ~/.config/asound.state store

mkdir -p ~/.config/autostart
tee ~/.config/autostart/alsarestore.desktop <<EOM
[Desktop Entry]
Type=Application
Terminal=false
Name=alsarestore
Exec=sh -c 'sleep 5 && alsactl --file ~/.config/asound.state restore'
EOM

Should you know of a proper way to do this, please drop a line here.

lance770 commented 3 years ago

At long last, I set the correct volume by editing the file

/usr/share/alsa/ucm/chtmax98090/HiFi.conf

as root.

I changed the following lines:

cset "name='Headphone Volume' 26" cset "name='Speaker Volume' 31"

I have restarted twice, and the audio is set to the right value every time.

Glory-Be commented 3 years ago

Thanks for posting lance770!

The HiFi.conf edit you describe worked perfectly on my (BayTrail) Acer Chromebook 11.

I had the low volume issue for years...

ctkhall commented 3 years ago

Thanks lance770 - works great on my baytrail Toshiba too