Can't enable input and output of a USB device simultaneously

Bug #887917 reported by Sean M. Pappalardo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Invalid
Medium
Unassigned
1.10
Invalid
Medium
Unassigned
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

When testing with a USB headset (04f3:0a11 Elan Microelectronics Corp.) at 48kHz (the only one it supports,) I can't enable its microphone input and its headphone output at the same time or I get:

Expression 'alsa_snd_pcm_start( stream->playback.pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2845
Expression 'AlsaStart( stream, 0 )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4140

...and Mixxx freezes. This is on 1.10 r2926 with PA 19+svn20110326 on Debian Squeeze.

I can, however use one or the other without a problem. (E.g. USB mic, on-board sound output or vice versa.)

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

Using a first generation Griffin iMic, I have no such problems.

Mixxx 1.10.0 beta 1
Lubuntu 11.10
ThinkPad R60
Intel Core Duo T2500 2.0GHz
1GB RAM
ALSA, naturally.
And only on 48kHz.

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

Reproduction:
0. Load MIxxx
1. Open Options > Sound Hardware > Input > Microphone
2. Select iMic
3. Open Options > Sound Hardware > Output > Master
4. Select iMic
5. Hit Apply
6. Hit OK
7. Load up a file from Library and play it just to be sure
8. Quit Mixxx

Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

I also tested with an American Audio VMS4 and had the same problem. I wonder now if it's my system's libraries/version of PA.

Revision history for this message
LENHOF Jean-Yves (jean-yves) wrote :

I have a similar problem with a recent Native Instruments Traktor Audio 10 usb sound card.... Not always freezing but more crashing

Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

This is a known Linux kernel bug with Intel 5/3400 series USB2 controllers with Full-speed audio devices. It is fixed in kernel 3.2.0-rc3 and Debian is going to apply the fix to the 3.1 kernel.

Changed in mixxx:
status: New → Invalid
Revision history for this message
Mikołaj Bonowski (xbonio) wrote :

I am still experiencing the bug running Ubuntu 15.10 and 4.2.0-19-generic kernel.
Is there any patch I should apply to fix it?

Here's the hardware I use:

- ESI U46DJ audio interface
- USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)

Terminal output:
Debug [Main]: Starting vinyl control xwax thread
Debug [Main]: SoundDevicePortAudio::open() "2, U46DJ: USB Audio (hw:1,0)"
Debug [Main]: framesPerBuffer: 128
Debug [Main]: Requested sample rate: 44100 Hz, latency: 2.90249 ms
Debug [Main]: Output channels: 2 | Input channels: 4
Debug [Main]: Opening stream with id 2
Debug [Main]: Opened PortAudio stream successfully... starting
Debug [Main]: Dynamically loaded PortAudio library
Expression 'alsa_snd_pcm_start( stream->playback.pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2925
Expression 'AlsaStart( stream, 0 )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4212

affects: ubuntu → mixxx (Ubuntu)
affects: mixxx (Ubuntu) → ubuntu
Revision history for this message
Smaug (diri3l) wrote :

I still got the same bug running Lubuntu 15.10 / Ubuntu Studio 14.04 / Ubuntu Studio 15.10 on an Asus UX31E Notebook.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/6093

lock status: Metadata changes locked and limited to project staff
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.