LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Alsa sound problem (https://www.linuxquestions.org/questions/linux-newbie-8/alsa-sound-problem-886705/)

folone 06-16-2011 09:06 AM

Alsa sound problem
 
Hello. My sound stopped working.
Code:

$ aplay -l
aplay: device_list:240: no soundcards found...

But:
Code:

$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
Home directory /home/georgii not ours.
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Same with alsamixer:
Code:

$ alsamixer
cannot open mixer: No such file or directory

But:
Quote:

$ sudo !!
shows me the mixer.

Anyway, the sound is just gone. When I do:
Code:

$ ubuntu-bug audio
ERROR: symptom script /usr/share/apport/symptoms/audio.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 56, in thread_collect_info
    package = symb['run'](report, ui)
  File "/usr/share/apport/symptoms/audio.py", line 187, in run
    package = check_pulseaudio_running(report, ui)
  File "/usr/share/apport/symptoms/_audio_checks.py", line 80, in check_pulseaudio_running
    return set_title(report, 'pulseaudio', 'Pulseaudio is not running')
NameError: global name 'set_title' is not defined

It says: "PulseAudio seems to have crashed. Do you wish to report a bug?", then crashes.

Any help appreciated.

folone 06-16-2011 09:14 AM

Solved with
Code:

chmod -R a+rwX /dev/snd

shahryar 10-18-2011 10:52 AM

Saved my day! Of course things reset backs after reboot, so I added my user to audio group.


All times are GMT -5. The time now is 08:54 PM.