Bug 475089
Summary: | plughw fails to initialize Alesis io|2 USB soundcard for PulseAudio | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark Knoop <mark> | ||||
Component: | pulseaudio | Assignee: | Lennart Poettering <lpoetter> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 10 | CC: | c.shoemaker, jkysela, lkundrak, lpoetter, pierre-bugzilla | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-06-29 11:14:40 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Looks like an issue in ALSA. plughw cannot be configured to the sampling parameters PA wants. plughw is supposed to convert between all parameters if necessary. If that doesn't work, than it doesn't fulfill its purpose and is broken. The requirements of PA are pretty conservative when configuring the hw parameters. Most likely this is some issue with the mmap/nommap handling inside plughw. Thanks Lennart. My current workaround is to run jackd and load module-jack-sink in my default.pa. I'll try to investigate what has changed in ALSA between 1.0.16 and 1.0.18. Revisiting this I came to the conclusion that this is actually not a but in alsa-lib but a limitation of PA. I have now fixed this in PA upstream and will shortly commit a fixed version onto F10/rawhide. Was this fix in the recent pulseaudio-0.9.14-1.fc10 update? If so, it didn't work, although the error message has changed slightly. I now get this from pulseaudio -v I: alsa-util.c: PCM device plug:front:1 refused our hw parameters: No such file or directory I: alsa-util.c: PCM device plug:surround40:1 refused our hw parameters: Invalid argument I: (alsa-lib)pcm_params.c: Slave PCM not usable I: (alsa-lib)pcm_params.c: Slave PCM not usable I: alsa-util.c: PCM device plug:surround41:1 refused our hw parameters: Invalid argument I: (alsa-lib)pcm_params.c: Slave PCM not usable I: (alsa-lib)pcm_params.c: Slave PCM not usable I: alsa-util.c: PCM device plug:surround50:1 refused our hw parameters: Invalid argument I: (alsa-lib)pcm_params.c: Slave PCM not usable I: (alsa-lib)pcm_params.c: Slave PCM not usable I: alsa-util.c: PCM device plug:surround51:1 refused our hw parameters: Invalid argument I: (alsa-lib)pcm_params.c: Slave PCM not usable I: (alsa-lib)pcm_params.c: Slave PCM not usable I: alsa-util.c: PCM device plug:surround71:1 refused our hw parameters: Invalid argument E: alsa-util.c: Failed to set hardware parameters on plug:hw:1: No such file or directory E: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=1 sink_name=alsa_output.usb_device_13b2_8_noserial_if0_sound_card_0_alsa_playback_0 tsched=1"): initialization failed. Let me know what you need to debug this. Last report is that updated PulseAudio did not fix this bug. Is that still true? Lennart, is Comment #4 consistent with this bug actually being closed? BTW, I also get lots of: I: alsa-util.c: Failed to set hardware parameters on plug:hw:1: Invalid argument I: alsa-util.c: Failed to set hardware parameters on plug:hw:1: Invalid argument with usb audio and pulseaudio-0.9.15-11.fc11.x86_64. I'd open a new bug, but it seems pretty close to this one... please advise. With current pulseaudio-0.9.14-3.fc10.x86_64, I'm still getting the errors in Comment #4. Chris, are you also using the Alesis io|2? No, I don't have Alesis - I have another USB soundcard, though. It's a GWC AA1500. In case it matters, I'm using alsa-lib-1.0.20-1.fc11.x86_64. The version of PA in F11 now (-14) does now explain which part of the initialization exactly fails, if it fails. |
Created attachment 326046 [details] excerpt from /var/log/messages Description of problem: Initilization fails on usb soundcard Alesis io|2 (ID 13b2:0008). Version-Release number of selected component (if applicable): pulseaudio-0.9.13-6.fc10.x86_64 alsa-utils-1.0.18-6.fc10.x86_64 How reproducible: 100% Steps to Reproduce: 1. Plug in usb soundcard. 2. Notice it does not appear in pulseaudio's list of output devices. 3. Look in the logs to find pulseaudio error messages (see attachment). Additional info: Soundcard worked without problems under pulseaudio in Fedora 8. Works without problems with jackd in Fedora 10. See attachment for excerpt from /var/log/messages for both Fedora 8 (working) and 10 (not working).