LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2009, 03:07 PM   #1
bloodyscript
Member
 
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Rep: Reputation: 15
alsa problems


hi, im having some trouble with my sound. im running sabayon linux 4.0r1. to get any sound at all on my machine i created

.asoundrc file below:

pcm.!default front:VT82xx{
type hw:1,0
card 1
device 1
}
ctl.!default {
type hw:1,0
card 1
}

now the sound works on amarok and various media players such as: smplayer, mplayer,and kaffine, the os startup sounds do not work. kde displays this message:

"Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (No such file or directory)
The sound server will continue, using the null output device."

the media players produce this message:

"A_O audio output device is busy". tho the sound continues to work its choppy, it speeds up and slows down randomly.

webbrowsers do not have any sound at all.
ok here is:

aplay-l

Code:
 aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: VT82xx [HDA VIA VT82xx], device 0: ALC662 Analog [ALC662 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: VT82xx [HDA VIA VT82xx], device 1: ALC662 Digital [ALC662 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
how would i make my hda via digital become card 0 like it shud be?


lspci | grep Multimedia
lspci | grep multimedia
lspci

Code:
localhost sircody # lspci | grep Multimedia
localhost sircody # lspci | grep multimedia
localhost sircody # lspci 
00:00.0 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. P4M890 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. P4M890 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:02.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:0f.0 IDE interface: VIA Technologies, Inc. Device 5337 (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
02:00.0 VGA compatible controller: ATI Technologies Inc RV610 video device [Radeon HD 2400 PRO]
02:00.1 Audio device: ATI Technologies Inc RV610 audio device [Radeon HD 2400 PRO]
04:04.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)
80:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10)
as you can see lspci |grep Multimedia did not grab anything.

ive done alsaconf so many times and it does absolutly nothing. i can post dmseg if u need it or etc/modules.d/alsa or etc/modprob.d/alsa if u need them. thank you for your help!
 
Old 02-07-2009, 05:18 AM   #2
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
So the problem is you have two soundcards and you want the one currently labeled card 1 to become card 0?

Suspect this is a udev problem not an alsa one. Any road up here's your answer:

http://alsa.opensrc.org/index.php/MultipleCards

Be sure to click the thumb symbol at the lower right to give me my very first thankyou. I'll be as pleased as a male hippopotamus. Probably best to loose the .alsarc file.
 
Old 02-07-2009, 10:53 AM   #3
bloodyscript
Member
 
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Original Poster
Rep: Reputation: 15
i deleted the .asoundrc file, and then this is my alsa conf file /etc/modules.d/alsa:

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.18 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---

still no browser sound or any other change to my sound system

is the problem that ati radeon 2400 pro uses the same module as the via vt1708/a does snd-hda-intel? if it is how do i disable sound on my video card?

it does seem that both cards my on board sound and ati radeon 2400 pro uses the same driver snd_hda_intel so could be that ati radeon is useing the driver while im tryin to use on board sound and thats why media players are saying "A_O AUDIO OUT PUT DEVICE IS BUSY"

Last edited by bloodyscript; 02-07-2009 at 11:39 AM.
 
Old 02-07-2009, 12:21 PM   #4
bloodyscript
Member
 
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Original Poster
Rep: Reputation: 15
ok so i found this not sure if its useful:

sircody@localhost ~ $ ls -l /dev/snd
total 0
crw-rw---- 1 root audio 116, 4 2009-02-06 07:23 controlC0
crw-rw---- 1 root audio 116, 8 2009-02-06 07:23 controlC1
crw-rw---- 1 root audio 116, 3 2009-02-06 07:23 pcmC0D3p
crw-rw---- 1 root audio 116, 7 2009-02-06 07:23 pcmC1D0c
crw-rw---- 1 root audio 116, 6 2009-02-06 07:23 pcmC1D0p
crw-rw---- 1 root audio 116, 5 2009-02-06 07:23 pcmC1D1p
crw-rw---- 1 root audio 116, 9 2009-02-06 12:24 seq
crw-rw---- 1 root audio 116, 2 2009-02-06 07:23 timer

ls -l /dev/dsp does nothing. shows nothing

i was trying to see what my device node was for my sound card. imguessing that control 0 is my ati video card and control 1 is my on board via sound. is /dev/dsp sapose to be my defualt sound device node. or is this fine.
 
Old 02-08-2009, 06:33 AM   #5
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
From above link, might concievably be relevant:
Quote:
Easy way to do this on Ubuntu Dapper
run sudo nano -w /etc/modprobe.d/alsa-base to edit your alsa config, from a terminal.
change the the appropriate sound-slot-[x] modprobe snd-card-[y] to match your desired order. i.e. if card 0 and card 1 are in reverse order from what you would like, make the following edit:

install sound-slot-0 modprobe snd-card-1
install sound-slot-1 modprobe snd-card-0

edit: Easy way to do this on Ubuntu Edgy
Since the above advice for Ubuntu Dapper didn't work for me this is what I did:

run sudo nano -w /etc/modprobe.d/alsa-base to edit your alsa config, from a terminal.
then I added the following at the end of the file and left the rest intact:

options snd-intel8x0 index=-2
options snd-cs46xx index=-1

Which made the Hercules Fortissimo II (snd-cs46xx) the default sound adapter and also made the onboard NFORCE2 (snd-intel8x0) the secondary sound
Media players particular can get iffy with sound for all sorts of reasones. There is sometimes a delay on the Arts thing, or whatever, that you need to wait for before initiating anything. May be desirable to turn Arts off.

Before I meant get rid of .asoundrc if you managed to get the soundcards renamed. You only have one if you have a special requirement - in my case the hardware sends the channels to the wrong speakers.

This may be a udev problem, the thing that names devices, if you feel like reading up on configuring it.
 
Old 02-20-2009, 12:41 PM   #6
bloodyscript
Member
 
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Original Poster
Rep: Reputation: 15
ok ur method had no change in the sound sytem i found a file called alsa.conf this is what i changed:

defaults.namehint.showall off
# show just basic name hints
defaults.namehint.basic on
# show extended name hints
defaults.namehint.extended off
#
defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 1

i replaced the card 0 with card 1 i figured sence it was recongising my video card first id just switch it and see what happens. but did i change it right currently no sound works on the computer. but kde stopped displaying the arts messageso mayb im one step closer or did i just put myself in the backseat again?
 
Old 02-23-2009, 05:24 AM   #7
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Bit confused about this so just quessing:

On my thing the main sound card is connected to the speakers. The TV/multimedia card gets its sound to the speakers via the main sound card.

You can plug the TV card directly into the main sound card with a wire on the outside of the box or one on the inside, the inside one with me is a 4-pin CDROM -> soundcard type cable. This hard wired method is the simplest.

The tv card can be connected to the main sound card with software if a suitable module(s) has been loaded into the kernel; in my case ?alsasaa or something and ?alsa-saa-oss, for oss emulation. Alsa oss emulation would presumably give you your /dev/dsp.

Software connections to main sound card might be something like
Code:
$ arecord hw:1 | aplay hw:0 (this for tv=card 1, main card = 0 presumably)
Here are some other possibilities using sox, just sugestions, other things possible.
Code:
#! /bin/bash
# Try to start tvtime and sox sound and stop them cleanly.

#sox -V -q -w -p -c 2 -r 44100 -t alsa hw:1 -r 44100 -t alsa -v 1 hw:0 &
#sox -d -q -V -r 48000/1 -c 2 -t alsa hw:1 -t alsa -r 44100 -d -v 1 hw:0 &
#sox -q -c 2 -s -w -r 32000 -t ossdsp /dev/dsp1 -t ossdsp -w -c 2 -r 32000 -v 2 /dev/dsp
#sox -q -V -c 1 -r 32000 -t alsa hw:1 -r 44100 -t alsa hw:0 & #no stereo
#sox -q -V -c 2 -r 32000 -t ossdsp /dev/dsp1 -c 2 -r 44100 -t alsa hw:0 &
#pulseaudio --kill
#artsshell terminate
#play -c 2 -w -v 3 -t alsa hw:1 fade 14 &
##sox -q -V -w -s -c 2 -r 32000 -t alsa hw:1 -c 2 -r 44100 -t alsa hw:0 fade 14 & #stereo
##sox -q -V -w -s -c 2 -r 32000 -t ossdsp /dev/dsp1 -c 2 -r 44100 -t alsa hw:0 fade 14 & #stereo
#artswrapper
Sound device in use is a favourite problem. Perhaps loose KDE or whatever and use a window manager on its own, say Enlightenment. (simply put exec Enlightenment in .xinitrc, probably do it.) But do not start esd sound daemon. See if this helps to get things working.

Assume you have /dev/video<n> /dev/radio<n> /dev/dsi* or whatever it's called. I.e. multimedia card is being activated properly.

Sound is a bigger bugger that video for some reason.

Not much sound on my browser, but it does work - perhaps try the test button on any control centre type thing.
 
Old 02-24-2009, 12:15 AM   #8
bloodyscript
Member
 
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Original Poster
Rep: Reputation: 15
i dont have a tv card. i have radeon 2400 pro hdmi video card. and it wants to use my hdmi as defualt sound. is that the same thing as your talkign about. im trying to eliminate that i want to use my on board sound sence i dont have 50 plus dollars for hdmi cable. nothing sound wise is connected to the video card just a dvi cable conted to my tv as my moniture. i go the video to stop slowing down and the duio speeding up on the deafult media player. but the sample rate still increases slightly though out the time the sound server or processes are in use. and its quite annoying restarting it every time to get it to stop. plus i got no sound on my browser. so some where on this computer there has to be a file thats directly stateing my defualt sound card is ati radeon 2400 pro. ive done alsa conf so many times its really annoying. i tried edditing the alsa.conf in usr/share to see if that would work it fixed the sound msg eror it made my on board card deafult but i had no sound at all it just stopped working even tho all the mixers were 100%. this has boggled my mind for 2 months now , its really frustrating and everythign i read to fix the situation on geentoo wiki and alsa wiki dose nothing i dont knoe if im doing sumthing wrong or if my problem is just completly unrealted to what there problem they were trying to fix or what but sound works at around 30% efficancy it would a signifiacant increases if i could get it to 50 so it works half the time i use the computer. know i was wondering if it could be that firefox dosnt like alsa and thats why my broswer sound isnt working if so can i delete alsa completly and use somehting else that i can configure to run on my computer
 
Old 02-24-2009, 10:58 AM   #9
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by bloodyscript View Post
50 plus dollars for hdmi cable
- That much? Get them circa $10 in some supermarkets perhaps?? (Don't know if it'll do any good.)
Quote:
firefox dosnt like alsa and thats why my broswer sound isnt working if so can i delete alsa
- Most unlikely, unless it was specifically compiled without Alsa support, perhaps. Have another look at firefox's own sound configuration, my iceape has such a thing I think.
Quote:
but the sample rate still increases slightly though out the time the sound server or processes are in use. and its quite annoying restarting it every time to get it to stop.
- Had this problem myself. If is meant the latency gets worse with time, sound lags more and more behind picture. Could you try oss emulation to get the latency down a bit? Fiddle about with the size of the buffer, if this is possible. Can you get hold of the sound out of the card? Is it device hw:1; try something like sox -t alsa hw:1 -t alsa hw:0 to try to get sound out of it and get the sound card to output it, perhaps.
Quote:
so some where on this computer there has to be a file thats directly stateing my defualt sound card is ati radeon 2400 pro
You can override any such file the way you were doing origionally with your own .asoundrc file.

Why not try and simply things? Could the card be removed to see what happens?? If you have some sort of desk top environment like KDE things are complicated up. Loose this complexity with
Code:
$ cat > ~/.xinitrc
exec Enlightenment
ctrl+d
perhaps. Good luck.:}

Last edited by lugoteehalt; 02-24-2009 at 10:59 AM.
 
Old 02-25-2009, 10:28 AM   #10
bloodyscript
Member
 
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Original Poster
Rep: Reputation: 15
Quote:
Most unlikely, unless it was specifically compiled without Alsa support, perhaps. Have another look at firefox's own sound configuration, my iceape has such a thing I think.
- ive gone though firfoxes entire preferences addons page info etc... couldnt find anyhwere where it states what sound device it uses so i just thought firefox had a conf file that told it what device to use.

Quote:
Could you try oss emulation to get the latency down a bit
how could i try that? i did look into it and thought it might posibly work but couldnt figure out how to get it acomplished.

Quote:
Can you get hold of the sound out of the card?
nope i can not whenever i have tried to play a song through the erminal using aplay and hw;1 or hw;1,1 or hw;0 or hw;0,1 no sound played it otld me there wasnt such a file to play even when i gave the full path to the song.

Quote:
If you have some sort of desk top environment like KDE things are complicated up. Loose this complexity with
would fluxbox work just the same as enlighenment? if so i have used it and its how i got my video to stop getting un sync with my audio during playback.

i was thinking bout removing the video card and seeing whathappens but would that mean linux wouldnt load my video drivers? becuase of the switch from a card toonboard video?
 
Old 02-25-2009, 11:34 AM   #11
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Quote:
nope i can not whenever i have tried to play a song through the erminal using aplay and hw;1 or hw;1,1 or hw;0 or hw;0,1 no sound played it otld me there wasnt such a file to play even when i gave the full path to the song.
It's a colon not a semi colon: hw:1 not hw;1
Quote:
would fluxbox work just the same as enlighenment? if so i have used it and its how i got my video to stop getting un sync with my audio during playback.
Yes should think so. It's mainly I'm an Enlightenment freak.
Quote:
how could i try that? i did look into it and thought it might posibly work but couldnt figure out how to get it acomplished.
I have a /dev/dsp, which gather you do not, because of a tv card module I have loaded. How to get one in general, don't know. Might be worth a try to do:

$ cat anyfile > /dev/dsp

and see if the device comes into existence when called for - is there a hiss?. Otherwise post the question on its own, friad don't know myself. Think /dev/dsp is the oss device. You could uninstall alsa and install oss.

Last edited by lugoteehalt; 02-25-2009 at 11:36 AM.
 
Old 02-25-2009, 03:17 PM   #12
bloodyscript
Member
 
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Original Poster
Rep: Reputation: 15
ok hopefully this shud help you i restarted the computer took out the graphics card restarted computer didnt want to boot up it froze at the bios screen where u can enter the bios. i fifnaly decided to take the cmos battery out and do a restart which it worked loaded up faster than i ever had this computer load up. the goodnews is that it was the video card that was set at default because i got the os startup sounds word as well as firefox sound whcih i figured it would have done so. so dose this mean i was right that the video card was stealling defualt? and now how do i fix the problem so when i put the card back in it doesnt revert to the old method of the video card stealing default
 
Old 02-26-2009, 04:48 AM   #13
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Don't know, might be. Anyway you're getting somewhere.

Might as well try this: http://alsa.opensrc.org/index.php/Aadebug ??

This might solve the naming of cards problem, if there is one: http://alsa.opensrc.org/index.php/Udev Especially the bit at the bottom which should be easy to just put in the appropriate thing.
Code:
Simple script to create an .asoundrc file 

% cat /usr/bin/asoundrc
#!/bin/bash
# asoundrc v0.1.0 20090101 markc@renta.net GPLv3
#
# A simple script to create a particular default audio device regardless
# of what cards are loaded or in what order. It could be used anytime or
# placed in a ~/.bashrc script for a persistent setup every login.
#
# Usage: asoundrc [DEFAULT_CARD] > ~/.asoundrc 

DEFAULT_CARD=XFi
[ -n "$1" ] && DEFAULT_CARD=$1
export DEFAULT_CARD 

cat /proc/asound/cards | \
 sed -n "s/.*\[\([a-zA-Z0-9]*\).*\].*/pcm.\1 { type hw; card \1; }\nctl.\1 { type hw; card \1; }/p" | \
 awk '{print} END {print "pcm.!default pcm."ENVIRON["DEFAULT_CARD"]"\nctl.!default ctl."ENVIRON["DEFAULT_CARD"]}'
So it seems to be saying 'name this asoundrc and put it in /usr/bin as root. Then run it a la the Usage.

If the syntax of your origional .asoundrc file was correct that should have decided the default card.
 
Old 02-26-2009, 12:35 PM   #14
bloodyscript
Member
 
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Original Poster
Rep: Reputation: 15
the .asoundrc file i created didnt work tho it never loaded it it told me to place it in the home folder tho.

so the [DEfault_CARD] would equal [HDA VIA VT82xx] or would it be hw:1 or hw:1,1 or hw:0 when the cards back in because i shud just assume it would revert back to the way it was correct?

Quote:
Might as well try this: http://alsa.opensrc.org/index.php/Aadebug ??
-
Code:
localhost sircody # ./aadebug
ALSA Audio Debug v0.1.0 - Wed Feb 25 13:39:51 EST 2009
http://alsa.opensrc.org/aadebug
http://www.gnu.org/licenses/gpl.txt

Kernel ----------------------------------------------------
Linux localhost 2.6.27-sabayon #1 SMP Sat Dec 20 16:16:56 UTC 2008 i686 Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz GenuineIntel GNU/Linux

Loaded Modules --------------------------------------------
snd_seq_dummy           9988  0 
snd_seq_oss            35840  0 
snd_seq_midi_event     13056  1 snd_seq_oss
snd_seq                50224  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         13324  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            43136  0 
snd_mixer_oss          20992  1 snd_pcm_oss
snd_hda_intel         318252  7 
snd_pcm                67332  4 snd_pcm_oss,snd_hda_intel
snd_timer              24840  4 snd_seq,snd_pcm
snd                    49700  18 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer
snd_page_alloc         14472  2 snd_hda_intel,snd_pcm

Proc Config -----------------------------------------------
CONFIG_SOUND=y
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_OPL4_LIB=m
CONFIG_SND_VX_LIB=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_DRIVERS=y
# CONFIG_SND_PCSP is not set
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_MTS64=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_PORTMAN2X4=m
CONFIG_SND_AC97_POWER_SAVE=y
CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0
CONFIG_SND_AD1848_LIB=m
CONFIG_SND_CS4231_LIB=m
CONFIG_SND_SB_COMMON=m
CONFIG_SND_SB8_DSP=m
CONFIG_SND_SB16_DSP=m
CONFIG_SND_ISA=y
CONFIG_SND_ADLIB=m
CONFIG_SND_AD1816A=m
CONFIG_SND_AD1848=m
CONFIG_SND_ALS100=m
CONFIG_SND_AZT2320=m
CONFIG_SND_CMI8330=m
CONFIG_SND_CS4231=m
CONFIG_SND_CS4232=m
CONFIG_SND_CS4236=m
CONFIG_SND_DT019X=m
CONFIG_SND_ES968=m
CONFIG_SND_ES1688=m
CONFIG_SND_ES18XX=m
CONFIG_SND_SC6000=m
CONFIG_SND_GUSCLASSIC=m
CONFIG_SND_GUSEXTREME=m
CONFIG_SND_GUSMAX=m
CONFIG_SND_INTERWAVE=m
CONFIG_SND_INTERWAVE_STB=m
CONFIG_SND_OPL3SA2=m
CONFIG_SND_OPTI92X_AD1848=m
CONFIG_SND_OPTI92X_CS4231=m
CONFIG_SND_OPTI93X=m
CONFIG_SND_MIRO=m
CONFIG_SND_SB8=m
CONFIG_SND_SB16=m
CONFIG_SND_SBAWE=m
CONFIG_SND_SB16_CSP=y
CONFIG_SND_SGALAXY=m
CONFIG_SND_SSCAPE=m
CONFIG_SND_WAVEFRONT=m
CONFIG_SND_WAVEFRONT_FIRMWARE_IN_KERNEL=y
CONFIG_SND_PCI=y
CONFIG_SND_AD1889=m
CONFIG_SND_ALS300=m
CONFIG_SND_ALS4000=m
CONFIG_SND_ALI5451=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_ATIIXP_MODEM=m
CONFIG_SND_AU8810=m
CONFIG_SND_AU8820=m
CONFIG_SND_AU8830=m
CONFIG_SND_AW2=m
CONFIG_SND_AZT3328=m
CONFIG_SND_BT87X=m
CONFIG_SND_BT87X_OVERCLOCK=y
CONFIG_SND_CA0106=m
CONFIG_SND_CMIPCI=m
CONFIG_SND_OXYGEN_LIB=m
CONFIG_SND_OXYGEN=m
CONFIG_SND_CS4281=m
CONFIG_SND_CS46XX=m
CONFIG_SND_CS46XX_NEW_DSP=y
CONFIG_SND_CS5530=m
CONFIG_SND_CS5535AUDIO=m
CONFIG_SND_DARLA20=m
CONFIG_SND_GINA20=m
CONFIG_SND_LAYLA20=m
CONFIG_SND_DARLA24=m
CONFIG_SND_GINA24=m
CONFIG_SND_LAYLA24=m
CONFIG_SND_MONA=m
CONFIG_SND_MIA=m
CONFIG_SND_ECHO3G=m
CONFIG_SND_INDIGO=m
CONFIG_SND_INDIGOIO=m
CONFIG_SND_INDIGODJ=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1X=m
CONFIG_SND_ENS1370=m
CONFIG_SND_ENS1371=m
CONFIG_SND_ES1938=m
CONFIG_SND_ES1968=m
CONFIG_SND_FM801=m
CONFIG_SND_FM801_TEA575X_BOOL=y
CONFIG_SND_FM801_TEA575X=m
CONFIG_SND_HDA_INTEL=m
# CONFIG_SND_HDA_HWDEP is not set
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_ATIHDMI=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
# CONFIG_SND_HDA_POWER_SAVE is not set
CONFIG_SND_HDSP=m
CONFIG_SND_HDSPM=m
CONFIG_SND_HIFIER=m
CONFIG_SND_ICE1712=m
CONFIG_SND_ICE1724=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_KORG1212=m
CONFIG_SND_MAESTRO3=m
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
CONFIG_SND_PCXHR=m
CONFIG_SND_RIPTIDE=m
CONFIG_SND_RME32=m
CONFIG_SND_RME96=m
CONFIG_SND_RME9652=m
CONFIG_SND_SIS7019=m
CONFIG_SND_SONICVIBES=m
CONFIG_SND_TRIDENT=m
CONFIG_SND_VIA82XX=m
CONFIG_SND_VIA82XX_MODEM=m
CONFIG_SND_VIRTUOSO=m
CONFIG_SND_VX222=m
CONFIG_SND_YMFPCI=m
CONFIG_SND_SPI=y
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_USX2Y=m
CONFIG_SND_USB_CAIAQ=m
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_PCMCIA=y
CONFIG_SND_VXPOCKET=m
CONFIG_SND_PDAUDIOCF=m
CONFIG_SND_SOC=m
# CONFIG_SOUND_PRIME is not set

Modprobe Conf ---------------------------------------------
alias char-major-116 snd
alias char-major-14 soundcore
## You need to customise this section for your specific sound card(s)
## alias snd-card-1 snd-hda-intel
## alias sound-slot-0 snd-card-1
## alias sound-slot-1 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1
install sound-slot-0 modprobe snd-card-1
install sound-slot-1 modprobe snd-card-0
options snd-Radeon-HD-2400-PRO index=-2
options snd-Azalia-HDAC index=-1

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.17.
 0 [VT82xx         ]: HDA-Intel - HDA VIA VT82xx
                      HDA VIA VT82xx at 0xd7ffc000 irq 17
  2:        : timer
  3: [ 0- 1]: digital audio playback
  4: [ 0- 0]: digital audio playback
  5: [ 0- 0]: digital audio capture
  6: [ 0]   : control
  7:        : sequencer
cat: /proc/asound/hwdep: No such file or directory
00-01: ALC662 Digital : ALC662 Digital : playback 1
00-00: ALC662 Analog : ALC662 Analog : playback 1 : capture 1
Client info
  cur  clients : 3
  peak clients : 3
  max  clients : 192

Client   0 : "System" [Kernel]
  Port   0 : "Timer" (Rwe-)
  Port   1 : "Announce" (R-e-)
    Connecting To: 15:0
Client  14 : "Midi Through" [Kernel]
  Port   0 : "Midi Through Port-0" (RWe-)
Client  15 : "OSS sequencer" [Kernel]
  Port   0 : "Receiver" (-we-)
    Connected From: 0:1

Dev Snd ---------------------------------------------------
controlC0  pcmC0D0c  pcmC0D0p  pcmC0D1p  seq  timer

CPU -------------------------------------------------------
model name	: Intel(R) Pentium(R) Dual  CPU  E2200  @ 2.20GHz
cpu MHz		: 1100.000
model name	: Intel(R) Pentium(R) Dual  CPU  E2200  @ 2.20GHz
cpu MHz		: 1100.000

RAM -------------------------------------------------------
MemTotal:      1999636 kB
SwapTotal:     1015800 kB

Hardware --------------------------------------------------
00:00.0 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.6 Host bridge: VIA Technologies, Inc. P4M890 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge
ok i looked over udev im not sure really how to implment the udev solution with my pc and hardware.

mmm is udev spefically for usb devices because im useing onboard sound not usb?

Last edited by bloodyscript; 02-26-2009 at 01:01 PM.
 
Old 02-27-2009, 11:28 AM   #15
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by bloodyscript View Post
the .asoundrc file i created didnt work tho it never loaded it it told me to place it in the home folder tho.

so the [DEfault_CARD] would equal [HDA VIA VT82xx] or would it be hw:1 or hw:1,1 or hw:0 when the cards back in because i shud just assume it would revert back to the way it was correct?
Yes .asoundrc goes in the home directory: /home/basil/.asoundrc.

Should think [DEFAult card] is the output of aplay -l or something 'official' like in dmesg perhaps. Your suggestion, [HDA ....], is the most probable, if it does not work try some variations probably. It's not goint to be hw:1 or whatever, should have thought, after all the '1' means card1 I think.

Quote:
ok i looked over udev im not sure really how to implment the udev solution with my pc and hardware.
It's just that I pasted in the name of a printer into a similar looking udev file, to the one I mentioned, the other day mimicing the other lines in the file but with the name of my printer, and it worked. So thought you might do the same. The object with me was to get the printer/scanner device, /dev/thing to belong to the group 'scanner'. udev lookes after devices it is not specific to usb. In the past there used to be a vast number of devices in by default, udev is supposed to put in only those that are likely to be needed or something like that.

The thing will probably revert to its previous state when you put the card back in. It might be a very good idea putting it in a different slot if possible - this alters the irq's.
 
  


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
ALSA problems merchtemeagle Linux - General 3 01-12-2007 03:43 PM
ALSA problems ackeye Fedora 2 12-16-2006 06:53 AM
ALSA Problems... it seems... eljefe Linux - Hardware 1 11-03-2004 06:15 PM
alsa problems... socket9001 Slackware 1 04-27-2004 12:32 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration