LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-27-2010, 04:53 PM   #1
andrewc123
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
How to get sound from a Pci soundcard?


Installed Ubuntu today but i cannot get any sound from my pci soundcard the only sound i get is through the inbuilt sound in my motherbaord. Is there a way I can get linux to play sound through the soundcard instead? I have looked for drivers (asus xonar) but there appears to be no such thing for linux. Any help would be appreciated.

Thanks in advance
 
Old 01-27-2010, 05:22 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
run

Code:
lspci
to give us more details of your asus soundcard

2) minor issue..there is pc speaker module=pcspkr
which provides the beeps but I assume you know how to get into your bios to turn off the onboard sound?

3) ubuntu has its own sound stuff in the forum/wiki but you may like to look at
http://sidux.com/index.php?module=Wi...ag=SoundMaster

4) and I think ubuntu may use pulseaudio?

run htop and press pagedown to check if padevchooser is running

in which case just right hand click padevchooser icon click on volume control and choose your sound mixer.
 
Old 01-28-2010, 08:19 AM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Is there a way I can get linux to play sound through the soundcard instead?
You can try installing gnome-alsamixer from the Ubuntu repos. That is a GUI app that should allow you to choose which sound card you want to use, set the volume levels, etc.

Last edited by tommcd; 01-28-2010 at 08:20 AM.
 
Old 01-28-2010, 10:09 AM   #4
andrewc123
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
[QUOTE=aus9;3842881]run

Code:
lspci
Here are the results from "lspci"

00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 6
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller
01:00.0 VGA compatible controller: ATI Technologies Inc Device 6899
01:00.1 Audio device: ATI Technologies Inc Device aa50
02:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
05:00.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]

Thanks for your help
 
Old 01-28-2010, 10:21 AM   #5
andrewc123
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tommcd View Post
You can try installing gnome-alsamixer from the Ubuntu repos. That is a GUI app that should allow you to choose which sound card you want to use, set the volume levels, etc.
Ive install this but i carn't find a way to choose a soundcard in it? Theres 2 tabs one is a realtech one which is my onboard sound and one is an ATI one which is the hdmi sound my card can support, but the pci soundcard still isn't showing up its like linux doesn't even realize its there.

Thanks for your help though
 
Old 01-28-2010, 05:13 PM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
it appears you have 2 audio devices...intel and ati.

During kernel bootup....the wrong one is grabbing index=0

so try the sidux wiki on how to create an index pls
 
Old 01-29-2010, 10:20 AM   #7
andrewc123
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by aus9 View Post
it appears you have 2 audio devices...intel and ati.

During kernel bootup....the wrong one is grabbing index=0

so try the sidux wiki on how to create an index pls
The ati one isn't a soundcard as such its my graphics card which can send sound over hdmi. I guess the intel one is the inbuilt even though the inbuilt sound is realtech:S but the pci card that i want to use is ASUS its not that the wrong one is being choosen its the fact that linux cannot see the pci atall.
 
Old 01-30-2010, 03:39 AM   #8
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
oops I missed the C-Media one
http://www.linuxsound.org/main/index...8.29_soundcard

Code:
su 
modprobe snd-oxygen

lsmod | grep oxy
snd_oxygen              4150  0 
snd_oxygen_lib         23804  1 snd_oxygen
snd_mpu401_uart         4883  1 snd_oxygen_lib
snd_pcm                56325  4 snd_oxygen,snd_oxygen_lib,snd_hda_intel,snd_hda_codec
snd                    43623  16 snd_oxygen,snd_oxygen_lib,snd_mpu401_uart,snd_rawmidi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
your latest kernel should have snd-onygen already....give that a spin and see if sound works

2) you may prefer pulseaudio if you are not going to use an index file to change your cards on the fly.
 
  


Reply



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
ubuntu -how do i switch from onboard sound to pci soundcard boyd98 Linux - Hardware 3 01-12-2010 07:46 PM
PCI soundcard recommendation? DiBosco Linux - Hardware 1 02-19-2008 02:43 PM
Low sound off a ESS Maestro 3 PCI Audio soundcard ttdarkie Linux - Newbie 4 08-07-2005 09:37 AM
Getting CD audio through PCI soundcard NOT motherboard soundcard HalfDiminished Debian 0 01-11-2005 06:59 AM
strange problem with SB PCI 16 soundcard mikew Linux - Hardware 6 11-07-2002 06:57 AM

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

All times are GMT -5. The time now is 03:11 AM.

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