Re: [pulseaudio-discuss] Initialisation Fail with MAudio Delta 44 and ICE1712 Driver

2008-02-13 Thread Lennart Poettering
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


Re: [pulseaudio-discuss] Initialisation Fail with MAudio Delta 44 and ICE1712 Driver

2008-01-27 Thread Tanu Kaskinen
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

2008-01-27 Thread yatesy

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