UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'd been running Ubuntu 10.10 with audio working fine (except for some crackles which I still get!) for about 8 months, when suddenly, earlier this year it stopped working.
I did that and have posted the information provided by it below.
I tried the remainder of the steps and noticed that also in step 3, it says that all the driver versions should be identical. As you can see below, mine aren't. Unfortunately, they don't say how to correct this if this is the case!
socket(): Address family not supported by protocol
**** List of PLAYBACK Hardware Devices ****
card 0: SIS966 [HDA SIS966], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
ARECORD
socket(): Address family not supported by protocol
**** List of CAPTURE Hardware Devices ****
card 0: SIS966 [HDA SIS966], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [SIS966]
Card hw:0 'SIS966'/'HDA SIS966 at 0xb0100000 irq 18'
Mixer name : 'Realtek ALC662 rev1'
Components : 'HDA:10ec0662,10190000,00100101'
Controls : 18
Simple ctrls : 11
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [12.00dB] [on]
Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%]
Front Right: 3 [100%]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [12.00dB] [on]
Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Mic Boost',0
Capabilities: volume penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%]
Front Right: 3 [100%]
Simple mixer control 'Beep',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 30 [97%] [10.50dB] [on]
Front Right: Playback 30 [97%] [10.50dB] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 28 [90%] [28.50dB] [on]
Front Right: Capture 28 [90%] [28.50dB] [on]
Simple mixer control 'Digital',0
Capabilities: cvolume penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 115 [96%] [27.50dB]
Front Right: Capture 115 [96%] [27.50dB]
I'd been running Ubuntu 10.10 with audio working fine (except for some crackles which I still get!) for about 8 months, when suddenly, earlier this year it stopped working.
How did it stop? If it stopped while it was playing something, and if you weren't doing something at the time, then it could well be a hardware problem: dead sound card, for instance.
If not, try following the steps in this guide. I've always found it effective.
If you're lazy and optimistic you might try running
How did it stop? If it stopped while it was playing something, and if you weren't doing something at the time, then it could well be a hardware problem: dead sound card, for instance.
If not, try following the steps in this guide. I've always found it effective.
If you're lazy and optimistic you might try running
Code:
alsactl init
before following the steps in the link above.
Thanks Impert. I ran the command and got the following output:
Code:
alsactl init
Found hardware: "HDA-Intel" "Realtek ALC662 rev1" "HDA:10ec0662,10190000,00100101" "0x1019" "0x5a00"
Hardware is initialized using a generic method
I think before I go any further, I should explain what I've done since my previous post!
I found another troubleshooting guide here, which I started to follow. I ran the first suggested command, which was:
Code:
ubuntu-bug audio
but it tells me that PulseAudio has crashed and asks if I want to report it, to which I responded, "Yes". It then informed me that the package was not genuine and could not be reported!
I tried reinstalling PulseAudio and noticed that in doing so, it seemed to be using some unstable sources. I don't think I would have authorized those knowingly. I deselected the offending sources, then ran:
to the last command, I recieved the following output:
Code:
root@peter-accent-ubuntu:~# apt-get install --auto-remove pulseaudio
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
pulseaudio : Depends: libpulse0 (= 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu21.1) but 1:0.9.22+stable-queue-24-g67d18-0ubuntu1~10.10~ricotz1 is to be installed
Recommends: pulseaudio-module-x11 but it is not going to be installed
Recommends: pulseaudio-esound-compat but it is not going to be installed
E: Broken packages
The problem now, is that I'm left without PulseAudio unless I can figure out what to do about the issue above and how to do it! :-)
I don't know. I don't use it all the time. I just noticed it wasn't working one time when I tried to use it and never worked since. I'm suspecting that it was broken by an update or installation of software.
This seems to have forced it to use the correct version of libpulse0 and also install the two recommended packages at the same time as pulseaudio.
However, when I ran "ubuntu-bug audio" as suggested by earlier tutorial, it still informed me that PulseAudio seems to have crashed, asked if I wanted to report this (I answered yes) and then informed me that it couldn't do that because it was not a "genuine Ubuntu package"!
However, when it was downloaded, according to apt-get, it was downloaded from
# alsactl init
Found hardware: "HDA-Intel" "Realtek ALC662 rev1" "HDA:10ec0662,10190000,00100101" "0x1019" "0x5a00"
Hardware is initialized using a generic method
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.