[Alsa-devel] request_mem_region size

2004-05-14 Thread Giuliano Pochini
I get the size to be passed to request_mem_region() with pci_resource_len(). But that size sometimes (depends on the card) is several MBs, while the hw registers are just a few bytes above the base address. Is it ok using a fixed length ? -- Giuliano.

[Alsa-devel] Re: Alsa-devel digest, Vol 1 #1842 - 14 msgs

2004-05-14 Thread Takashi Iwai
At Thu, 13 May 2004 13:43:28 -0700, Loc Ho wrote: Hi, Your fix of the ALSA memory allocation problem is incorrect. This only fixes the problem with the commerical USB Audio driver. It does not fix for all drivers. The proper fix is to replace the function setup_pcm_id with this one (note

Re: [Alsa-devel] request_mem_region size

2004-05-14 Thread Takashi Iwai
At Fri, 14 May 2004 11:58:37 +0200 (CEST), Giuliano Pochini wrote: I get the size to be passed to request_mem_region() with pci_resource_len(). But that size sometimes (depends on the card) is several MBs, while the hw registers are just a few bytes above the base address. Is it ok using

Re: [Alsa-devel] spin_lock_irqwhat ?

2004-05-14 Thread Takashi Iwai
At Thu, 13 May 2004 20:57:51 +0200, Giuliano Pochini wrote: On Mon, 10 May 2004 17:08:49 +0200 Takashi Iwai [EMAIL PROTECTED] wrote: prepare and trigger callbacks are already in irq-disabled. i.e. you need only spin_lock() in them. Does it mean that ALSA acquires the lock only when

[Alsa-devel] SIS 7012 / CMI 9739

2004-05-14 Thread Sebastian Urbach
Hi, I want to ask what happend with the following patch regarding the CMI 9739 ? : http://www.mail-archive.com/[EMAIL PROTECTED]/msg10804.html This article / patch is a few month old right now and it seems that it is not getting better with the time : http://www.edseek.com/archives/16.html

[Alsa-devel] [PATCH]snd-usb-usx2y 0.6.1

2004-05-14 Thread Karsten Wiese
Hi Takashi, little fix attached. Please commit with comment - avoid entry in system log when device disconnects (for RELEASE build) Thanks, Karsten Index: alsa-driver/usb/usx2y/usbusx2y.c === RCS file:

[Alsa-devel] Re: [PATCH]snd-usb-usx2y 0.6.1

2004-05-14 Thread Takashi Iwai
At Fri, 14 May 2004 13:26:53 +0200, Karsten Wiese wrote: [1 text/plain; us-ascii (7bit)] Hi Takashi, little fix attached. Please commit with comment - avoid entry in system log when device disconnects (for RELEASE build) applied now. thanks, Takashi

[Alsa-devel] Re: [PATCH] aureon.c - hpamp, adc/dac mute

2004-05-14 Thread Takashi Iwai
At Fri, 14 May 2004 14:48:18 +0200, Christoph Haderer wrote: [1 text/plain; us-ascii (7bit)] This patch adds a headphone amplifier control and the ability to mute the DAC (all channels at once) and the ADC channels. wm_adc_vol_put had to be changed a little bit because otherwise the

Re: [Alsa-devel] Emu10k1x driver

2004-05-14 Thread Takashi Iwai
At Fri, 14 May 2004 11:50:50 GMT, [EMAIL PROTECTED] wrote: Here's a revised version of the driver. I found a bug in the previous version, not sure why it was working, maybe because I had my printk's in it. I've also revised the indentation and now supports the 3 PCM streams, even though

Re: [Alsa-devel] mixer device

2004-05-14 Thread Ronald S. Bultje
On Wed, 2004-05-12 at 17:40, Clemens Ladisch wrote: Ronald S. Bultje wrote: for a given alsa device (default, dmix, plughw:N, hw:N,M, dspN, etc.), how do I automatically obtain the right device to use as a audio mixer with that device? Depends on your definition of right device. In the

Re: [Alsa-devel] Emu10k1x driver

2004-05-14 Thread fmoraes74
i noticed that you set the irq mask IPR_CH_0_LOOP|IPR_CH_0_HALF_LOOP. does it mean that the chip generates interrupts twice per buffer? if yes, what we need is to limit the number of periods to 2. The hardware can generate an interrupt at the beginning or the period (ptr = 0) and the middle

Re: [Alsa-devel] Emu10k1x driver

2004-05-14 Thread James Courtier-Dutton
Takashi Iwai wrote: At Wed, 12 May 2004 03:16:14 +0100, James Courtier-Dutton wrote: [EMAIL PROTECTED] wrote: Here's the first pass at the driver. I've tested it mainly with XMMS with the ALSA output plugin. alsaplayer didn't work, not sure why. I've also tested with the pcm test in alsa-lib

Re: [Alsa-devel] Emu10k1x driver

2004-05-14 Thread Takashi Iwai
At Fri, 14 May 2004 18:14:47 +0100, James Courtier-Dutton wrote: I would like to add some information that might help people modifying this for the Audigy LS. The outputs for the card work in 2 modes. 1) Probably analogue on the output jacks. snd_emu10k1x_ptr_write(chip, 0x41, 0, 0x70f);

Re: [Alsa-devel] problems with the mixer

2004-05-14 Thread Takashi Iwai
At Fri, 14 May 2004 20:05:09 +0200, Aner Gusic wrote: * Takashi Iwai [EMAIL PROTECTED]: you can use front, rear and surround40 PCMs. then the volumes and the route should be initialized properly. I've tryed playing some samples with aplay combined with -D parameter, e.g. aplay -Dfront

Re: [Alsa-devel] Emu10k1x driver

2004-05-14 Thread James Courtier-Dutton
Takashi Iwai wrote: At Fri, 14 May 2004 18:14:47 +0100, James Courtier-Dutton wrote: I would like to add some information that might help people modifying this for the Audigy LS. The outputs for the card work in 2 modes. 1) Probably analogue on the output jacks. snd_emu10k1x_ptr_write(chip,

Re: [Alsa-devel] Re: [PATCH] aureon.c - hpamp, adc/dac mute

2004-05-14 Thread Apostolos Dimitromanolakis
Hm.. It seems then that after all that the Audiotrak Prodigy 7.1 is identical to Terratec Aureon, except that the later has optical digital IO instead of coaxial. The headphone function is also implemented in Audiotrak Prodigy 7.1 driver. I used to think that it was a difference between the

Re: [Alsa-devel] Emu10k1x driver

2004-05-14 Thread fmoraes74
the attached patch includes some fixes by me for the latest cvs, and changes the periods to 2. i'll apply it to cvs now. Is your patch for kernel 2.6? Francisco The best thing to hit the Internet in years - NetZero HiSpeed! Surf