no sound in ubntu 12.04 at all >>PLEASE HELP<<

Asked by ahmed

hi, there's no sound in the Ubuntu 12.04 and when i run this command (cat /proc/asound/cards) it's shows me (--no sound card--)
my sound card is Yamaha Corporation YMF-754 [DS-1E Audio Controller] and i there's the "Dummy Output" in sound settings that should show my sound card not "Dummy Output" !! and the last thing here's the (ALSA REPORT) :-

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && chmod +x ./alsa-info.sh && ./alsa-info.sh
--2014-04-06 09:49:25-- http://www.alsa-project.org/alsa-info.sh
Resolving www.alsa-project.org (www.alsa-project.org)... 77.48.224.243
Connecting to www.alsa-project.org (www.alsa-project.org)|77.48.224.243|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://git.alsa-project.org/?p=alsa-driver.git;a=blob_plain;hb=refs/heads/build;f=alsa/utils/alsa-info.sh [following]
--2014-04-06 09:49:26-- http://git.alsa-project.org/?p=alsa-driver.git;a=blob_plain;hb=refs/heads/build;f=alsa/utils/alsa-info.sh
Resolving git.alsa-project.org (git.alsa-project.org)... 77.48.224.243
Connecting to git.alsa-project.org (git.alsa-project.org)|77.48.224.243|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-sh]
Saving to: `alsa-info.sh'

    [ <=> ] 27,678 134K/s in 0.2s

2014-04-06 09:49:27 (134 KB/s) - `alsa-info.sh' saved [27678]

ALSA Information Script v 0.4.63
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  lsmod
  aplay
  amixer
  alsactl
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See './alsa-info.sh --help' for command line options.

/sbin/alsactl: save_state:1580: No soundcards found...
cat: /tmp/alsa-info.wXDxrMxbb9/alsactl.tmp: No such file or directory
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://www.alsa-project.org/db/?f=a5291d5b5ddb08219335ff4ea32791ec104e2f46

Please inform the person helping you.

I DON'T KNOW WHAT TO DO PLEASE HELP HERE'S

Question information

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

execute this command and reboot:

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`

Revision history for this message
Daniel Letzeisen (dtl131) said :
#2

^No. Don't do that (at least not yet). You need firmware files for this card to work and Debian/Ubuntu do not distribute them for some licensing reason.

[ 10.224824] snd_ymfpci: probe of 0000:00:06.0 failed with error -16

Run the following commands:

sudo mkdir /lib/firmware/yamaha
sudo apt-get install linux-headers-generic build-essential
cd ~/
wget ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-1.0.27.tar.bz2
tar xjf alsa-firmware-1.0.27.tar.bz2
cd alsa-firmware-1.0.27
./configure
cd ymfpci
make
sudo cp *fw /lib/firmware/yamaha
sudo alsa force-reload

Sound?

Revision history for this message
ahmed (askyou2011) said :
#3

it still the same problem nothing changed (daniel letzeisen) and (actionparsnip)
i tried (daniel letzeisen) codes first then the OUTPUT was that :

sudo apt-get install linux-headers-generic build-essentialقراءة قوائم الحزم... تمّ0%
Building dependency tree
Reading state information... done
Packages will be installed the following additional:
  dpkg-dev fakeroot g++ g++-4.6 libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl
  libstdc++6-4.6-dev linux-headers-3.2.0-60 linux-headers-3.2.0-60-generic
Packages suggested:
  debian-keyring g++-multilib g++-4.6-multilib gcc-4.6-doc libstdc++6-4.6-dbg
  libstdc++6-4.6-doc
Packages will be installed the following new:
  build-essential dpkg-dev fakeroot g++ g++-4.6 libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl
  libstdc++6-4.6-dev linux-headers-3.2.0-60 linux-headers-3.2.0-60-generic
  linux-headers-generic
0 سيتم ترقيتها، 13 مثبتة حديثاً، 0 لإزالتها و 0 لم يتم ترقيتها.
بحاجة إلى جلب 21.9 Mب من الأرشيف.
After this operation, 94.8 MB of additional disk space will be used.
Do you want to continue [Y / n]? Y
Abort.

then i tried enter actionparsnip's codes then the OUTPUT was that :

Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ae.archive.ubuntu.com precise Release.gpg
Hit http://ae.archive.ubuntu.com precise-updates Release.gpg
جلب:1 http://ae.archive.ubuntu.com precise-backports Release.gpg [198 B]
Hit http://security.ubuntu.com precise-security Release
Hit http://ppa.launchpad.net precise Release
Hit http://ae.archive.ubuntu.com precise Release
Hit http://ae.archive.ubuntu.com precise-updates Release
Hit http://security.ubuntu.com precise-security/main Sources
جلب:2 http://ae.archive.ubuntu.com precise-backports Release [49.6 kB]
Hit http://ppa.launchpad.net precise/main Sources
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://ppa.launchpad.net precise/main i386 Packages
تجاهلhttp://ppa.launchpad.net precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://ae.archive.ubuntu.com precise/main Sources
Hit http://ae.archive.ubuntu.com precise/restricted Sources
Hit http://ae.archive.ubuntu.com precise/universe Sources
Hit http://ae.archive.ubuntu.com precise/multiverse Sources
Hit http://ae.archive.ubuntu.com precise/main i386 Packages
Hit http://ae.archive.ubuntu.com precise/restricted i386 Packages
Hit http://ae.archive.ubuntu.com precise/universe i386 Packages
Hit http://ae.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://ae.archive.ubuntu.com precise/main TranslationIndex
Hit http://ae.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://ae.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://ae.archive.ubuntu.com precise/universe TranslationIndex
Hit http://ae.archive.ubuntu.com precise-updates/main Sources
Hit http://ae.archive.ubuntu.com precise-updates/restricted Sources
Hit http://ae.archive.ubuntu.com precise-updates/universe Sources
Hit http://ae.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://ae.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://ae.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://ae.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://ae.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://ae.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://ae.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://ae.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://ae.archive.ubuntu.com precise-updates/universe TranslationIndex
جلب:3 http://ae.archive.ubuntu.com precise-backports/main Sources [4,850 B]
جلب:4 http://ae.archive.ubuntu.com precise-backports/restricted Sources [14 B]
جلب:5 http://ae.archive.ubuntu.com precise-backports/universe Sources [37.4 kB]
جلب:6 http://ae.archive.ubuntu.com precise-backports/multiverse Sources [5,311 B]
جلب:7 http://ae.archive.ubuntu.com precise-backports/main i386 Packages [6,182 B]
جلب:8 http://ae.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
جلب:9 http://ae.archive.ubuntu.com precise-backports/universe i386 Packages [38.9 kB]
جلب:10 http://ae.archive.ubuntu.com precise-backports/multiverse i386 Packages [5,178 B]
Hit http://ae.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://ae.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://ae.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://ae.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://ae.archive.ubuntu.com precise/main Translation-en
Hit http://ae.archive.ubuntu.com precise/multiverse Translation-en
Hit http://ae.archive.ubuntu.com precise/restricted Translation-en
Hit http://ae.archive.ubuntu.com precise/universe Translation-en
Hit http://ae.archive.ubuntu.com precise-updates/main Translation-en
Hit http://ae.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://ae.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://ae.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://ae.archive.ubuntu.com precise-backports/main Translation-en
Hit http://ae.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://ae.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://ae.archive.ubuntu.com precise-backports/universe Translation-en
تجاهلhttp://ppa.launchpad.net precise/main Translation-ar_AE
تجاهلhttp://ppa.launchpad.net precise/main Translation-ar
تجاهلhttp://ppa.launchpad.net precise/main Translation-en
جلب 148 kب في 2s (54.7 kب/ث)
قراءة قوائم الحزم... تمّ%
قراءة قوائم الحزم... تمّ0%
Building dependency tree
Reading state information... تمّ
حساب الترقية...تمّ
0 سيتم ترقيتها، 0 مثبتة حديثاً، 0 لإزالتها و 0 لم يتم ترقيتها.
قراءة قوائم الحزم... تمّ0%
Building dependency tree
Reading state information... تمّ
alsa-base هي النسخة الأحدث.
alsa-utils هي النسخة الأحدث.
libasound2 هي النسخة الأحدث.
lightdm هي النسخة الأحدث.
linux-image-3.11.0-19-generic هي النسخة الأحدث.
linux-sound-base هي النسخة الأحدث.
سيتم تثبيت الحزم الإضافيّة التالية:
  pulseaudio-module-bluetooth pulseaudio-module-gconf
سيتم تثبيت الحزم الجديدة التالية:
  pavucontrol pulseaudio-module-bluetooth pulseaudio-module-gconf
  ubuntu-desktop
0 سيتم ترقيتها، 4 مثبتة حديثاً، 0 لإزالتها و 0 لم يتم ترقيتها.
بحاجة إلى جلب 143 kب/337 kب من الأرشيف.
After this operation, 1,475 kB of additional disk space will be used.
هل تريد الاستمرار [Y/n]؟y
جلب:1 http://ae.archive.ubuntu.com/ubuntu/ precise/universe pavucontrol i386 0.99.2-1build1 [143 kB]
جلب 143 kب في 0s (150 kب/ث)
Selecting previously unselected package pavucontrol.
(Reading database ... 180080 files and directories currently installed.)
Unpacking pavucontrol (from .../pavucontrol_0.99.2-1build1_i386.deb) ...
Selecting previously unselected package pulseaudio-module-gconf.
Unpacking pulseaudio-module-gconf (from .../pulseaudio-module-gconf_1%3a2.0-0ubuntu1~precise2_i386.deb) ...
Selecting previously unselected package ubuntu-desktop.
Unpacking ubuntu-desktop (from .../ubuntu-desktop_1.267.1_i386.deb) ...
Selecting previously unselected package pulseaudio-module-bluetooth.
Unpacking pulseaudio-module-bluetooth (from .../pulseaudio-module-bluetooth_1%3a2.0-0ubuntu1~precise2_i386.deb) ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Setting up pavucontrol (0.99.2-1build1) ...
Setting up pulseaudio-module-gconf (1:2.0-0ubuntu1~precise2) ...
Setting up ubuntu-desktop (1.267.1) ...
Setting up pulseaudio-module-bluetooth (1:2.0-0ubuntu1~precise2) ...
قراءة قوائم الحزم... تمّ0%
Building dependency tree
Reading state information... تمّ
0 سيتم ترقيتها، 0 مثبتة حديثاً، 7 أعيد تثبيتها، 0 لإزالتها و 0 لم يتم ترقيتها.
بحاجة إلى جلب 99.2 kب/59.1 Mب من الأرشيف.
After this operation, 0 B of additional disk space will be used.
جلب:1 http://ae.archive.ubuntu.com/ubuntu/ precise-updates/main lightdm i386 1.2.3-0ubuntu2.4 [99.2 kB]
جلب 99.2 kب في 1s (86.5 kب/ث)
تهيئة الحزم مسبقاً ...
(Reading database ... 180151 files and directories currently installed.)
Preparing to replace alsa-utils 1.0.25-1ubuntu5.2 (using .../alsa-utils_1.0.25-1ubuntu5.2_i386.deb) ...
Unpacking replacement alsa-utils ...
Preparing to replace libasound2 1.0.25-1ubuntu10.2 (using .../libasound2_1.0.25-1ubuntu10.2_i386.deb) ...
Unpacking replacement libasound2 ...
Preparing to replace lightdm 1.2.3-0ubuntu2.4 (using .../lightdm_1.2.3-0ubuntu2.4_i386.deb) ...
Unpacking replacement lightdm ...
Preparing to replace linux-image-3.11.0-19-generic 3.11.0-19.33~precise1 (using .../linux-image-3.11.0-19-generic_3.11.0-19.33~precise1_i386.deb) ...
Done.
Unpacking replacement linux-image-3.11.0-19-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
Preparing to replace alsa-base 1.0.25+dfsg-0ubuntu1.1 (using .../alsa-base_1.0.25+dfsg-0ubuntu1.1_all.deb) ...
Unpacking replacement alsa-base ...
Preparing to replace linux-sound-base 1.0.25+dfsg-0ubuntu1.1 (using .../linux-sound-base_1.0.25+dfsg-0ubuntu1.1_all.deb) ...
Unpacking replacement linux-sound-base ...
Preparing to replace ubuntu-desktop 1.267.1 (using .../ubuntu-desktop_1.267.1_i386.deb) ...
Unpacking replacement ubuntu-desktop ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up linux-sound-base (1.0.25+dfsg-0ubuntu1.1) ...
Setting up libasound2 (1.0.25-1ubuntu10.2) ...
Setting up alsa-utils (1.0.25-1ubuntu5.2) ...
Setting up lightdm (1.2.3-0ubuntu2.4) ...
Setting up linux-image-3.11.0-19-generic (3.11.0-19.33~precise1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.11.0-19.33~precise1 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.11.0-19.33~precise1 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
update-initramfs: Generating /boot/initrd.img-3.11.0-19-generic
Warning: No support for locale: ar_AE.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.11.0-19-generic
Found initrd image: /boot/initrd.img-3.11.0-19-generic
Found linux image: /boot/vmlinuz-3.11.0-15-generic
Found initrd image: /boot/initrd.img-3.11.0-15-generic
Found Microsoft Windows XP Professional on /dev/sda1
done
Setting up alsa-base (1.0.25+dfsg-0ubuntu1.1) ...
Setting up ubuntu-desktop (1.267.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Support status summary of 'ubuntu':

You have 1373 packages (90.6%) supported until أبريل 2017 (5y)
You have 56 packages (3.7%) supported until أكتوبر 2015 (18m)
You have 10 packages (0.7%) supported until أكتوبر 2013 (18m)

You have 0 packages (0.0%) that can not/no-longer be downloaded
You have 77 packages (5.1%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details

Revision history for this message
Daniel Letzeisen (dtl131) said :
#4

You ran the first command of my directions and did not install the packages...

Try it again. Here's a modified version to not prompt on apt-get:

sudo mkdir /lib/firmware/yamaha
sudo apt-get -y install build-essential
cd ~/
wget ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-1.0.27.tar.bz2
tar xjf alsa-firmware-1.0.27.tar.bz2
cd alsa-firmware-1.0.27
./configure
cd ymfpci
make
sudo cp *fw /lib/firmware/yamaha
sudo alsa force-reload

Can you help with this problem?

Provide an answer of your own, or ask ahmed for more information if necessary.

To post a message you must log in.