← Back to team overview

kernel-packages team mailing list archive

[Bug 1198577] Re: 0d8c:0102 [Asus P8Z77-M] USB-Audio FCA610, playback Pulseaudio/ALSA fails to detect card

 

Launchpad has imported 13 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=80850.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-07-03T12:58:16+00:00 Benjamin Tegge wrote:

Created attachment 102196
complete output of pulseaudio -k; pulseaudio -vvvvv

I'm trying to get a Behringer FCA610 (connected via USB) to work with
PulseAudio on Fedora 20 Heisenbug running with kernel 3.14 (and also
Ubuntu 14.04 with Kernel 3.14). As far as I understand the device works
fine with ALSA, but PulseAudio fails to configure the device properly.

The device itself seems to be detected fine according to dmesg:

[95060.032220] usb 1-1.2.1.4.3: SerialNumber: 000761DFC3E8
[95060.042366] input: Logitech Logitech BT Mini-Receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1.4/1-1.2.1.4.3/1-1.2.1.4.3:1.0/0003:046D:C714.0019/input/input29
[95060.043225] logitech 0003:046D:C714.0019: input,hiddev0,hidraw5: USB HID v1.11 Mouse [Logitech Logitech BT Mini-Receiver] on usb-0000:00:1a.0-1.2.1.4.3/input0
[95116.054502] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[95116.222000] usb 3-1: New USB device found, idVendor=1397, idProduct=0003
[95116.222008] usb 3-1: New USB device strings: Mfr=28, Product=29, SerialNumber=30
[95116.222012] usb 3-1: Product: FCA610
[95116.222015] usb 3-1: Manufacturer: BEHRINGER
[95116.222017] usb 3-1: SerialNumber: 0x156400e2fa
[95117.243436] usbcore: registered new interface driver snd-usb-audio

Playback of multichannel WAV files with aplay also works:

$ aplay -D plughw:CARD=FCA610,DEV=0 -c 10 Musik/test-6ch.wav
Playing WAVE 'Musik/test-6ch.wav' : Signed 16 bit Little Endian, Rate
44100 Hz, Channels 6
^CAborted by signal Interrupt..

These are the last few lines of `pulseaudio -vvvvv`

E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="usb-BEHRINGER_FCA610_0x156400e2fa-00-FCA610" card_name="alsa_card.usb-BEHRINGER_FCA610_0x156400e2fa-00-FCA610" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.
I: [pulseaudio] module-udev-detect.c: Card /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card1 (alsa_card.usb-BEHRINGER_FCA610_0x156400e2fa-00-FCA610) failed to load module.
D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC1 is accessible: yes
D: [pulseaudio] module-udev-detect.c: /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card1 is busy: no
W: [pulseaudio] module-udev-detect.c: Tried to configure /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/sound/card1 (alsa_card.usb-BEHRINGER_FCA610_0x156400e2fa-00-FCA610) more often than 5 times in 10s
D: [alsa-sink-ALC269VC Analog] alsa-sink.c: Cutting sleep time for the initial iterations by half.
I: [pulseaudio] module-suspend-on-idle.c: Source alsa_input.pci-0000_00_1b.0.analog-stereo idle for too long, suspending ...
D: [pulseaudio] source.c: Suspend cause of source alsa_input.pci-0000_00_1b.0.analog-stereo is 0x0004, suspending
I: [alsa-source-ALC269VC Analog] alsa-source.c: Device suspended...
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
I: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo idle for too long, suspending ...
D: [pulseaudio] sink.c: Suspend cause of sink alsa_output.pci-0000_00_1b.0.analog-stereo is 0x0004, suspending
I: [alsa-sink-ALC269VC Analog] alsa-sink.c: Device suspended...
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: [pulseaudio] module-udev-detect.c: Resuming all sinks and sources of card alsa_card.pci-0000_00_1b.0.
I: [pulseaudio] client.c: Created 2 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-native.c: Protocol version: remote 29, local 29
I: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: yes

There are also a lot of lines containing SND_PCM_NO_AUTO_FORMAT like:

D: [pulseaudio] alsa-util.c: Trying plug:surround71:1 with
SND_PCM_NO_AUTO_FORMAT ...

I really like to get this device working pulseautio. Any assistance is
very much appreciated.

Regards, Benjamin

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/22

------------------------------------------------------------------------
On 2014-07-03T13:49:39+00:00 Raymond wrote:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577

seem support 10 channels playback and 6 channels capture

post output of

speaker-test -c2 -d -t wav -Dplughw:1

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/23

------------------------------------------------------------------------
On 2014-07-03T14:04:55+00:00 Raymond wrote:

http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/alsa/mixer
/profile-sets/default.conf?id=7bb8442c111d5e1fba20eb101eb854edd5392627

6 channels capture can be added similar to 4 channels capture

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/24

------------------------------------------------------------------------
On 2014-07-03T14:27:36+00:00 Alexander E. Patrakov wrote:

Thanks for the verbose log. Unfortunately, it still does not contain all
the information that is needed to debug this. Your message indicates
that aplay can produce sound. Could you please paste the output of the
following command?

aplay -vv -D plughw:CARD=FCA610,DEV=0 Musik/test-6ch.wav

If that fails:

aplay -vv -D plughw:CARD=FCA610,DEV=0 -c 10 Musik/test-6ch.wav

Also, there was a very similar discussion in January this year. Please
read it, maybe it contains some ideas applicable to your case:

http://lists.freedesktop.org/archives/pulseaudio-
discuss/2014-January/019685.html

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/25

------------------------------------------------------------------------
On 2014-07-03T16:00:09+00:00 Raymond wrote:

http://www.behringer.com/EN/Products/FCA610.aspx

Streams 6 inputs / 10 outputs plus 1x MIDI I/O with ultra-low latency to your computer, supporting Mac* OS X* and Windows XP* or higher
Ultra-flexible connectivity via analog and S/PDIF I/O ports (coaxial and optical)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/26

------------------------------------------------------------------------
On 2014-07-04T01:13:43+00:00 Benjamin Tegge wrote:

Wow, thank you very much Alexander. I followed David's suggestion for a
workaround (http://lists.freedesktop.org/archives/pulseaudio-
discuss/2014-January/019748.html) to create the multichannel.conf
profile and added the following to
/lib/udev/rules.d/90-pulseaudio.rules:

# Behringer FCA610
ATTRS{idVendor}=="1397", ATTRS{idProduct}=="0003", ENV{PULSE_PROFILE_SET}="multichannel.conf"

I can use the device for the first time! :) I haven't read the entire
thread yet, but it's very late and I need to get some sleep. Getting
6ch/5.1 playback functionality (and probably stereo input) is what I
wanted from PulseAudio. (If really want to make use of all channels I'd
look into JACK.) I will come back once I looked deeper into this.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/27

------------------------------------------------------------------------
On 2014-07-05T08:20:53+00:00 Raymond wrote:

you need jackd for stereo capture since pulseaudio downmix 6 channels
capture to stereo

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/28

------------------------------------------------------------------------
On 2014-09-02T09:38:50+00:00 David Henningsson wrote:

Hi, I recently committed a multichannel patch to Git head that I hope
should fix this issue. Please test it, and if it does not work, feel
free to reopen this bug. Thanks!

commit 48edd0a00f455df075efcf1986103e5f507c816f
Author: David Henningsson <david.henningsson@xxxxxxxxxxxxx>
Date:   Fri Jul 25 15:16:41 2014 +0200

    alsa: Add a multichannel fallback mapping

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/30

------------------------------------------------------------------------
On 2014-09-04T08:11:46+00:00 Benjamin Tegge wrote:

Hello David, would it be possible to provide the patch in the PulseAudio
testing PPA (https://launchpad.net/~ubuntu-audio-dev/+archive/ubuntu
/pulse-testing)?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/31

------------------------------------------------------------------------
On 2015-03-08T02:19:26+00:00 Benjamin Tegge wrote:

Created attachment 114128
Pulseaudio 6.0 -vvvvv output on Ubuntu 15.04

Sorry for replying so late. I noticed that 6.0 was uploaded to Ubuntu
15.04 recently. On my clean testing system 6 inputs are now available in
sound settings and pavucontrol, but outputs are still not discovered.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/32

------------------------------------------------------------------------
On 2015-03-08T07:54:45+00:00 David Henningsson wrote:

I think I see what the bug is in the latest log - the "multichannel"
mapping seems to be shared between input and output mappings:

 1) Detect that output supports only 10 channels
 2) Change mapping "multichannel" to 10 channels
 3) Detect that input supports only 6 channels
 4) Change mapping "multichannel" to 6 channels
 5) Try to open output on mapping "multichannel" with 6 channels, and fail.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/33

------------------------------------------------------------------------
On 2015-03-09T08:45:10+00:00 Raymond wrote:

this mean you need two profiles, one for output and one for input in

http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer
/profile-sets/default.conf

+[Mapping multichannel-output]
+device-strings = hw:%f
+channel-map = left,right,rear-left,rear-right
+exact-channels = false
+fallback = yes
+priority = 1
+direction = output

+[Mapping multichannel-input]
+device-strings = hw:%f
+channel-map = left,right,rear-left,rear-right
+exact-channels = false
+fallback = yes
+priority = 1
+direction = input


http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/alsa
/alsa-mixer.c?id=48edd0a00f455df075efcf1986103e5f507c816f


static const struct description_map well_known_descriptions[] = {
         { "analog-mono",            N_("Analog Mono") },
         { "analog-stereo",          N_("Analog Stereo") },
-        { "multichannel",           N_("Multichannel") },
+        { "multichannel-output",           N_("Multichannel Output") },
+        { "multichannel-input",           N_("Multichannel Input") },
         { "analog-surround-21",     N_("Analog Surround 2.1") },
         { "analog-surround-30",     N_("Analog Surround 3.0") },
         { "analog-surround-31",     N_("Analog Surround 3.1") },

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/34

------------------------------------------------------------------------
On 2015-03-31T12:41:30+00:00 David Henningsson wrote:

Hi,

I've posted a patch set here: http://lists.freedesktop.org/archives
/pulseaudio-discuss/2015-March/023561.html

The second of the three is a patch as suggested by Raymond and should
fix this issue, but the third makes sense to test in combination with
the second.

If you have time, please test and let me know if it fixes the issue.
Thanks!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1198577/comments/35


** Changed in: pulseaudio
       Status: Unknown => Incomplete

** Changed in: pulseaudio
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1198577

Title:
  0d8c:0102 [Asus P8Z77-M] USB-Audio FCA610, playback Pulseaudio/ALSA
  fails to detect card

Status in PulseAudio:
  Incomplete
Status in linux package in Ubuntu:
  Expired

Bug description:
  Signpost update & solution:

  # [pulseaudio-discuss] Need help with Behringer Firepower FCA610
  profile

  http://lists.freedesktop.org/archives/pulseaudio-
  discuss/2015-June/024115.html

  
  # Further reading

  http://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/Profiles/

  
  ## [pulseaudio-discuss] 'Failed to find a working profile' for firewire sound devices

  http://lists.freedesktop.org/archives/pulseaudio-
  discuss/2014-January/019748.html

  > SUBSYSTEMS=="firewire", ENV{PULSE_PROFILE_SET}="multichannel.conf"

  http://lists.freedesktop.org/archives/pulseaudio-
  discuss/2014-January/019730.html

  > To aid for applications, one can add custom per-card mapping in alsa-lib
  > - e g, look at /usr/share/alsa/cards/ICE1712.conf where you can open the
  > device "front:<card>" with two channels and it automatically upscales to
  > 10 or 12 channels.

  
  ## Pulseaudio - Fix popping on initialization

  http://stackoverflow.com/q/12732359/dac-pops-on-song-start-stop-in-
  raspbian

  
  -------

  Update:

  The issue still exists and is _not_ releated to BIOS or UEFI firmware,
  as I have tried to get the device working on 3 different hosts.

  Testing the device with aplay works fine for a stereo file:

  aplay -D plughw:CARD=FCA610,DEV=0 test.wav
  Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
  ^CAborted by signal Interrupt...
  aplay: pcm_write:1939: write error: Interrupted system call

  PulseAudio is still not able to use/configure the device (see comment
  #20 for error message) and alsamixer still shows only the "Clock
  Selector" control.

  Release tested: trusty
  Kernels tested: the latest mainline as of today (3.14.0-999-generic_3.14.0-999.201404130205) and the latest trusty kernel as of today (3.13.0-24-generic)

  ---

  I am trying to get the new Behringer FCA610  USB/Firewire audio
  interface to work via USB connection (issue might also affect the
  bigger FCA1616 model). I haven't tried Firewire since my computers
  don't have have Firewire inputs anymore. The device is detected as
  "Device: FCA610  Chip: USB Mixer" in alsamixer but only shows a
  control named "Clock Selector" with the following options: SPDIF
  Input, USB-Bus (SOF), Device Internal Clock. Attached files are from
  my workstation running 12.10, but I have also tried 13.04 and saucy.

  What I expected to happen:
  At least some inputs and (stereo) outputs should show up in alsamixer. Ideally 4 stereo outputs (including pulseaudio profiles for stereo up to 7.1), 2 mic/instrument inputs as well as toslink in and out were expected to be working.

  What happened:
  Only a control named "Clock Selector" is visible in alsamixer (View: F5: All), nothing in pavucontrol or sound settings.

  ---
  cat /proc/asound/FCA610/usbmixer
  USB Mixer: usb_id=0x13970003, ctrlif=0, ctlerr=0
  Card: BEHRINGER FCA610 at usb-0000:00:14.0-2, high speed
    Unit: 211
      Control: name="Clock Selector", index=0
      Info: id=211, control=1, cmask=0x0, channels=1, type="U8"
      Volume: min=1, max=3, dBmin=0, dBmax=0

  cat /proc/asound/FCA610/stream0
  BEHRINGER FCA610 at usb-0000:00:14.0-2, high speed : USB Audio

  Playback:
    Status: Stop
    Interface 2
      Altset 1
      Format: S32_LE
      Channels: 10
      Endpoint: 2 OUT (ASYNC)
      Rates: 44100, 48000, 88200, 96000
      Data packet interval: 125 us

  Capture:
    Status: Stop
    Interface 1
      Altset 1
      Format: S32_LE
      Channels: 6
      Endpoint: 1 IN (ASYNC)
      Rates: 44100, 48000, 88200, 96000
      Data packet interval: 125 us

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: pulseaudio 1:2.1-0ubuntu4.1
  ProcVersionSignature: Ubuntu 3.5.0-34.55-generic 3.5.7.13
  Uname: Linux 3.5.0-34-generic x86_64
  ApportVersion: 2.6.1-0ubuntu11
  Architecture: amd64
  Date: Sun Jul  7 03:42:14 2013
  InstallationDate: Installed on 2012-10-20 (259 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: pulseaudio
  Symptom: audio
  Symptom_Card: USB-Audio - FCA610
  Title: [USB-Audio - FCA610, playback] Pulseaudio fails to detect card
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/09/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2003
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: P8Z77-M
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2003:bd05/09/2013:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8Z77-M:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer
  modified.conffile..etc.pulse.daemon.conf: [modified]
  modified.conffile..etc.pulse.default.pa: [modified]
  mtime.conffile..etc.pulse.daemon.conf: 2012-11-14T23:08:28
  mtime.conffile..etc.pulse.default.pa: 2012-11-14T23:06:17
  ---
  ApportVersion: 2.6.1-0ubuntu11
  Architecture: amd64
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
  DistroRelease: Ubuntu 12.10
  HibernationDevice: RESUME=UUID=0893f9f1-1bd7-4f18-8116-76400bb910a4
  InstallationDate: Installed on 2012-10-20 (259 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  IwConfig:
   vboxnet0  no wireless extensions.

   eth0      no wireless extensions.

   lo        no wireless extensions.
  MachineType: System manufacturer System Product Name
  MarkForUpload: True
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-34-generic root=UUID=cb53da38-db99-4d80-8f10-8349ff24bc3a ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.5.0-34.55-generic 3.5.7.13
  RelatedPackageVersions:
   linux-restricted-modules-3.5.0-34-generic N/A
   linux-backports-modules-3.5.0-34-generic  N/A
   linux-firmware                            1.95.1
  RfKill:
   75: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
  Tags:  quantal running-unity
  Uname: Linux 3.5.0-34-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers
  dmi.bios.date: 05/09/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2003
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: P8Z77-M
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2003:bd05/09/2013:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8Z77-M:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/1198577/+subscriptions