Yes, and thanks for the help, It seems to work to compile the source from the tarball 
the ordinary way also.

Progress-report on the es18xx.c on ES1878:

* I found the nd_es18xx_dsp_get_byte() to be inconsistent with the spec. and rewrote 
it accordingly.

static int snd_es18xx_dsp_get_byte(es18xx_t *chip)
{
        int i;

              for(i = 0; i <= MILLISECOND; i++)
           if ((inb(chip->port + 0xE) & 0x80))
                      return  inb(chip->port + 0xA);
        }

* My goal would be to modify as little as possible to get is working by the way.

* Now I have discovered the following: by modifying snd_es18xx_playback_prepare() and 
snd_es18xx_playback_trigger() by hardcoding what function to choose I got some static 
sounds out of the chip by the following:
--Combine snd_es18xx_playback2_prepare() with snd_es18xx_playback1_trigger gives 
static when playing a file in kern.log.
--Combine snd_es18xx_playback1_prepare() with snd_es18xx_playback2_trigger gives 
static and bug write in kern.log.


(by the way any other combination gives no sound at all for me such as combining 
snd_es18xx_playback2_prepare() with snd_es18xx_playback2_trigger)

This would entail that the problems could be in the prepare functions, since the mixer 
controls seem to respond with lowering/raising the output.

Best regards from Erik

_____________________________________________________________
Här börjar internet!
Skaffa gratis e-mail och gratis internet på http://www.spray.se

Träffa folk från hela Sverige på ett och samma ställe - http://chat.spray.se/


Reply via email to