Linux Lite Forums

Hardware - Support => Sound => Topic started by: T1125P on July 14, 2017, 06:15:52 PM

Title: I have to run alsactl restore in the terminal at every boot
Post by: T1125P on July 14, 2017, 06:15:52 PM
I also have a sound issue with LL 3.4. In order for me to have sound out of my netbook I have to run alsactl restore in the terminal at every boot.
I can confirm that with previous version of LL I had no issues. Is there a way to make this command run at start up so I do not have to enter it every time I restart?

Thanks
Title: Re: I have to run alsactl restore in the terminal at every boot
Post by: bitsnpcs on July 14, 2017, 07:03:47 PM
Hello T1125P,

please see here -

https://itsfoss.com/fix-sound-ubuntu-1304-quick-tip/

under titles - first, and second alternate methods to fix no sound.
Title: Re: I have to run alsactl restore in the terminal at every boot
Post by: T1125P on July 14, 2017, 07:35:49 PM
Thanks so much, I will look at that link ^_^
Title: Re: I have to run alsactl restore in the terminal at every boot
Post by: bitsnpcs on July 14, 2017, 07:58:37 PM
You are welcome  :)
I hope it helps you solve the sound problem.
Title: Re: I have to run alsactl restore in the terminal at every boot
Post by: T1125P on July 14, 2017, 08:10:22 PM
Well I just tried every method on that page and even this link someone else posted in the comments: https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS
Still no sound. If there was a way to get alsactl restore command during the boot up to execute that would work. But for now I have to enter that in the terminal and run it if I want to use sound.
Title: Re: I have to run alsactl restore in the terminal at every boot
Post by: trinidad on July 15, 2017, 07:13:28 AM
Because of the LL updater I'm not sure you can get the change you need to persist. You can make the change you need as root (not sudo) but it may mess up the LL updater. Have you considered adding the command as a menu item with an icon in the tray?

TC
Title: Re: I have to run alsactl restore in the terminal at every boot
Post by: T1125P on July 15, 2017, 09:47:03 PM
Hmm, that is a good idea trinidad, I think that would work for me :)  You mean go to panel, add new items, then launcher? Then I just add alsactl restore?
Title: Re: I have to run alsactl restore in the terminal at every boot
Post by: T1125P on July 15, 2017, 10:05:27 PM
OK I think I got it to work in the panel. Made a folder with alsactl restore inside as a text file picked a nice sound icon as well, so now when I click on it, after the netbook boots up the sound is back :D
I was wondering, is there a way to make this panel item autostart when the netbook starts up so I don't have to click on it :D Maybe I'm asking to much :)
Title: Re: I have to run alsactl restore in the terminal at every boot
Post by: supergamer on July 15, 2017, 11:36:44 PM
Here is what I did to fix the sound not playing on vlc after playing sound on youtube. Add this to the client.conf(at the bottom) of the file in the /etc/pulse/ folder using sudo and reboot and it will fix sound for at least my issue for all users.


Code: [Select]
enable-shm = no
Title: Re: I have to run alsactl restore in the terminal at every boot
Post by: T1125P on July 16, 2017, 03:58:24 PM
Thanks supergamer, I tried it, sound is still muted though. I have the command alsto start my audio in my taskbar panel. I'm trying to find a way to make this command autostart once the computer boots up :D
Title: Re: I have to run alsactl restore in the terminal at every boot
Post by: Jerry on July 16, 2017, 06:44:00 PM
Topic split off from original thread started by another member with a different issue. Folks, please don't cut into other people threads with your issues, keep them separate. Thank you.

@T1125P have you tried adding it to Menu, Settings, Session and Startup ?
Application tab, Add.

Name: Restore sound
Description: Restore sound
Command: alsactl restore
Title: Re: I have to run alsactl restore in the terminal at every boot
Post by: T1125P on July 17, 2017, 05:32:50 PM
Thank you , sorry about that Jerry.
I just tried that, add it to my startup like you said, same thing. But for now It's ok,  I have in my taskbar I can just click on my icon and the sound works.
Thanks for all the help guys :)  Other than that, I love LL 3.4 super smooth overall for my little Netbook :D Fantastic work.