Sound card issues

6 Antworten [Letzter Beitrag]
BoydHAko
Offline
Beigetreten: 04/24/2012

At one time the sound card on my laptop worked fine without issues. I guess after an update or a package install it went all screwy on me. Now, after every reboot I have run `sudo alsa force-reload` to get my sound card working. Anybody know how to make it so I don't have to type every time I boot up.

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

Adding 'alsa force-reload' to the file /etc/rc.local (before the 'exit' line of course) will probably work. You need administrator's privileges to edit this file. For instance:
$ sudo gedit /etc/rc.local

lembas
Offline
Beigetreten: 05/13/2010

>$ sudo gedit

Better to run graphical programs with gksudo. Otherwise you might end up dealing with ugly permissions issues one day.

onpon4
Offline
Beigetreten: 05/30/2012

I thought gksudo was just a graphical frontend for entering your password for sudo. It does something different?

lembas
Offline
Beigetreten: 05/13/2010

Apparently gksudo sets HOME=~root, and copies .Xauthority to a tmp directory. This prevents files in your home directory becoming owned by Root.

BoydHAko
Offline
Beigetreten: 04/24/2012

Isn't there a more eloquent method?

GustavoCM

I am a member!

Offline
Beigetreten: 11/20/2012

How about "less /var/log/" something? Find the package installed (log files with "apt" in the name) which caused the error; search for error messages in the boot.log or kern.log in that same directory...