Re: [Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Hartmut Geissbauer
I've the same symptom. Even with kernel 2.6.4 and the patch provided by Clemens. I own a Midisport 4x4. So it seems not to be model specific. Initialzing is fine. But unplugin/replugin will request a reboot with sysrq intervention. First I've had enabled the USB 2.0 features on my motherboard wi

[Alsa-devel] snd_pcm_wait strangeness when resampling

2004-03-11 Thread Måns Rullgård
I've noticed some strange things with snd_pcm_wait. My application opens the sound device in non-blocking mode and uses snd_pcm_wait whenever snd_pcm_writei return EAGAIN. This works fine as long as ALSA isn't doing any resampling. However, when resampling (e.g. from 44.1 kHz to 48 kHz) snd_pcm

[Alsa-devel] usx2y firmware update

2004-03-11 Thread Martin Langer
Hi, Tascam has released v3.24 of their windows drivers and the firmware for the us224 and us428 changed (only EZ-USB), but I found no changes for the us122. You can find both changed and converted firmware files here: http://www.langerland.de/us122/usx2y-firmware_v3.24.tar.bz2 Please test! I h

Re: [Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Mathieu Geli
sorry about my fuzzy observations, my bad, even with the last CVS I got those errors line when rmmoding snd-usb-audio, while the device is on. (I didn't redo the same actions than before) Is there any way to maybe unplug the device safely (usbfs point of view) ? I was guessing smtgh like a fxUNl

Re: [Alsa-devel] problems with mono audio.

2004-03-11 Thread James Courtier-Dutton
Jaroslav Kysela wrote: On Thu, 11 Mar 2004, James Courtier-Dutton wrote: Which devices can a mono stream be played on? It seems that the only device a mono stream can be played on is the "default" pcm device. Devices like "front" and "rear" are stereo only devices. It would be nice if alsa-lib

Re: [Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Mathieu Geli
Thanks for your reply, ok, what I did, is first to apply your patch to my source tree (1.0.3rc2), clean, compile, install, and even reboot. That doesn't output anymore the two lines "urb status -104", and "usb_submit_urb: -32" but still hang after printing: "drivers/usb/core/usb.c: deregistering

Re: [Alsa-devel] problems with mono audio.

2004-03-11 Thread Jaroslav Kysela
On Thu, 11 Mar 2004, James Courtier-Dutton wrote: > Which devices can a mono stream be played on? > It seems that the only device a mono stream can be played on is the > "default" pcm device. > > Devices like "front" and "rear" are stereo only devices. > It would be nice if alsa-lib would open o

[Alsa-devel] problems with mono audio.

2004-03-11 Thread James Courtier-Dutton
Which devices can a mono stream be played on? It seems that the only device a mono stream can be played on is the "default" pcm device. Devices like "front" and "rear" are stereo only devices. It would be nice if alsa-lib would open one of these devices, and if the application tries to set 1 cha

[Alsa-devel] Re: Badness in remove_proc_entry called from snd_via82xx_remove (2.6.4-mm)

2004-03-11 Thread Takashi Iwai
At Thu, 11 Mar 2004 18:38:16 +0100, Alexander Nyberg wrote: > > This happens at shutdown when alsa is to be closed with kernel 2.6.4-mm. > I'm running debian sid, snd_via82xx compiled as module. > Happens also on 2.6.4-rc2-mm1, I can try on more kernels as well if it > is not a clear case. > > >

Re: [Alsa-devel] drivers in alsa-driver tree with 2.6 kernels

2004-03-11 Thread Takashi Iwai
At Thu, 11 Mar 2004 17:53:46 +0200, Sasha Khapyorsky wrote: > > On Thu, 11 Mar 2004 14:27:59 +0100 > Takashi Iwai <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > does anyone use the following drivers with a 2.6 kernel successfully? > > if it's confirmed, i'd like to move them to alsa-kernel tree, s

Re: [Alsa-devel] drivers in alsa-driver tree with 2.6 kernels

2004-03-11 Thread Takashi Iwai
At Thu, 11 Mar 2004 19:08:47 +0100, Martin Langer wrote: > > On Thu, Mar 11, 2004 at 02:27:59PM +0100, Takashi Iwai wrote: > > Hi, > > > > does anyone use the following drivers with a 2.6 kernel successfully? > > if it's confirmed, i'd like to move them to alsa-kernel tree, so that > > they can b

Re: FW: [Alsa-devel] DMA producer/consumer

2004-03-11 Thread Takashi Iwai
At Thu, 11 Mar 2004 18:43:39 +0100 (CET), Jaroslav wrote: > > On Thu, 11 Mar 2004, Takashi Iwai wrote: > > > unfortunately, the current implementation of ALSA PCM middle layer > > isn't well suited for this kind of hardwares. it'll be a bit more > > complicated than you think. > > I don't think

Re: FW: [Alsa-devel] DMA producer/consumer

2004-03-11 Thread Jaroslav Kysela
On Thu, 11 Mar 2004, Takashi Iwai wrote: > At Thu, 11 Mar 2004 18:43:39 +0100 (CET), > Jaroslav wrote: > > > > On Thu, 11 Mar 2004, Takashi Iwai wrote: > > > > > unfortunately, the current implementation of ALSA PCM middle layer > > > isn't well suited for this kind of hardwares. it'll be a bit

Re: [Alsa-devel] drivers in alsa-driver tree with 2.6 kernels

2004-03-11 Thread Martin Langer
On Thu, Mar 11, 2004 at 02:27:59PM +0100, Takashi Iwai wrote: > Hi, > > does anyone use the following drivers with a 2.6 kernel successfully? > if it's confirmed, i'd like to move them to alsa-kernel tree, so that > they can be submitted to 2.6 linux tree soon. > > - snd-usb-usx2y > - snd-hdspm >

Re: FW: [Alsa-devel] DMA producer/consumer

2004-03-11 Thread Jaroslav Kysela
On Thu, 11 Mar 2004, Takashi Iwai wrote: > unfortunately, the current implementation of ALSA PCM middle layer > isn't well suited for this kind of hardwares. it'll be a bit more > complicated than you think. I don't think that's this case. I'm not sure, if the basic midlevel mechanism is unders

[Alsa-devel] Re: [2.6.3] snd_intel8x0: playing to fast

2004-03-11 Thread Måns Rullgård
Luca <[EMAIL PROTECTED]> writes: > Il Wed, Mar 10, 2004 at 11:08:22PM +0100, M?ns Rullg?rd ha scritto: >> *This message was transferred with a trial version of CommuniGate(tm) Pro* >> Luca <[EMAIL PROTECTED]> writes: >> >> > Hi, >> > I'm using linux 2.6.3 with alsalib 1.0.2c. When using alsa out

Re: [Alsa-devel] Hoping someone can help me (Assertion `frames <= snd_pcm_mmap_avail(pcm)' failed.)

2004-03-11 Thread Niels Christian Ørgaard
On Thu, 2004-03-11 at 12:19, Jaroslav Kysela wrote: > On Thu, 11 Mar 2004, Ove Kaaven wrote: > > > ons, 10.03.2004 kl. 18.32 skrev Niels Christian ?rgaard: > > > > > > The reason for me being so confused is that this occures at the call > > > "snd_pcm_readi(snd_pcm_t *, void *, snd_pcm_uframes_t

Re: [Alsa-devel] drivers in alsa-driver tree with 2.6 kernels

2004-03-11 Thread Sasha Khapyorsky
On Thu, 11 Mar 2004 14:27:59 +0100 Takashi Iwai <[EMAIL PROTECTED]> wrote: > Hi, > > does anyone use the following drivers with a 2.6 kernel successfully? > if it's confirmed, i'd like to move them to alsa-kernel tree, so that > they can be submitted to 2.6 linux tree soon. > > - snd-usb-usx2y >

Re: [Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Clemens Ladisch
Mathieu Geli wrote: > I'm trying to plug/unplug the midisport1x1 from M-Audio. The plug > works like a charm, hotplug does its job, load the firmware > (fxload) and snd-usb-audio, if not inserted, is auto-loaded. But > just hang, trying to rmmoding snd-usb-audio or anything else usb > related will

Re: [Alsa-devel] Re: [2.6.3] snd_intel8x0: playing to fast

2004-03-11 Thread Luca
Il Wed, Mar 10, 2004 at 11:08:22PM +0100, M?ns Rullg?rd ha scritto: > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Luca <[EMAIL PROTECTED]> writes: > > > Hi, > > I'm using linux 2.6.3 with alsalib 1.0.2c. When using alsa output plugin > > of XMMS or mplayer the son

[Alsa-devel] NForce hardware mixing (snd_intel8x0)

2004-03-11 Thread "Cláudio Luís Marques Sampaio (Patola)"
I don't know if this is the best place to ask this, but is there any statements on when hardware sound mixing with nforce-like soundcards (snd_intel8x0) will be ready? TIA. Cláudio Sampaio --- This SF.Net email is sponsored by: IBM Linux Tuto

Re: FW: [Alsa-devel] DMA producer/consumer

2004-03-11 Thread Takashi Iwai
At Thu, 11 Mar 2004 09:30:31 +0530, Gupta, Kshitij wrote: > > Any comments on this would be really helpful... > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Gupta, > Kshitij > Sent: Wednesday, March 10, 2004 5:06 PM > To: [EMAIL PROTECTED] > Subject

[Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Mathieu Geli
Hello, I've got this 'big' problem for the hotplug feature: I'm trying to plug/unplug the midisport1x1 from M-Audio. The plug works like a charm, hotplug does its job, load the firmware (fxload) and snd-usb-audio, if not inserted, is auto-loaded. But sudo umount /proc/bus/usb $> lsusb $> sudo

[Alsa-devel] drivers in alsa-driver tree with 2.6 kernels

2004-03-11 Thread Takashi Iwai
Hi, does anyone use the following drivers with a 2.6 kernel successfully? if it's confirmed, i'd like to move them to alsa-kernel tree, so that they can be submitted to 2.6 linux tree soon. - snd-usb-usx2y - snd-hdspm - snd-intel8x0m note that now au88x0 and atiixp drivers are already in alsa-k

[Alsa-devel] unsubscrive

2004-03-11 Thread midall
--- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&al

Re: [Alsa-devel] Hoping someone can help me (Assertion `frames <= snd_pcm_mmap_avail(pcm)' failed.)

2004-03-11 Thread Jaroslav Kysela
On Wed, 10 Mar 2004, Niels Christian ?rgaard wrote: > Hey > > This is the nth day I'm stuck reading the ALSA-documentation over and > over again, and I'm at a loss figuring out whats wrong. > > Basically, I have a running thread capturing data from an ALSA-device, > and within useconds I ge

Re: [Alsa-devel] Hoping someone can help me (Assertion `frames <= snd_pcm_mmap_avail(pcm)' failed.)

2004-03-11 Thread Jaroslav Kysela
On Thu, 11 Mar 2004, Ove Kaaven wrote: > ons, 10.03.2004 kl. 18.32 skrev Niels Christian ?rgaard: > > Hey > > > > This is the nth day I'm stuck reading the ALSA-documentation over and > > over again, and I'm at a loss figuring out whats wrong. > > > > Basically, I have a running thread capt

Re: [Alsa-devel] Hoping someone can help me (Assertion `frames <= snd_pcm_mmap_avail(pcm)' failed.)

2004-03-11 Thread Ove Kaaven
ons, 10.03.2004 kl. 18.32 skrev Niels Christian Ørgaard: > Hey > > This is the nth day I'm stuck reading the ALSA-documentation over and > over again, and I'm at a loss figuring out whats wrong. > > Basically, I have a running thread capturing data from an ALSA-device, > and within useconds

Re: [Alsa-devel] PCM hw mixing with volume

2004-03-11 Thread Giuliano Pochini
On 10-Mar-2004 Ove Kaaven wrote: >> Uhm... I think first of all we need a way to know how many >> virtual channels are available (hw and sw) > > For the EMU10K1, snd_pcm_info_get_subdevices_count() and > snd_pcm_info_get_subdevices_avail() works for me. But I suppose you're > right that this isn'

Re: [Alsa-devel] USB audio devices

2004-03-11 Thread Clemens Ladisch
Clemens Ladisch wrote: > Jaroslav Kysela wrote: > > > I don't know much about USB 2.0, > > Not too much differences for the driver. Well, I should have read the specification before saying such things. The format of synchronization information has changed, too; it's not 10.14 bits but 12.13 packe

Re: [Alsa-devel] USB audio devices

2004-03-11 Thread Clemens Ladisch
Karsten Wiese wrote: > We can also vary the exact USB frame time. > With UHCI 1.1 USB Hosts there is the SOF Register. > ... > It really works here already with the us428: The trick is: > We first make the USB-Frame longer until we capture 1 Sample Frame more 45 > (for 44100). then the USB-Frame i