Works.
vedran@kalopsia:~$ cat /proc/asound/card1/midi0 ICE1724 MIDI
Output 0 Tx bytes : 20524 Mode : native Buffer size : 4096 Avail : 4096 Input 0 Rx bytes : 0
mplayer also doesn't fill dmesg with anything. Seems better than second one.
However, my card isn't sharing an IRQ or anything. It might be that this is an advantage here?
vedran@kalopsia:~$ lspci -v 00:00.0 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (rev a2) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 Memory Controller Flags: bus master, 66MHz, fast devsel, latency 0 Capabilities: <access denied>
00:01.0 ISA bridge: nVidia Corporation MCP78S [GeForce 8200] LPC Bridge (rev a2) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 LPC Bridge Flags: bus master, 66MHz, fast devsel, latency 0 I/O ports at 2f00 [size=256]
00:01.1 SMBus: nVidia Corporation MCP78S [GeForce 8200] SMBus (rev a1) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 SMBus Flags: 66MHz, fast devsel, IRQ 7 I/O ports at 2900 [size=64] I/O ports at 2d00 [size=64] I/O ports at 2e00 [size=64] Capabilities: <access denied>
00:01.2 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (rev a1) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 Memory Controller Flags: 66MHz, fast devsel
00:01.3 Co-processor: nVidia Corporation MCP78S [GeForce 8200] Co-Processor (rev a2) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 Co-Processor Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 10 Memory at f8e80000 (32-bit, non-prefetchable) [size=512K]
00:01.4 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (rev a1) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 Memory Controller Flags: 66MHz, fast devsel
00:02.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1) (prog-if 10 [OHCI]) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 OHCI USB 1.1 Controller Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23 Memory at f8e7f000 (32-bit, non-prefetchable) [size=4K] Capabilities: <access denied> Kernel driver in use: ohci_hcd Kernel modules: ohci-hcd
00:02.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1) (prog-if 20 [EHCI]) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 EHCI USB 2.0 Controller Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21 Memory at f8e7ec00 (32-bit, non-prefetchable) [size=256] Capabilities: <access denied> Kernel driver in use: ehci_hcd Kernel modules: ehci-hcd
00:04.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1) (prog-if 10 [OHCI]) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 OHCI USB 1.1 Controller Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22 Memory at f8e7d000 (32-bit, non-prefetchable) [size=4K] Capabilities: <access denied> Kernel driver in use: ohci_hcd Kernel modules: ohci-hcd
00:04.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1) (prog-if 20 [EHCI]) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 EHCI USB 2.0 Controller Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20 Memory at f8e7e800 (32-bit, non-prefetchable) [size=256] Capabilities: <access denied> Kernel driver in use: ehci_hcd Kernel modules: ehci-hcd
00:06.0 IDE interface: nVidia Corporation MCP78S [GeForce 8200] IDE (rev a1) (prog-if 8a [Master SecP PriP]) Subsystem: ASRock Incorporation Device 0759 Flags: bus master, 66MHz, fast devsel, latency 0 [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8] [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1] [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8] [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1] I/O ports at ffa0 [size=16] Capabilities: <access denied> Kernel driver in use: AMD_IDE Kernel modules: ide-pci-generic, amd74xx, ata_generic
00:07.0 Audio device: nVidia Corporation MCP78S [GeForce 8200] High Definition Audio (rev a1) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 High Definition Audio Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21 Memory at f8e78000 (32-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel
00:08.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1) (prog-if 01 [Subtractive decode]) Flags: bus master, 66MHz, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 I/O behind bridge: 0000b000-0000bfff Capabilities: <access denied>
00:09.0 IDE interface: nVidia Corporation MCP78S [GeForce 8200] SATA Controller (non-AHCI mode) (rev a2) (prog-if 85 [Master SecO PriO]) Subsystem: ASRock Incorporation Device 0ad0 Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 1276 I/O ports at a480 [size=8] I/O ports at a400 [size=4] I/O ports at a080 [size=8] I/O ports at a000 [size=4] I/O ports at 9c00 [size=16] Memory at f8e76000 (32-bit, non-prefetchable) [size=8K] Capabilities: <access denied> Kernel driver in use: ahci Kernel modules: ide-pci-generic, ahci, ata_generic
00:0a.0 Ethernet controller: nVidia Corporation MCP78S [GeForce 8200] Ethernet (rev a2) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 Ethernet Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 1275 Memory at f8e7c000 (32-bit, non-prefetchable) [size=4K] I/O ports at 9880 [size=8] Memory at f8e7e400 (32-bit, non-prefetchable) [size=256] Memory at f8e7e000 (32-bit, non-prefetchable) [size=16] Capabilities: <access denied> Kernel driver in use: forcedeth Kernel modules: forcedeth
00:0b.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: f8f00000-f9ffffff Prefetchable memory behind bridge: 00000000c6000000-00000000cfffffff Capabilities: <access denied> Kernel modules: shpchp
00:10.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 I/O behind bridge: 0000d000-0000dfff Memory behind bridge: fa000000-fd7fffff Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff Capabilities: <access denied> Kernel driver in use: pcieport-driver Kernel modules: shpchp
00:12.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=04, subordinate=05, sec-latency=0 I/O behind bridge: 0000e000-0000efff Memory behind bridge: fd800000-febfffff Prefetchable memory behind bridge: 00000000f4000000-00000000f7efffff Capabilities: <access denied> Kernel driver in use: pcieport-driver Kernel modules: shpchp
00:13.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=06, subordinate=06, sec-latency=0 Prefetchable memory behind bridge: 00000000f7f00000-00000000f7ffffff Capabilities: <access denied> Kernel driver in use: pcieport-driver Kernel modules: shpchp
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration Flags: fast devsel Capabilities: <access denied>
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map Flags: fast devsel
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller Flags: fast devsel
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control Flags: fast devsel Capabilities: <access denied> Kernel driver in use: k8temp Kernel modules: k8temp
01:09.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01) Subsystem: TERRATEC Electronic GmbH PHASE 22 Flags: bus master, medium devsel, latency 64, IRQ 16 I/O ports at bc00 [size=32] I/O ports at b880 [size=128] Capabilities: <access denied> Kernel driver in use: ICE1724 Kernel modules: snd-ice1724
02:00.0 VGA compatible controller: nVidia Corporation GeForce 8200 (rev a2) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation K10N78FullHD-hSLI R3.0 GeForce 8200 Flags: fast devsel, IRQ 10 Memory at f9000000 (32-bit, non-prefetchable) [disabled] [size=16M] Memory at c8000000 (64-bit, prefetchable) [disabled] [size=128M] Memory at c6000000 (64-bit, prefetchable) [disabled] [size=32M] I/O ports at cc00 [disabled] [size=128] Expansion ROM at f8fe0000 [disabled] [size=128K] Capabilities: <access denied> Kernel modules: nvidiafb
03:00.0 VGA compatible controller: nVidia Corporation GeForce 8500 GT (rev a1) (prog-if 00 [VGA controller]) Subsystem: Micro-Star International Co., Ltd. Device 0960 Flags: bus master, fast devsel, latency 0, IRQ 10 Memory at fc000000 (32-bit, non-prefetchable) [size=16M] Memory at d0000000 (64-bit, prefetchable) [size=256M] Memory at fa000000 (64-bit, non-prefetchable) [size=32M] I/O ports at dc00 [size=128] Expansion ROM at fd7e0000 [disabled] [size=128K] Capabilities: <access denied> Kernel modules: nvidiafb
04:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01) Subsystem: ABIT Computer Corp. AirPace Wi-Fi Flags: bus master, fast devsel, latency 0, IRQ 18 Memory at febf0000 (64-bit, non-prefetchable) [size=64K] Capabilities: <access denied> Kernel driver in use: ath_pci Kernel modules: ath_pci
2008/11/5 Takashi Iwai tiwai@suse.de:
At Wed, 5 Nov 2008 17:19:46 +0100, =?UTF-8?Q?Vedran_Mileti=C4=87?= wrote:
Cool. Didn't know it was that easy. Also, I didn't expect it to work since file is already patched by alsa-driver compatibility for older kernels, but I was pleasantly surprised: vedran@kalopsia:~/bin/alsa-driver-unstable/alsa-kernel$ patch -p2 < /home/vedran/bin/ice1724-takashi.patch (second one you posted) patching file pci/ice1712/ice1724.c Hunk #1 succeeded at 243 (offset 2 lines). Hunk #2 succeeded at 259 (offset 2 lines). Hunk #3 succeeded at 282 (offset 2 lines). Hunk #4 succeeded at 319 (offset 2 lines). Hunk #5 succeeded at 334 (offset 2 lines). Hunk #6 succeeded at 404 (offset 2 lines). Hunk #7 succeeded at 2458 (offset 32 lines).
MIDI works, no change here. However, mplayer (on both analog and digital) fills dmesg with: [ 1921.595750] ice1724: Too long irq loop, status = 0x20 [ 1921.595775] ice1724: Disabling MPU_TX [ 1921.630993] ice1724: Too long irq loop, status = 0x20 [ 1921.630993] ice1724: Disabling MPU_TX [ 1921.662976] ice1724: Too long irq loop, status = 0x20 [ 1921.662976] ice1724: Disabling MPU_TX [ 1921.694977] ice1724: Too long irq loop, status = 0x20 [ 1921.694977] ice1724: Disabling MPU_TX [ 1921.726998] ice1724: Too long irq loop, status = 0x20 [ 1921.726998] ice1724: Disabling MPU_TX [ 1921.759213] ice1724: Too long irq loop, status = 0x20 [ 1921.759213] ice1724: Disabling MPU_TX [ 1921.791289] ice1724: Too long irq loop, status = 0x20 [ 1921.791289] ice1724: Disabling MPU_TX [ 1921.823276] ice1724: Too long irq loop, status = 0x20 [ 1921.823276] ice1724: Disabling MPU_TX [ 1921.855159] ice1724: Too long irq loop, status = 0x20 [ 1921.855159] ice1724: Disabling MPU_TX
This doesn't happen without patch. Audio works normally.
What about the first patch?
Takashi