From: Vince Busam <vince@sixpak.org>
To: Takashi Iwai <tiwai@suse.de>
Cc: Sasha Khapyorsky <sashakh@gmail.com>, alsa-devel@lists.sourceforge.net
Subject: Re: Fix for slow snd-ali5451 initialization
Date: Mon, 07 Nov 2005 21:14:30 -0800 [thread overview]
Message-ID: <43703436.7070206@sixpak.org> (raw)
In-Reply-To: <s5h64r4pifp.wl%tiwai@suse.de>
This is with 2.6.12-9-k7 from Ubuntu and 2.6.13-1.1526_FC4 from Fedora
Core 4. I'll try pulling the latest code from CVS and see if that helps.
I don't think it's a problem with attempting the second mixer (which it
does, and fails). It happens while creating the first mixer, in the
snd_ac97_mixer() call in this loop when i==0.
for ( i = 0 ; i < codec->num_of_codecs ; i++) {
ac97.num = i;
if ((err = snd_ac97_mixer(codec->ac97_bus, &ac97, &codec->ac97[i])) <
0) {
snd_printk("ali mixer %d creating error.\n", i);
if(i == 0)
return err;
}
}
Vince
Takashi Iwai wrote:
> At Mon, 7 Nov 2005 17:46:26 +0200,
> Sasha Khapyorsky wrote:
>
>>On 11:54 Mon 07 Nov , Takashi Iwai wrote:
>>
>>>At Sat, 5 Nov 2005 11:38:03 -0800 (PST),
>>>Vince Busam wrote:
>>>
>>>>The snd-ali5451 driver takes 10 seconds to load, which is quite annoying
>>>>on a laptop that boots every day. This patch lowers that to a much more
>>>>managable time, and still works fine on my laptop.
>>>>
>>>>Vince
>>>>
>>>> Summary: Speed up ali5451 initialization
>>>>
>>>> The patch speeds up loading the ali5451 driver by lowering the
>>>> wait time in snd_ali_codec_ready()
>>>>
>>>> Author: Vince Busam <vince@sixpak.org
>>>> Signed-off-by: Vince Busam <vince@sixpak.org>
>>>
>>>Well, it's not a good solution. It's already strange that so many
>>>timeouts occur. And, the driver works correctly after that? That is,
>>>you don't get any timeouts once after the driver is initialized?
>>
>>This could be initialization attempt of non-existed secondary codec. At
>>least such attempt was reported in the past.
>
>
> Yes, that's also my suspect.
>
> Vince, are you using the latest ALSA code? At least, the probe code
> is a bit improved on 2.6.14 kernel, like ALSA CVS version.
>
>
> Takashi
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
next prev parent reply other threads:[~2005-11-08 5:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-05 19:38 Fix for slow snd-ali5451 initialization Vince Busam
2005-11-05 20:22 ` Lee Revell
2005-11-06 2:14 ` Vince Busam
2005-11-07 10:54 ` Takashi Iwai
2005-11-07 15:46 ` Sasha Khapyorsky
2005-11-07 15:48 ` Takashi Iwai
2005-11-08 5:14 ` Vince Busam [this message]
2005-11-08 10:23 ` Takashi Iwai
2005-11-10 5:17 ` Vince Busam
2005-11-11 14:14 ` Takashi Iwai
2005-11-14 6:45 ` Vince Busam
2005-11-08 5:17 ` Vince Busam
2005-11-08 17:48 ` Sasha Khapyorsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43703436.7070206@sixpak.org \
--to=vince@sixpak.org \
--cc=alsa-devel@lists.sourceforge.net \
--cc=sashakh@gmail.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox