[alsa-devel] Backported sbxfi driver (UNTESTED!)

The Source thesourcehim at gmail.com
Tue Oct 14 13:24:22 CEST 2008


Takashi Iwai пишет:
> At Tue, 14 Oct 2008 13:17:32 +0400,
> The Source wrote:
>   
>> Ok, got the dmesg output with debug=3. Hope that helps.
>>     
>
> Thanks.  Is it the output with the system timer (XXX_SYSTEM_TIMER)?
>
> I updated the GIT and snapshot tarball again.  It's just some more
> additions of debug log points and typo corrections.  Anyway, try to
> update.
>
> Regarding your silent output: it seems your device is detected as
> SB055x, and it goes to a special DAC initialization unlike others.
> Maybe that's the cause.
>
> Does the patch below have any change?
>
>
> thanks,
>
> Takashi
>
> diff --git a/sound/pci/sbxfi/sbxfi.c b/sound/pci/sbxfi/sbxfi.c
> index 6ae83aa..100b265 100644
> --- a/sound/pci/sbxfi/sbxfi.c
> +++ b/sound/pci/sbxfi/sbxfi.c
> @@ -671,6 +671,7 @@ static void sbxfi_init_dac(struct sbxfi *chip)
>  	int i;
>  
>  	LOG(1, "INIT DAC\n");
> +#if 0
>  	if (chip->type == SBXFI_HW_055x) {
>  		/* XXX what this? */
>  		gpio = sbxfi_read(chip, GPIO);
> @@ -679,6 +680,7 @@ static void sbxfi_init_dac(struct sbxfi *chip)
>  		sbxfi_write(chip, GPIO, gpio);
>  		return;
>  	}
> +#endif
>  
>  	/* Mute outputs: GPIO6 low */
>  	gpio = sbxfi_read(chip, GPIO);
>
>   
Here's dmesg output with the new tarball (system timer is not used this 
time but that doesn't seem to change anything).

By the way, note, that not rate may cause oops but number of channles 
for example (wav that causes oops has mono mode and the one that just 
plays silently - stereo. Also the oops sample is 16bit, silent one is 
24bit).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.out.bz2
Type: application/x-bzip
Size: 12522 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20081014/7c60e277/attachment-0001.bz2 


More information about the Alsa-devel mailing list