At Fri, 24 Jan 2003 15:12:13 +0100, Tais M. Hansen <[EMAIL PROTECTED]> wrote: > > On Friday 24 January 2003 14:30, Takashi Iwai wrote: > > > Same deal as before, another 3 files filled with debug output. Good luck. > > > :) > > it seems that we need to use CURRPTR always on your chip. > > i guess this depends on the board, how reliable IDX register is. > > Need any specific info about the board? Chip? I saw some talks about the > ALC650 chip in another thread on this list and alsamixer claims I've got such > a chip. most likely it has nothing to do with ALC650. but lspci -v and lspci -n (for the chip) might be helpful for the later development.
>
> > if the attached new patch works, i'll add a module option to enable
> > this behavior.
> > good luck for you, too :)
>
> Thanks. Maybe we should exchange good luck more often. Seems like you worked
> some magic here. :)
now comes the patch of the week:
now you'll have possibility to change the behavior of the driver via a
module option idx_detect.
idx_detect=0 : the default, won't work for you.
idx_detect=1 : like test7. perhaps not perfect.
idx_detect=2 : use the interrupt pointer only. the resolution will be
in the size of periods. this should work.
idx_detect=3 : like test7 but don't evaluate the counter.
might be be finer than idx_detect=2 but might be
inaccurate in some cases.
if the debug output is only 'elapsed only', it's ok.
have fun :)
Takashi
via-pointer-test8.dif
Description: Binary data
