No jack sense on Intel 82801I / IDT 92HD71B7X in a HP dv4
Hi,
Quoted 35 lines
At Fri, 12 Jun 2009 15:01:09 -0300,
Quoted 22 lines · Gustavo Maciel Dias Vieira
Quoted 22 lines
Em Qui, 2009-06-11 às 21:27 +0200, Takashi Iwai escreveu:
Quoted 19 lines
Quoted 19 lines
Quoted 1 line
Quoted 1 line
Interrupt 22 stays always with 0. Even when correctly playing
sounds. I
Quoted 2 lines
Quoted 2 lines
tested this on another machine with HD-Audio, and the equivalent interrupt increased when playing. Also, in this other system
interrupt 0
Quoted 1 line
Quoted 1 line
(timer) is hardly issued, but in this laptop it is firing all the
time.
Quoted 2 lines
Quoted 2 lines
How can the driver be working without interrupts?
That's weird.
Quoted 9 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Did you try enable_msi=1 module option, BTW?
Just tried now. The interrupts started flowing and, tada, jack sense works!
Thanks, Takashi, that solves it for me. Is there a way to automate this in the driver for the other less technically inclined users?
Quoted 9 lines
Well, as I mentioned, it's basically a bug in the lower layer like ACPI or BIOS. So, the best is to fix them. Using MSI is a kind of workaround, and I'm wondering whether this is specific to your device or in general with other HP dv4, since I didn't hear of the similar bug reports.
Takashi
Weird indeed. Actually I had already reported this behaviour, see
http://article.gmane.org/gmane.linux.alsa.devel/59809
So far I have not been able to get the interrupts at IRQ22. They still occur at IRQ20. However the problem is hidden when using boot options irqpoll or noapic.
This is not a hardware or bios problem, as the sound is correct on Windows.
Initially I was using kernel 2.6.27 and alsa-driver 1.0.19, currently using kernel 2.6.29 and alsa-driver 1.0.20 with the same behaviour.
I have tried numerous modprobe options. Currently I am using :
alias snd-card-0 snd-hda-intel
options sound slots=snd-hda-intel
options snd-hda-intel model=hp-m4 enable_msi=1 bdl_pos_adj=32 probe_mask=0x1ff
As Gustavo seems to have succeeded, can he post kernel and alsa-driver versions, boot parameters and modprobe parameters ?
Thanks in advance
Jean-Pierre
At Sat, 13 Jun 2009 12:32:31 +0200,
Quoted 46 lines · Jean-Pierre André
Hi,
Quoted 42 lines
At Fri, 12 Jun 2009 15:01:09 -0300,
Quoted 22 lines · Gustavo Maciel Dias Vieira
Quoted 22 lines
Em Qui, 2009-06-11 às 21:27 +0200, Takashi Iwai escreveu:
Quoted 19 lines
Quoted 19 lines
Quoted 1 line
Quoted 1 line
Interrupt 22 stays always with 0. Even when correctly playing
sounds. I
Quoted 2 lines
Quoted 2 lines
tested this on another machine with HD-Audio, and the equivalent interrupt increased when playing. Also, in this other system
interrupt 0
Quoted 1 line
Quoted 1 line
(timer) is hardly issued, but in this laptop it is firing all the
time.
Quoted 2 lines
Quoted 2 lines
How can the driver be working without interrupts?
That's weird.
Quoted 9 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Did you try enable_msi=1 module option, BTW?
Just tried now. The interrupts started flowing and, tada, jack sense works!
Thanks, Takashi, that solves it for me. Is there a way to automate this in the driver for the other less technically inclined users?
Well, as I mentioned, it's basically a bug in the lower layer like ACPI or BIOS. So, the best is to fix them. Using MSI is a kind of workaround, and I'm wondering whether this is specific to your device or in general with other HP dv4, since I didn't hear of the similar bug reports.
Quoted 7 lines
Quoted 2 lines
Takashi
Weird indeed. Actually I had already reported this behaviour, see
Ah, OK, then it's really machine-specific.
Quoted 3 lines
So far I have not been able to get the interrupts at IRQ22. They still occur at IRQ20. However the problem is hidden when using boot options irqpoll or noapic.
Did you report it to kernel bugzilla or ACPI guys?
Quoted 2 lines
This is not a hardware or bios problem, as the sound is correct on Windows.
It could be still a BIOS issue. Windows (and Linux as well) have tons of workarounds for broken BIOS.
Quoted 3 lines
Initially I was using kernel 2.6.27 and alsa-driver 1.0.19, currently using kernel 2.6.29 and alsa-driver 1.0.20 with the same behaviour.
... since the problem is basically independent from the sound driver. It's an IRQ assignment problem, thus a deeper level than what the device driver can manage.
Takashi
Quoted 20 lines
I have tried numerous modprobe options. Currently I am using :
alias snd-card-0 snd-hda-intel
options sound slots=snd-hda-intel
options snd-hda-intel model=hp-m4 enable_msi=1 bdl_pos_adj=32 probe_mask=0x1ffAs Gustavo seems to have succeeded, can he post kernel and alsa-driver versions, boot parameters and modprobe parameters ?
Thanks in advance
Jean-Pierre
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
All the information you need are here ->
http://www.alsa-project.org/db/?f=6b588ea53af5cf2794fb8b4239311722809b3c34
2009/6/15 Jean-Pierre André <[email protected]>:
Quoted 37 lines
Hi Wael,
Quoted 8 lines · Wael Nasreddine (a.k.a eMxyzptlk)
I don't know if this concerns my situation (
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-June/018262.html
) or not..headphones work for me, front speaker work but LFE doesn't and the Irq22 stays on 0 too
Quoted 8 lines
# cat /proc/interrupts | grep '22:' 22: 0 0 IO-APIC-fasteoi uhci_hcd:usb6, HDA IntelTakashi told me to play with hda-analyser and hda-verb though I don't what to do with hda-verb and I don't if what hda-analyser showing me is the current situation or the desired one..
Thanks
So it looks like this a general situation on this hardware.
If you get sound, at least from the front speakers, without the IRQ22 being triggered, what are your kernel and alsa versions, your boot parameters and alsa (modprobe) parameters ?
I have no knowledge about the hda-verb, etc. so I am not to help you much in this area.
Regards
Jean-Pierre
Signature · 19 lines
Wael Nasreddine Blog : http://wael.nasreddine.com E-mail : [email protected] gTalk : [email protected] Tel : +33.6.32.94.70.13 Skype : eMxyzptlk Twitter : @eMxyzptlk Sabayon Linux Chief Development Officer - http://www.sabayonlinux.org PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2 .: An infinite number of monkeys typing into GNU emacs, would never make a good program. (L. Torvalds 1995) :. _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Hi,
Quoted 2 lines · Wael Nasreddine (a.k.a eMxyzptlk)
All the information you need are here ->
http://www.alsa-project.org/db/?f=6b588ea53af5cf2794fb8b4239311722809b3c34
Pretty much so, thank you.
However the boot options are not there (the ones stated in grub.conf or lilo.conf) and they have some importance if I want to copy your configuration. What about them ?
Jean-Pierre
boot options maybe irrelevant but maybe not, you should definitely try irqpoll, I also have irqbalance ( http://www.irqbalance.org/ ) on boot
Anyway here's my grub entry, don't get scared tho lol ;)
------ CUT
root (hd0,2)
kernel (hd0,2)/funtoo/kernel irqpoll keymap=fr dolvm
crypt_root=/dev/sda4 lvm2root=/dev/mapper/root real_root=/dev/Phoenix/Funtoo_Root video=uvesafb:ywrap,mtrr:3,scroll:ywrap,1280x800-32 splash=silent,theme:natural_gentoo fbcon=scrollback:128k console=/dev/tty1 real_resume=swap:/dev/Phoenix/Suspend_Swap quiet
initrd (hd0,2)/funtoo/initramfs
------ CUT
Hope we can help each other, it's annoying to have a new laptop and be forced to use EWWW Vista EWWW just to listen to My Music...
P.S: When you reply do a reply-all you always reply to me without Cc'ing the alsa-devel list!
2009/6/15 Jean-Pierre André <[email protected]>:
Quoted 18 lines
Hi,
Quoted 3 lines · Wael Nasreddine (a.k.a eMxyzptlk)
All the information you need are here ->
http://www.alsa-project.org/db/?f=6b588ea53af5cf2794fb8b4239311722809b3c34Pretty much so, thank you.
However the boot options are not there (the ones stated in grub.conf or lilo.conf) and they have some importance if I want to copy your configuration. What about them ?
Jean-Pierre
Signature · 19 lines
Wael Nasreddine Blog : http://wael.nasreddine.com E-mail : [email protected] gTalk : [email protected] Tel : +33.6.32.94.70.13 Skype : eMxyzptlk Twitter : @eMxyzptlk Sabayon Linux Chief Development Officer - http://www.sabayonlinux.org PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2 .: An infinite number of monkeys typing into GNU emacs, would never make a good program. (L. Torvalds 1995) :. _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Hi Wael,
Quoted 2 lines · Wael Nasreddine (a.k.a eMxyzptlk)
boot options maybe irrelevant but maybe not, you should definitely try
They are significant : even on kernel 2.6.30 you have to use irqpoll, which means all IRQs are analyzed by sofware, and the system behaves like there were a single IRQ for all interrupt levels !
Regards
Jean-Pierre
Quoted 16 lines
irqpoll, I also have irqbalance ( http://www.irqbalance.org/ ) on boot
Anyway here's my grub entry, don't get scared tho lol ;)
------ CUT
root (hd0,2)
kernel (hd0,2)/funtoo/kernel irqpoll keymap=fr dolvm
crypt_root=/dev/sda4 lvm2root=/dev/mapper/root real_root=/dev/Phoenix/Funtoo_Root video=uvesafb:ywrap,mtrr:3,scroll:ywrap,1280x800-32 splash=silent,theme:natural_gentoo fbcon=scrollback:128k console=/dev/tty1 real_resume=swap:/dev/Phoenix/Suspend_Swap quiet
initrd (hd0,2)/funtoo/initramfs
------ CUT