LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-04-2012, 06:37 AM   #16
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56

Hi aus9,

Instead to save a dead horse I reinstall Ubuntu 12.04 desktop, 64bit. Now it is up running, updated and upgraded. But it has no sound. Where shall I start to check? Thanks

B.R.
satimis
 
Old 09-04-2012, 06:45 AM   #17
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
LOL no animals hurt huh?

ok I think you might like to try the official ubuntu forums but I presume you have decided you must have Ubuntu?

2) Generally speaking you should not do a clean install unless you have borked something but I think you never had sound in your last install?

3) there is also the alsa-info you can try....to look at the backend stuff....PA being the front end stuff

https://wiki.ubuntu.com/Audio/AlsaInfo

good luck
 
Old 09-04-2012, 06:53 AM   #18
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
ahh well if you are still here, try removing PA and we will create and asoundrc file using your hw device 1,3

try this

home .asoundrc contents

pcm.!default {
type hw
card 1
device 3
}

you may need to reboot as I am not sure what your alsa package is called in ubuntu
 
Old 09-04-2012, 06:58 AM   #19
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
and you may want to read this post

http://www.linuxquestions.org/questi...ubuntu-873660/

but it appears to claim your xorg might need closed src drivers and am not sure how you feel about that

good luck
 
Old 09-04-2012, 08:18 AM   #20
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Ubuntu official forum couldn't help. On googling you'll find many complaints re no sound on Ubuntu 12.04

Performed following steps:-

$ sudo apt-get remove pulseaudio

$ sudo gedit /home/satimis/.asoundrc

adding follow on the file:
Code:
pcm.!default {
type hw
card 1
device 3
}
$ ls -al /home/satimis/.asoundrc
Code:
 
-rw-r--r-- 1 root root 42 Sep  4 20:51 /home/satimis/.asoundrc
Rebooted

$ aplay -D default /usr/share/sounds/speech-dispatcher/dummy-message.wav
Code:
 
Playing WAVE '/usr/share/sounds/speech-dispatcher/dummy-message.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
aplay: set_params:1081: Sample format non available
Available formats:
- S16_LE
Still there is no sound.

Actually sound is NOT important to me. Just for curiorsity to find out why Ubuntu 12.04 on another HDD having sound. The only difference I'm aware. It was upgraded from Ubuntu 11.04

Last edited by satimis; 09-04-2012 at 08:19 AM.
 
Old 09-04-2012, 06:49 PM   #21
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
ok lets try that again with a new home .asoundrc based on this post
http://wiki.siduction.de/index.php?t...rten_verwalten

because you have the same sound module...is the key here

review

Code:
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: VT1708S Digital [VT1708S Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: VT1708S HP [VT1708S HP]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
so allegedly you would use HDMI as the keyword like this?

cat .asoundrc

Quote:
pcm.! default pcm.HDMI
ctl.! default ctl.HDMI
good luck

2) if hdmi works and you want analog back swap HDMI to SB in that asoundrc file

Last edited by aus9; 09-04-2012 at 06:50 PM.
 
Old 09-04-2012, 09:46 PM   #22
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
My German is NOT so good.

Performed following steps;

2. The primary internal sound card

# gedit /etc/modprobe.d/sound.conf
adding follows;
Code:
alias sound-card0 snd-hda-intel
options snd-hda-intel index=0

alias sound-card1 snd-usb-audio
options snd-usb-audio index=1

$ gedit /home/satimis/script
adding follows;
Code:
#!/bin/bash
# asoundrc v0.1.0 20090101 markc@renta.net GPLv3
# asoundrc v0.2.0 20090320 quatro_por_quatro@yahoo.es GPLv3
#
# A simple script to create a particular default audio device regardless
# of what cards are loaded or in what order. 
#
 if default_card="${1:-$(cat "$(for f in $(ls -1 /proc/asound/card[0-9]*/{midi,codec}* 2>/dev/null); do echo "${f%/*}"; done \
| sed -e '\|^[\[:blank:]\]$|d' -e 'q')/id" 2>/dev/null)}"; then
  echo "Using sound card: ${default_card}" >&2 
  cat /proc/asound/card[0-9]*/id | \
  gawk --assign default_card="${default_card}" \
'{print "pcm."$1" { type hw; card "$1"; }\nctl."$1" { type hw; card "$1"; }" }
END {print "pcm.!default pcm."default_card"\nctl.!default ctl."default_card}'
else
  echo "Warning: No sound cards found." >&2
fi
$ sudo chmod +x /home/satimis/script

$ sudo apt-get install gawk

$ ./script
Code:
Using sound card: SB
pcm.SB { type hw; card SB; }
ctl.SB { type hw; card SB; }
pcm.HDMI { type hw; card HDMI; }
ctl.HDMI { type hw; card HDMI; }
pcm.!default pcm.SB
ctl.!default ctl.SB
$ sudo chown satimis:satimis /home/satimis/.asroundrc

$ ls -l /home/satimis/.asoundrc
Code:
-rw-r--r-- 1 satimis satimis 42 Sep  5 09:50 /home/satimis/.asoundrc
$ cp /home/satimis/.asoundrc /home/satimis/.asoundrc.ORIG_20120905

$ gedit /home/satimis/.asoundrc
changed as;
Code:
pcm.!default pcm.SB {
type hw
card 1
device 3
}

ctl.!default ctl.SB {
type hw
card 1
device 3
}
Rebooted.

$ aplay -D default /usr/share/sounds/speech-dispatcher/test.wav
Code:
ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:1:23:Unexpected char
ALSA lib conf.c:3406:(config_file_open) /home/satimis/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM pcm.HDMI
aplay: main:682: audio open error: No such file or directory
# cat /proc/asound/cards
Code:
 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfbbf4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfbdfc000 irq 19
# cat /proc/asound/modules
Code:
 0 snd_hda_intel
 1 snd_hda_intel
Made following changes.

$ gedit /home/satimis/.asoundrc
Code:
pcm.!default pcm.SB {
type hw
card 1
device 3
}

ctl.!default ctl.SB {
type hw
card 1
device 3
}
Rebooted

$ aplay -D default /usr/share/sounds/speech-dispatcher/test.wav
Code:
ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:1:21:Unexpected char
ALSA lib conf.c:3406:(config_file_open) /home/satimis/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM pcm.SB
aplay: main:682: audio open error: No such file or directory
Still the same

Last edited by satimis; 09-04-2012 at 09:48 PM.
 
Old 09-05-2012, 03:19 AM   #23
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
you mixed up what you want with other card

you had

pcm.!default pcm.SB {
type hw
card 1
device 3
}

ctl.!default ctl.SB {
type hw
card 1
device 3
}


but hdmi is hw card 1 device 3...so that will never work ok?

pls try simple asoundrc with reboot and then go for your style

1) try

pcm.! default pcm.HDMI
ctl.! default ctl.HDMI

2) try

pcm.!default pcm.HDMI {
type hw
card 1
device 3
}

ctl.!default ctl.HDMI {
type hw
card 1
device 3
}
 
Old 09-05-2012, 04:57 AM   #24
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
1)
Edit /home/satimis/.asoundrc

$ cat /home/satimis/.asoundrc
Code:
pcm.!default pcm.HDMI
ctl.!default ctl.HDMI
Reboot

$ aplay -D default /usr/share/sounds/speech-dispatcher/test.wave
Code:
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM pcm.HDMI
aplay: main:682: audio open error: No such file or directory

2)
Edit /home/satimis/.asoundrc

$ cat /home/satimis/.asoundrc
Code:
pcm.!default pcm.HDMI {
type hw
card 1
device 3
}

ctl.!default ctl.HDMI {
type hw
card 1
device 3
}
$ aplay -D default /usr/share/sounds/speech-dispatcher/test.wave
Code:
ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:1:23:Unexpected char
ALSA lib conf.c:3406:(config_file_open) /home/satimis/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM pcm.HDMI
aplay: main:682: audio open error: No such file or directory
Would it be the problem of nVidia driver?
 
Old 09-05-2012, 05:12 AM   #25
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
I don't think so...I hope not

I am wondering after a google....that it relates to you on 64 bit and a broken link in alsa like this thread
http://forums.debian.net/viewtopic.php?f=10&t=79199



2) Can you advise what package manager you use....and does it allow you to see for package X...what files are supposed to be installed

b) try this
Code:
dpkg -l | grep lib32asound2-plugins
I don't have 64 bit...and ignoring that ubuntu packagename will differ google shows

Package lib32asound2-plugins
squeeze (stable) (libs): ALSA library additional plugins (32 bit)
1.0.23-1+b1: amd64......................................................showing its arch is for 64 bit
 
Old 09-05-2012, 06:33 AM   #26
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by aus9 View Post
I don't think so...I hope not

I am wondering after a google....that it relates to you on 64 bit and a broken link in alsa like this thread
http://forums.debian.net/viewtopic.php?f=10&t=79199
$ sudo find / -name libasound_module_conf_pulse.so
Code:
/usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_conf_pulse.so
$ ls -l /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_conf_pulse.so
Code:
-rw-r--r-- 1 root root 6120 Feb 16  2012 /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_conf_pulse.so
Quote:
2) Can you advise what package manager you use....and does it allow you to see for package X...what files are supposed to be installed
Sorry, I don't follow. Please explain in detail. Thanks

Quote:
b) try this
Code:
dpkg -l | grep lib32asound2-plugins
$ sudo dpkg -l | grep asound
Code:
ii  flashplugin-nonfree-extrasound:i386    0.0.svn2431-3ubuntu1                    Adobe Flash Player platform support library for Esound and OSS
ii  libasound2                             1.0.25-1ubuntu10.1                      shared library for ALSA applications
ii  libasound2-plugins                     1.0.25-1ubuntu1                         ALSA library additional plugins
$ sudo dpkg -l | grep libasound2-plugins
Code:
ii  libasound2-plugins                     1.0.25-1ubuntu1                         ALSA library additional plugins
Quote:
I don't have 64 bit...and ignoring that ubuntu packagename will differ google shows

Package lib32asound2-plugins
squeeze (stable) (libs): ALSA library additional plugins (32 bit)
1.0.23-1+b1: amd64......................................................showing its arch is for 64 bit
 
Old 09-05-2012, 08:52 AM   #27
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
package manager....either you use one or you don't?

what do you do if you want to check if a package is available to download?

2) if interested....trivial....those dpkg commands can be done as local user, no need for sudo
if you install thats root stuff

3) ok you may be missing a package based on my last post

first check for sym links with command ls -al /path/file....

try as I not sure where your files are

Code:
sudo find / -name filename
replace filename with libasound2-plugins

does it link to /usr/lib/x86_64(something) or 329something)

4) also check do you have

dpkg -l | grep lib64asound*

if not consider this link and some weirdness IMHO

http://mirror.internode.on.net/pub/u...in/a/alsa-lib/

lib32 asound exists for amd but none for x64?

hmm its the same for debian

http://ftp.iinet.net.au/debian/debia...in/a/alsa-lib/

so thats a dead end sorry
 
Old 09-05-2012, 10:31 AM   #28
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by aus9 View Post
package manager....either you use one or you don't?

what do you do if you want to check if a package is available to download?
Usually I run;
$ sudo apt-get update && sudo apt-get upgrade

Quote:
2) if interested....trivial....those dpkg commands can be done as local user, no need for sudo
if you install thats root stuff
Noted. Thanks

Quote:
3) ok you may be missing a package based on my last post

first check for sym links with command ls -al /path/file....

try as I not sure where your files are

Code:
sudo find / -name filename
replace filename with libasound2-plugins

does it link to /usr/lib/x86_64(something) or 329something)


4) also check do you have

dpkg -l | grep lib64asound*
$ sudo find / -name libasound2-plugins
Code:
/usr/share/doc/libasound2-plugins
$ ls -al /usr/share/doc/libasound2-plugins
Code:
total 120
drwxr-xr-x    3 root root  4096 Apr 26 00:06 .
drwxr-xr-x 1419 root root 53248 Sep  5 10:02 ..
-rw-r--r--    1 root root  1767 Jan 25  2012 a52.txt
-rw-r--r--    1 root root  2346 Feb 16  2012 changelog.Debian.gz
-rw-r--r--    1 root root  1383 Feb 16  2012 copyright
drwxr-xr-x    2 root root  4096 Apr 26 00:06 examples
-rw-r--r--    1 root root  1029 Jan 25  2012 lavcrate.txt
-rw-r--r--    1 root root  1012 Jan 25  2012 README-arcam-av
-rw-r--r--    1 root root  1336 Jan 25  2012 README-jack
-rw-r--r--    1 root root  2691 Jan 25  2012 README-maemo.gz
-rw-r--r--    1 root root  1048 Jan 25  2012 README-pcm-oss
-rw-r--r--    1 root root  1949 Jan 25  2012 README-pulse
-rw-r--r--    1 root root   933 Jan 25  2012 samplerate.txt
-rw-r--r--    1 root root  1303 Jan 25  2012 speexdsp.txt
-rw-r--r--    1 root root   958 Jan 25  2012 speexrate.txt
-rw-r--r--    1 root root  1243 Jan 25  2012 upmix.txt
-rw-r--r--    1 root root   560 Jan 25  2012 vdownmix.txt
$ ls /usr/share/doc/libasound2-plugins/examples/
Code:
a52.conf_pulse  asound.conf_jack  asound.conf_oss
$ dpkg -l | grep lib64asound*
no output

Quote:
if not consider this link and some weirdness IMHO

http://mirror.internode.on.net/pub/u...in/a/alsa-lib/

lib32 asound exists for amd but none for x64?

hmm its the same for debian

http://ftp.iinet.net.au/debian/debia...in/a/alsa-lib/

so thats a dead end sorry
Maybe either of follows can be used
Code:
lib32asound2_1.0.25-3ubuntu2_amd64.deb		09-Aug-2012 09:33

libasound2_1.0.23-2.1_amd64.deb 	Wed Sep 5 01:15:22 2012
IIRC during googling I came across a thread mentioning 1) above can be used in Ubuntu 12.04 64bit
 
Old 09-05-2012, 07:27 PM   #29
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
do you have an intel processor or AMD?

it should be should be safe to install if amd
so try installing the first one if you are happy to

the second one...no that version is 1.0.23 and you will notice your others are at 25 series
 
Old 09-05-2012, 09:26 PM   #30
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by aus9 View Post
do you have an intel processor or AMD?

it should be should be safe to install if amd
so try installing the first one if you are happy to

the second one...no that version is 1.0.23 and you will notice your others are at 25 series
It is onboard audio
motherboard ASUS M4A78T-E for AM3 CPU (AMD)
VIAŽ VT1708S 8-Channel High Definition Audio CODEC
http://www.asus.com/Motherboards/AMD...specifications

What makes me in complete puzzle is Ubuntu 12.04 running on anothe HDD doesn't have sound problem. That HDD has been running on this PC at least 3 years. I can't recall whether driver for sound has been installed at the beginning.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] (F13) Surround Sound Problem. Built in sound card, blue port not working. 1337.HDLA Linux - Hardware 5 09-15-2010 04:32 AM
fc6 sound card problem(SigmaTel STAC9200),no sound,who can help me? weller Linux - Laptop and Netbook 4 02-10-2008 08:19 AM
Sound problem at openSuSE 10.2. Sound card unidentified perfectly Fakhri Linux - Hardware 0 04-29-2007 10:01 PM
i have problem with sound in ATI SB600 chipset,i not hear sound on it jodiedupri Linux - Hardware 0 01-26-2007 08:30 AM
Sound problem after installing/uninstalling JACK sound server bastupungen Linux - Software 1 02-28-2004 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration