Hi, Susers! i've got a new PC with Suse 10.1 and after i couldn't get the on-board card to produce any output i popped in my old trusty SB-compatible PCI card which has worked for me for 3 years or so (including in other 10.1 installations). After much fighting, it... well, it *kinda* works... read on... In yast i can see the card and configure it, but in the Volume settings i see no controls except for the Test button. During the *initial* setup of the card the controls were all there and the Test button played sound. (Boy, was i excited when it finally made some noise!) Now the test button does nothing. kmixer sees the card and i can change the volume levels all i want. xine can play audio from videos, and changing the volume via kmixer during playback works as expected. But i can't play any audio files (mp3/ogg). i have all of the updates from packman, etc., so that's not the problem (as far as i can see). What's so weird is that xine plays audio from movies just fine and kmixer does adjust the audio properly, but when, e.g., i try to use ogg123 or mpg123 to play audio files, i get: ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default No default libao driver available. alsaconf runs fine and does what i believe it should, except that the audio played at the end doesn't play (but that's half expected, seeing the above error from ogg123/mpg123). Playing audio using, e.g., Amarok, simply doesn't work. Following some advice from list-member Carl Hartung, here is the contents of some of my system files, in the hopes that someone will see what it is that i'm missing here: owl:~ # cat /proc/asound/devices 2: : timer 3: [ 1- 0]: raw midi 4: [ 1- 1]: digital audio playback 5: [ 1- 0]: digital audio playback 6: [ 1- 0]: digital audio capture 7: [ 1] : control 8: : sequencer owl:~ # cat /proc/asound/cards 1 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI Ensoniq AudioPCI ENS1371 at 0x8c00, irq 201 owl:~ # cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.11rc3 (Sun Jan 22 09:27:15 2006 UTC). (that doesn't seem right - alsaconf says 1.0.13 is installed) owl:~ # cat /proc/asound/id cat: /proc/asound/id: No such file or directory owl:~ # find /proc/asound -name id /proc/asound/card1/id owl:~ # cat /proc/asound/card1/id AudioPCI owl:~ # cat /proc/interrupts CPU0 0: 2957914 local-APIC-edge timer 7: 1 IO-APIC-edge parport0 8: 2 IO-APIC-edge rtc 14: 56558 IO-APIC-edge ide0 15: 109113 IO-APIC-edge ide1 169: 112 IO-APIC-level acpi 177: 163074 IO-APIC-level libata, eth0 185: 2 IO-APIC-level libata, ohci1394 201: 963 IO-APIC-level Ensoniq AudioPCI 209: 56095 IO-APIC-level ohci_hcd:usb1, ohci_hcd:usb2, ehci_hcd:usb3 217: 708616 IO-APIC-level fglrx NMI: 0 LOC: 2957807 ERR: 10 MIS: 0 owl:~ # cat /etc/modprobe.d/sound options snd-ens1371 enable=1 index=0 # B35A.F2uWXyTiEa3:Creative Sound Blaster AudioPCI128 alias snd-card-0 snd-ens1371 i went through the whole gamut of online updates last night, up to and including KDE, so i'm pretty sure i have the latest/greatest of everything. If anyone can offer any tips on possibly getting audio files to play, i would be be much appreciative. Having audio for movies fulfills 85% of my audio needs, but the weirdness factor of me not being able to play other audio is just bugging the hell out of me. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
On Friday 06 October 2006 13:06, stephan beal wrote: <snip>
After much fighting, it... well, it *kinda* works... read on...
In yast i can see the card and configure it, but in the Volume settings i see no controls except for the Test button. During the *initial* setup of the card the controls were all there and the Test button played sound. (Boy, was i excited when it finally made some noise!) Now the test button does nothing.
Repeat the first of the three steps I provided last night and configure the card *once* with YaST and then leave it alone. The fact that all the controls were there and the test button played sound the *first* time indicates success. After that, *do not* try to test or configure the sound again using YaST or it will corrupt your sound setup. Been there, done that, so have many others. Instead, at that point, you need to explore and discover which of the installed *mixers* will work with your installed driver/chip combo. In my case, I get minimal functionality with Kmix and full functionality with QAmix. Your situation will be different because the driver/chip combo is different. hth & regards, Carl
On Friday 06 October 2006 21:05, Carl Hartung wrote:
Repeat the first of the three steps I provided last night and configure the card *once* with YaST and then leave it alone. The fact that all the controls were there and the test button played sound the *first* time indicates success. After that, *do not* try to test or configure the sound again using YaST or it will corrupt your sound setup. Been there, done that, so have many others.
Bummer - i didn't realize it could be such a fuss to configure the sound card. i've never had any problems with Linux and sound before except on one machine where the microphone input refuses to work.
Instead, at that point, you need to explore and discover which of the installed *mixers* will work with your installed driver/chip combo.
In my case, I get minimal functionality with Kmix and full functionality with QAmix. Your situation will be different because the driver/chip combo is different.
Ah... that i wasn't aware of. i assumed that all mixers have essentially the same features. i'll take a look at qamix and see what happens. Thanks once again for the tips! -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
On Friday 06 October 2006 23:09, stephan beal wrote:
On Friday 06 October 2006 21:05, Carl Hartung wrote:
Repeat the first of the three steps I provided last night and configure the card *once* with YaST and then leave it alone. The fact that all the controls were there and the test button played sound the *first* time indicates success. After that, *do not* try to test or configure the sound again using YaST or it will corrupt your sound setup. Been there, done that, so have many others.
Bummer - i didn't realize it could be such a fuss to configure the sound card. i've never had any problems with Linux and sound before except on one machine where the microphone input refuses to work.
Hi again! Okay, i tried your first suggestion: - Delete /etc/modprobe.d/sound and run alsaconf As before, alsaconf sees only my Ensoniq (as expected), but the test audio at the end of the setup failed to play and i couldn't play audio files afterwards (error is pasted in below). So i tried the second suggestion: - remove kdemultimedia3-mixer - rcalsasound stop - rm /etc/asound.state - rcalsasound start - alsactl store - alsaconf Then my sound didn't work at all. After going to Yast -> HW -> Sound and setting it up there, i'm back to the same place as yesterday: xine plays audio from movies, but audio files can't play. i tried qamixer, as you suggested, as well as alsamixer. Curiously enough: owl:~ # alsamixer alsamixer: function snd_ctl_open failed for default: No such device owl:~ # qamix Could not open CTL hw:0. owl:~ # alsactl names <no output!> owl:~ # cat /etc/modprobe.d/sound options snd-ens1371 enable=1 index=0 # B35A.F2uWXyTiEa3:Creative Sound Blaster AudioPCI128 alias snd-card-0 snd-ens1371 owl:/media/suse/suse # lsmod | grep ens snd_ens1371 22944 1 <several other midi/codec/pcm modules> kmixer runs and, as before, can change my audio levels (and the changes do affect xine's output), but non-video audio still won't play. stephan@owl:/space/sounds/seal/seal_i> aplay crazy.ogg ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default aplay: main:550: audio open error: No such device Very, very weird. At this point i think i've just got to assume the problem is related to the MoBo, because this card has worked in other systems and on other Suse 10.1 installations. i'll check for a bios update, and if that doesn't work i'll give up. (After doing a quick search for asrock bios updates, it would seem that you have to run the updates from FLOPPY disk in DOS mode - and i have neither!) :) -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
On Sat, 2006-10-07 at 12:32 +0200, stephan beal wrote:
Very, very weird. At this point i think i've just got to assume the problem is related to the MoBo, because this card has worked in other systems and on other Suse 10.1 installations. i'll check for a bios update, and if that doesn't work i'll give up. (After doing a quick search for asrock bios updates, it would seem that you have to run the updates from FLOPPY disk in DOS mode - and i have neither!)
What is xine using to play? alsa or oss? Have a look at the files under /dev/snd and make sure you have permission to read and write to and from them
On Saturday 07 October 2006 12:41, Anders Johansson wrote:
On Sat, 2006-10-07 at 12:32 +0200, stephan beal wrote:
Very, very weird. At this point i think i've just got to assume the problem is related to the MoBo, because this card has worked in other systems and on other Suse 10.1 installations. i'll check for a bios update, and if that doesn't work i'll give up. (After doing a quick search for asrock bios updates, it would seem that you have to run the updates from FLOPPY disk in DOS mode - and i have neither!)
What is xine using to play? alsa or oss?
It's set to auto, so i'm not sure... But selecting 'alsa' and 'oss' both work. i didn't expect alsa to work, though.
Have a look at the files under /dev/snd and make sure you have permission to read and write to and from them
Yup: stephan@owl:/space/sounds/Meteora> l /dev/snd total 0 drwxr-xr-x 2 root root 180 2006-10-07 12:51 . drwxr-xr-x 13 root root 7960 2006-10-07 12:51 .. crw-rw----+ 1 stephan audio 116, 7 2006-10-07 15:07 controlC1 crw-rw----+ 1 stephan audio 116, 3 2006-10-07 15:07 midiC1D0 crw-rw----+ 1 stephan audio 116, 6 2006-10-07 15:07 pcmC1D0c crw-rw----+ 1 stephan audio 116, 5 2006-10-07 15:07 pcmC1D0p crw-rw----+ 1 stephan audio 116, 4 2006-10-07 15:07 pcmC1D1p crw-rw----+ 1 stephan audio 116, 8 2006-10-07 12:51 seq crw-rw----+ 1 stephan audio 116, 2 2006-10-07 15:07 timer stephan@owl:/space/sounds/Meteora> ogg123 breaking_the_habit.mp3 ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default === Could not load default driver and no driver specified in config file. Exiting. Indeed: owl:~ # alsactl names <no output> i've looked into doing a bios update, but i have neither a floppy drive nor a FAT partition off of which to run the update, so i'm out of luck there. My BIOS doesn't print its version number, anyway, so i can't be sure that i'm actually flashing a newer version. Bummer. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
On Saturday 07 October 2006 13:44, stephan beal wrote:
stephan@owl:/space/sounds/Meteora> ogg123 breaking_the_habit.mp3 ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default === Could not load default driver and no driver specified in config file. Exiting.
Oviously, i shouldn't have used ogg123 to play an mp3 file, but the result is exactly the same when i use mpg123. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
On Friday 06 October 2006 12:06, stephan beal wrote:
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' Did you disable the onboard sound in system BIOS?
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default No default libao driver available.
Following some advice from list-member Carl Hartung, here is the contents of some of my system files, in the hopes that someone will see what it is that i'm missing here:
owl:~ # cat /proc/asound/devices 2: : timer 3: [ 1- 0]: raw midi 4: [ 1- 1]: digital audio playback 5: [ 1- 0]: digital audio playback 6: [ 1- 0]: digital audio capture 7: [ 1] : control 8: : sequencer This is showing card 1 only (1-0, 1-1 etc). This is the PCI128 add-in.
owl:~ # cat /proc/asound/cards 1 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI Ensoniq AudioPCI ENS1371 at 0x8c00, irq 201 This is also card 1 the PCI128. Card 0 would be the onboard.
owl:~ # cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.11rc3 (Sun Jan 22 09:27:15 2006 UTC). (that doesn't seem right - alsaconf says 1.0.13 is installed) IINM this refers to the driver version for the card not the ALSA version...
owl:~ # cat /proc/asound/id cat: /proc/asound/id: No such file or directory owl:~ # find /proc/asound -name id /proc/asound/card1/id owl:~ # cat /proc/asound/card1/id AudioPCI Identifies card 1. Card 0 would be the onboard.
owl:~ # cat /proc/interrupts CPU0 0: 2957914 local-APIC-edge timer 7: 1 IO-APIC-edge parport0 8: 2 IO-APIC-edge rtc 14: 56558 IO-APIC-edge ide0 15: 109113 IO-APIC-edge ide1 169: 112 IO-APIC-level acpi 177: 163074 IO-APIC-level libata, eth0 185: 2 IO-APIC-level libata, ohci1394 201: 963 IO-APIC-level Ensoniq AudioPCI 209: 56095 IO-APIC-level ohci_hcd:usb1, ohci_hcd:usb2, ehci_hcd:usb3 217: 708616 IO-APIC-level fglrx NMI: 0 LOC: 2957807 ERR: 10 MIS: 0
owl:~ # cat /etc/modprobe.d/sound
options snd-ens1371 enable=1 index=0 # B35A.F2uWXyTiEa3:Creative Sound Blaster AudioPCI128 alias snd-card-0 snd-ens1371 Try editing snd-card-0 to snd-card-1 and see what happens. Might work.
i went through the whole gamut of online updates last night, up to and including KDE, so i'm pretty sure i have the latest/greatest of everything.
If anyone can offer any tips on possibly getting audio files to play, i would be be much appreciative. Having audio for movies fulfills 85% of my audio needs, but the weirdness factor of me not being able to play other audio is just bugging the hell out of me.
Make sure you totally disable the onboard sound via system BIOS first. Then run through YaST's sound card setup for the PCI128 card. Seems like the system and the OS and drivers aren't able to differentiate between the 2 cards. Your system seems to have managed to do a partial mix of card 0 and card 1. Have you checked for BIOS updates on this mainboard? Stan
On Friday 06 October 2006 21:29, Stan Glasoe wrote:
On Friday 06 October 2006 12:06, stephan beal wrote:
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'
Did you disable the onboard sound in system BIOS?
Yes, i did. In fact, i had to turn OFF the machine afterwards, instead of just rebooting without a power cycle, because yast was still seeing the disabled card.
This is showing card 1 only (1-0, 1-1 etc). This is the PCI128 add-in. ... This is also card 1 the PCI128. Card 0 would be the onboard.
Right on both accounts.
options snd-ens1371 enable=1 index=0 # B35A.F2uWXyTiEa3:Creative Sound Blaster AudioPCI128 alias snd-card-0 snd-ens1371
Try editing snd-card-0 to snd-card-1 and see what happens. Might work.
Interesting idea. i'll give that a try.
Make sure you totally disable the onboard sound via system BIOS first. Then run through YaST's sound card setup for the PCI128 card. Seems like the system and the OS and drivers aren't able to differentiate between the 2 cards. Your system seems to have managed to do a partial mix of card 0 and card 1.
Eeek. That sounds messy. Yes, the on-board is disabled in the bios. Yast isn't seeing it any more. On the first attempt i didn't do a power cycle after changing the setting and yast saw both cards.
Have you checked for BIOS updates on this mainboard?
Good idea - no, i have not. i will do so. Thanks for your time! :) -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
participants (4)
-
Anders Johansson
-
Carl Hartung
-
Stan Glasoe
-
stephan beal