M-audio fast-track pro: Missing input device

Bug #569932 reported by Martin Owens
46
This bug affects 7 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Fix Released
Low
David Henningsson

Bug Description

Binary package hint: pulseaudio

With ubuntu lucid 10.04 (RC) and an M-Audio Fast Track Pro audio device there is an odd problem where pulseaudio can see the device in the hardware tab and the device has both inputs and outputs (Dueplex) profiles, but nothing ever appears in the input tab.

I've attached some screenshots showing what is happening. Also attached is an alsa info dump since the device is using snd-usb-device kernel module.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/dsp', '/dev/dsp1', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/by-path', '/dev/snd/by-id', '/dev/snd/controlC1', '/dev/snd/pcmC1D0p', '/dev/snd/pcmC1D1c', '/dev/snd/pcmC1D1p', '/dev/snd/midiC1D0', '/dev/snd/seq', '/dev/snd/timer', '/dev/sequencer2', '/dev/sequencer'] failed with exit code 1:
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf7eb8000 irq 16'
   Mixer name : 'Realtek ALC662 rev1'
   Components : 'HDA:10ec0662,104382a1,00100101'
   Controls : 13
   Simple ctrls : 8
Card1.Amixer.info:
 Card hw:1 'Pro'/'M-Audio FastTrack Pro at usb-0000:00:1d.1-2, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB0763:2012'
   Controls : 0
   Simple ctrls : 0
Card1.Amixer.values:

Date: Sun Apr 25 17:44:22 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pulseaudio
dmi.bios.date: 01/08/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0801
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 701
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTek Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0801:bd01/08/2008:svnASUSTeKComputerINC.:pn701:pvrx.x:rvnASUSTeKComputerINC.:rn701:rvrx.xx:cvnASUSTekComputerINC.:ct10:cvrx.x:
dmi.product.name: 701
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.

Related branches

Revision history for this message
Martin Owens (doctormo) wrote :
Revision history for this message
Martin Owens (doctormo) wrote :
Revision history for this message
Martin Owens (doctormo) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 569932] Re: Missing Input Devices in PulseAudio
Revision history for this message
Martin Owens (doctormo) wrote : Re: Missing Input Devices in PulseAudio

Here you go, as requested.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 569932] Re: Missing Input Devices in PulseAudio

PA isn't seeing any input sources via udev, so this is a driver
problem. Please move it to alsa-driver.

Martin Owens (doctormo)
affects: pulseaudio (Ubuntu) → alsa-driver (Ubuntu)
summary: - Missing Input Devices in PulseAudio
+ Missing Input Devices in udev from Alsa
Revision history for this message
Martin Kaistra (djfun) wrote : Re: Missing Input Devices in udev from Alsa

I think, I have got the same problem.. or is it just a similiar one?!

Revision history for this message
Martin Kaistra (djfun) wrote :

I successfully added the Fast Track Pro Input to Pulseaudio by changing "device-strings = hw:%f,0,0" to "device-strings = hw:%f,1,0" in my maudio-fasttrack-pro.conf. But: now I have no input device from my onboard-soundcard, but that's not as important as my Fast Track Pro ;-)

Revision history for this message
David Henningsson (diwic) wrote :

To me it looks like "martin" and "Martin Owens" are having different problems, at least their logs don't look the same.

Revision history for this message
David Henningsson (diwic) wrote :

Well, that doesn't mean that martin is right, actually.
Looking a bit closely into this issue, it seems like the input device sometimes is on device 1 and sometimes on device 0...? Anyway, that should be easily fixed (or worked around) almost the way martin suggests.

Could both of you please modify the device-strings line into "hw:%f,0,0 hw:%f,1,0" the way draft.patch suggests, and if it works for you (log out and log in again to try), I'll push it upstream. If it doesn't, please attach a new pulseaudio log. Thanks!

Revision history for this message
David Henningsson (diwic) wrote :
Changed in alsa-driver (Ubuntu):
assignee: nobody → David Henningsson (diwic)
status: New → Incomplete
importance: Undecided → Low
summary: - Missing Input Devices in udev from Alsa
+ M-audio fast-track pro: Missing input device
affects: alsa-driver (Ubuntu) → pulseaudio (Ubuntu)
Changed in pulseaudio (Ubuntu):
assignee: David Henningsson (diwic) → nobody
assignee: nobody → David Henningsson (diwic)
Revision history for this message
Martin Kaistra (djfun) wrote :

for me it works, now I have both Fast Track Pro input device and the input device from my onboard-soundcard. thanks ;-)

Daniel T Chen (crimsun)
Changed in pulseaudio (Ubuntu):
status: Incomplete → In Progress
Revision history for this message
Martin Owens (doctormo) wrote :

Just got back from UDS and got a chance to test this out, applying the patch worked, it allows me to set the sound input as one single stero input (I presume that the two inputs on the Fasttrack Pro are one for each channel)

Revision history for this message
Daniel T Chen (crimsun) wrote :

Thanks for the confirmation.

Changed in pulseaudio (Ubuntu):
assignee: David Henningsson (diwic) → Daniel T Chen (crimsun)
Revision history for this message
David Henningsson (diwic) wrote :

@Daniel: So you also enjoy the sweet taste of low-hanging fruit? :-)
I just sent it upstream, but feel free to do the Ubuntu work if you like.

Revision history for this message
Daniel T Chen (crimsun) wrote :

It's just assigned to me so it doesn't fall off my radar for pulling in. I'm switching Maverick over to trunk (master) shortly.

Revision history for this message
David Henningsson (diwic) wrote :

Upstream asked for more information before merging the patch, see: https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-May/007273.html

Can any of the hardware owners (i e "martin" or "Martin Owens") provide some feedback on this question?

Revision history for this message
Martin Owens (doctormo) wrote :

He has nothing for the hardware owners to do or say, I presume his attitude problem is that if he blocks a patch someone else will do all the hard work of researching everything only to come to the conclusion that the alsa driver writers didn't write their driver with the assumption that something like pulse would have a configuration directly mapping into a specific ID.

Perhaps pulse audio should simply be fixed so that it is a little more forgiving or a little more intelligent instead of expecting so much from these configurations.

Fickle code fail.

Revision history for this message
tangerine (2wtangerine) wrote :

Confirming both the bug and the fix.

Here's step-by-step guide to workaround this for less advanced users stuck with this bug:
1. Open the terminal
2. Type:
gksu gedit /usr/share/pulseaudio/alsa-mixer/profile-sets/maudio-fasttrack-pro.conf
(provide admin password)
3. In the opened document, locate the [Mapping analog-stereo-a-input] section.
4. Replace this line:
device-strings = hw:%f,0,0
With this:
device-strings = hw:%f,0,0 hw:%f,1,0
5. Save
6. Log out and then log in.

Revision history for this message
JackSchnippes (jackschnippes) wrote :

Confirming bug and fix! Thank you!

tags: added: precise
Revision history for this message
David Henningsson (diwic) wrote :

Pushed to 12.04 branch.

Changed in pulseaudio (Ubuntu):
assignee: Daniel T Chen (crimsun) → David Henningsson (diwic)
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pulseaudio - 1:1.1-0ubuntu13

---------------
pulseaudio (1:1.1-0ubuntu13) precise; urgency=low

  * 0020-daemon-Initialize-dbus-to-use-thread-safe-mode-by-de.patch:
    Make sure dbus is thread safe to avoid crashes in pa_make_realtime
    (LP: #937933)
  * 0111-protocol-native-Protect-against-clients-trying-to-se.patch:
    Don't crash if clients try to set a NULL port (LP: #951273)
  * 0021-Fix-input-device-for-M-audio-fasttrack-pro.patch:
    Probe two different input devices (LP: #569932)
  * 0112-module-loopback-Never-call-adjust_rates-after-teardo.patch:
    Don't crash on shutdown in module-loopback (LP: #946400)
  * 0619-module-switch-on-port-available-Do-not-switch-profil.patch:
    Prevent switching to HDMI profiles from analog profiles, as a result
    of discussion on the pulseaudio-discuss and ubuntu-audio-dev mailinglist.
 -- David Henningsson <email address hidden> Wed, 21 Mar 2012 10:47:33 +0100

Changed in pulseaudio (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.