At Tue, 16 Jul 2013 10:06:48 +0200, Tormen wrote:
On 16/07/13 10:05, Takashi Iwai wrote:
At Tue, 16 Jul 2013 10:00:21 +0200, Tormen wrote:
On 11/07/13 13:55, Tormen wrote:
Now it applied like charme on the debian 3.9.6 kernel source :
/mnt/tmp/src/linux-3.9.6 % cat /tmp/0001-ALSA-hda-Add-no_multi_io-hda_gen_spec-flag.patch|patch -p1 patching file Documentation/sound/alsa/HD-Audio.txt patching file sound/pci/hda/hda_generic.c Hunk #1 succeeded at 138 (offset -4 lines). Hunk #2 succeeded at 1501 (offset -43 lines). Hunk #3 succeeded at 1515 with fuzz 2 (offset -43 lines). Hunk #4 succeeded at 1543 (offset -43 lines). Hunk #5 succeeded at 1562 (offset -43 lines). patching file sound/pci/hda/hda_generic.h Hunk #1 succeeded at 202 with fuzz 2 (offset -18 lines). patching file sound/pci/hda/patch_realtek.c Hunk #1 succeeded at 1816 (offset -27 lines).
I am compiling now and I'll let you know!
This time I did apply your patch building the debian binary packages (because I wanted the original debian config and also the same kernel I was testing on before, just with your patch applied) ... which took too long and then I was leaving to Paris until today.
Unfortunately I was not being able to make the sound come through the speakers yet. I probably must have missed something :/
How can I make sure that the version I am using contains your patch ? How can I make sure that your patch is active / being used ? I tried the hints file (see below) or can I pass this also as module parameter ?
So here is what I got:
================================================= KERNEL: SMP Debian 3.9.6-1~bpo70+1 x86_64 GNU/Linux with your patch
Tested in single user mode.
# STARTING POINT: no snd* modules loaded
modprobe snd modprobe snd_hda_intel
--> "dmesg" got this: [ 1962.392102] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [ 1962.404217] hda_codec: ALC889: SKU not ready 0x411111f0 [ 1962.404460] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 1962.404462] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 1962.404464] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 1962.404465] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 1962.404467] ALSA hda_auto_parser.c:406 inputs: [ 1962.404468] ALSA hda_auto_parser.c:410 Mic=0x18 [ 1962.404470] ALSA hda_auto_parser.c:410 Mic=0x19 [ 1962.404471] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 1962.404473] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 1962.404475] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 1962.407492] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input13 [ 1962.414631] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14 [ 1962.414797] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15 [ 1962.414893] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
aplay bla.wav # NO SOUND OUTPUT THROUGH SPEAKERS (but through headphone, when plugged)
root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # echo "multi_io = yes" > hints root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints multi_io = yes root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # echo "1" >reconfig root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints multi_io = yes
--> "dmesg" got this: [ 2109.028690] ALSA hda_hwdep.c:221 hda-codec: reconfiguring [ 2109.039537] hda_codec: ALC889: SKU not ready 0x411111f0 [ 2109.039975] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 2109.039981] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 2109.039985] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 2109.039989] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 2109.039992] ALSA hda_auto_parser.c:406 inputs: [ 2109.039996] ALSA hda_auto_parser.c:410 Mic=0x18 [ 2109.040000] ALSA hda_auto_parser.c:410 Mic=0x19 [ 2109.040004] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 2109.040009] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 2109.040012] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 2109.041275] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input17 [ 2109.047928] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18 [ 2109.048065] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input19 [ 2109.048200] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input20
aplay bla.wav # STILL, NO SOUND OUTPUT THROUGH SPEAKERS (but through headphone, when plugged) =================================================
Please give alsa-info.sh output instead.
Takashi
Yes, of course (makes sense!) :)
http://www.alsa-project.org/db/?f=9807678db565252fceb3cac8f856f635044b6590
It doesn't look like the driver patched properly. Try to put some printk() in the patched code path to confirm that you're really testing the patched driver.
Takashi