Skip to contentSkip to conversation

alsa-kernel: Official ALSA project GIT repository for Linux 2.6 branch, devel now at v2.6.34-rc2-55-g0bf0e5a

alsa-cvslog Takashi Iwai 2 participants 3 messages Mar 26, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

At Fri, 26 Mar 2010 10:37:56 +0100 (CET),

Quoted 7 lines · [email protected] wrote:

commit cd508fe58b07499403e806b558c7f15c90442292

Author:     Jaroslav Kysela <[email protected]>
AuthorDate: Fri Mar 26 10:28:46 2010 +0100
Commit:     Jaroslav Kysela <[email protected]>
CommitDate: Fri Mar 26 10:37:39 2010 +0100
Quoted 7 lines

ALSA: hda-intel - add special 'hwio' model to bypass initialization

Using the 'model=hwio' option, the driver bypasses any codec initialization and the reset procedure for codecs is also bypassed. This mode is usefull to enable direct access using hwdep interface (using hdaverb or hda-analyzer tools) and retain codec setup from BIOS.

What is the merit over probe_only=1 option...?

Takashi

#2 lore raw
Quoted 11 lines · Takashi Iwai

At Fri, 26 Mar 2010 10:37:56 +0100 (CET),

Quoted 9 lines · [email protected] wrote:

commit cd508fe58b07499403e806b558c7f15c90442292

Author:     Jaroslav Kysela <[email protected]>
AuthorDate: Fri Mar 26 10:28:46 2010 +0100
Commit:     Jaroslav Kysela <[email protected]>
CommitDate: Fri Mar 26 10:37:39 2010 +0100

ALSA: hda-intel - add special 'hwio' model to bypass initialization

Quoted 7 lines
Quoted 5 lines

Using the 'model=hwio' option, the driver bypasses any codec initialization and the reset procedure for codecs is also bypassed. This mode is usefull to enable direct access using hwdep interface (using hdaverb or hda-analyzer tools) and retain codec setup from BIOS.

What is the merit over probe_only=1 option...?

I overlooked this possibility. Anyway, skipping the codec reset might help to determine the BIOS settings of codec. I'll update this patch (remove changes in hda_codec.c and use bit 1 in probe_only as skip codec reset).

Thanks,
Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

#3 lore raw

At Fri, 26 Mar 2010 10:58:55 +0100 (CET),

Quoted 20 lines · Jaroslav Kysela
Quoted 17 lines · Takashi Iwai

At Fri, 26 Mar 2010 10:37:56 +0100 (CET),

Quoted 14 lines · [email protected] wrote:

commit cd508fe58b07499403e806b558c7f15c90442292

Author:     Jaroslav Kysela <[email protected]>
AuthorDate: Fri Mar 26 10:28:46 2010 +0100
Commit:     Jaroslav Kysela <[email protected]>
CommitDate: Fri Mar 26 10:37:39 2010 +0100

ALSA: hda-intel - add special 'hwio' model to bypass initialization

Using the 'model=hwio' option, the driver bypasses any codec initialization and the reset procedure for codecs is also bypassed. This mode is usefull to enable direct access using hwdep interface (using hdaverb or hda-analyzer tools) and retain codec setup from BIOS.

Quoted 6 lines
Quoted 1 line

What is the merit over probe_only=1 option...?

I overlooked this possibility. Anyway, skipping the codec reset might help to determine the BIOS settings of codec. I'll update this patch (remove changes in hda_codec.c and use bit 1 in probe_only as skip codec reset).

OK, thanks.

Don't forget to change module_param() type from bool to int in that case.

Takashi