no options to configure sound hardware

Asked by j de lima

my Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40) does not appear in sound settings.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && chmod +x ./alsa-info.sh && ./alsa-info.sh --upload

Thanks

Revision history for this message
j de lima (jdelima307-ziggo) said :
#2
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Run:

sudo add-apt-repository ppa:ubuntu-audio-dev/ppa; sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse-access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr '\n' ',' | sed 's:,$::g'` `whoami`

Then reboot

Revision history for this message
j de lima (jdelima307-ziggo) said :
#4

got the ff output

jl@ubuntu-mama:~$ sudo apt-get update
E: Type ‘b-src’ is not known on line 2 in source list /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list
E: The list of sources could not be read.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

What is the output of:

cat /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list

Thanks

Revision history for this message
j de lima (jdelima307-ziggo) said :
#6

got the following output to the second command line:

Type ‘b-src’ is not known on line 2 in source list
/etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list
E: The list of sources could not be read.
On 01/19/2014 06:36 PM, actionparsnip wrote:
> sudo add-apt-repository ppa:ubuntu-audio-dev/ppa

Revision history for this message
j de lima (jdelima307-ziggo) said :
#7

Failed to load the package list

This is a serious problem. Try again later. If this problem appears again, please report an error to the developers.
E:Type 'b-src' is not known on line 2 in source list /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Please read my reply in #5

Revision history for this message
j de lima (jdelima307-ziggo) said :
#9

do u mean the output of

cat /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list

below is the output
deb-src http://ppa.launchpad.net/ubuntu-audio-dev/alsa-daily/ubuntu precise main
b-src http://ppa.launchpad.net/ubuntu-audio-dev/alsa-daily/ubuntu precise main

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

Run:

gksudo gedit /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list

Change it to:

deb-src http://ppa.launchpad.net/ubuntu-audio-dev/alsa-daily/ubuntu precise main
deb http://ppa.launchpad.net/ubuntu-audio-dev/alsa-daily/ubuntu precise main

Save the new file, close gedit

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

Then run:

sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse-access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr '\n' ',' | sed 's:,$::g'` `whoami`

Then reboot

Revision history for this message
j de lima (jdelima307-ziggo) said :
#12

Failed to load the package list

This is a serious problem. Try again later. If this problem appears again, please report an error to the developers.

W:Ignoring file 'ubuntu-audio-dev-alsa-daily-' in directory '/etc/apt/sources.list.d/' as it has no filename extension, E:Type 'b-src' is not known on line 2 in source list /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list

Revision history for this message
j de lima (jdelima307-ziggo) said :
#13

W:Ignoring file 'ubuntu-audio-dev-alsa-daily-' in directory '/etc/apt/sources.list.d/' as it has no filename extension, E:Type 'b-src' is not known on line 2 in source list /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list

Revision history for this message
j de lima (jdelima307-ziggo) said :
#14

ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 108, in <module>
    cache = apt.Cache()
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 149, in open
    self._list.read_main_list()
SystemError: E:Type ‘b-src’ is not known on line 2 in source list /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list
jl@ubuntu-mama:~$ sudo grep -R proxy /etc/apt/*
jl@ubuntu-mama:~$ grep proxy /etc/environment
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ echo $http_proxy

jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ echo $ftp_proxy

jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ grep proxy /etc/bash.bashrc
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ grep proxy ~/.bashrc
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo fuser -vvv /var/lib/dpkg/lock
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo fuser -vvv /var/cache/apt/archives/lock
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ uname -a
Linux ubuntu-mama 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo rm /var/lib/apt/lists/lock
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo rm /var/cache/apt/archives/lock
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo rm /var/lib/dpkg/lock
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo rm -rf /var/lib/dpkg/updates/*
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo rm -rf /var/lib/apt/lists
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo rm /var/cache/apt/*.bin
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo mkdir /var/lib/apt/lists
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo mkdir /var/lib/apt/lists/partial
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ LANG=C;sudo apt-get clean
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Type 'b-src' is not known on line 2 in source list /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list
E: The list of sources could not be read.
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libdrm-intel1:i386* libdrm-nouveau1a:i386* libdrm-radeon1:i386*
  libdrm2:i386* libpciaccess0:i386*
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 592 kB disk space will be freed.
Do you want to continue [Y/n]? y
Abort.
jl@ubuntu-mama:~$ ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 108, in <module>
    cache = apt.Cache()
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 149, in open
    self._list.read_main_list()
SystemError: E:Type 'b-src' is not known on line 2 in source list /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo grep -R proxy /etc/apt/*
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ grep proxy /etc/environment
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ echo $http_proxy

jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ echo $ftp_proxy

jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ grep proxy /etc/bash.bashrc
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ grep proxy ~/.bashrc
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo fuser -vvv /var/lib/dpkg/lock
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo fuser -vvv /var/cache/apt/archives/lock
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ uname -a
Linux ubuntu-mama 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove `/var/lib/apt/lists/lock': No such file or directory
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo rm /var/cache/apt/archives/lock
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo rm /var/lib/dpkg/lock
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo rm -rf /var/lib/dpkg/updates/*
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo rm -rf /var/lib/apt/lists
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo rm /var/cache/apt/*.bin
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo mkdir /var/lib/apt/lists
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ sudo mkdir /var/lib/apt/lists/partial
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ LANG=C;sudo apt-get clean
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Type 'b-src' is not known on line 2 in source list /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list
E: The list of sources could not be read.
jl@ubuntu-mama:~$
jl@ubuntu-mama:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libdrm-intel1:i386* libdrm-nouveau1a:i386* libdrm-radeon1:i386*
  libdrm2:i386* libpciaccess0:i386*
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 592 kB disk space will be freed.
Do you want to continue [Y/n]? y
Abort.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#15

You didn't do as I said in #10 or you would not get:

Reading state information... DoneE: Type 'b-src' is not known on line 2 in source list /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list

In your output. Note that the second command is NOT exactly the same as the first large command I gave and I suspect that you reran the first large command again which will undo the change you made using gedit.

If you run the commands given rather than what you think you should run this is a lot quicker.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#16

Or use:

sudo nano /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list

Make the changes then press CTRL + O to save the change and then CTRL + X to exit the editor.

Revision history for this message
j de lima (jdelima307-ziggo) said :
#17

hi!

sorry, i was not sure of what i was doing and have not 7understood your
instruction correctly. when i thought that i was not able to copy the i
re-ran the set of commands that you gave in #11. so now should i re-run
#10 and #11?
t
On 01/20/2014 04:46 AM, actionparsnip wrote:
> Your question #242415 on alsa-driver in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/242415
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> You didn't do as I said in #10 or you would not get:
>
> Reading state information... DoneE: Type 'b-src' is not known on line 2
> in source list /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-
> precise.list
>
> In your output. Note that the second command is NOT exactly the same as
> the first large command I gave and I suspect that you reran the first
> large command again which will undo the change you made using gedit.
>
> If you run the commands given rather than what you think you should run
> this is a lot quicker.
>

Revision history for this message
j de lima (jdelima307-ziggo) said :
#18

when i thought that i was not able to copy the command lines correctly, i recopied & reran them.

should i now start from your #10?

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#19

yes, or if that fails, use nano as in #16

Revision history for this message
j de lima (jdelima307-ziggo) said :
#20

ok, so i followed your #16 and saved the file, exited nano. what next?
do i reboot?
On 01/20/2014 01:36 PM, actionparsnip wrote:
> Your question #242415 on alsa-driver in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/242415
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> yes, or if that fails, use nano as in #16
>

Revision history for this message
j de lima (jdelima307-ziggo) said :
#21

thank you for your patience. i rebooted from the dvd (ubuntustudio 12.04.3) and checked the audio from there. i could hear the sounds!

in the meantime, i am ignoring the sound problem and later when i gain the time, i will reinstall ubuntustudio and see if the problem is resolved..

Revision history for this message
j de lima (jdelima307-ziggo) said :
#22

hi!

the last option did not resolve the problem. so i reinstalled ubuntustudio 12.04.3 and the sound problem is resolved. of course it took about 2 & a half hours to reinstall the os and reinstall all the apps but this is shorter than the time i was trying to figure out what was wrong. thank you again for all your efforts.

best, jl

Revision history for this message
j de lima (jdelima307-ziggo) said :
#23

btw, <sudo nano /etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-precise.list > failed to resolve the issue but a reinstall with a total format of the root and boot partitions did the trick.

cheers!