|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix | |
How TO: fix no audio in ubuntu
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
Linux Lobbyist
![]()
Join Date: Feb 2007
Location: Omaha, Nebraska
Posts: 2,762
Rep: 158
![]() ![]() Unique Rep: 108
Trader Rating: 10
|
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. Code:
now go to system -> preferences -> sound ![]() 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 ![]() 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
__________________
Last edited by endo : 10-02-07 at 01:07 PM |
|||||||||||||
|
|
|
|
|
#2 (permalink) | |||||||||||||
|
4.0 GHz
![]() |
Thanks for the info, it helped alot +rep
__________________
|
|||||||||||||
|
|
|
|
|
#3 (permalink) | |||||||||||||
|
Linux Lobbyist
![]()
Join Date: Feb 2007
Location: Omaha, Nebraska
Posts: 2,762
Rep: 158
![]() ![]() Unique Rep: 108
Trader Rating: 10
|
thats good. glad to here i can help.
__________________
|
|||||||||||||
|
|
|
|
|
#4 (permalink) | |||||||||||||
|
4.0 GHz
![]() |
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?
|
|||||||||||||
|
|
|
|
|
#5 (permalink) | |||||||||||||
|
Linux Lobbyist
![]()
Join Date: Feb 2007
Location: Omaha, Nebraska
Posts: 2,762
Rep: 158
![]() ![]() Unique Rep: 108
Trader Rating: 10
|
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.
__________________
|
|||||||||||||
|
|
|
|
|
#6 (permalink) | |||||||||||||
|
4.0 GHz
![]() |
ok will do thanks :]
__________________
|
|||||||||||||
|
|
|
|
|
#7 (permalink) | |||||||||||||
|
Audio Amateur
![]() |
So then what?
__________________
Audio Rig: X-Fi Xtreme Music / Minidisk deck as DAC HD600 Millet Hybrid MiniMAX OCN Speaker Club ≡ OCN Headphones Club ≡ OCN's Audio Rigs ≡ OCN CD Exchange ≡ Head-Fi Meet Impressions
|
|||||||||||||
|
|
|
|
#8 (permalink) | ||||||||||||||
|
Linux Lobbyist
![]() |
Quote:
/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!!
|
||||||||||||||
|
|
|
|
|
#9 (permalink) | |||||||||||||
|
Programmer
|
also, 'alsaconf' will allow you to configure sound. thats the console way. in slackware anyway.
__________________
|
|||||||||||||
|
|
|
|
|
#10 (permalink) | ||||||||||||
|
Security Sleuth
|
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 Code:
options snd-usb-audio index=-2 Code:
options snd-usb-audio index=0 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
}
By the way.... if I set the audio settings as "auto detect" it just crash.
__________________
CPUz verified OC
Last edited by skip-br : 09-30-07 at 10:25 AM Reason: [I think I fix it] |
||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|