At Mon, 7 Jun 2004 14:08:17 +0100,
Russell King wrote:
> 
> On Mon, Jun 07, 2004 at 02:45:20PM +0200, Takashi Iwai wrote:
> > i guess so, too.  as you can see in the original post, the error
> > returned from hw_params callback (sample not available), thus it
> > doesn't call trigger(START) callback yet at all.
> 
> If we never got past hw_params() then we didn't enable the IO,
> and it must be that something else in the system fiddled with
> the chip and set it incorrectly.
> 
> > unfurtunately i can't tell any more unless i read the driver code.
> > where can i find the code?
> 
> I never officially released the driver, though it was part of the
> old -rmk patches back in the 2.6.0-test era.  Where Roc has got
> the source from, and what modifications have been made is anyones
> guess.

Roc sent me the code now :)

after a quick look, it seems that txcr isn't initialized in the open
callback but only in hw_params callback (which was never called in
this case).  if my guess is correct, adding the following to
aacpi_playback_open() should fix this problem:

        chan->txcr = 0;


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to