[Hardy] Roland Edirol UA-101 not supported anymore

Bug #204809 reported by Janek Thomaschewski on 2008-03-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Undecided
Unassigned
Nominated for Hardy by Janek Thomaschewski

Bug Description

Binary package hint: pulseaudio

Since Ubuntu 7.10 Gutsy my Sound Interface from Roland, Edirol UA-101 worked perfectly - with jack I was able to connect all audio ports together but also simple sound output with alsa and ESD was no problem. But now in Hardy beta my I can't get sound output working and my card isn't shown in "System/Preferences/Sound". But alsa still detects it - that's why I think it has something todo with pulseaudio. How can I enable pulseaudio to work with my soundcard?

~$ asoundconf list
Names of available sound cards:
UA101

Janek Thomaschewski (thefoxx) wrote :

Okay I have some more information:

When I manually restart pulseaudio and look at the terminal output it looks like that:

$ pulseaudio
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.
W: alsa-util.c: Cannot find fallback mixer control "PCM".
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.usb_device_582_7d_ZU96688_if0_sound_card_0_alsa_playback_0"): initialization failed.
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.
W: alsa-util.c: Cannot find fallback mixer control "Mic".
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.usb_device_582_7d_ZU96688_if0_sound_card_0_alsa_capture_0"): initialization failed.

It looks like PulseAudio tries to use the card detected by alsa but there is an error - But I don't know why...

Janek Thomaschewski (thefoxx) wrote :

Okay after reading this again I have an idea what the problem is:

PulseAudio needs a mixer control like "PCM" or "Master" but alsa does not support software mixers for my card. That's not a problem for me I can use my external mixer but pulseaudio does not like that... What a crap ;) I'm going to ask in the PulseAudio IRC.

Janek Thomaschewski (thefoxx) wrote :

The output of pulseaudio again with -vvv in attachement

Luke Yelavich (themuso) wrote :

Could you possibly attach a list of the mixer controls for your card? The amixer command is useful to obtain these.

Janek Thomaschewski (thefoxx) wrote :

Would be nice to have this but I get nothing when running amixer:

$ amixer
$

I think there arent any software mixer controls available for this card. For example on Windows the Windows mixer does not work as well - There I have to use the mixer which is on the driver CD.

YB hendrick (youngeye) wrote :

My soundcard is terratec DMX6Fire. Alsa does not support software mixers for my card too.
Same problem occurs in pulseaudio.
--- message of pulseaudio.
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ICE1712.pcm.surround71.0:CARD=1'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround71:1
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.
W: alsa-util.c: Cannot find fallback mixer control "PCM".
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.
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ICE1712.pcm.surround71.0:CARD=1'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround71:1
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.
W: alsa-util.c: Cannot find fallback mixer control "Mic".
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.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0

unlotto (unlotto) wrote :

I also have a DMX6Fire (ice1712) as YB hendrick.

I was able to make my own channel mapping in /etc/pulse/default.pa which remedied the problem. Here's a link to a pulseaudio discussion list which explains it: https://tango.0pointer.de/pipermail/pulseaudio-discuss/2008-January/001240.html

YB hendrick (youngeye) wrote :

I appreciate your help!!!

Can you tell me your channel mapping for surround setup?

unlotto (unlotto) wrote :

Just to clarify, the mapping at the link (for Delta 44) is valid for DMX6fire aswell. You can use that.
as the page says:

in /etc/pulse/default.pa comment out module-hal-detect and module-detect and then append lines similar to this:

# Load Dmx:
load-module module-alsa-sink sink_name=dmx_out device=hw:0 channels=10 channel_map=left,right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7
load-module module-alsa-source source_name=dmx_in device=hw:0 channels=12 channel_map=left,right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9

# Set the default sink and source
set-default-sink dmx_out
set-default-source dmx_in

Test by running pulseaudio manually.
I would suspect this to work for Roland Edirol UA-101 aswell, based on the fact that all ice1712 chipsets seem to have the same number of channels regardless actual connections.
Notice that my card is hw:0 and not hw:1, because i have disabled the onboard soundcard.

If you wish you may want to create a forum post on the ubuntu forum, as not to go too "offtopic" from this bug report.

Janek Thomaschewski (thefoxx) wrote :

Thank you, it works now!
But now my onboard card isn't detected anymore - I think because the hal-detect modules aren't loaded. I use it for my headset because it allows micro boost and it works if I disconnect my external card too. Is there a way to get hal detect working and using the manual settings simultaneously?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers