Re: [pulseaudio-discuss] Initialisation Fail with MAudio Delta 44 and ICE1712 Driver
On Sun, 27.01.08 14:47, yatesy ([EMAIL PROTECTED]) wrote: W: alsa-util.c: Device hw:1 doesn't support 2 channels, changed to 10. PA knows no suitable default channel map for devices that have 10 channels (in contrast to 1, 2, 4, 5, 6, 8). ALSA doesn't know either, and we default to the ALSA channel maps. I am not really sure what I should be doing in this case. Does you device have any implicit channel mapping that we could adopt? Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net ICQ# 11060553 http://0pointer.net/lennart/ GnuPG 0x1A015CC4 ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] Initialisation Fail with MAudio Delta 44 and ICE1712 Driver
I have a 2 Soundcard system :- Card 0 is on-board Intel HDA (ALC880 chip) and uses the ALSA snd-hda-intel driver. Card 1 is a MAudio Delta 44 and uses the ALSA ice1712 driver. Both cards work fine using the direct ALSA interface. Using Pulseaudio the initialisation of the Delta 44 fails as follows : D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=1 sink_name=alsa_output.pci_1412_1712_sound_card_0_alsa_playback_0' D: alsa-util.c: Trying front:1... I: alsa-util.c: PCM device front:1 refused our hw parameters: Invalid argument D: alsa-util.c: Trying surround40:1... I: alsa-util.c: PCM device surround40:1 refused our hw parameters: Invalid argument D: alsa-util.c: Trying surround41:1... I: alsa-util.c: PCM device surround41:1 refused our hw parameters: Invalid argument D: alsa-util.c: Trying surround50:1... I: alsa-util.c: PCM device surround50:1 refused our hw parameters: Invalid argument D: alsa-util.c: Trying surround51:1... I: alsa-util.c: PCM device surround51:1 refused our hw parameters: Invalid argument D: alsa-util.c: Trying surround71:1... ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ICE1712.pcm.surround71.0:CARD=1' ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround71:1 I: alsa-util.c: Couldn't open PCM device surround71:1: No such file or directory D: alsa-util.c: Trying hw:1 as last resort... W: alsa-util.c: Device hw:1 doesn't support 2 channels, changed to 10. W: alsa-util.c: Device hw:1 doesn't support sample format s16le, changed to s32le. I: module-alsa-sink.c: Successfully opened device hw:1. I: module-alsa-sink.c: Successfully enabled mmap() mode. I: alsa-util.c: Successfully attached to mixer 'hw:1' I: alsa-util.c: Cannot find mixer control Master. W: alsa-util.c: Cannot find fallback mixer control PCM. D: sink.c: pa_sink_new: Assertion map pa_channel_map_valid(map) failed. E: module-alsa-sink.c: Failed to create sink object E: module.c: Failed to load module module-alsa-sink (argument: device_id=1 sink_name=alsa_output.pci_1412_1712_sound_card_0_alsa_playback_0): initialization failed. D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_playback_0 D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=1 source_name=alsa_input.pci_1412_1712_sound_card_0_alsa_capture_0' D: alsa-util.c: Trying front:1... I: alsa-util.c: PCM device front:1 refused our hw parameters: Invalid argument D: alsa-util.c: Trying surround40:1... I: alsa-util.c: PCM device surround40:1 refused our hw parameters: Invalid argument D: alsa-util.c: Trying surround41:1... I: alsa-util.c: PCM device surround41:1 refused our hw parameters: Invalid argument D: alsa-util.c: Trying surround50:1... I: alsa-util.c: PCM device surround50:1 refused our hw parameters: Invalid argument D: alsa-util.c: Trying surround51:1... I: alsa-util.c: PCM device surround51:1 refused our hw parameters: Invalid argument D: alsa-util.c: Trying surround71:1... ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ICE1712.pcm.surround71.0:CARD=1' ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround71:1 I: alsa-util.c: Couldn't open PCM device surround71:1: No such file or directory D: alsa-util.c: Trying hw:1 as last resort... W: alsa-util.c: Device hw:1 doesn't support 2 channels, changed to 12. W: alsa-util.c: Device hw:1 doesn't support sample format s16le, changed to s32le. I: module-alsa-source.c: Successfully opened device hw:1. I: module-alsa-source.c: Successfully enabled mmap() mode. I: alsa-util.c: Successfully attached to mixer 'hw:1' I: alsa-util.c: Cannot find mixer control Capture. W: alsa-util.c: Cannot find fallback mixer control Mic. D: source.c: pa_source_new: Assertion map pa_channel_map_valid(map) failed. E: module-alsa-source.c: Failed to create source object E: module.c: Failed to load module module-alsa-source (argument: device_id=1 source_name=alsa_input.pci_1412_1712_sound_card_0_alsa_capture_0): initialization failed. D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_capture_0 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_control__1 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_2668_sound_card_0_alsa_capture_2 D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0
Re: [pulseaudio-discuss] Initialisation Fail with MAudio Delta 44 and ICE1712 Driver
On Sun, Jan 27, 2008 at 02:47:22PM +, yatesy wrote: I have a 2 Soundcard system :- Card 0 is on-board Intel HDA (ALC880 chip) and uses the ALSA snd-hda-intel driver. Card 1 is a MAudio Delta 44 and uses the ALSA ice1712 driver. Both cards work fine using the direct ALSA interface. Using Pulseaudio the initialisation of the Delta 44 fails as follows : snip Card 0 (ALC880) works fine with Pulseaudio (ESOUND XMMS etc). The above problem is the same on Ubuntu 7.10 Hardy and also Fedora R8. I'm not sure if the above is a Pulseaudio or ALSA or configuration problem ? Any ideas ? Automatic sound card detection isn't able to configure the Delta card correctly, the card seems to be a bit too exotic for that. So I'd say it's a HAL and/or PulseAudio problem. Since the configuration process succesfully manages to open the device - after much struggling - you probably can make it work with static device configuration. The thing that the configuration finally stumbles is that the channel map for the sink and source aren't valid. That's because there isn't a default channel map defined for 10 and 12 channels. So, what you'll have to do is edit /etc/pulse/default.pa. Comment out module-hal-detect and module-detect, and then add these lines (if you don't need the sources, leave them out): # Load the on-board device: load-module module-alsa-sink sink_name=intel-hda_out device=hw:0 load-module module-alsa-source source_name=intel-hda_in device=hw:0 # Load Delta 44: load-module module-alsa-sink sink_name=delta_out device=hw:1 channels=10 channel_map=left,right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7 load-module module-alsa-source source_name=delta_in device=hw:1 channels=12 channel_map=left,right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9 # Set the default sink and source (not mandatory, intel-hda # would probably be used without this): set-default-sink delta_out set-default-source delta_in That configuration makes Delta a stereo device, in the sense that if you play surround content, there will be sound only in the first two channels. If you want a surround setup (or want to have the stereo output on some other physical connector(), edit the channel maps. Valid channel names are listed in near the beginning of this page (under the Device Drivers heading): http://www.pulseaudio.org/wiki/Modules If you wonder why I didn't set the 'channels' argument of Delta to 2, that's because it seems that the device can't be opened for just two channels. The auto-configurator managed to open the device with 10 out and 12 in channels, that's why I'm using those values. This setup makes the assumption that the on-board device will always be hw:0 and Delta will be hw:1. This isn't necessary a valid assumption. -- Tanu Kaskinen ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Initialisation Fail with MAudio Delta 44 and ICE1712 Driver
On Sun, 2008-01-27 at 20:34 +0200, Tanu Kaskinen wrote: On Sun, Jan 27, 2008 at 06:06:55PM +, yatesy wrote: Many thanks Tanu for the prompt response. With the changes you suggested Pulseaudio now fails with : snip I'm sorry, I didn't know that hyphen is an illegal character in sink/source names. So you'll have to replace intel-hda_out with something else, like hda_out or whatever. Hopefully you'll have more luck this time... Thanks Tanu ! Much better now . At least I get both cards initialised ok. Alan Yates. ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss