![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Multimedia & Video Have multimedia question? ATI, Nvidia, Sound cards. Just ask here. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 | |||
|
Ubuntu Extra Shot
![]() Join Date: Dec 2005
Location: Mississauga, ON, Canada
Beans: 245
Kubuntu 6.10 Edgy
|
Comprehensive Sound Problem Solutions Guide v0.5e UPDATE - The instructions on this page have a new home at Comprehensive_Sound_Problems_Solutions_Guide I'm still leaving a copy here in the meantime, until I am happy with the layout there. Version History (DD-MM-YY) 28-06-06 - version 0.1 - initial creation 28-06-06 - version 0.2 - alsa-source guide added 28-06-06 - version 0.3 - alsa-drivers from alsa-project guide added 29-06-06 - version 0.4 - multiple sounds and multiple cards support added 02-07-06 - version 0.4 - fixed mistake spotted by Jvaldezjr 04-07-06 - version 0.5a - layout changes - starting on MIDI guide - Read *EXPERIMENTAL* 04-07-06 - version 0.5a - added part on saving sound settings so they are restored after reboot. 11-07-06 - version 0.5b - added guide for doing a *fresh* kernel installation 13-07-06 - version 0.5c - minor layout edit - moved *fresh* kernel above compilation to see if it is more help and if it solves more problems. 15-07-06 - version 0.5d - usage update 17-07-06 - version 0.5e - added Advanced Guides by other Ubuntuers 21-08-06 - Initial phase of moving page to UDSF 23-08-06 - Added a Further Reading section - first link thanks to segalion. 12-11-06 - version 0.6 - finally added "Adding the current user to the audio group" - and a few formatting fixes Background / Notes / Warnings
General Help - Start here if you have no idea why sound is not playing (1) Go to a shell and type: Code:
aplay -l
(2) Type this into the shell: Code:
lspci -v
(4) Now go back to the shell and type Code:
sudo modprobe snd- For example, my driver is a via82xx so I would type, sudo modprobe snd-via82xx.
Getting the ALSA drivers from a *fresh* kernel Sometimes, sound might be configured correctly, but for some reason or another (tinkering) it stops working. One way to go back to the old setup is to reinstall Ubuntu. However, this step is actually quite unnecessary since you are reinstalling everything because of one thing. A faster way, is to just remove the problematic packages and reinstall them cleanly. (1) Remove these packages Code:
sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils (2) Reinstall those same packages Code:
sudo apt-get install linux-sound-base alsa-base alsa-utils VERY IMPORTANT NOTE: Ubuntu (GNOME) users have reported that packages 'gdm' and 'ubuntu-desktop' are removed after removing the linux-sound-base packages. If this happens, then do the following Code:
sudo apt-get install gdm ubuntu-desktop (3) Reboot VERY IMPORTANT NOTE: Xubuntu (XFCE) users have reported that packages 'gdm' and 'xubuntu-desktop' are removed after removing the linux-sound-base packages. If this happens, then do the following Code:
sudo apt-get install gdm xubuntu-desktop (3) Reboot Now you may ask "I already had the packages, so why did I go through the trouble of removing them, then installing them". The answer lies in the --purge option which removes all the extra information that accumulated from tinkering and upgrading. After doing a purge then install, the packages are unpackaged as if it they are brand new. (4) At this point, try using Code:
aplay -l
ALSA driver Compilation
Using alsa-source
If you get no error messages, you will have installed the drivers successfully.
Using drivers from alsa-project - update I now recommend using the stable version 1.0.12
Code:
If you get no errors from doing the above then you have successfully compiled alsa-drivers from source. Resume this guide from General Help step 4. Using alsamixer
Do this step to ensure that your alsamixer settings are reloaded with each boot. First make sure you have your settings just the way you like them in alsamixer. Then do Code:
sudo alsactl store 0 Getting more than one application to use the soundcard at the same time
Configuring default soundcards / stopping multiple soundcards from switching Note: This section assumes that you have installed each soundcard properly.
Code:
options snd-C index=0 Adding the current user to the audio group A very common cause for a user to not have sound is not having his/her username in the /etc/group. Thanks to rustybutt for this simple check. Code:
grep 'audio' /etc/group Code:
audio:x:29: Code:
audio:x:29:ubuntu Code:
audio:x:29:root Code:
sudo nano /etc/group Code:
audio:x:29:root Code:
audio:x:29:root:moocow Hit CTRL + 0 to save, then CTRL + X to exit. That's the end of that Getting MIDI To Work - *EXPERIMENTAL* This section assumes you can successfully hear sound from your soundcard. First of all, make sure that you actually have a MIDI port on your soundcard. Most onboard soundcards do not have a MIDI port. Next, open up this file: Code:
sudo nano /etc/modprobe.d/alsa-base Then add this options line Code:
options <snd module name here i.e. snd-via82xx> mpu_port=0x330 OR if you already have a options line for this soundcard add Code:
mpu_port=0x330 The default MIDI port is 330. You should verify this number in your BIOS if you are not sure. If the number is not listed, it is most likely that the number is 330 (add the 0x for the file). If you get no errors, you have successfully installed your MIDI port. At the moment, I do not know if any further configuration is necessary. Miscellaneous Tips and Tricks Here are a few things that other people have dug up over the course of this guide. Not all tips are meant to work for all hardware (believe me hda-intel will probably have like a mini guide of it's own one day).
Quote:
Quote:
Further Reading http://www.sabi.co.uk/Notes/linuxSoundALSA.html - Some advanced reading on ALSA - thanks segalion To Do: Important - no particular order
Related Getting keyboard multimedia keys to work - http://doc.gwos.org/index.php/MultimediaKeys (I personally like the non-keytouch route - configuring xmodmap and then using gnome-keybindings or for KDE (System Settings >> Regional and Language Settings >> Keyboard Shortcuts). The xmodmap route also works for XFCE, but I do not how to configure XFCE application keybindings. Posts / References /Credits MultipleCards from alsa.opensrc.org Every single sound problem error post I have read ![]() The Ubuntu community for being energetic, dynamic, and polite Last edited by LordRaiden; November 12th, 2006 at 10:55 PM.. |
|||
|
|
|
|
|
#2 |
|
Ubuntu Extra Shot
![]() Join Date: Dec 2005
Location: Mississauga, ON, Canada
Beans: 245
Kubuntu 6.10 Edgy
|
Re: Comprehensive Sound Problem Solutions Guide
Bumping this post since I think it is ready to be used by people having trouble with sound. I'll do my best to field questions and make changes to this guide as needed. If you are an experienced Ubuntu user, please help out with testing, verifying, and helping people who use this guide.
Thanks in advance
__________________
Comprehensive Sound Problems Solution Guide | ALSA Bugtracking https://bugtrack.alsa-project.org |
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2008
Beans: 1
|
Re: Comprehensive Sound Problem Solutions Guide
Hi. I'm newbie to linux.since i first installed to my laptop, I've had problem with the sound. I've tried everything but nothing seems to work. Alsa installation went smoothly but no sound still. I also tried the OSS version but doesn't seem to work too. no error messages but NO SOUND. I found a file in driverguide but made for redhat. I wonder if it could be used in ubuntu?
|
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Jun 2008
Beans: 25
|
Re: Comprehensive Sound Problem Solutions Guide
Well, I don't know what I did, but sound is fine now. I made so many changes according to different threads in this forum, that I got confused about what I added and deleted, so I wound up just reformatting and installing ubuntu all over again from scratch. All of the sudden....sound works!
Now if I can just figure out how to control the volume from my keyboard, lol. |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2008
Beans: 9
|
Re: Comprehensive Sound Problem Solutions Guide
Ok I managed to solve my problem by using a "-" and not a "_" in the name of the file
![]() After that Temüjin's guide on installing oss worked great ![]() ![]() |
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Jul 2008
Beans: 23
|
Re: Comprehensive Sound Problem Solutions Guide
Hi,
I've installed Ubuntu 8.04 today (first time Linux user) and I'm not getting any sound. The guide was very helpful, I followed all the steps, and everything worked except that I still don't have any sound. My card is listed, and I believe I managed to install the driver? My card is Creative Labs SB Audigy LS, and I did the snd-ca0106 which is the driver specified. Any help would be much appreciated. I'm not sure what other info you need, but I'd be happy to supply it if I can. I'm very new with the terminal and commands, so I find explanations of the commands useful. Thanks |
|
|
|
|
|
#7 | |
|
Gee! These Aren't Roasted!
![]() |
Re: Comprehensive Sound Problem Solutions Guide
Quote:
After I installed upgrades I lost my Sound with the error message " NO VOLUME CONTROL G STREAMER PLUGINS AND OR DEVICES FOUND ". It seems that there are many of us with this problem. I have tried numerous suggestions in various posts - but nothing has resolved my problem. I have found however that if I run UBUNTU from my installation CD - I have sound !!!!!. So can anyone tell me how I can reinstall UBUNTU from the cd or wherever WITHOUT LOSING ALL MY DATA AND PROGRAMMES, which have taken many months to get together. I wait in eager anticipation for any helpful suggestions.I have tried ALL suggestions made by Lord Raiden in his sticky - but nothing so far resolves my problem |
|
|
|
|
|
|
#8 |
|
Gee! These Aren't Roasted!
![]() |
Re: Comprehensive Sound Problem Solutions Guide
THIS SOLVED MY PROBLEM !!!!!!!!!!!!!!!!!!!!!
Please open a Terminal from the menu Applications->Accessories->Terminal and type: sudo apt-get update sudo apt-get upgrade sudo apt-get install linux-ubuntu-modules-$(uname -r) |
|
|
|
|
|
#9 | ||
|
First Cup of Ubuntu
![]() Join Date: Sep 2007
Beans: 3
|
Re: Comprehensive Sound Problem Solutions Guide
I have tried the guide and at general help (1) I was success then I did the alsa mixer thing and even tried getting alsa drivers. After that I did Alsa driver compilation the automatic one and didn't get any errors. But on general help (4) and get stuck. Sound worked on the older ubuntu. I get stuck and can't find my chipset.
Quote:
Quote:
Last edited by steffenomak; August 5th, 2008 at 05:43 PM.. |
||
|
|
|
|
|
#10 |
|
Way Too Much Ubuntu
![]() |
Re: Comprehensive Sound Problem Solutions Guide
Lord Raidon,
I followed your instructions, got this: 0000:00:00.0 Host bridge: Intel Corporation 440LX/EX - 82443LX/EX Host bridge (r ev 03) Flags: bus master, medium devsel, latency 64 Memory at 50000000 (32-bit, prefetchable) [size=64M] Capabilities: <available only to root> 0000:00:01.0 PCI bridge: Intel Corporation 440LX/EX - 82443LX/EX AGP bridge (rev 03) (prog-if 00 [Normal decode]) Flags: bus master, 66MHz, medium devsel, latency 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 I/O behind bridge: 00001000-00001fff Memory behind bridge: 40000000-410fffff Prefetchable memory behind bridge: 20000000-200fffff 0000:00:03.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 42) Subsystem: D-Link System Inc DFE-530TX rev B Flags: bus master, medium devsel, latency 64, IRQ 11sudo modprobe snd-via82xx. I/O ports at 2400 [size=256] Memory at 41100000 (32-bit, non-prefetchable) [size=256] Expansion ROM at 20100000 [disabled] [size=64K] Capabilities: <available only to root> 0000:00:14.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 01) Flags: bus master, medium devsel, latency 0 0000:00:14.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) ( prog-if 80 [Master]) Flags: bus master, medium devsel, latency 64 I/O ports at 2020 [size=16] 0000:00:14.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI]) Flags: bus master, medium devsel, latency 64, IRQ 11 I/O ports at 2000 [size=32] 0000:00:14.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01) Flags: medium devsel, IRQ 9 0000:01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/ 2X (rev 5c) (prog-if 00 [VGA]) Subsystem: Compaq Computer Corporation: Unknown device 0000 Flags: bus master, VGA palette snoop, stepping, medium devsel, latency 6 6, IRQ 11 Memory at 40000000 (32-bit, non-prefetchable) [size=16M] I/O ports at 1000 [size=256] Memory at 41000000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at 20000000 [disabled] [size=128K] Capabilities: <available only to root> Then went to ALSA, but for the life of me, there doesn't seem to be an easy search utility on the site where I can input the above information to retrieve the right spec for the sounddriver. What must I do, no sound, and its not my computer, but an eager lass you desperately wants her machine to pump. Afrodeity |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|