[Alsa-devel] RME HDSP-MADI driver ready to check in...

2004-01-21 Thread Winfried Ritsch
rme and also put the rme96.c in it or put it in the pci/ folder. - is there a place to put the hdspm test-apps and docu somewhere ? or should I setup a own page for it (wiki) ? mfg Winfried Ritsch -- - ao.Univ.Prof. DI Winfried Ritsch - ritsch _AT_ iem.at - http://iem.at/ritsch - Institut fuer

Re: [Alsa-devel] hdsp driver and tools update

2003-11-04 Thread Winfried Ritsch
its safer to use io_extent= pci_resource_len(pci,0); (in the hdsp_createfunction instead of giving a fix one.) 3) should we change the the hw_params so that only needed channels are enabled (and change the ruleset to it) ? mfg winfried ritsch Justin Cormack writes: >On

Re: [Alsa-devel] Scatter-Gather buffer allocation before running on HDSP-MADI ?

2003-10-10 Thread Winfried Ritsch
Hello, Thanks, >> >offset = 0; /* bytes */ >> >while (offset < total_size) { >> >dma_addr_t addr = snd_sgbuf_get_addr(sgbuf, offset); >> >map_this_addr_to_my_hw_table(addr); >> >offset += 4096; /* 4k */ >> If PAGE_SIZE is never less than 4k then the

Re: [Alsa-devel] Questions: hw_param rules in rme9652, hdsp.c, also for hdspm.c ?

2003-10-09 Thread Winfried Ritsch
Thanx, that make it clear. >> [hw_rules to make min channels max channels] >> >>Why ? Is there a reason to let channels min not to be 1 ? > >ALSA kernel drivers mirror hardware capabilities. its not possible to >configure the hardware to use just 1 channel. user space (alsa-lib) >allows use o

Re: [Alsa-devel] Scatter-Gather buffer allocation before running on HDSP-MADI ?

2003-10-07 Thread Winfried Ritsch
Thanx that cleared a lot. So I managed now to put it in hw_params and it works in some way. needed an additional There is one point I found: - when I preallocate with for playback and capture 2*4194304 = 8388608 Bytes: snd_pcm_lib_preallocate_sg_pages_for_all(hdspm->pci, pcm,8388608,8388

[Alsa-devel] Scatter-Gather buffer allocation before running on HDSP-MADI ?

2003-10-04 Thread Winfried Ritsch
;dma_private; is not assigned. but when I activate the card (for MIDI for example) there must be memory asigned und I think doing it in hw_params is to late. 2) If it is bound to substream is always the same substream the capture or playback or are the assigned dynamically on calling ? mfg win