Re: [Alsa-devel] USB Audio problems

2003-11-21 Thread Patrick Shirkey
Takashi Iwai wrote: no, it has nothing to do with the latency but oopsen / lock-up. the problem exists only at stopping the streams. if the everything is ok, it's not a big issue. but, when the device runs with small latency, which may result in xrun often, has the higher probability to hit thi

Re: [Alsa-devel] USB Audio problems

2003-11-21 Thread Takashi Iwai
At Thu, 20 Nov 2003 23:33:52 +0900, Patrick Shirkey wrote: > > Takashi Iwai wrote: > > > > the current code is surely buggy, because it issues sync unlink > > inside the spinlocked context. it's problematic on 2.6 kernel or SMP > > system, and may result in kernel oops. i added async_unlink mod

Re: [Alsa-devel] USB Audio problems

2003-11-21 Thread Denis de Leeuw Duarte
Hello list, I'm new here so hi, and sorry if I missed out on things discussed earlier. I subscribed to this list because I've been having lost of problems with the USB driver over the past half year (similar to the stuff mentioned in this thread). So much so, that I am prepared to dive into the co

Re: [Alsa-devel] USB Audio problems

2003-11-21 Thread Takashi Iwai
At Thu, 20 Nov 2003 15:28:25 -0500, Karim Yaghmour wrote: > > > Takashi Iwai wrote: > > it'd be better to clean unlink_mask in the complete callback for the > > case you use async unlink mode (see below). > > and, the check of active_mask should be done in prepare callback, not > > in the trigger

Re: [Alsa-devel] USB Audio problems

2003-11-20 Thread Karim Yaghmour
Takashi Iwai wrote: it'd be better to clean unlink_mask in the complete callback for the case you use async unlink mode (see below). and, the check of active_mask should be done in prepare callback, not in the trigger callback. the trigger callback must be as short as possible. we can put deactiv

Re: [Alsa-devel] USB Audio problems

2003-11-20 Thread Karim Yaghmour
Niklas Werner wrote: hmmm, the submit_urb-error is gone, but random lockups and usb-device-disconnect until reboot have come... (bitkeeper-2.6 from just one hour ago...) with your function. Interesting. I haven't seen any of these. Karim -- Author, Speaker, Developer, Consultant Pushing Embedded

Re: [Alsa-devel] USB Audio problems

2003-11-20 Thread Patrick Shirkey
Takashi Iwai wrote: the current code is surely buggy, because it issues sync unlink inside the spinlocked context. it's problematic on 2.6 kernel or SMP system, and may result in kernel oops. i added async_unlink module option to change the behavior in the new version. but it's still disabled as

Re: [Alsa-devel] USB Audio problems

2003-11-20 Thread Takashi Iwai
At Thu, 20 Nov 2003 00:50:03 -0500, Karim Yaghmour wrote: > > > Well, it seems that I'm going to have to answer my own self ... :) > > The following is what I've been able to find using additional tracing > info. Also there's a fix for usbaudio.c. > > Basically, it's as I said before: the usbau

Re: [Alsa-devel] USB Audio problems

2003-11-20 Thread Takashi Iwai
At Thu, 20 Nov 2003 11:04:52 +0100, Niklas Werner wrote: > > Karim Yaghmour wrote: > > > > > Well, it seems that I'm going to have to answer my own self ... :) > > Yes, usb-audio seems to be a bit forgotten... (Takashi, those > mplayer-plughw-segfaults still persist, even on x86 and even with k

Re: [Alsa-devel] USB Audio problems

2003-11-20 Thread Niklas Werner
Karim Yaghmour wrote: Well, it seems that I'm going to have to answer my own self ... :) Yes, usb-audio seems to be a bit forgotten... (Takashi, those mplayer-plughw-segfaults still persist, even on x86 and even with kernel 2.4 (current cvs of drivers/lib, of course) The following is what I've

Re: [Alsa-devel] USB Audio problems

2003-11-19 Thread Karim Yaghmour
Well, it seems that I'm going to have to answer my own self ... :) The following is what I've been able to find using additional tracing info. Also there's a fix for usbaudio.c. Basically, it's as I said before: the usbaudio driver uses URBs without even checking if they're in use or not. Surprisi

[Alsa-devel] USB Audio problems

2003-11-19 Thread Karim Yaghmour
I've been trying to fix some problems I'm getting with the USB audio driver. Basically, I get these types of messages over and over accompanied by some audio glitches: ALSA usbaudio.c:688: cannot submit datapipe for urb 0, err = -6 usb-uhci.c: ENXIO 00038200, flags 2, urb cf74f5c0, burb cf74f5c0 I'

[Alsa-devel] usb audio problems

2003-08-29 Thread np
hello list, i'm crossposting this problem because it looks like it may be something more suited to the developers list. i'm having some problems getting sound to play through my emagic emi 2|6 usb soundcard. i've set up my internal sound card on slot 0, and the emi on slot 1. modules are loade

[Alsa-devel] usb-audio problems (Extigy)

2002-08-18 Thread Josh Hattery
Hi, I'm having a few problems getting the Extigy to work using alsa-driver-0.9.0rc3. When I use aplay to play a .au file, it cuts off the end of the file and gives the xrun message shown below. I'm running Debian 3.0 using the 2.4.19-xfs kernel. Here are a few symptoms I've found so far: lsus