Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Painless sound mixing using ALSA
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
WTFman
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 153

PostPosted: Thu May 19, 2005 6:50 am    Post subject: Reply with quote

caslca wrote:
Not exactly painless over here. I can't get a second stream through - I get ALSA error saying device or resource busy (intel_8x0)
Same here, damn, getting sound to work correctly has been a never ending battle since my first Gentoo install, btw in the first post you should change "media-lib/alsa-lib ~arch" to "media-libs/alsa-lib ~arch"
_________________
Occupation: Professional Slacker
Hobbies/Interests: Open Source Aficionado since 2005
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Thu May 19, 2005 5:37 pm    Post subject: Reply with quote

Oops :oops: . Thanks for letting me know.
Back to top
View user's profile Send private message
qnx
l33t
l33t


Joined: 25 Jun 2002
Posts: 638
Location: Göteborg, Sweden

PostPosted: Fri May 20, 2005 4:12 pm    Post subject: Reply with quote

Can anybody confirm: this is not working on nForce2? As we all know the mobo has intel_8x0 card on it, but some of you says it doesn't work while others got it working - but on another mobos which I'm not so sure are nForce2-based. So is it working on nForce2 or not?
Cheers!
_________________
Registred Linux user #191143!
Abit NF7-S rev. 2.00 (BIOS v. 2.7)
AMD AthlonXP 2500+ (Barton)
PATA Seagate ST3120022A
SATA Seagate ST3200822AS & Silicon Image 3112 chipset
Gentoo Linux :)
Back to top
View user's profile Send private message
WTFman
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 153

PostPosted: Sat May 21, 2005 1:10 pm    Post subject: Reply with quote

Ok this really DOES work, I just had to configure my programs. I configured Mplayer, XMMS, Gaim (emerge alsaplayer for this to work) and firefox using the directions in the Wiki and it does work after all. :D thanx!
_________________
Occupation: Professional Slacker
Hobbies/Interests: Open Source Aficionado since 2005
Back to top
View user's profile Send private message
qnx
l33t
l33t


Joined: 25 Jun 2002
Posts: 638
Location: Göteborg, Sweden

PostPosted: Sat May 21, 2005 2:46 pm    Post subject: Reply with quote

Excuse me being lazy.. but now I've found somthing out. By a misstake I lanuched xmms and mplayer (both with ALSA out) in XFCE4 once and was VERY surprised to see (hear) both working! Then I realized "it must be because of this .asound-file". But.. then I realized somthing else.. My kernel has the latest ALSA, so this is supposed to work without dmix. So I deleted .asound.

And it worked.

I emerged gstreamer and stuff for my desktop and disabled arts (I use KDE). Changed juk and amarok to output to gstreamer. and it worked. and works. However, some songs are played some times, sometimes not..sometimes it "dies" so I have to press "stop" and "play" again, sometimes the whole app dies so I have to kill it. It seems unstable. and not only in gstreamer. I tried xmms->alsa out and mplayer->alsa. And suddenly xmms stopped playing after a while and had to be killed and restarted again. then it worked again.

So, dmix is not needed anymore, but the solution provided by ALSA seem to be a bit unstable still. It needs testing and some fixing before it'll become my prefered audio option...

Still... xmms with alsa takes about 0.3% of CPU. juk or amarok with gstreamer use 5-7%... and with arts about 5% (xmms+arts also 5%). How can xmms be so much "better", I thought they all use the same mp123 decoder...
_________________
Registred Linux user #191143!
Abit NF7-S rev. 2.00 (BIOS v. 2.7)
AMD AthlonXP 2500+ (Barton)
PATA Seagate ST3120022A
SATA Seagate ST3200822AS & Silicon Image 3112 chipset
Gentoo Linux :)
Back to top
View user's profile Send private message
TheS4int
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2005
Posts: 79

PostPosted: Sat May 21, 2005 7:06 pm    Post subject: Reply with quote

im using amd64 gentoo-2.6.11-r7 compiled with genkernel
after all installed i become this errors

thats code from /var/log/messages
Code:
May 21 20:35:32 crunsher parport: PnPBIOS parport detected.
May 21 20:35:32 crunsher parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
May 21 20:35:32 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_find_id
May 21 20:35:32 crunsher snd_ioctl32: Unknown symbol snd_ctl_find_id
May 21 20:35:32 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_lib_readv
May 21 20:35:32 crunsher snd_ioctl32: Unknown symbol snd_pcm_lib_readv
May 21 20:35:32 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_lib_writev
May 21 20:35:32 crunsher snd_ioctl32: Unknown symbol snd_pcm_lib_writev
May 21 20:35:32 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_elem_read
May 21 20:35:32 crunsher snd_ioctl32: Unknown symbol snd_ctl_elem_read
May 21 20:35:32 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_hw_params
May 21 20:35:32 crunsher snd_ioctl32: Unknown symbol snd_pcm_hw_params
May 21 20:35:32 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_elem_write
May 21 20:35:32 crunsher snd_ioctl32: Unknown symbol snd_ctl_elem_write
May 21 20:35:32 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_hw_refine
May 21 20:35:32 crunsher snd_ioctl32: Unknown symbol snd_pcm_hw_refine
May 21 20:35:32 crunsher Disabled Privacy Extensions on device ffffffff805390c0(lo)
May 21 20:36:44 crunsher login(pam_unix)[9030]: session opened for user root by (uid=0)
May 21 20:36:49 crunsher rc-scripts: WARNING:  you are stopping a boot service.
May 21 20:37:17 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_find_id
May 21 20:37:17 crunsher snd_ioctl32: Unknown symbol snd_ctl_find_id
May 21 20:37:17 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_lib_readv
May 21 20:37:17 crunsher snd_ioctl32: Unknown symbol snd_pcm_lib_readv
May 21 20:37:17 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_lib_writev
May 21 20:37:17 crunsher snd_ioctl32: Unknown symbol snd_pcm_lib_writev
May 21 20:37:17 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_elem_read
May 21 20:37:17 crunsher snd_ioctl32: Unknown symbol snd_ctl_elem_read
May 21 20:37:17 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_hw_params
May 21 20:37:17 crunsher snd_ioctl32: Unknown symbol snd_pcm_hw_params
May 21 20:37:17 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_elem_write
May 21 20:37:17 crunsher snd_ioctl32: Unknown symbol snd_ctl_elem_write
May 21 20:37:17 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_hw_refine
May 21 20:37:17 crunsher snd_ioctl32: Unknown symbol snd_pcm_hw_refine
May 21 20:37:18 crunsher rc-scripts: ERROR: Failed to load necessary drivers
May 21 20:39:04 crunsher rc-scripts: WARNING:  you are stopping a boot service.
May 21 20:39:34 crunsher ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 20 (level, high) -> IRQ 20
May 21 20:39:34 crunsher PCI: Setting latency timer of device 0000:00:06.0 to 64
May 21 20:39:34 crunsher intel8x0_measure_ac97_clock: measured 49708 usecs
May 21 20:39:34 crunsher intel8x0: clocking to 46784
May 21 20:39:34 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_find_id
May 21 20:39:34 crunsher snd_ioctl32: Unknown symbol snd_ctl_find_id
May 21 20:39:34 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_lib_readv
May 21 20:39:34 crunsher snd_ioctl32: Unknown symbol snd_pcm_lib_readv
May 21 20:39:34 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_lib_writev
May 21 20:39:34 crunsher snd_ioctl32: Unknown symbol snd_pcm_lib_writev
May 21 20:39:34 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_elem_read
May 21 20:39:34 crunsher snd_ioctl32: Unknown symbol snd_ctl_elem_read
May 21 20:39:34 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_hw_params
May 21 20:39:34 crunsher snd_ioctl32: Unknown symbol snd_pcm_hw_params
May 21 20:39:34 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_elem_write
May 21 20:39:34 crunsher snd_ioctl32: Unknown symbol snd_ctl_elem_write
May 21 20:39:34 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_hw_refine
May 21 20:39:34 crunsher snd_ioctl32: Unknown symbol snd_pcm_hw_refine
May 21 20:39:53 crunsher rc-scripts: WARNING:  you are stopping a boot service.
May 21 20:40:14 crunsher ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 20 (level, high) -> IRQ 20
May 21 20:40:14 crunsher PCI: Setting latency timer of device 0000:00:06.0 to 64
May 21 20:40:14 crunsher intel8x0_measure_ac97_clock: measured 49726 usecs
May 21 20:40:14 crunsher intel8x0: clocking to 46801
May 21 20:40:14 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_find_id
May 21 20:40:14 crunsher snd_ioctl32: Unknown symbol snd_ctl_find_id
May 21 20:40:14 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_lib_readv
May 21 20:40:14 crunsher snd_ioctl32: Unknown symbol snd_pcm_lib_readv
May 21 20:40:14 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_lib_writev
May 21 20:40:14 crunsher snd_ioctl32: Unknown symbol snd_pcm_lib_writev
May 21 20:40:14 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_elem_read
May 21 20:40:14 crunsher snd_ioctl32: Unknown symbol snd_ctl_elem_read
May 21 20:40:14 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_hw_params
May 21 20:40:14 crunsher snd_ioctl32: Unknown symbol snd_pcm_hw_params
May 21 20:40:14 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_elem_write
May 21 20:40:14 crunsher snd_ioctl32: Unknown symbol snd_ctl_elem_write
May 21 20:40:14 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_hw_refine
May 21 20:40:14 crunsher snd_ioctl32: Unknown symbol snd_pcm_hw_refine
May 21 20:42:18 crunsher rc-scripts: WARNING:  you are stopping a boot service.
May 21 20:42:19 crunsher ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 20 (level, high) -> IRQ 20
May 21 20:42:19 crunsher PCI: Setting latency timer of device 0000:00:06.0 to 64
May 21 20:42:19 crunsher intel8x0_measure_ac97_clock: measured 49730 usecs
May 21 20:42:19 crunsher intel8x0: clocking to 46805
May 21 20:42:20 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_find_id
May 21 20:42:20 crunsher snd_ioctl32: Unknown symbol snd_ctl_find_id
May 21 20:42:20 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_lib_readv
May 21 20:42:20 crunsher snd_ioctl32: Unknown symbol snd_pcm_lib_readv
May 21 20:42:20 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_lib_writev
May 21 20:42:20 crunsher snd_ioctl32: Unknown symbol snd_pcm_lib_writev
May 21 20:42:20 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_elem_read
May 21 20:42:20 crunsher snd_ioctl32: Unknown symbol snd_ctl_elem_read
May 21 20:42:20 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_hw_params
May 21 20:42:20 crunsher snd_ioctl32: Unknown symbol snd_pcm_hw_params
May 21 20:42:20 crunsher snd_ioctl32: disagrees about version of symbol snd_ctl_elem_write
May 21 20:42:20 crunsher snd_ioctl32: Unknown symbol snd_ctl_elem_write
May 21 20:42:20 crunsher snd_ioctl32: disagrees about version of symbol snd_pcm_hw_refine
May 21 20:42:20 crunsher snd_ioctl32: Unknown symbol snd_pcm_hw_refine


/etc/init.d/alsasound restart
Code:
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels...                                           [ ok ]
 * Unloading ALSA...                                                      [ ok ]
 * Unloading ALSA modules...                                              [ ok ]
 * Loading ALSA modules...
 *   Loading: snd-card-0...                                               [ ok ]
 *   Loading: snd-seq-oss...                                              [ ok ]
 *   Loading: snd-pcm-oss...                                              [ ok ]
 *   Loading: snd-ioctl32...
FATAL: Error inserting snd_ioctl32 (/lib/modules/2.6.11-gentoo-r7/alsa-driver/acore/ioctl32/snd-ioctl32.ko): Unknown symbol in module, or unknown parameter (see dmesg)                                                                   [ !! ]
                                                                          [ ok ]
 * Restoring Mixer Levels...                                              [ ok ]


/etc/modules.conf
Code:
# Set this to the correct number of cards.

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.8 ---
options snd  device_mode=0666
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---


i've all done from guide
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Sun May 22, 2005 2:12 am    Post subject: Reply with quote

Read the bottom of the FAQ. I revised it a bit because I think doing what I described will fix the error you are receiving.
Back to top
View user's profile Send private message
TheS4int
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2005
Posts: 79

PostPosted: Tue May 24, 2005 11:58 am    Post subject: Reply with quote

ive still a problem...

ive done after kernel compile...

/usr/src/linux
Code:
make clean
make mrproper
cp oldconfig .config
cp oldconfig .config.bak (at coldconfig is ALSA and sound drivers as module loaded)

make oldconfig
make modules_prepare


then ive put ALSA_CARDS="intel8x0" in /etc/make.conf

...
Code:
make --newuse alsa-driver
make --oneshot --newuse alsa-tools alsa-lib


here are my error messages...

dmesg...
Code:
snd_page_alloc: no version for "struct_module" found: kernel tainted.
ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 20
ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 20 (level, high) -> IRQ 20
PCI: Setting latency timer of device 0000:00:06.0 to 64
intel8x0_measure_ac97_clock: measured 49722 usecs
intel8x0: clocking to 46797
...
snd_seq_dummy: disagrees about version of symbol snd_seq_create_kernel_client
snd_seq_dummy: Unknown symbol snd_seq_create_kernel_client
snd_ioctl32: disagrees about version of symbol snd_ctl_find_id
snd_ioctl32: Unknown symbol snd_ctl_find_id
snd_ioctl32: disagrees about version of symbol snd_pcm_lib_readv
snd_ioctl32: Unknown symbol snd_pcm_lib_readv
snd_ioctl32: disagrees about version of symbol snd_pcm_lib_writev
snd_ioctl32: Unknown symbol snd_pcm_lib_writev
snd_ioctl32: disagrees about version of symbol snd_ctl_elem_read
snd_ioctl32: Unknown symbol snd_ctl_elem_read
snd_ioctl32: disagrees about version of symbol snd_pcm_hw_params
snd_ioctl32: Unknown symbol snd_pcm_hw_params
snd_ioctl32: disagrees about version of symbol snd_ctl_elem_write
snd_ioctl32: Unknown symbol snd_ctl_elem_write
snd_ioctl32: disagrees about version of symbol snd_pcm_hw_refine
snd_ioctl32: Unknown symbol snd_pcm_hw_refine


after reboot ive also done alsaconf or /etc/init.d/alsasound restart...
Code:
 * Unloading ALSA...                                                      [ ok ]
 * Unloading ALSA modules...                                              [ ok ]
 * Loading ALSA modules...
 *   Loading: snd-card-0...
FATAL: Module snd_*** not found.                                          [ !! ]

 *   Loading: snd-seq-oss...                                              [ ok ]
 *   Loading: snd-pcm-oss...                                              [ ok ]
 *   Loading: snd-ioctl32...
FATAL: Error inserting snd_ioctl32 (/lib/modules/2.6.11-gentoo-r7/alsa-driver/acore/ioctl32/snd-ioctl32.ko): Unknown symbol in module, or unknown parameter (see dmesg)                                                                   [ !! ]

 * ERROR: Failed to load necessary drivers                                [ ok ]
 * Restoring Mixer Levels...                                              [ ok ]


alsaconf has this message after i choose my soundcard (it detects the intel8x0)...
now im wondering... while i write this, ive done alsconf. and now comes other message, same old error from above...
Code:
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels...                                           [ ok ]
 * Unloading ALSA...                                                      [ ok ]
 * Unloading ALSA modules...                                              [ ok ]
 * Loading ALSA modules...
 *   Loading: snd-card-0...                                               [ ok ]
 *   Loading: snd-seq-oss...                                              [ ok ]
 *   Loading: snd-pcm-oss...                                              [ ok ]
 *   Loading: snd-ioctl32...
FATAL: Error inserting snd_ioctl32 (/lib/modules/2.6.11-gentoo-r7/alsa-driver/acore/ioctl32/snd-ioctl32.ko): Unknown symbol in module, or unknown parameter (see dmesg)                                                                   [ !! ]
                                                                          [ ok ]
 * Restoring Mixer Levels...                                              [ ok ]


please, how can a run my sound card with compiling the kernel with genkernel and re-emerging the alsa-modules?
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Tue May 24, 2005 12:08 pm    Post subject: Reply with quote

TheS4int wrote:
ive still a problem...


then ive put ALSA_CARDS="intel8x0" in /etc/make.conf

...
Code:
make --newuse alsa-driver
make --oneshot --newuse alsa-tools alsa-lib


you do mean emerge instead of make, don't you?

and what is
Code:
make modules_prepare
? a customized target for compiling kernel?
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
TheS4int
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2005
Posts: 79

PostPosted: Tue May 24, 2005 12:24 pm    Post subject: Reply with quote

Quote:
make modules_prepare

that comes from "emerge --newuse alsa-driver" when i ..
Code:
make clean
make mrproper
emerge --newuse alsa-driver


Quote:
you do mean emerge instead of make, don't you?

yes

should i try without make modules_prepare?


AND UPDATE:

at console, without X:
if i try alsaconf comes after selecting the soundcard this error in a blue window...
Code:
configuring snd-***
Do you want to modify err?
Configuring [lib/liblow.c(329)]:
Do you want to modify /etc/modules.d/alsa?
    <yes>   <no>


at X (kde) comes no error, but after reinitialize alsasound...
Code:
* WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels...                                           [ ok ]
 * Unloading ALSA...                                                      [ ok ]
 * Unloading ALSA modules...                                              [ ok ]
 * Loading ALSA modules...
 *   Loading: snd-card-0...                                               [ ok ]
 *   Loading: snd-seq-oss...                                              [ ok ]
 *   Loading: snd-pcm-oss...                                              [ ok ]
 *   Loading: snd-ioctl32...
FATAL: Error inserting snd_ioctl32 (/lib/modules/2.6.11-gentoo-r7/alsa-driver/acore/ioctl32/snd-ioctl32.ko): Unknown symbol in module, or unknown parameter (see dmesg)                                                                   [ !! ]
                                                                          [ ok ]
 * Restoring Mixer Levels...                                              [ ok ]


UPDATE:

i have tryed to make mrproper before compiling the kernel with genkernel, but no solution for this problem.

this gives me lsmod...
Code:
snd_pcm_oss            56864  0
snd_pcm               101900  1 snd_pcm_oss
snd_page_alloc         11272  1 snd_pcm
snd_mixer_oss          19712  1 snd_pcm_oss
snd_seq_oss            37248  0
snd_seq_midi_event      9344  1 snd_seq_oss
snd_seq                57408  4 snd_seq_oss,snd_seq_midi_event
snd_timer              25864  2 snd_pcm,snd_seq
snd_seq_device         10256  2 snd_seq_oss,snd_seq
snd                    61800  7 snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
parport_pc             42472  0
parport                40588  1 parport_pc
forcedeth              19840  0
i2c_nforce2             7936  0
nls_utf8                2688  1
ntfs                   95616  1
psmouse                28556  0
tda9887                15768  0
tuner                  24228  0
saa7134               114388  0
video_buf              25092  1 saa7134
v4l2_common             8064  1 saa7134
v4l1_compat            13188  1 saa7134
ir_common               6020  1 saa7134
videodev               12416  1 saa7134
aic79xx               191868  0
mptctl                 27616  0
mptscsih               37036  0
mptbase                44896  2 mptctl,mptscsih
3w_xxxx                29344  0
sata_sis                8320  0
sata_sx4               14724  0
sata_via                9732  0
sata_svw                8836  0
sata_sil               10500  0
sata_promise           12164  0
sbp2                   25480  0
ohci1394               33668  0
ieee1394              115032  2 sbp2,ohci1394
Back to top
View user's profile Send private message
TheS4int
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2005
Posts: 79

PostPosted: Tue May 24, 2005 1:53 pm    Post subject: Reply with quote

im really blown away!!! ive started mplayer with -ao alsa and it plays the movie WITH SOUND!!! :lol:

and there is one more thing... it plays the second movie at the same time too 8O
i must to find out how i have made it

but the errors comes anyway
Back to top
View user's profile Send private message
Gogiel
Guru
Guru


Joined: 11 Nov 2004
Posts: 347

PostPosted: Wed May 25, 2005 6:36 pm    Post subject: Reply with quote

When i try to run aplay i got:
Code:
ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3477:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3477:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name
ALSA lib conf.c:3477:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3946:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2093:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:508: audio open error: No such file or directory

_________________
Jabber: gogiel@gmail.com
Back to top
View user's profile Send private message
qnx
l33t
l33t


Joined: 25 Jun 2002
Posts: 638
Location: Göteborg, Sweden

PostPosted: Wed May 25, 2005 9:09 pm    Post subject: Reply with quote

Gogiel wrote:
When i try to run aplay i got:
Code:
ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3477:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3477:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name
ALSA lib conf.c:3477:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3946:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2093:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:508: audio open error: No such file or directory

Have you properly loaded the drivers? Can I see your lsmod output?
_________________
Registred Linux user #191143!
Abit NF7-S rev. 2.00 (BIOS v. 2.7)
AMD AthlonXP 2500+ (Barton)
PATA Seagate ST3120022A
SATA Seagate ST3200822AS & Silicon Image 3112 chipset
Gentoo Linux :)
Back to top
View user's profile Send private message
Gogiel
Guru
Guru


Joined: 11 Nov 2004
Posts: 347

PostPosted: Fri May 27, 2005 9:25 am    Post subject: Reply with quote

qnx wrote:
Gogiel wrote:
When i try to run aplay i got:
Code:
ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3477:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3477:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name
ALSA lib conf.c:3477:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3946:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2093:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:508: audio open error: No such file or directory

Have you properly loaded the drivers? Can I see your lsmod output?


Code:
gogiel@gogiel gogiel $ lsmod
Module                  Size  Used by
usbcore                76160  0
nvidia               3914812  12
snd_pcm_oss            48160  0
snd_mixer_oss          17664  1 snd_pcm_oss
snd_intel8x0           22912  0
snd_ac97_codec         81532  1 snd_intel8x0
snd_pcm                83912  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              22148  1 snd_pcm
snd_page_alloc          7620  2 snd_intel8x0,snd_pcm
snd                    47652  6 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
w83627hf               28264  0
eeprom                  5776  0
i2c_sensor              2944  2 w83627hf,eeprom
i2c_isa                 1728  0
i2c_nforce2             4736  0
i2c_core               18512  5 w83627hf,eeprom,i2c_sensor,i2c_isa,i2c_nforce2

_________________
Jabber: gogiel@gmail.com
Back to top
View user's profile Send private message
qnx
l33t
l33t


Joined: 25 Jun 2002
Posts: 638
Location: Göteborg, Sweden

PostPosted: Fri May 27, 2005 2:18 pm    Post subject: Reply with quote

Hmm.. this was worse. Maybe you updated your kernel recently? Was it working previously? Which kernel version?
_________________
Registred Linux user #191143!
Abit NF7-S rev. 2.00 (BIOS v. 2.7)
AMD AthlonXP 2500+ (Barton)
PATA Seagate ST3120022A
SATA Seagate ST3200822AS & Silicon Image 3112 chipset
Gentoo Linux :)
Back to top
View user's profile Send private message
Gogiel
Guru
Guru


Joined: 11 Nov 2004
Posts: 347

PostPosted: Sat May 28, 2005 4:11 pm    Post subject: Reply with quote

qnx wrote:
Hmm.. this was worse. Maybe you updated your kernel recently? Was it working previously? Which kernel version?

It's 2.6.11-gentoo-r9.
I also tried to builtin alsa-drivers into the kernel, but it didnt help :(
_________________
Jabber: gogiel@gmail.com
Back to top
View user's profile Send private message
qnx
l33t
l33t


Joined: 25 Jun 2002
Posts: 638
Location: Göteborg, Sweden

PostPosted: Sun May 29, 2005 10:59 am    Post subject: Reply with quote

No idea. 2.6.11 should be stable at the moment...
No problem here with 2.6.12-rc3-love1 anyway.. but I don't think it's fault on the kernel. Cause there are others running this kernel, I'm sure.
_________________
Registred Linux user #191143!
Abit NF7-S rev. 2.00 (BIOS v. 2.7)
AMD AthlonXP 2500+ (Barton)
PATA Seagate ST3120022A
SATA Seagate ST3200822AS & Silicon Image 3112 chipset
Gentoo Linux :)
Back to top
View user's profile Send private message
Jaminadi
n00b
n00b


Joined: 24 Nov 2004
Posts: 24
Location: Boise, ID

PostPosted: Wed Jun 01, 2005 6:03 am    Post subject: Noisy Alsa Sound Reply with quote

Hello, I have read this forum with intrest.
Currently I am stuggling with my own Sound card (it is the on board SIS card on the shuttle SS56V2).
It plays and mixes sound but there is always some noise. I have always attributed this to sampling rates. Recently I thought of checking the IRQ values. Both my onboard Ethernet Card and Sound card are assignde to IRQ 18. Is this where the noise could be arising from? I have look in bios for a place to change these values, but there aren't any. Can I reassign these on boot, or even without rebooting?
thanks for the good help so far =)
_________________
A woman is as a sword laid aside or a fire at a distance. THe one does not burn, the other does not cut those that approach not neigh unto them.
Back to top
View user's profile Send private message
Oddball
n00b
n00b


Joined: 11 Nov 2004
Posts: 26
Location: Poland

PostPosted: Sun Jun 05, 2005 7:23 pm    Post subject: Reply with quote

Thx for the guide. I can play all sounds now, but there is something wrong with PCM:
Code:
amixer set PCM 100%
amixer: Unable to find simple control 'PCM',0

lspci output:
Code:
0000:00:0a.0 Multimedia audio controller: Creative Labs SB Audigy LS

and amixer output:
Code:
Simple mixer control 'AC97 in',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Analog Center/LFE',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 114 [45%]
  Front Left:
  Front Right:
Simple mixer control 'Analog Front',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 125 [49%]
  Front Left:
  Front Right:
Simple mixer control 'Analog Rear',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 0 [0%]
  Front Left:
  Front Right:
Simple mixer control 'Analog Side',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 0 [0%]
  Front Left:
  Front Right:
Simple mixer control 'CAPTURE feedback into PLAYBACK',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 0 [0%]
  Front Left:
  Front Right:
Simple mixer control 'SPDIF Center/LFE',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 0 [0%]
  Front Left:
  Front Right:
Simple mixer control 'SPDIF Front',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 0 [0%]
  Front Left:
  Front Right:
Simple mixer control 'SPDIF Out',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'SPDIF Rear',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 0 [0%]
  Front Left:
  Front Right:
Simple mixer control 'SPDIF Unknown',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 0 [0%]
  Front Left:
  Front Right:
Simple mixer control 'SPDIF in',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'SPDIF out',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'SRC out',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'i2s in',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'i2s mixer out',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]


I have SB Live! 24 and another onboard soundcard (disabled in BIOS).
How to get to work PCM device?
_________________
Oddball
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Mon Jun 06, 2005 4:22 am    Post subject: Reply with quote

Jaminandi: I have no idea as my knowledge of hardware is still limited. Sorry man :?...

Oddball: I would think that there would be a PCM channel, but as I remember there were actually 2 PCM channels and I think that they had different names, but I could be wrong and that could be just because of my soundcard. What I would suggest doing is taking a look at your DE's volume control settings (that is if you have a DE/native volume control settings tool), add all the channels and just go though and tweak where necessary. Otherwise there's always that ncurses based ALSA mixer tool, but I forget the command :?...
Back to top
View user's profile Send private message
Oddball
n00b
n00b


Joined: 11 Nov 2004
Posts: 26
Location: Poland

PostPosted: Mon Jun 06, 2005 8:35 am    Post subject: Reply with quote

Quote:
Oddball: I would think that there would be a PCM channel, but as I remember there were actually 2 PCM channels and I think that they had different names, but I could be wrong and that could be just because of my soundcard. What I would suggest doing is taking a look at your DE's volume control settings (that is if you have a DE/native volume control settings tool), add all the channels and just go though and tweak where necessary. Otherwise there's always that ncurses based ALSA mixer tool, but I forget the command :?...

Sure, but KMix says: Cannot find mixer device, and there is no PCM bar in alsamixer.
_________________
Oddball
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Tue Jun 07, 2005 1:43 am    Post subject: Reply with quote

I have no clue then. Ever think about talking to the ALSA people about this?
Back to top
View user's profile Send private message
WTFman
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 153

PostPosted: Wed Jun 08, 2005 6:24 pm    Post subject: Reply with quote

Now if someone would tell me how to get Audacity to use soundmixing, I'd apreciate it.
_________________
Occupation: Professional Slacker
Hobbies/Interests: Open Source Aficionado since 2005
Back to top
View user's profile Send private message
TheS4int
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2005
Posts: 79

PostPosted: Thu Jun 09, 2005 7:14 pm    Post subject: Reply with quote

there are new versions available...

alsa-driver 1.0.9a
alsa-lib 1.0.9

i have emerged and no probs 8) (...better no new probs)

The Sound is less scratchy, but playing movies with mplayer and ALSA is more laggy. The movie stutters only with ALSA, not with OSS-Emulation.
UPDATE: Sound is less scratchy is not right!!! same like before. i ve done the configuration like described at alsa-project.org, but not better.
High sounds are scratchy and the PCM level is overloaded (cant describe in english, in german: übersteuert)

is there a trick to change the sample frequenz?
UPDATE2: scratchy sound is only with XMMS. Is that prob known and give it a solution?


Last edited by TheS4int on Fri Jun 10, 2005 1:27 pm; edited 3 times in total
Back to top
View user's profile Send private message
Greven
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 138

PostPosted: Fri Jun 10, 2005 1:56 am    Post subject: Reply with quote

The problem I'm having is;

After a day or two my sound will be gone totally or be very low and I will hear a loud pop ever few minutes! The only way to fix this problem is to reboot totally, not even restarting the daemon fixes it.

Help?
_________________
veritas vos liberabit...
Linux User Number: 346805
Wine-Wiki
AMD 64 3500+ | MSI "K8T NEO2-FIR" | mushkin Dual Channel DDR 400
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum