Re: [Alsa-devel] buffer producer/consumer sync

2004-03-31 Thread Jaroslav Kysela
On Wed, 31 Mar 2004, Russell King wrote: On Wed, Mar 31, 2004 at 09:44:45AM +0200, Jaroslav Kysela wrote: I think that the consensus was that using -nopage callback does not make much sense for the DMA pages so remap_page_coherent_range() should be used for this case when designed. The

Re: [Alsa-devel] buffer producer/consumer sync

2004-03-31 Thread Russell King
On Wed, Mar 31, 2004 at 10:10:22AM +0200, Jaroslav Kysela wrote: Yes, but if we have at least one API solving this problem, the successors should replace it completely. I think that it's much better solution than having no way to support ARM or any other platforms with these problems in

Re: [Alsa-devel] Need to know SBLive Chip difference

2004-03-31 Thread guan yim
From: p z [EMAIL PROTECTED] Reply-To: p z [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Alsa-devel] Need to know SBLive Chip difference Date: Tue, 30 Mar 2004 14:09:20 +0200 Could you try change these lines in alsa-driver/alsa- kernel/emu10k1/emufx.c if

Re: [Alsa-devel] buffer producer/consumer sync

2004-03-31 Thread Jaroslav Kysela
On Wed, 31 Mar 2004, Russell King wrote: On Wed, Mar 31, 2004 at 10:10:22AM +0200, Jaroslav Kysela wrote: Yes, but if we have at least one API solving this problem, the successors should replace it completely. I think that it's much better solution than having no way to support ARM or any

Re: [Alsa-devel] buffer producer/consumer sync

2004-03-31 Thread Jaroslav Kysela
On Wed, 31 Mar 2004, Russell King wrote: The correct interface is dma_mmap_coherent(). I'm actually tempted to provide dma_mmap_coherent() and just let everyone else whinge and moan that the API doesn't meet their expectations. Thanks. Evolution is the best way. BTW, ARM also needs the

Re: [Alsa-devel] buffer producer/consumer sync

2004-03-31 Thread Russell King
On Wed, Mar 31, 2004 at 11:07:03AM +0200, Jaroslav Kysela wrote: Do you see any reason to ommit this settings for some cases (including for ISA bus)? I think that dma_alloc_coherent should offer consistent API - thus mark all allocated pages as reserved for all cases. That was another point I

Re: [Alsa-devel] buffer producer/consumer sync

2004-03-31 Thread Jaroslav Kysela
On Wed, 31 Mar 2004, Russell King wrote: I suggest we add a load of preprocessor junk into the ALSA core and comment exactly _why_ its needed, thereby laying the reason completely at the door of these ill-defined APIs where questions have been asked and responses not been received. I'm

Re: [Alsa-devel] buffer producer/consumer sync

2004-03-31 Thread Russell King
On Wed, Mar 31, 2004 at 11:22:56AM +0200, Jaroslav Kysela wrote: On Wed, 31 Mar 2004, Russell King wrote: I suggest we add a load of preprocessor junk into the ALSA core and comment exactly _why_ its needed, thereby laying the reason completely at the door of these ill-defined APIs where

Re: [Alsa-devel] buffer producer/consumer sync

2004-03-31 Thread Russell King
On Wed, Mar 31, 2004 at 10:29:06AM +0200, Jaroslav Kysela wrote: On Wed, 31 Mar 2004, Russell King wrote: Keeping the existing -nopage will not work - there is no way to get to a struct page on ARM given the information available to the ALSA code. Looking to arch/arm/mm/consistent.c -

Re: [Alsa-devel] 1.0.4rc1 release

2004-03-31 Thread Jaroslav Kysela
On Wed, 31 Mar 2004, Clemens Ladisch wrote: But now: # modprobe snd modprobe: Too deep recursion in module dependencies! modprobe: Circular dependency? snd-page-alloc snd snd_pci_compat_get_pci_driver() is called from pci_compat_pm_callback() in misc.c. I think the 2.2.x CONFIG_APM I

Re: [Alsa-devel] intel8x0.c

2004-03-31 Thread Brian Furey
Thanks James, i'm using the GSM-06.10 codec with my VoIP application.The frame rate is 160 timestamp units or 20 millisecond frames.4 frames are added to a packet and transmitted. Packets are transmitted at alternate intervals of 64 and 96 milliseconds. This is due to the soundcard driver and

Re: [Alsa-devel] buffer producer/consumer sync

2004-03-31 Thread James Courtier-Dutton
Russell King wrote: On Wed, Mar 31, 2004 at 11:22:56AM +0200, Jaroslav Kysela wrote: On Wed, 31 Mar 2004, Russell King wrote: I suggest we add a load of preprocessor junk into the ALSA core and comment exactly _why_ its needed, thereby laying the reason completely at the door of these

[Alsa-devel] No mixer elems found

2004-03-31 Thread Vincenzo Di Salvo
Greetings ! I have a brand new RME-9652 (Hammerfall –HDSP Rev. 1.6)) hooked-up to the two RME-AES 8i and 8o brackets which are mounted inside the computer. So, I am not using any kind of external D/A converter. Hardware is: Pentium IV CPU at 1.7 GHz, SCSI HD Operative System is: LINUX Red Hat

Re: [Alsa-devel] No mixer elems found

2004-03-31 Thread Paul Davis
The problem is that I cannot get the mixer to have any elements (or=20 elems as the alsamixer calls them) which thus makes the card un-openable= =20 even with the alsamixer. thats correct. the hdsp has no mixer that can be represented using conventional mixer elements. there is nothing

Re: [Alsa-devel] Need to know SBLive Chip difference

2004-03-31 Thread p z oooo
Did you try if oss free drivers works ??? Please try first. What dirstribution you use ??? Maybe it is compiled in. Just try /etc/init.d/alsasound stop modprobe emu10k1 and play 5.1 sound through oss. I think you can use osstest application from alsa-oss package Peter Zubaj

[Alsa-devel] snd_pcm_writei not returning (?!?)

2004-03-31 Thread Tom Browne
Hi all, I am having serious trouble with ALSA using the poll method as shown in the pcm.c test app... Under certain conditions (yet to be established properly - it doesn't happen every single time) with this ICE1712 card (DSP24), snd_pcm_writei doesn't just block... it never comes back. I

Re: [Alsa-devel] 1.0.4rc1 release

2004-03-31 Thread Clemens Ladisch
Jaroslav Kysela wrote: On Wed, 31 Mar 2004, Clemens Ladisch wrote: But now: # modprobe snd modprobe: Too deep recursion in module dependencies! modprobe: Circular dependency? snd-page-alloc snd snd_pci_compat_get_pci_driver() is called from pci_compat_pm_callback() in misc.c.

Re: [Alsa-devel] 1.0.4rc from cvs-head: snd-usb-usx2y still needs snd-hwdep....

2004-03-31 Thread Martin Langer
On Wed, Mar 31, 2004 at 09:10:17AM +0200, Jaroslav Kysela wrote: On Wed, 31 Mar 2004, Karsten Wiese wrote: ..., which is not built. this is for kernel 2.4. /etc/asound/driver_args: --with-cards=via82xx,msnd-pinnacle,usb-audio,usb-usx2y,es1968 --with-kernel=/usr/src/linux-2.4

Re: [Alsa-devel] ali5451

2004-03-31 Thread Nico Schottelius
Is this driver abadoned? Nico Nico Schottelius [Sat, Mar 27, 2004 at 11:13:05PM +0100]: Hello! I can switch PCM on or off, but cannot adjust the volume. I am using Linux 2.6.4. What information do you need from me to debug this? Nico 00:06.0 Multimedia audio controller: ALi

Re: [Alsa-devel] [PATCH] fixes Re: problem compiling alsa-lib CVS.

2004-03-31 Thread James Courtier-Dutton
Is there any reason why this patch was not added to the alsa-lib cvs ? James Courtier-Dutton wrote: James Courtier-Dutton wrote: I attach the output I see on the screen when running ./cvscompile. Cheers James I attach a patch to fix the problem for me.

[Alsa-devel] cannot submit datapipe for urb 0 on /dev/dsp access -extigy

2004-03-31 Thread John H.
I get this error repeatedly ALSA /tmp/alsa-driver-1.0.4rc2/usb/usbaudio.c:811: cannot submit datapipe for urb 0, err = -38 whenever i try to use /dev/dsp now, and i can only get sound from line in. HELP? i have kernel 2.6.4 and drivers 1.0.4rc2 .

Re: [Alsa-devel] EZ8 ADAT I/O card (ICE1712 chipset)

2004-03-31 Thread Doug McLain
Here is a patch for EZ8 support with the snd-ice1712 driver. I kept everything contained within hoontech.c, as you suggested. I never bothered to go farther trying to uniquely identify between the 2 cards since, this has been working fine for me. Also, I have contacted both Hoontech and

Re: [Alsa-devel] 1.0.4rc1 release

2004-03-31 Thread Clemens Ladisch
I wrote: Now the modules load. However, loading snd-usb-audio doesn't do anything, and unloading and reloading it results in a crash or a hang. Fixed. Apparently, snd-usb-audio has never been working on 2.2.x, and nobody noticed ... No remaining 2.2.x bugs AFAICS. Clemens