* hda-intel - Add digout to ALC880 F1734 model
@ 2008-11-01 12:43 Michael Gruber
2008-11-02 11:23 ` Takashi Iwai
0 siblings, 1 reply; 10+ messages in thread
From: Michael Gruber @ 2008-11-01 12:43 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 1187 bytes --]
Backstory:
The patch "ALSA: hda - Add infrastructure for dynamic stream allocation"
http://git.alsa-project.org/?p=alsa-kmirror.git;a=commit;h=ae32c9fe811fed22715342494c08a11fabc87762
broke the detection of my card. With this patch applied the dmesg output is:
[ 3761.464838] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
low) -> IRQ 16
[ 3761.464863] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 3761.499927] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
[ 3761.499945] HDA Intel: probe of 0000:00:1b.0 failed with error -22
When I loaded the module with model=... then it would work only for some
models, but not for others. I found out that the ones which worked were the
ones with a digout. I added the digout to the F1734 model and now it is
working again.
I can't test if the digout is really working because I lack the hardware, but
when I turn on the IEC958 control in the mixer then red light is emitted from
my headphone port.
I will attach a patch that adds digout to this model because this seems the
right thing to do, but I don't know whether there is something wrong with the
aforementioned patch that caused my problem in the first place.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: F1734_digout.patch --]
[-- Type: text/x-diff; name=F1734_digout.patch, Size: 644 bytes --]
hda-intel - Add digout to ALC880 F1734 model
Adds digout to ALC880 F1734 model
Signed-off-by: Michael Gruber <lists.mg@googlemail.com>
diff --git a/pci/hda/patch_realtek.c b/pci/hda/patch_realtek.c
index fb8fae9..944d941 100644
--- a/pci/hda/patch_realtek.c
+++ b/pci/hda/patch_realtek.c
@@ -3284,6 +3284,7 @@ static struct alc_config_preset alc880_presets[] = {
alc880_pin_f1734_init_verbs },
.num_dacs = ARRAY_SIZE(alc880_f1734_dac_nids),
.dac_nids = alc880_f1734_dac_nids,
+ .dig_out_nid = ALC880_DIGOUT_NID,
.hp_nid = 0x02,
.num_channel_mode = ARRAY_SIZE(alc880_2_jack_modes),
.channel_mode = alc880_2_jack_modes,
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: hda-intel - Add digout to ALC880 F1734 model
2008-11-01 12:43 hda-intel - Add digout to ALC880 F1734 model Michael Gruber
@ 2008-11-02 11:23 ` Takashi Iwai
2008-11-02 16:02 ` Michael Gruber
0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2008-11-02 11:23 UTC (permalink / raw)
To: Michael Gruber; +Cc: alsa-devel
At Sat, 1 Nov 2008 13:43:25 +0100,
Michael Gruber wrote:
>
> Backstory:
> The patch "ALSA: hda - Add infrastructure for dynamic stream allocation"
> http://git.alsa-project.org/?p=alsa-kmirror.git;a=commit;h=ae32c9fe811fed22715342494c08a11fabc87762
> broke the detection of my card. With this patch applied the dmesg output is:
>
> [ 3761.464838] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
> low) -> IRQ 16
> [ 3761.464863] PCI: Setting latency timer of device 0000:00:1b.0 to 64
> [ 3761.499927] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
> [ 3761.499945] HDA Intel: probe of 0000:00:1b.0 failed with error -22
Could you check whether you get any other error messages with
CONFIG_SND_DEBUG=y?
> When I loaded the module with model=... then it would work only for some
> models, but not for others. I found out that the ones which worked were the
> ones with a digout. I added the digout to the F1734 model and now it is
> working again.
>
> I can't test if the digout is really working because I lack the hardware, but
> when I turn on the IEC958 control in the mixer then red light is emitted from
> my headphone port.
>
> I will attach a patch that adds digout to this model because this seems the
> right thing to do, but I don't know whether there is something wrong with the
> aforementioned patch that caused my problem in the first place.
Yeah, it shouldn't break the existing thing, at least.
thanks,
Takashi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: hda-intel - Add digout to ALC880 F1734 model
2008-11-02 11:23 ` Takashi Iwai
@ 2008-11-02 16:02 ` Michael Gruber
2008-11-03 13:19 ` Takashi Iwai
0 siblings, 1 reply; 10+ messages in thread
From: Michael Gruber @ 2008-11-02 16:02 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Sun, Nov 2, 2008 at 12:23, Takashi Iwai <tiwai@suse.de> wrote:
> At Sat, 1 Nov 2008 13:43:25 +0100,
> Michael Gruber wrote:
>>
>> Backstory:
>> The patch "ALSA: hda - Add infrastructure for dynamic stream allocation"
>> http://git.alsa-project.org/?p=alsa-kmirror.git;a=commit;h=ae32c9fe811fed22715342494c08a11fabc87762
>> broke the detection of my card. With this patch applied the dmesg output is:
>>
>> [ 3761.464838] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
>> low) -> IRQ 16
>> [ 3761.464863] PCI: Setting latency timer of device 0000:00:1b.0 to 64
>> [ 3761.499927] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
>> [ 3761.499945] HDA Intel: probe of 0000:00:1b.0 failed with error -22
>
> Could you check whether you get any other error messages with
> CONFIG_SND_DEBUG=y?
>
>> When I loaded the module with model=... then it would work only for some
>> models, but not for others. I found out that the ones which worked were the
>> ones with a digout. I added the digout to the F1734 model and now it is
>> working again.
>>
>> I can't test if the digout is really working because I lack the hardware, but
>> when I turn on the IEC958 control in the mixer then red light is emitted from
>> my headphone port.
>>
>> I will attach a patch that adds digout to this model because this seems the
>> right thing to do, but I don't know whether there is something wrong with the
>> aforementioned patch that caused my problem in the first place.
>
> Yeah, it shouldn't break the existing thing, at least.
>
>
> thanks,
>
> Takashi
>
[ 261.045920] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
low) -> IRQ 16
[ 261.045945] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 261.045949] ALSA
/home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2130:
chipset global capabilities = 0x4401
[ 261.076055] ALSA
/home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:771:
codec_mask = 0x3
[ 261.079523] ALSA
/home/*/Desktop/test-alsa/alsa-driver/pci/hda/hda_codec.c:2579:
hda_codec: model 'F1734' is selected for config 1734:107c (FSC F1734)
[ 261.079920] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
[ 261.079933] HDA Intel: probe of 0000:00:1b.0 failed with error -22
That is all.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: hda-intel - Add digout to ALC880 F1734 model
2008-11-02 16:02 ` Michael Gruber
@ 2008-11-03 13:19 ` Takashi Iwai
2008-11-03 23:50 ` Michael Gruber
0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2008-11-03 13:19 UTC (permalink / raw)
To: Michael Gruber; +Cc: alsa-devel
At Sun, 2 Nov 2008 17:02:51 +0100,
Michael Gruber wrote:
>
> On Sun, Nov 2, 2008 at 12:23, Takashi Iwai <tiwai@suse.de> wrote:
> > At Sat, 1 Nov 2008 13:43:25 +0100,
> > Michael Gruber wrote:
> >>
> >> Backstory:
> >> The patch "ALSA: hda - Add infrastructure for dynamic stream allocation"
> >> http://git.alsa-project.org/?p=alsa-kmirror.git;a=commit;h=ae32c9fe811fed22715342494c08a11fabc87762
> >> broke the detection of my card. With this patch applied the dmesg output is:
> >>
> >> [ 3761.464838] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
> >> low) -> IRQ 16
> >> [ 3761.464863] PCI: Setting latency timer of device 0000:00:1b.0 to 64
> >> [ 3761.499927] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
> >> [ 3761.499945] HDA Intel: probe of 0000:00:1b.0 failed with error -22
> >
> > Could you check whether you get any other error messages with
> > CONFIG_SND_DEBUG=y?
> >
> >> When I loaded the module with model=... then it would work only for some
> >> models, but not for others. I found out that the ones which worked were the
> >> ones with a digout. I added the digout to the F1734 model and now it is
> >> working again.
> >>
> >> I can't test if the digout is really working because I lack the hardware, but
> >> when I turn on the IEC958 control in the mixer then red light is emitted from
> >> my headphone port.
> >>
> >> I will attach a patch that adds digout to this model because this seems the
> >> right thing to do, but I don't know whether there is something wrong with the
> >> aforementioned patch that caused my problem in the first place.
> >
> > Yeah, it shouldn't break the existing thing, at least.
> >
> >
> > thanks,
> >
> > Takashi
> >
>
> [ 261.045920] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
> low) -> IRQ 16
> [ 261.045945] PCI: Setting latency timer of device 0000:00:1b.0 to 64
> [ 261.045949] ALSA
> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2130:
> chipset global capabilities = 0x4401
> [ 261.076055] ALSA
> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:771:
> codec_mask = 0x3
> [ 261.079523] ALSA
> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/hda_codec.c:2579:
> hda_codec: model 'F1734' is selected for config 1734:107c (FSC F1734)
> [ 261.079920] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
> [ 261.079933] HDA Intel: probe of 0000:00:1b.0 failed with error -22
So, you're building from alsa-driver tree, not directly the kernel git?
Then try the latest snapshot below first,
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Then build with --with-debug=detect configure option.
This will give you more information, I guess.
thanks,
Takashi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: hda-intel - Add digout to ALC880 F1734 model
2008-11-03 13:19 ` Takashi Iwai
@ 2008-11-03 23:50 ` Michael Gruber
2008-11-04 7:38 ` Takashi Iwai
0 siblings, 1 reply; 10+ messages in thread
From: Michael Gruber @ 2008-11-03 23:50 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Mon, Nov 3, 2008 at 14:19, Takashi Iwai <tiwai@suse.de> wrote:
> At Sun, 2 Nov 2008 17:02:51 +0100,
> Michael Gruber wrote:
>>
>> On Sun, Nov 2, 2008 at 12:23, Takashi Iwai <tiwai@suse.de> wrote:
>> > At Sat, 1 Nov 2008 13:43:25 +0100,
>> > Michael Gruber wrote:
>> >>
>> >> Backstory:
>> >> The patch "ALSA: hda - Add infrastructure for dynamic stream allocation"
>> >> http://git.alsa-project.org/?p=alsa-kmirror.git;a=commit;h=ae32c9fe811fed22715342494c08a11fabc87762
>> >> broke the detection of my card. With this patch applied the dmesg output is:
>> >>
>> >> [ 3761.464838] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
>> >> low) -> IRQ 16
>> >> [ 3761.464863] PCI: Setting latency timer of device 0000:00:1b.0 to 64
>> >> [ 3761.499927] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
>> >> [ 3761.499945] HDA Intel: probe of 0000:00:1b.0 failed with error -22
>> >
>> > Could you check whether you get any other error messages with
>> > CONFIG_SND_DEBUG=y?
>> >
>> >> When I loaded the module with model=... then it would work only for some
>> >> models, but not for others. I found out that the ones which worked were the
>> >> ones with a digout. I added the digout to the F1734 model and now it is
>> >> working again.
>> >>
>> >> I can't test if the digout is really working because I lack the hardware, but
>> >> when I turn on the IEC958 control in the mixer then red light is emitted from
>> >> my headphone port.
>> >>
>> >> I will attach a patch that adds digout to this model because this seems the
>> >> right thing to do, but I don't know whether there is something wrong with the
>> >> aforementioned patch that caused my problem in the first place.
>> >
>> > Yeah, it shouldn't break the existing thing, at least.
>> >
>> >
>> > thanks,
>> >
>> > Takashi
>> >
>>
>> [ 261.045920] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
>> low) -> IRQ 16
>> [ 261.045945] PCI: Setting latency timer of device 0000:00:1b.0 to 64
>> [ 261.045949] ALSA
>> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2130:
>> chipset global capabilities = 0x4401
>> [ 261.076055] ALSA
>> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:771:
>> codec_mask = 0x3
>> [ 261.079523] ALSA
>> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/hda_codec.c:2579:
>> hda_codec: model 'F1734' is selected for config 1734:107c (FSC F1734)
>> [ 261.079920] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
>> [ 261.079933] HDA Intel: probe of 0000:00:1b.0 failed with error -22
>
> So, you're building from alsa-driver tree, not directly the kernel git?
> Then try the latest snapshot below first,
> ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> Then build with --with-debug=detect configure option.
> This will give you more information, I guess.
>
>
> thanks,
>
> Takashi
>
I just tried that. I also tried compiling a kernel from the
alsa-kernel git tree where I enabled all alsa-related debug options
but dmesg didn't give me any more information that what I already had.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: hda-intel - Add digout to ALC880 F1734 model
2008-11-03 23:50 ` Michael Gruber
@ 2008-11-04 7:38 ` Takashi Iwai
2008-11-04 16:36 ` Michael Gruber
0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2008-11-04 7:38 UTC (permalink / raw)
To: Michael Gruber; +Cc: alsa-devel
At Tue, 4 Nov 2008 00:50:37 +0100,
Michael Gruber wrote:
>
> On Mon, Nov 3, 2008 at 14:19, Takashi Iwai <tiwai@suse.de> wrote:
> > At Sun, 2 Nov 2008 17:02:51 +0100,
> > Michael Gruber wrote:
> >>
> >> On Sun, Nov 2, 2008 at 12:23, Takashi Iwai <tiwai@suse.de> wrote:
> >> > At Sat, 1 Nov 2008 13:43:25 +0100,
> >> > Michael Gruber wrote:
> >> >>
> >> >> Backstory:
> >> >> The patch "ALSA: hda - Add infrastructure for dynamic stream allocation"
> >> >> http://git.alsa-project.org/?p=alsa-kmirror.git;a=commit;h=ae32c9fe811fed22715342494c08a11fabc87762
> >> >> broke the detection of my card. With this patch applied the dmesg output is:
> >> >>
> >> >> [ 3761.464838] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
> >> >> low) -> IRQ 16
> >> >> [ 3761.464863] PCI: Setting latency timer of device 0000:00:1b.0 to 64
> >> >> [ 3761.499927] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
> >> >> [ 3761.499945] HDA Intel: probe of 0000:00:1b.0 failed with error -22
> >> >
> >> > Could you check whether you get any other error messages with
> >> > CONFIG_SND_DEBUG=y?
> >> >
> >> >> When I loaded the module with model=... then it would work only for some
> >> >> models, but not for others. I found out that the ones which worked were the
> >> >> ones with a digout. I added the digout to the F1734 model and now it is
> >> >> working again.
> >> >>
> >> >> I can't test if the digout is really working because I lack the hardware, but
> >> >> when I turn on the IEC958 control in the mixer then red light is emitted from
> >> >> my headphone port.
> >> >>
> >> >> I will attach a patch that adds digout to this model because this seems the
> >> >> right thing to do, but I don't know whether there is something wrong with the
> >> >> aforementioned patch that caused my problem in the first place.
> >> >
> >> > Yeah, it shouldn't break the existing thing, at least.
> >> >
> >> >
> >> > thanks,
> >> >
> >> > Takashi
> >> >
> >>
> >> [ 261.045920] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
> >> low) -> IRQ 16
> >> [ 261.045945] PCI: Setting latency timer of device 0000:00:1b.0 to 64
> >> [ 261.045949] ALSA
> >> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2130:
> >> chipset global capabilities = 0x4401
> >> [ 261.076055] ALSA
> >> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:771:
> >> codec_mask = 0x3
> >> [ 261.079523] ALSA
> >> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/hda_codec.c:2579:
> >> hda_codec: model 'F1734' is selected for config 1734:107c (FSC F1734)
> >> [ 261.079920] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
> >> [ 261.079933] HDA Intel: probe of 0000:00:1b.0 failed with error -22
> >
> > So, you're building from alsa-driver tree, not directly the kernel git?
> > Then try the latest snapshot below first,
> > ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> > Then build with --with-debug=detect configure option.
> > This will give you more information, I guess.
> >
> >
> > thanks,
> >
> > Takashi
> >
>
> I just tried that.
Weird. Could you attach alsa-info.sh output file with --no-upload
option?
Anyway, the output must be different from the above if you use the
latest snapshot from kernel.org, at least, the line numbers were
changed.
> I also tried compiling a kernel from the
> alsa-kernel git tree where I enabled all alsa-related debug options
> but dmesg didn't give me any more information that what I already had.
Try sound-2.6.git instead. alsa-kernel.git is behind the latest
development.
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
thanks,
Takashi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: hda-intel - Add digout to ALC880 F1734 model
2008-11-04 7:38 ` Takashi Iwai
@ 2008-11-04 16:36 ` Michael Gruber
2008-11-04 16:56 ` Takashi Iwai
0 siblings, 1 reply; 10+ messages in thread
From: Michael Gruber @ 2008-11-04 16:36 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 3997 bytes --]
On Tue, Nov 4, 2008 at 08:38, Takashi Iwai <tiwai@suse.de> wrote:
> At Tue, 4 Nov 2008 00:50:37 +0100,
> Michael Gruber wrote:
>>
>> On Mon, Nov 3, 2008 at 14:19, Takashi Iwai <tiwai@suse.de> wrote:
>> > At Sun, 2 Nov 2008 17:02:51 +0100,
>> > Michael Gruber wrote:
>> >>
>> >> On Sun, Nov 2, 2008 at 12:23, Takashi Iwai <tiwai@suse.de> wrote:
>> >> > At Sat, 1 Nov 2008 13:43:25 +0100,
>> >> > Michael Gruber wrote:
>> >> >>
>> >> >> Backstory:
>> >> >> The patch "ALSA: hda - Add infrastructure for dynamic stream allocation"
>> >> >> http://git.alsa-project.org/?p=alsa-kmirror.git;a=commit;h=ae32c9fe811fed22715342494c08a11fabc87762
>> >> >> broke the detection of my card. With this patch applied the dmesg output is:
>> >> >>
>> >> >> [ 3761.464838] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
>> >> >> low) -> IRQ 16
>> >> >> [ 3761.464863] PCI: Setting latency timer of device 0000:00:1b.0 to 64
>> >> >> [ 3761.499927] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
>> >> >> [ 3761.499945] HDA Intel: probe of 0000:00:1b.0 failed with error -22
>> >> >
>> >> > Could you check whether you get any other error messages with
>> >> > CONFIG_SND_DEBUG=y?
>> >> >
>> >> >> When I loaded the module with model=... then it would work only for some
>> >> >> models, but not for others. I found out that the ones which worked were the
>> >> >> ones with a digout. I added the digout to the F1734 model and now it is
>> >> >> working again.
>> >> >>
>> >> >> I can't test if the digout is really working because I lack the hardware, but
>> >> >> when I turn on the IEC958 control in the mixer then red light is emitted from
>> >> >> my headphone port.
>> >> >>
>> >> >> I will attach a patch that adds digout to this model because this seems the
>> >> >> right thing to do, but I don't know whether there is something wrong with the
>> >> >> aforementioned patch that caused my problem in the first place.
>> >> >
>> >> > Yeah, it shouldn't break the existing thing, at least.
>> >> >
>> >> >
>> >> > thanks,
>> >> >
>> >> > Takashi
>> >> >
>> >>
>> >> [ 261.045920] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
>> >> low) -> IRQ 16
>> >> [ 261.045945] PCI: Setting latency timer of device 0000:00:1b.0 to 64
>> >> [ 261.045949] ALSA
>> >> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2130:
>> >> chipset global capabilities = 0x4401
>> >> [ 261.076055] ALSA
>> >> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:771:
>> >> codec_mask = 0x3
>> >> [ 261.079523] ALSA
>> >> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/hda_codec.c:2579:
>> >> hda_codec: model 'F1734' is selected for config 1734:107c (FSC F1734)
>> >> [ 261.079920] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
>> >> [ 261.079933] HDA Intel: probe of 0000:00:1b.0 failed with error -22
>> >
>> > So, you're building from alsa-driver tree, not directly the kernel git?
>> > Then try the latest snapshot below first,
>> > ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>> > Then build with --with-debug=detect configure option.
>> > This will give you more information, I guess.
>> >
>> >
>> > thanks,
>> >
>> > Takashi
>> >
>>
>> I just tried that.
>
> Weird. Could you attach alsa-info.sh output file with --no-upload
> option?
>
> Anyway, the output must be different from the above if you use the
> latest snapshot from kernel.org, at least, the line numbers were
> changed.
>
>> I also tried compiling a kernel from the
>> alsa-kernel git tree where I enabled all alsa-related debug options
>> but dmesg didn't give me any more information that what I already had.
>
> Try sound-2.6.git instead. alsa-kernel.git is behind the latest
> development.
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
>
>
> thanks,
>
> Takashi
>
Thanks, now I got some extra information.
I will attach alsa-info.txt and the relevant section from the dmesg output.
[-- Attachment #2: alsa-info (alsa-git+patch).txt --]
[-- Type: text/plain, Size: 22527 bytes --]
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.52
!!################################
!!Script ran on: Tue Nov 4 17:28:31 CET 2008
!!Linux Distribution
!!------------------
Debian GNU/Linux lenny/sid \n \l
!!Kernel Information
!!------------------
Kernel release: 2.6.26-1-686
Operating System: GNU/Linux
Architecture: i686
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: 1.0.18
Library version: 1.0.18
Utilities version: 1.0.17rc1
!!Loaded ALSA modules
!!-------------------
snd_hda_intel
!!Soundcards recognised by ALSA
!!-----------------------------
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfebf8000 irq 16
!!PCI Soundcards installed in the system
!!--------------------------------------
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------
00:1b.0 0403: 8086:2668 (rev 04)
Subsystem: 1734:107c
!!Loaded sound module options
!!--------------------------
!!Module: snd_hda_intel
bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
enable : Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : 0
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
index : -1,-1,-1,-1,-1,-1,-1,-1
model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
position_fix : 0,0,0,0,0,0,0,0
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
single_cmd : N
!!HDA-Intel Codec information
!!---------------------------
--startcollapse--
Codec: Generic 163c Si3054
Address: 0
Vendor Id: 0x163c3155
Subsystem Id: 0x163c3055
Revision Id: 0x100700
Modem Function Group: 0x1
Codec: Realtek ALC880
Address: 1
Vendor Id: 0x10ec0880
Subsystem Id: 0x8800000
Revision Id: 0x100800
No Modem Function Group found
Default PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0
Node 0x02 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x411: Stereo
Converter: stream=0, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Power: setting=D0, actual=D0
Connection: 7
0x18 0x19* 0x1a 0x1b 0x1c 0x14 0x15
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Power: setting=D0, actual=D0
Connection: 7
0x18* 0x19 0x1a 0x1b 0x1c 0x14 0x15
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Power: setting=D0, actual=D0
Connection: 10
0x18* 0x19 0x1a 0x1b 0x1c 0x0b 0x14 0x15 0x16 0x17
Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
Converter: stream=0, channel=0
SDI-Select: 0
Digital:
Digital category: 0x0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Unsolicited: tag=00, enabled=0
Connection: 1
0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0xa3 0xa3] [0x80 0x80] [0x80 0x80]
Connection: 8
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x00 0x00]
Connection: 2
0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x00 0x00]
Connection: 2
0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80]
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x00 0x00]
Connection: 2
0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80]
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x00 0x00]
Connection: 2
0x05 0x0b
Node 0x10 [Audio Selector] wcaps 0x300101: Stereo
Connection: 4
0x0c 0x0d 0x0e* 0x0f
Node 0x11 [Audio Selector] wcaps 0x300101: Stereo
Connection: 4
0x0c* 0x0d 0x0e 0x0f
Node 0x12 [Audio Selector] wcaps 0x300101: Stereo
Connection: 4
0x0c 0x0d* 0x0e 0x0f
Node 0x13 [Audio Selector] wcaps 0x300101: Stereo
Connection: 4
0x0c* 0x0d 0x0e 0x0f
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
Vref caps: HIZ 50 80
Pin Default 0x01014010: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0xc0: OUT HP VREF_HIZ
Unsolicited: tag=04, enabled=1
Connection: 1
0x0c
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
Vref caps: HIZ 50 80
Pin Default 0x01011012: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0x2
Pin-ctls: 0x40: OUT VREF_HIZ
Unsolicited: tag=00, enabled=0
Connection: 1
0x0d
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00000000:
Pin Default 0x01016011: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Orange
DefAssociation = 0x1, Sequence = 0x1
Pin-ctls: 0x00:
Unsolicited: tag=00, enabled=0
Connection: 1
0x0e
Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00000000:
Pin Default 0x01012014: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Grey
DefAssociation = 0x1, Sequence = 0x4
Pin-ctls: 0x00:
Unsolicited: tag=00, enabled=0
Connection: 1
0x0f
Node 0x18 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
Vref caps: HIZ 50 80
Pin Default 0x01a19830: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Pink
DefAssociation = 0x3, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 1
0x10
Node 0x19 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
Vref caps: HIZ 50 80
Pin Default 0x02a19c40: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0x4, Sequence = 0x0
Pin-ctls: 0x21: IN VREF_50
Unsolicited: tag=00, enabled=0
Connection: 1
0x11
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
Vref caps: HIZ 50 80
Pin Default 0x01813031: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
DefAssociation = 0x3, Sequence = 0x1
Pin-ctls: 0x40: OUT VREF_HIZ
Unsolicited: tag=00, enabled=0
Connection: 1
0x12
Node 0x1b [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
Vref caps: HIZ 50 80
Pin Default 0x02014c20: [Jack] Line Out at Ext Front
Conn = 1/8, Color = Green
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x40: OUT VREF_HIZ
Unsolicited: tag=00, enabled=0
Connection: 1
0x13
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x411111f1: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x1
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pincap 0x00000010: OUT
Pin Default 0x0144111e: [Jack] SPDIF Out at Ext Rear
Conn = RCA, Color = Black
DefAssociation = 0x1, Sequence = 0xe
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1
0x06
Node 0x1f [Pin Complex] wcaps 0x400200: Mono Digital
Pincap 0x00000020: IN
Pin Default 0x01c46150: [Jack] SPDIF In at Ext Rear
Conn = RCA, Color = Orange
DefAssociation = 0x5, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=10
Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono
Volume-Knob: delta=0, steps=64, direct=0, val=0
Unsolicited: tag=02, enabled=1
Connection: 0
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 0 2008-11-04 17:28 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 4 2008-11-04 17:28 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116, 5 2008-11-04 17:28 /dev/snd/hwC0D1
crw-rw---- 1 root audio 116, 24 2008-11-04 17:28 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 2008-11-04 17:28 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 17 2008-11-04 17:28 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 26 2008-11-04 17:28 /dev/snd/pcmC0D2c
crw-rw---- 1 root audio 116, 30 2008-11-04 17:28 /dev/snd/pcmC0D6c
crw-rw---- 1 root audio 116, 22 2008-11-04 17:28 /dev/snd/pcmC0D6p
crw-rw---- 1 root audio 116, 1 2008-11-04 17:28 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 2008-11-04 17:28 /dev/snd/timer
!!Aplay/Arecord output
!!------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC880 Analog [ALC880 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC880 Digital [ALC880 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC880 Analog [ALC880 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: ALC880 Analog [ALC880 Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Intel]
Card hw:0 'Intel'/'HDA Intel at 0xfebf8000 irq 16'
Mixer name : 'Realtek ALC880'
Components : 'HDA:163c3155,163c3055,00100700 HDA:10ec0880,08800000,00100800'
Controls : 26
Simple ctrls : 15
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 0 [0%] [-64.00dB] [on]
Front Right: Playback 0 [0%] [-64.00dB] [on]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65
Mono:
Front Left: Playback 0 [0%] [-35.00dB] [off]
Front Right: Playback 0 [0%] [-35.00dB] [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65
Mono:
Front Left: Playback 0 [0%] [-35.00dB] [off]
Front Right: Playback 0 [0%] [-35.00dB] [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 35
Front Left: Capture 0 [0%] [0.00dB] [on]
Front Right: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 35
Front Left: Capture 0 [0%] [0.00dB] [on]
Front Right: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Capture',2
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 35
Front Left: Capture 0 [0%] [0.00dB] [on]
Front Right: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Caller ID',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'CD'
Item0: 'Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Mic' 'CD'
Item0: 'Mic'
Simple mixer control 'Input Source',2
Capabilities: cenum
Items: 'Mic' 'CD'
Item0: 'Mic'
Simple mixer control 'Off-hook',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 0 [0%] [-64.00dB] [on]
Front Right: Playback 0 [0%] [-64.00dB] [on]
!!Alsactl output
!!-------------
--startcollapse--
state.Intel {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Off-hook Switch'
value false
}
control.2 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Caller ID Switch'
value false
}
control.3 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 64'
comment.dbmin -6400
comment.dbmax 0
iface MIXER
name 'Headphone Playback Volume'
value.0 0
value.1 0
}
control.4 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Headphone Playback Switch'
value.0 true
value.1 true
}
control.5 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 64'
comment.dbmin -6400
comment.dbmax 0
iface MIXER
name 'Speaker Playback Volume'
value.0 0
value.1 0
}
control.6 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Speaker Playback Switch'
value.0 true
value.1 true
}
control.7 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 65'
comment.dbmin -3500
comment.dbmax 3000
iface MIXER
name 'CD Playback Volume'
value.0 0
value.1 0
}
control.8 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'CD Playback Switch'
value.0 false
value.1 false
}
control.9 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 65'
comment.dbmin -3500
comment.dbmax 3000
iface MIXER
name 'Mic Playback Volume'
value.0 0
value.1 0
}
control.10 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Mic Playback Switch'
value.0 false
value.1 false
}
control.11 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 35'
comment.dbmin 0
comment.dbmax 3500
iface MIXER
name 'Capture Volume'
value.0 0
value.1 0
}
control.12 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true
}
control.13 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 35'
comment.dbmin 0
comment.dbmax 3500
iface MIXER
name 'Capture Volume'
index 1
value.0 0
value.1 0
}
control.14 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Capture Switch'
index 1
value.0 true
value.1 true
}
control.15 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 35'
comment.dbmin 0
comment.dbmax 3500
iface MIXER
name 'Capture Volume'
index 2
value.0 0
value.1 0
}
control.16 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Capture Switch'
index 2
value.0 true
value.1 true
}
control.17 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Mic
comment.item.1 CD
iface MIXER
name 'Input Source'
value Mic
}
control.18 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Mic
comment.item.1 CD
iface MIXER
name 'Input Source'
index 1
value Mic
}
control.19 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Mic
comment.item.1 CD
iface MIXER
name 'Input Source'
index 2
value Mic
}
control.20 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.21 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Pro Mask'
value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.22 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Default'
value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.23 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Playback Switch'
value false
}
control.24 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Default PCM Playback Switch'
value true
}
control.25 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 64'
comment.dbmin -6400
comment.dbmax 0
iface MIXER
name 'Master Playback Volume'
value 64
}
control.26 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Playback Switch'
value true
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
snd_hda_intel
snd_hwdep
snd_pcm_oss
snd_pcm
snd_page_alloc
snd_mixer_oss
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_timer
snd_seq_device
snd
soundcore
nvidia
rfcomm
l2cap
bluetooth
ipv6
ppdev
parport_pc
lp
parport
michael_mic
arc4
ecb
ieee80211_crypt_tkip
aes_i586
crypto_blkcipher
aes_generic
ieee80211_crypt_ccmp
acpi_cpufreq
cpufreq_userspace
cpufreq_stats
cpufreq_powersave
cpufreq_ondemand
freq_table
cpufreq_conservative
ntfs
nls_utf8
nls_cp437
vfat
fat
nls_base
loop
pcspkr
psmouse
serio_raw
i2c_i801
i2c_core
ipw2200
ieee80211
ieee80211_crypt
rng_core
firmware_class
wmi
iTCO_wdt
video
output
battery
ac
button
intel_agp
agpgart
evdev
ext3
jbd
mbcache
ide_cd_mod
cdrom
ata_generic
dm_mod
sd_mod
piix
usbhid
hid
ff_memless
ide_pci_generic
ide_core
sata_via
libata
scsi_mod
dock
r8169
ohci1394
ieee1394
ehci_hcd
uhci_hcd
usbcore
thermal
processor
fan
thermal_sys
[-- Attachment #3: alsa-info (sound-2.6).txt --]
[-- Type: text/plain, Size: 2453 bytes --]
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.52
!!################################
!!Script ran on: Tue Nov 4 17:11:36 CET 2008
!!Linux Distribution
!!------------------
Debian GNU/Linux lenny/sid \n \l
!!Kernel Information
!!------------------
Kernel release: 2.6.28-rc2-custom
Operating System: GNU/Linux
Architecture: i686
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: 1.0.18
Library version: 1.0.18
Utilities version: 1.0.17rc1
!!Loaded ALSA modules
!!-------------------
!!Soundcards recognised by ALSA
!!-----------------------------
--- no soundcards ---
!!PCI Soundcards installed in the system
!!--------------------------------------
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------
00:1b.0 0403: 8086:2668 (rev 04)
Subsystem: 1734:107c
!!Loaded sound module options
!!--------------------------
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 1 2008-11-04 18:08 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 2008-11-04 18:08 /dev/snd/timer
!!Aplay/Arecord output
!!------------
APLAY
aplay: device_list:215: no soundcards found...
ARECORD
arecord: device_list:215: no soundcards found...
!!Amixer output
!!-------------
!!Alsactl output
!!-------------
--startcollapse--
--endcollapse--
!!All Loaded Modules
!!------------------
Module
rfcomm
l2cap
bluetooth
ipv6
michael_mic
arc4
ecb
ieee80211_crypt_tkip
aes_i586
aes_generic
ieee80211_crypt_ccmp
ppdev
parport_pc
lp
parport
acpi_cpufreq
cpufreq_userspace
cpufreq_stats
cpufreq_powersave
cpufreq_ondemand
freq_table
cpufreq_conservative
ntfs
nls_utf8
nls_cp437
vfat
fat
nls_base
loop
snd_hda_intel
snd_pcm_oss
snd_mixer_oss
snd_seq_dummy
psmouse
serio_raw
pcspkr
snd_pcm
wmi
i2c_i801
i2c_core
snd_seq_oss
ipw2200
snd_seq_midi_event
rng_core
snd_seq
snd_timer
snd_seq_device
ieee80211
ieee80211_crypt
iTCO_wdt
snd
soundcore
video
output
snd_page_alloc
battery
ac
button
intel_agp
agpgart
evdev
ext3
jbd
mbcache
dm_mod
sd_mod
ide_cd_mod
cdrom
ata_piix
ata_generic
usbhid
hid
sata_via
libata
scsi_mod
r8169
mii
ohci1394
ieee1394
piix
ide_pci_generic
ehci_hcd
ide_core
uhci_hcd
usbcore
thermal
processor
fan
thermal_sys
[-- Attachment #4: dmesg (sound-2.6) --]
[-- Type: application/octet-stream, Size: 5140 bytes --]
...
[ 10.208180] ACPI: AC Adapter [AC0] (on-line)
[ 10.596093] ACPI: Battery Slot [BAT0] (battery present)
[ 10.904238] ACPI: Cant attach device<6>input: Video Bus as /class/input/input6
[ 10.952071] ACPI: Video Device [PEG] (multi-head: yes rom: no post: no)
[ 10.980756] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 (30-Apr-2008)
[ 10.981031] iTCO_wdt: failed to reset NO_REBOOT flag, reboot disabled by hardware
[ 10.981097] iTCO_wdt: No card detected
[ 10.992726] ieee80211_crypt: registered algorithm 'NULL'
[ 11.010183] ieee80211: 802.11 data/management/control stack, git-1.1.13
[ 11.010186] ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
[ 11.104527] intel_rng: FWH not detected
[ 11.179847] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmprq
[ 11.179850] ipw2200: Copyright(c) 2003-2006 Intel Corporation
[ 11.179910] ipw2200 0000:01:03.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 11.179978] ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
[ 11.180029] ipw2200 0000:01:03.0: firmware: requesting ipw2200-bss.fw
[ 11.460693] i801_smbus 0000:00:1f.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[ 11.473179] ACPI: WMI: Mapper loaded
[ 11.568442] input: PC Speaker as /class/input/input7
[ 11.601834] Error: Driver 'pcspkr' is already registered, aborting...
[ 12.028733] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 12.028803] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 12.028807] ALSA sound/pci/hda/hda_intel.c:2133: chipset global capabilities = 0x4401
[ 12.064011] ALSA sound/pci/hda/hda_intel.c:775: codec_mask = 0x3
[ 12.067434] ALSA sound/pci/hda/hda_codec.c:2573: hda_codec: model 'F1734' is selected for config 1734:107c (FSC F1734)
[ 12.067797] ------------[ cut here ]------------
[ 12.067799] WARNING: at sound/pci/hda/hda_codec.c:2417 snd_hda_build_pcms+0x1d3/0x257 [snd_hda_intel]()
[ 12.067801] BUG? (!pcm->name)
[ 12.067803] Modules linked in: snd_hda_intel(+) snd_pcm_oss snd_mixer_oss snd_seq_dummy psmouse serio_raw pcspkr snd_pcm wmi i2c_i801 i2c_core snd_seq_oss ipw2200(+) snd_seq_midi_event rng_core snd_seq snd_timer snd_seq_device ieee80211 ieee80211_crypt iTCO_wdt snd soundcore video output snd_page_alloc battery ac button intel_agp agpgart evdev ext3 jbd mbcache dm_mod sd_mod ide_cd_mod cdrom ata_piix ata_generic usbhid hid sata_via libata scsi_mod r8169 mii ohci1394 ieee1394 piix ide_pci_generic ehci_hcd ide_core uhci_hcd usbcore thermal processor fan thermal_sys
[ 12.067845] Pid: 1510, comm: modprobe Not tainted 2.6.28-rc2-custom #1
[ 12.067847] Call Trace:
[ 12.067855] [<c0126af6>] warn_slowpath+0x5a/0x79
[ 12.067863] [<c01f1271>] idr_pre_get+0x3f/0x4f
[ 12.067867] [<c01b2103>] proc_register+0x14b/0x15d
[ 12.067870] [<c01b2224>] create_proc_entry+0x77/0x8a
[ 12.067882] [<f8cecbed>] snd_info_register+0xcd/0xd2 [snd]
[ 12.067896] [<f825b9b7>] snd_pcm_lib_preallocate_pages1+0xee/0x108 [snd_pcm]
[ 12.067905] [<f825ba1d>] snd_pcm_lib_preallocate_pages_for_all+0x31/0x4f [snd_pcm]
[ 12.067924] [<f8576fff>] azx_attach_pcm_stream+0x144/0x14f [snd_hda_intel]
[ 12.067942] [<f857a02a>] snd_hda_build_pcms+0x1d3/0x257 [snd_hda_intel]
[ 12.067970] [<f858e55d>] azx_probe+0x784/0x793 [snd_hda_intel]
[ 12.067987] [<f857762f>] azx_send_cmd+0x0/0x117 [snd_hda_intel]
[ 12.068002] [<f8577746>] azx_get_response+0x0/0x1f2 [snd_hda_intel]
[ 12.068045] [<f8576ebb>] azx_attach_pcm_stream+0x0/0x14f [snd_hda_intel]
[ 12.068063] [<f8576ac1>] azx_power_notify+0x0/0x55 [snd_hda_intel]
[ 12.068073] [<c01fd960>] pci_device_probe+0x36/0x55
[ 12.068079] [<c025458d>] driver_probe_device+0x9d/0x12f
[ 12.068083] [<c0254668>] __driver_attach+0x49/0x67
[ 12.068086] [<c0254005>] bus_for_each_dev+0x35/0x5b
[ 12.068089] [<c0254440>] driver_attach+0x11/0x13
[ 12.068092] [<c025461f>] __driver_attach+0x0/0x67
[ 12.068095] [<c0253a8a>] bus_add_driver+0x91/0x1a7
[ 12.068113] [<f8407000>] alsa_card_azx_init+0x0/0x14 [snd_hda_intel]
[ 12.068121] [<c02547cd>] driver_register+0x7d/0xd6
[ 12.068138] [<f8407000>] alsa_card_azx_init+0x0/0x14 [snd_hda_intel]
[ 12.068146] [<c01fdb4e>] __pci_register_driver+0x3c/0x6a
[ 12.068164] [<f8407000>] alsa_card_azx_init+0x0/0x14 [snd_hda_intel]
[ 12.068167] [<c0101135>] _stext+0x4d/0x148
[ 12.068178] [<c011ba81>] place_entity+0x91/0xc8
[ 12.068181] [<c01f3bff>] rb_insert_color+0x93/0xb5
[ 12.068184] [<c011e09b>] enqueue_task_fair+0x19/0x51
[ 12.068187] [<c011bea8>] enqueue_task+0x52/0x5d
[ 12.068190] [<c0121d5f>] try_to_wake_up+0x143/0x14d
[ 12.068196] [<c01460c9>] sys_init_module+0x87/0x174
[ 12.068200] [<c010398b>] sysenter_do_call+0x12/0x2f
[ 12.068202] ---[ end trace 4e87a9126745a909 ]---
[ 12.068264] HDA Intel 0000:00:1b.0: PCI INT A disabled
[ 12.068275] HDA Intel: probe of 0000:00:1b.0 failed with error -22
[ 12.379915] ipw2200: Detected geography ZZR (14 802.11bg channels, 0 802.11a channels)
[ 14.340780] EXT3 FS on dm-2, internal journal
[ 15.269794] loop: module loaded
...
[-- Attachment #5: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: hda-intel - Add digout to ALC880 F1734 model
2008-11-04 16:36 ` Michael Gruber
@ 2008-11-04 16:56 ` Takashi Iwai
2008-11-04 22:18 ` Michael Gruber
0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2008-11-04 16:56 UTC (permalink / raw)
To: Michael Gruber; +Cc: alsa-devel
At Tue, 4 Nov 2008 17:36:44 +0100,
Michael Gruber wrote:
>
> [1 <text/plain; UTF-8 (7bit)>]
> On Tue, Nov 4, 2008 at 08:38, Takashi Iwai <tiwai@suse.de> wrote:
> > At Tue, 4 Nov 2008 00:50:37 +0100,
> > Michael Gruber wrote:
> >>
> >> On Mon, Nov 3, 2008 at 14:19, Takashi Iwai <tiwai@suse.de> wrote:
> >> > At Sun, 2 Nov 2008 17:02:51 +0100,
> >> > Michael Gruber wrote:
> >> >>
> >> >> On Sun, Nov 2, 2008 at 12:23, Takashi Iwai <tiwai@suse.de> wrote:
> >> >> > At Sat, 1 Nov 2008 13:43:25 +0100,
> >> >> > Michael Gruber wrote:
> >> >> >>
> >> >> >> Backstory:
> >> >> >> The patch "ALSA: hda - Add infrastructure for dynamic stream allocation"
> >> >> >> http://git.alsa-project.org/?p=alsa-kmirror.git;a=commit;h=ae32c9fe811fed22715342494c08a11fabc87762
> >> >> >> broke the detection of my card. With this patch applied the dmesg output is:
> >> >> >>
> >> >> >> [ 3761.464838] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
> >> >> >> low) -> IRQ 16
> >> >> >> [ 3761.464863] PCI: Setting latency timer of device 0000:00:1b.0 to 64
> >> >> >> [ 3761.499927] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
> >> >> >> [ 3761.499945] HDA Intel: probe of 0000:00:1b.0 failed with error -22
> >> >> >
> >> >> > Could you check whether you get any other error messages with
> >> >> > CONFIG_SND_DEBUG=y?
> >> >> >
> >> >> >> When I loaded the module with model=... then it would work only for some
> >> >> >> models, but not for others. I found out that the ones which worked were the
> >> >> >> ones with a digout. I added the digout to the F1734 model and now it is
> >> >> >> working again.
> >> >> >>
> >> >> >> I can't test if the digout is really working because I lack the hardware, but
> >> >> >> when I turn on the IEC958 control in the mixer then red light is emitted from
> >> >> >> my headphone port.
> >> >> >>
> >> >> >> I will attach a patch that adds digout to this model because this seems the
> >> >> >> right thing to do, but I don't know whether there is something wrong with the
> >> >> >> aforementioned patch that caused my problem in the first place.
> >> >> >
> >> >> > Yeah, it shouldn't break the existing thing, at least.
> >> >> >
> >> >> >
> >> >> > thanks,
> >> >> >
> >> >> > Takashi
> >> >> >
> >> >>
> >> >> [ 261.045920] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
> >> >> low) -> IRQ 16
> >> >> [ 261.045945] PCI: Setting latency timer of device 0000:00:1b.0 to 64
> >> >> [ 261.045949] ALSA
> >> >> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2130:
> >> >> chipset global capabilities = 0x4401
> >> >> [ 261.076055] ALSA
> >> >> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:771:
> >> >> codec_mask = 0x3
> >> >> [ 261.079523] ALSA
> >> >> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/hda_codec.c:2579:
> >> >> hda_codec: model 'F1734' is selected for config 1734:107c (FSC F1734)
> >> >> [ 261.079920] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
> >> >> [ 261.079933] HDA Intel: probe of 0000:00:1b.0 failed with error -22
> >> >
> >> > So, you're building from alsa-driver tree, not directly the kernel git?
> >> > Then try the latest snapshot below first,
> >> > ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> >> > Then build with --with-debug=detect configure option.
> >> > This will give you more information, I guess.
> >> >
> >> >
> >> > thanks,
> >> >
> >> > Takashi
> >> >
> >>
> >> I just tried that.
> >
> > Weird. Could you attach alsa-info.sh output file with --no-upload
> > option?
> >
> > Anyway, the output must be different from the above if you use the
> > latest snapshot from kernel.org, at least, the line numbers were
> > changed.
> >
> >> I also tried compiling a kernel from the
> >> alsa-kernel git tree where I enabled all alsa-related debug options
> >> but dmesg didn't give me any more information that what I already had.
> >
> > Try sound-2.6.git instead. alsa-kernel.git is behind the latest
> > development.
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> >
> >
> > thanks,
> >
> > Takashi
> >
>
> Thanks, now I got some extra information.
> I will attach alsa-info.txt and the relevant section from the dmesg output.
Thanks, this helped a lot for debugging.
Could you try the patch below? I already added it to my git tree
(and snapshot) now, but just to be sure...
Takashi
---
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index aa9cd14..3e7cda9 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -2485,6 +2485,11 @@ int snd_hda_build_pcms(struct hda_bus *bus)
struct hda_pcm *cpcm = &codec->pcm_info[pcm];
int type = cpcm->pcm_type;
int dev;
+
+ if (!cpcm->stream[0].substreams &&
+ !cpcm->stream[1].substreams)
+ continue; /* no substreams assigned */
+
switch (type) {
case HDA_PCM_TYPE_AUDIO:
if (num_devs[type] >= ARRAY_SIZE(audio_idx)) {
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: hda-intel - Add digout to ALC880 F1734 model
2008-11-04 16:56 ` Takashi Iwai
@ 2008-11-04 22:18 ` Michael Gruber
2008-11-05 7:01 ` Takashi Iwai
0 siblings, 1 reply; 10+ messages in thread
From: Michael Gruber @ 2008-11-04 22:18 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Tue, Nov 4, 2008 at 17:56, Takashi Iwai <tiwai@suse.de> wrote:
> At Tue, 4 Nov 2008 17:36:44 +0100,
> Michael Gruber wrote:
>>
>> [1 <text/plain; UTF-8 (7bit)>]
>> On Tue, Nov 4, 2008 at 08:38, Takashi Iwai <tiwai@suse.de> wrote:
>> > At Tue, 4 Nov 2008 00:50:37 +0100,
>> > Michael Gruber wrote:
>> >>
>> >> On Mon, Nov 3, 2008 at 14:19, Takashi Iwai <tiwai@suse.de> wrote:
>> >> > At Sun, 2 Nov 2008 17:02:51 +0100,
>> >> > Michael Gruber wrote:
>> >> >>
>> >> >> On Sun, Nov 2, 2008 at 12:23, Takashi Iwai <tiwai@suse.de> wrote:
>> >> >> > At Sat, 1 Nov 2008 13:43:25 +0100,
>> >> >> > Michael Gruber wrote:
>> >> >> >>
>> >> >> >> Backstory:
>> >> >> >> The patch "ALSA: hda - Add infrastructure for dynamic stream allocation"
>> >> >> >> http://git.alsa-project.org/?p=alsa-kmirror.git;a=commit;h=ae32c9fe811fed22715342494c08a11fabc87762
>> >> >> >> broke the detection of my card. With this patch applied the dmesg output is:
>> >> >> >>
>> >> >> >> [ 3761.464838] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
>> >> >> >> low) -> IRQ 16
>> >> >> >> [ 3761.464863] PCI: Setting latency timer of device 0000:00:1b.0 to 64
>> >> >> >> [ 3761.499927] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
>> >> >> >> [ 3761.499945] HDA Intel: probe of 0000:00:1b.0 failed with error -22
>> >> >> >
>> >> >> > Could you check whether you get any other error messages with
>> >> >> > CONFIG_SND_DEBUG=y?
>> >> >> >
>> >> >> >> When I loaded the module with model=... then it would work only for some
>> >> >> >> models, but not for others. I found out that the ones which worked were the
>> >> >> >> ones with a digout. I added the digout to the F1734 model and now it is
>> >> >> >> working again.
>> >> >> >>
>> >> >> >> I can't test if the digout is really working because I lack the hardware, but
>> >> >> >> when I turn on the IEC958 control in the mixer then red light is emitted from
>> >> >> >> my headphone port.
>> >> >> >>
>> >> >> >> I will attach a patch that adds digout to this model because this seems the
>> >> >> >> right thing to do, but I don't know whether there is something wrong with the
>> >> >> >> aforementioned patch that caused my problem in the first place.
>> >> >> >
>> >> >> > Yeah, it shouldn't break the existing thing, at least.
>> >> >> >
>> >> >> >
>> >> >> > thanks,
>> >> >> >
>> >> >> > Takashi
>> >> >> >
>> >> >>
>> >> >> [ 261.045920] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
>> >> >> low) -> IRQ 16
>> >> >> [ 261.045945] PCI: Setting latency timer of device 0000:00:1b.0 to 64
>> >> >> [ 261.045949] ALSA
>> >> >> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2130:
>> >> >> chipset global capabilities = 0x4401
>> >> >> [ 261.076055] ALSA
>> >> >> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:771:
>> >> >> codec_mask = 0x3
>> >> >> [ 261.079523] ALSA
>> >> >> /home/*/Desktop/test-alsa/alsa-driver/pci/hda/hda_codec.c:2579:
>> >> >> hda_codec: model 'F1734' is selected for config 1734:107c (FSC F1734)
>> >> >> [ 261.079920] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
>> >> >> [ 261.079933] HDA Intel: probe of 0000:00:1b.0 failed with error -22
>> >> >
>> >> > So, you're building from alsa-driver tree, not directly the kernel git?
>> >> > Then try the latest snapshot below first,
>> >> > ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>> >> > Then build with --with-debug=detect configure option.
>> >> > This will give you more information, I guess.
>> >> >
>> >> >
>> >> > thanks,
>> >> >
>> >> > Takashi
>> >> >
>> >>
>> >> I just tried that.
>> >
>> > Weird. Could you attach alsa-info.sh output file with --no-upload
>> > option?
>> >
>> > Anyway, the output must be different from the above if you use the
>> > latest snapshot from kernel.org, at least, the line numbers were
>> > changed.
>> >
>> >> I also tried compiling a kernel from the
>> >> alsa-kernel git tree where I enabled all alsa-related debug options
>> >> but dmesg didn't give me any more information that what I already had.
>> >
>> > Try sound-2.6.git instead. alsa-kernel.git is behind the latest
>> > development.
>> >
>> > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
>> >
>> >
>> > thanks,
>> >
>> > Takashi
>> >
>>
>> Thanks, now I got some extra information.
>> I will attach alsa-info.txt and the relevant section from the dmesg output.
>
> Thanks, this helped a lot for debugging.
> Could you try the patch below? I already added it to my git tree
> (and snapshot) now, but just to be sure...
>
>
> Takashi
>
> ---
> diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
> index aa9cd14..3e7cda9 100644
> --- a/sound/pci/hda/hda_codec.c
> +++ b/sound/pci/hda/hda_codec.c
> @@ -2485,6 +2485,11 @@ int snd_hda_build_pcms(struct hda_bus *bus)
> struct hda_pcm *cpcm = &codec->pcm_info[pcm];
> int type = cpcm->pcm_type;
> int dev;
> +
> + if (!cpcm->stream[0].substreams &&
> + !cpcm->stream[1].substreams)
> + continue; /* no substreams assigned */
> +
> switch (type) {
> case HDA_PCM_TYPE_AUDIO:
> if (num_devs[type] >= ARRAY_SIZE(audio_idx)) {
>
Yes, is is working now.
Thank you for your great support.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: hda-intel - Add digout to ALC880 F1734 model
2008-11-04 22:18 ` Michael Gruber
@ 2008-11-05 7:01 ` Takashi Iwai
0 siblings, 0 replies; 10+ messages in thread
From: Takashi Iwai @ 2008-11-05 7:01 UTC (permalink / raw)
To: Michael Gruber; +Cc: alsa-devel
At Tue, 4 Nov 2008 23:18:48 +0100,
Michael Gruber wrote:
>
> >
> > Thanks, this helped a lot for debugging.
> > Could you try the patch below? I already added it to my git tree
> > (and snapshot) now, but just to be sure...
...
> Yes, is is working now.
> Thank you for your great support.
Thanks for checking!
Takashi
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-11-05 7:01 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-01 12:43 hda-intel - Add digout to ALC880 F1734 model Michael Gruber
2008-11-02 11:23 ` Takashi Iwai
2008-11-02 16:02 ` Michael Gruber
2008-11-03 13:19 ` Takashi Iwai
2008-11-03 23:50 ` Michael Gruber
2008-11-04 7:38 ` Takashi Iwai
2008-11-04 16:36 ` Michael Gruber
2008-11-04 16:56 ` Takashi Iwai
2008-11-04 22:18 ` Michael Gruber
2008-11-05 7:01 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.