Re: [Alsa-devel] usb-midi rc3 patch request

2002-08-20 Thread Clemens Ladisch
karsten wiese wrote: Takashi Iwai [EMAIL PROTECTED] wrote: i think we need rather rewrite the top of usb device management (on alsa). there is also another problem in this regard, for example, a device with both midi and audio is assigned to two different cards, since midi and

[Alsa-devel] Re: [RFC] merging splited driver back

2002-08-20 Thread Takashi Iwai
Hi, At Mon, 19 Aug 2002 22:29:12 +0200, Thierry Vignaud wrote: snd-ens1370 and 1371're just the same driver which compilation is altered by preprocessors directives. snd-via8232 came from via686 and some common code can still be seen. it would be nice if the alsa team can make a

Re: [Alsa-devel] CS4281 fixes (2nd try) (fwd)

2002-08-20 Thread Takashi Iwai
Hi, At Mon, 19 Aug 2002 19:50:14 +0300 (EEST), Kai Vehmanen wrote: After doing a cvs update and recompiling and reinstalling the driver package, snd-cs4281 now freezes my ibm-x20 laptop (rh7x, kernel 2.4.16, today's ALSA-CVS). 0.9.0rc1 works fine. Anyone with similar experience? I didn't

Re: [Alsa-devel] usb-midi rc3 patch request

2002-08-20 Thread Takashi Iwai
At Tue, 20 Aug 2002 10:41:52 +0200, Clemens Ladisch wrote: karsten wiese wrote: Takashi Iwai [EMAIL PROTECTED] wrote: i think we need rather rewrite the top of usb device management (on alsa). there is also another problem in this regard, for example, a device with both midi

[Alsa-devel] Kernel OOP with alsaplayer driver

2002-08-20 Thread Andy Lo-A-Foe
Hi, We've been experiencing kernel OOPSes with the alsaplayer alsa-final output plugin. The problems appeared in the 0.9.0rc3 release and forward. The same code works fine on 0.9.0rc1. The OOP is triggered at close time (snd_pcm_close()) and only then. This behaviour was duplicated on at least 2

Re: [Alsa-devel] usb-audio: variable periodsize / nframes per callbackcan shorten latency times

2002-08-20 Thread Tim Goetze
Takashi Iwai wrote: How can we implement the latency-optimal behaviour with alsa-driver framework? Can we implement something like a snd_1ms_elapsed() routine (called from USB-interrupt), which in turn triggers a waiting app with the available period size (which would be 44 or 45 frames for

Re: [Alsa-devel] usb-audio: variable periodsize / nframes per callback can shorten latency times

2002-08-20 Thread Takashi Iwai
At Tue, 20 Aug 2002 12:30:11 +0200 (CEST), Tim Goetze wrote: Takashi Iwai wrote: How can we implement the latency-optimal behaviour with alsa-driver framework? Can we implement something like a snd_1ms_elapsed() routine (called from USB-interrupt), which in turn triggers a waiting

Re: [Alsa-devel] CS4281 fixes (2nd try) (fwd)

2002-08-20 Thread Kai Vehmanen
On Tue, 20 Aug 2002, Takashi Iwai wrote: Kai Vehmanen wrote: After doing a cvs update and recompiling and reinstalling the driver package, snd-cs4281 now freezes my ibm-x20 laptop (rh7x, kernel 2.4.16, today's ALSA-CVS). 0.9.0rc1 works fine. Anyone with similar experience? I Jaroslav

Re: [Alsa-devel] Kernel OOP with alsaplayer driver

2002-08-20 Thread Takashi Iwai
Hi, At Tue, 20 Aug 2002 13:06:44 +0200, Andy Lo-A-Foe wrote: Hi, We've been experiencing kernel OOPSes with the alsaplayer alsa-final output plugin. The problems appeared in the 0.9.0rc3 release and forward. The same code works fine on 0.9.0rc1. The OOP is triggered at close time

[Alsa-devel] modules.conf in the alsa docs pages

2002-08-20 Thread James Tappin
I just noticed when checking for something in the install documentation on the ALSA page that the alias in the template modules.conf is not being filled in any more; i.e. it reads: alias snd-card-0 snd- for many cards (not all -- interwave seems to work, but ice1712 doesn't), I'm sure that

Re: [Alsa-devel] Kernel OOP with alsaplayer driver

2002-08-20 Thread Andy Lo-A-Foe
On Tue, Aug 20, 2002 at 02:27:23PM +0200, Takashi Iwai wrote: could you check via strace which ioctl triggers this? strangely i cannot reproduce this on my machine. strace gives the following (parsed): open(/dev/snd/pcmC0D0p, O_RDWR) = 4 ioctl(4, AGPIOC_INFO, 0xbfffdf60)

Re: [Alsa-devel] Kernel OOP with alsaplayer driver

2002-08-20 Thread Jaroslav Kysela
On Tue, 20 Aug 2002, Andy Lo-A-Foe wrote: On Tue, Aug 20, 2002 at 02:27:23PM +0200, Takashi Iwai wrote: could you check via strace which ioctl triggers this? strangely i cannot reproduce this on my machine. strace gives the following (parsed): open(/dev/snd/pcmC0D0p,

Re: [Alsa-devel] usb-audio: variable periodsize / nframes per callbackcan shorten latency times

2002-08-20 Thread Tim Goetze
Takashi Iwai wrote: With the current setup and cycle code for mmap'd IO (like Jack for example does it), is it possible to use these devices at all? on 48kHz my usb speaker worked fine with 1ms or 2ms period size (not under high loads, though), since the frames per urb becomes integer in this

Re: [Alsa-devel] CS4281 fixes (2nd try)

2002-08-20 Thread Kai Vehmanen
On Tue, 20 Aug 2002, Kai Vehmanen wrote: BTW; The cs4281 compilation problem I reported earlier is definitely a compiler issue. On two different laptops (x20x21 thinkpads), compiling with the RH72 gcc 2.96 produces a snd-cs4281.o that fails to recognize the soundchip. By

Re: [Alsa-devel] Kernel OOP with alsaplayer driver

2002-08-20 Thread Andy Lo-A-Foe
On Tue, Aug 20, 2002 at 03:15:49PM +0200, Jaroslav Kysela wrote: ioctl(4, 0x4143, 0x1807)= 0 ioctl(4, 0x4112, 0x40031090)= 0 close(4)= 0 open(/root/.alsaplayer/config, O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4 close(4)

Re: [Alsa-devel] usb-audio: variable periodsize / nframes per callback can shorten latency times

2002-08-20 Thread Takashi Iwai
At Tue, 20 Aug 2002 13:34:03 +0200 (CEST), Tim Goetze wrote: Takashi Iwai wrote: With the current setup and cycle code for mmap'd IO (like Jack for example does it), is it possible to use these devices at all? on 48kHz my usb speaker worked fine with 1ms or 2ms period size (not under

Re: [Alsa-devel] CS4281 fixes (2nd try) (fwd)

2002-08-20 Thread Takashi Iwai
At Tue, 20 Aug 2002 14:39:13 +0300 (EEST), Kai Vehmanen wrote: And another cs4281 mystery: with 0.9.0rc1 the record wakeup is constantly late. Even though I've set avail_min to x frames, upon wake-up there's continuously more than y*x frames available (ie. not just a few samples). this

Re: [Alsa-devel] Kernel OOP with alsaplayer driver

2002-08-20 Thread Benny Sjostrand
could you check via strace which ioctl triggers this? strangely i cannot reproduce this on my machine. i guess it's the same problem reported by Benny, the data is transferred even after hw_free call (in snd_pcm_close). It does only happens when closing the AlsaPlayer and for me only with

Re: [Alsa-devel] FM801 5.1 surround

2002-08-20 Thread Takashi Iwai
At Mon, 19 Aug 2002 19:51:53 +0100, Emilio Federici wrote: -- On Mon, 19 Aug 2002 17:54:38 Takashi Iwai wrote: which ac97 chip on the card? no relevant mixer elements? i guess the fm801 engine itself already supports 6 channels but the codec is not. Takashi Hi

[Alsa-devel] Anyone have Gadget Labs Wave/4? (patch)

2002-08-20 Thread Mark Rages
I would like someone with a Gadget Labs Wave/4 to try out my driver and report any problems (and fixes!) This is a VERY ROUGH version of the driver. Only playback is supported. RECORDING is not supported... let's get playback solid first. MIDI is not supported... There's just a 16550 on the

Re: [Alsa-devel] usb-audio: variable periodsize / nframes per callbackcan shorten latency times

2002-08-20 Thread Tim Goetze
Takashi Iwai wrote: At Tue, 20 Aug 2002 13:34:03 +0200 (CEST), Tim Goetze wrote: Takashi Iwai wrote: With the current setup and cycle code for mmap'd IO (like Jack for example does it), is it possible to use these devices at all? on 48kHz my usb speaker worked fine with 1ms or 2ms

[Alsa-devel] matrix ideas

2002-08-20 Thread Martin Langer
Hi, Alsa's soundcard matrix is a collection of rows and you find the same company link in dozens of rows. In my opinion one link would be enough and a solution with bigger blocks should even decrease the big document size. I mean something like the sane matrix at

Re: [Alsa-devel] user mode sequencer timer?

2002-08-20 Thread Frank van de Pol
On Mon, Aug 19, 2002 at 08:40:34PM +0200, Tim Goetze wrote: the former is difficult, because the queue is driven by interrupts from a timer source. that is, a sequencer client must give signals at the constant and fine period. this is not a job what a user process does. Just nitpicking:

Re: [Alsa-devel] Forcing an absolute timestamp for every midi event.

2002-08-20 Thread Frank van de Pol
On Mon, Aug 19, 2002 at 01:39:02PM +0100, Martijn Sipkema wrote: The MIDI API just allows scheduling MIDI for transmission at a certain future UST. Either scheduling is done (partly) in hardware or in a process that schedules the messages (using POSIX clock_nanosleep() or a similar

[Alsa-devel] Re: [linux-audio-dev] midi events in jack callback / ALSA Sequencer

2002-08-20 Thread Martijn Sipkema
[...] Within ALSA we have two priority queues, one for tick (bar,beat) scheduled events, and one for clock (ns) scheduled events. As MIDI uses MIDI tick messages for time based sync and MIDI clock messages for tempo based sync I kind of feel the ALSA sequencer naming is a little confusing :)

Re: [Alsa-devel] matrix ideas

2002-08-20 Thread Patrick Shirkey
Martin Langer wrote: Hi, Alsa's soundcard matrix is a collection of rows and you find the same company link in dozens of rows. In my opinion one link would be enough and a solution with bigger blocks should even decrease the big document size. I mean something like the sane matrix at

[Alsa-devel] alsa docs - PHP help

2002-08-20 Thread Patrick Shirkey
Using urlencode on the template doesn't solve the problem for older browsers. Can anyone think of a regex to auto encode the every line in the index page that looks like this: a href=doc-php/template.php3?company=Abitcard=AU10chip=FM801module=fm801Install/a So that the variables are

[Alsa-devel] [PATCH] cs46xx SMP fixes.

2002-08-20 Thread Benny Sjostrand
Hi! Until now it seems like the new cs46xx driver have been broken on SMP machines, so with this patch it hopefully work again. The only bad thing is that I dont have any SMP machine (however I would like to have), so I cant test it out. This patch is reported to work at least by one SMP user.