Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 09-24-07   #1 (permalink)
Linux Lobbyist
 
endo's Avatar
 
amd nvidia

Join Date: Feb 2007
Location: Omaha, Nebraska
Posts: 2,762

Rep: 158 endo is acknowledged by manyendo is acknowledged by many
Unique Rep: 108
Trader Rating: 10
Default How TO: fix no audio in ubuntu

this is if you are using a sound card.

first step is to enter your bios. make sure that you on board audio is turned off. doing this may fix the problem but if it doesn't then try the rest of these steps.

next go to you /dev folder and make sure there is a file labeled for your sound card if there isnt one then i think your sound card is not installed and if there is more then one then you may still have on board audio turned on or other audio devices that are interfering with your audio.
Quote:
Originally Posted by reset3x View Post
more info on how audio devices show up, in this post
Code:
now go to system -> preferences -> sound
you will see something like this.
set sound events, music and movies, and audio conferencing to Autodetect. if you hit test there should be a annoying tone. then default mixer tracks Device: should be set to what ever your sound card is.

now go to your terminal and type.
Code:
alsamixer
you will see something like this.

now turn every thing up one at a time. until you here sound. PCM should be turned all the way down or muted.

for something more simple instead of using the terminal for the previous step. go to the volume control icon that is defaulted to the upper rite of the panel on the desk top. rite click on it and open volume control.


if any of those are not there go to Edit -> preferences and add them and what ever else you might want to add. i turn the bass and treble all the way up but it is your preference but if things dont sound rite mute the one labeled PCM

Quote:
Originally Posted by skip-br View Post
if you have a usb sound card check this post to see if it helps
Quote:
Originally Posted by Unknownm View Post
If you have Realtek HD drivers check this post to see if it helps

System: Black Sunshine :)
CPU
AMD Athlon 64 FX-60 @ 2800MHz
Motherboard
ABIT AT8 32X Socket 939
Memory
Kingston HyperX 2GB (2 x 1GB)
Graphics Card
EVGA 8800 GTS 320MB
Hard Drive
150gb raptor. WD 1 tb black storage, 500gb
Sound Card
onboard
Power Supply
Antec TruePower Quattro 850W
Case
Thermaltake Armor Series black
CPU cooling
BIG TYPHOON CL-P0114 TT
GPU cooling
stock
OS
windows xp
Monitor
samsung SyncMaster 204B

Last edited by endo : 10-02-07 at 01:07 PM
endo is offline   Reply With Quote
Old 09-26-07   #2 (permalink)
4.0 GHz
 
[FH415] LOKI's Avatar
 
intel nvidia

Join Date: Jan 2006
Location: Newcastle
Posts: 843

Rep: 33 [FH415] LOKI is acknowledged by some
Unique Rep: 28
Hardware Reviews: 1
Trader Rating: 0
Default

Thanks for the info, it helped alot +rep
__________________
System: 127.0.0.1
CPU
Intel P9 Hyper Quazilation Teselator!
Motherboard
Optimus Prime's face
Memory
QuadroSpazz DDR10 90000
Graphics Card
The bionic man's eyes
Hard Drive
40gb ide 1
Sound Card
x-fi extreme gamer fatality edition
Power Supply
Platropedic rombocock
Case
The death star
CPU cooling
Liquid win
GPU cooling
Redbull and ice
OS
Windows 3.1 V2.3bftw
Monitor
Hydrofloric mutagen
[FH415] LOKI is offline [FH415] LOKI's Gallery   Reply With Quote
Old 09-26-07   #3 (permalink)
Linux Lobbyist
 
endo's Avatar
 
amd nvidia

Join Date: Feb 2007
Location: Omaha, Nebraska
Posts: 2,762

Rep: 158 endo is acknowledged by manyendo is acknowledged by many
Unique Rep: 108
Trader Rating: 10
Default

Quote:
Originally Posted by [FH415] LOKI View Post
Thanks for the info, it helped alot +rep
thats good. glad to here i can help.

System: Black Sunshine :)
CPU
AMD Athlon 64 FX-60 @ 2800MHz
Motherboard
ABIT AT8 32X Socket 939
Memory
Kingston HyperX 2GB (2 x 1GB)
Graphics Card
EVGA 8800 GTS 320MB
Hard Drive
150gb raptor. WD 1 tb black storage, 500gb
Sound Card
onboard
Power Supply
Antec TruePower Quattro 850W
Case
Thermaltake Armor Series black
CPU cooling
BIG TYPHOON CL-P0114 TT
GPU cooling
stock
OS
windows xp
Monitor
samsung SyncMaster 204B
endo is offline   Reply With Quote
Old 09-26-07   #4 (permalink)
4.0 GHz
 
[FH415] LOKI's Avatar
 
intel nvidia

Join Date: Jan 2006
Location: Newcastle
Posts: 843

Rep: 33 [FH415] LOKI is acknowledged by some
Unique Rep: 28
Hardware Reviews: 1
Trader Rating: 0
Default

I have another problem i was wondering if you could help me with.
I can't get ubuntu to pickup my microphone, the volume bar and such are
there but theres no input like if im using teamspeak or ventrilo it doesn't
pickup my voice.

Any ideas?
__________________
System: 127.0.0.1
CPU
Intel P9 Hyper Quazilation Teselator!
Motherboard
Optimus Prime's face
Memory
QuadroSpazz DDR10 90000
Graphics Card
The bionic man's eyes
Hard Drive
40gb ide 1
Sound Card
x-fi extreme gamer fatality edition
Power Supply
Platropedic rombocock
Case
The death star
CPU cooling
Liquid win
GPU cooling
Redbull and ice
OS
Windows 3.1 V2.3bftw
Monitor
Hydrofloric mutagen
[FH415] LOKI is offline [FH415] LOKI's Gallery   Reply With Quote
Old 09-26-07   #5 (permalink)
Linux Lobbyist
 
endo's Avatar
 
amd nvidia

Join Date: Feb 2007
Location: Omaha, Nebraska
Posts: 2,762

Rep: 158 endo is acknowledged by manyendo is acknowledged by many
Unique Rep: 108
Trader Rating: 10
Default

that im not sure about because my mic worked rite away. i wold start a topic on that and ask reset3x if he knows what to do.

System: Black Sunshine :)
CPU
AMD Athlon 64 FX-60 @ 2800MHz
Motherboard
ABIT AT8 32X Socket 939
Memory
Kingston HyperX 2GB (2 x 1GB)
Graphics Card
EVGA 8800 GTS 320MB
Hard Drive
150gb raptor. WD 1 tb black storage, 500gb
Sound Card
onboard
Power Supply
Antec TruePower Quattro 850W
Case
Thermaltake Armor Series black
CPU cooling
BIG TYPHOON CL-P0114 TT
GPU cooling
stock
OS
windows xp
Monitor
samsung SyncMaster 204B
endo is offline   Reply With Quote
Old 09-26-07   #6 (permalink)
4.0 GHz
 
[FH415] LOKI's Avatar
 
intel nvidia

Join Date: Jan 2006
Location: Newcastle
Posts: 843

Rep: 33 [FH415] LOKI is acknowledged by some
Unique Rep: 28
Hardware Reviews: 1
Trader Rating: 0
Default

ok will do thanks :]
__________________
System: 127.0.0.1
CPU
Intel P9 Hyper Quazilation Teselator!
Motherboard
Optimus Prime's face
Memory
QuadroSpazz DDR10 90000
Graphics Card
The bionic man's eyes
Hard Drive
40gb ide 1
Sound Card
x-fi extreme gamer fatality edition
Power Supply
Platropedic rombocock
Case
The death star
CPU cooling
Liquid win
GPU cooling
Redbull and ice
OS
Windows 3.1 V2.3bftw
Monitor
Hydrofloric mutagen
[FH415] LOKI is offline [FH415] LOKI's Gallery   Reply With Quote
Old 09-29-07   #7 (permalink)
Audio Amateur
 
tUDJ's Avatar
 
intel nvidia

Join Date: Oct 2006
Location: Manchester
Posts: 3,269

Rep: 328 tUDJ is a proven membertUDJ is a proven membertUDJ is a proven membertUDJ is a proven member
Unique Rep: 257
Trader Rating: 1
Default

Quote:
Originally Posted by endo View Post
make sure there is a file labeled dsp if there isnt one then i think your sound card is not installed
So then what?
__________________
Audio Rig:
X-Fi Xtreme Music / Minidisk deck as DAC
HD600
Millet Hybrid MiniMAX

OCN Speaker ClubOCN Headphones ClubOCN's Audio RigsOCN CD ExchangeHead-Fi Meet Impressions

System: TudjBox.
CPU
E6300 - 3GHz
Motherboard
Gigabyte DS4
Memory
4GB Ballistix
Graphics Card
EVGA 8800GTS 512MB
Hard Drive
120GB + 500GB
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair HX620
Case
Antec P182
CPU cooling
Tuniq
GPU cooling
Stock
OS
XP Pro
Monitor
19" LCD
tUDJ is offline Overclocked Account   Reply With Quote
Old 09-29-07   #8 (permalink)
Linux Lobbyist
 
reset3x's Avatar
 
amd nvidia

Join Date: Nov 2006
Location: reset3x@*nix:~$
Posts: 1,221

Rep: 150 reset3x is acknowledged by manyreset3x is acknowledged by many
Unique Rep: 76
Trader Rating: 1
Default

Quote:
Originally Posted by endo View Post
next go to you /dev folder and make sure there is a file labeled dsp if there isnt one then i think your sound card is not installed and if there is more then one then you still have on board audio turned on
This is not always the case! It was specific to your hardware configuration. If you use just onboard sound it may show up as /dev/dsp. Subsequent sound devices may appear as /dev/dsp1 etc.. and so on... Other devices that may appear include :

/dev/audio

normally a link to /dev/audio0
/dev/audio0

Sun workstation compatible audio device (only a partial implementation, does not support Sun ioctl interface, just u-law encoding)
/dev/audio1

second audio device (if supported by sound card or if more than one sound card installed)
/dev/dsp

normally a link to /dev/dsp0
/dev/dsp0

first digital sampling device
/dev/dsp1

second digital sampling device
/dev/mixer

normally a link to /dev/mixer0
/dev/mixer0

first sound mixer
/dev/mixer1

second sound mixer
/dev/music

high-level sequencer interface
/dev/sequencer

low level MIDI, FM, and GUS access
/dev/sequencer2

normally a link to /dev/music
/dev/midi00

1st raw MIDI port
/dev/midi01

2nd raw MIDI port
/dev/midi02

3rd raw MIDI port
/dev/midi03

4th raw MIDI port
/dev/sndstat

displays sound driver status when read (also available as /proc/sound, removed in 2.4 kernels)

The PC speaker driver provides the following devices:

/dev/pcaudio

equivalent to /dev/audio
/dev/pcsp

equivalent to /dev/dsp
/dev/pcmixer

equivalent to /dev/mixer

Not a slam at your thread!!! just more info

Peace!!
__________________
System: Phobos
CPU
AMD 64 4000+ San Diego
Motherboard
Foxconn NF4SK8AA SLi
Memory
2x1 GB Mushkin CL2
Graphics Card
MSI NX8600GT-T2D256E OC
Hard Drive
WD 250 GB SATA 300
Sound Card
X-Fi XtremeGamer
Power Supply
Ultra 500
Case
Rosewill
CPU cooling
Zalman 9500
GPU cooling
Stock Copper HSF
OS
Kubuntu 8.04-1
Monitor
LG L1932TQ 4ms Flatron 19" LCD
reset3x is offline   Reply With Quote
Old 09-29-07   #9 (permalink)
Programmer
 
intel nvidia

Join Date: Sep 2007
Posts: 43

Rep: 1 Slackware 12 Unknown
Unique Rep: 1
Trader Rating: 0
Default

also, 'alsaconf' will allow you to configure sound. thats the console way. in slackware anyway.
__________________
System: My lil Linux PC
CPU
Intel C2D E6400 @ 3.6GHz
Motherboard
Gigabyte GA-P965-DS3
Memory
1GB OCZ Gold PC6400
Graphics Card
eVGA GeForce 7600GT
Hard Drive
320GB MaXtor
Sound Card
7.1 Diamondtek XtremeSound
Power Supply
680W Echo Star PSU
Case
Rosewill black
CPU cooling
Intel Stock Cooler
GPU cooling
PCI slot fan + stock
OS
Slackware 12
Monitor
20" WestingHouse LCD
Slackware 12 is offline   Reply With Quote
Old 09-30-07   #10 (permalink)
Security Sleuth
 
amd nvidia

Join Date: Jun 2006
Location: Sao Paulo/ Brazil
Posts: 138

Rep: 20 skip-br is acknowledged by some
Unique Rep: 19
Trader Rating: 1
Default

Im using a usb sound card (Sennheiser PC155) and its picked as device #2, sometimes #1.

[Edit]
To properly fix it, I've changed the alsa-base file...
Code:
sudo gedit /etc/modprobe.d/alsa-base
from
Code:
options snd-usb-audio index=-2
to
Code:
options snd-usb-audio index=0
And also created a ~/.asoundrc file with (got it somewhere googling)
Code:
pcm.dmixed {
	type dmix
	ipc_key 1024
	slave {
	    pcm "hw:0,0"
	    period_time 0
	    period_size 1024
	    buffer_size 4096
	    rate 44100
	}
	bindings {
	    0 0
	    1 1
	}
   }
  
   #one called "dsnooped" for capturing
   pcm.dsnooped {
	type dsnoop
        ipc_key 5978293	# must be unique for all dmix plugins!!!!
        ipc_key_add_uid yes
        slave {
                pcm "hw:0,0"
		channels 2
		period_size 1024
		buffer_size 4096
		rate 44100
		periods 0 
		period_time 0
        }
        bindings {
                0 0
                0 1
        }
   }
  
   #and this is the real magic
   pcm.asymed {
       type asym
       playback.pcm "dmixed"
       capture.pcm "dsnooped"
   }
  
   #a quick plug plugin for above device to do the converting magic
   pcm.pasymed {
       type plug
       slave.pcm "asymed"
   }
  
   #a ctl device to keep xmms happy
   ctl.pasymed {
       type hw
       card 0
   }
  
   #for aoss:
   pcm.dsp0 {
       type plug
       slave.pcm "asymed"
   }
  
   ctl.mixer0 {
       type hw
       card 0
   }
That makes my sound card being detect always as device #0 and makes my microphone works.

By the way.... if I set the audio settings as "auto detect" it just crash.
__________________
CPUz verified OC

System: My System
CPU
AMD64 4400+ X2
Motherboard
ASUS A8V Deluxe Rev 2.0
Memory
2 Gb DDR
Graphics Card
6800 GT
Sound Card
Sennheiser PC155
Power Supply
ZM460B-APS
Case
Casemall O2
CPU cooling
stock
GPU cooling
Fatality
OS
WIN XP PRO SP3
Monitor
Samsung 932BW

Last edited by skip-br : 09-30-07 at 10:25 AM Reason: [I think I fix it]
skip-br is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 01:56 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.16095 seconds with 8 queries