From owner-freebsd-questions Fri Jan 18 16:47:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.oanet.com (mars.oanet.com [204.209.13.52]) by hub.freebsd.org (Postfix) with ESMTP id 7EB5437B404 for ; Fri, 18 Jan 2002 16:46:46 -0800 (PST) Received: from PENEK (dialin-207-153-27-18.edm.oa.net [207.153.27.18]) by mail.oanet.com (8.11.5/8.11.5) with ESMTP id g0J14Eu21798 for ; Fri, 18 Jan 2002 18:04:14 -0700 Date: Fri, 18 Jan 2002 17:46:32 -0700 From: soralx@cydem.zp.ua X-Mailer: The Bat! (v1.51) Personal Reply-To: soralx@cydem.zp.ua X-Priority: 3 (Normal) Message-ID: <1001923291.20020118174632@cydem.zp.ua> To: freebsd-questions@FreeBSD.ORG Subject: Crystal CS4232 internal soundcard MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG There is a problem with CS4232-based soundcard [on HP Pavilion 7170, 3D Spatializer snd; the card looks like stupid - half internal|half ISA(MPU module?), but PnP]: after rebooting FreeBSD 4.4-RELEASE I launch mpg123 first time, and it works not too bad, but when I quit mpg123 by and launch it again, I get message 'pcm0: play interrupt timeout, channel dead'; looks like the card needs reinitializiation. I determined by loading Windoze98 from another HD (the scard is PnP, so Windozen configured it, and it worked just fine) that when I disable 'Crystal PnP audio system, MPU-401 compatible' (port 0x330 irq 09), and reboot, WinAmp doesn't even play it first time, and it probably has a similar problem (oh, sure, it doesn't write 'PCM interrupt timeout', but I guess coz the MPU in FreeBSD can't initialize, see dmesg out). Disabling 'pcm' in kernel, loading it as a module, then restarting the module doesn't help - after restarting, the module says: ========================================== isa_dma_acquire: channel 1 already in use isa_dma_acquire: channel 0 already in use pcm: setmap 8000, 1000; 0xc5f25000 -> 8000 pcm: setmap 9000, 1000; 0xc5f26000 -> 9000 ========================================== kernel: only 'device pcm' added PnP in BIOS is set to "manual cfg": just 'IRQ 9' is set to 'Used by ISA card' in the PnP config (also I tried to turn PnP off) see dmesg output below ====================================================== Soundcard configuration in mustdie98: 'Crystal PnP audiosystem, MPU-401 compatible' mpu0 at isa? port 0x330 irq 09 'Crystal PnP audiosystem Codec' pcm0 at isa? port 0x608,0x388,0x220 irq 05 drq 01,00 'Crystal PnP audiosystem control registers' [???] at isa? port 0xf00 (disabling 'control registers' didn't change anything) ====================================================== The 'snd' driver doesn't work either. ==================dmesg verbose================== Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RELEASE #65: Mon Jan 7 23:34:51 MST 2002 root@home:/usr/src/sys/compile/HOME Calibrating clock(s) ... TSC clock: 166193478 Hz, i8254 clock: 1193186 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium/P54C (166.19-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00399000 - 0x03ff7fff, 63303680 bytes (15455 pages) avail memory = 61849600 (60400K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fcbb0 bios32: Entry = 0xfcbc0 (c00fcbc0) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xcbe1 pnpbios: Found PnP BIOS data at 0xc00fa160 pnpbios: Entry = f0000:a260 Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc0373000. Intel Pentium detected, installing workaround for F00F bug netsmb_dev: loaded pci_open(1): mode 1 addr port (0x0cf8) is 0x80009810 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=122d8086) apm0: on motherboard apm: found APM BIOS v1.1, connected at v1.1 npx0: on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 105418511 bytes/sec bzero() bandwidth = 112536574 bytes/sec pcib0: on motherboard found-> vendor=0x8086, dev=0x122d, revid=0x02 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x122e, revid=0x02 class=06-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x5333, dev=0x8811, revid=0x53 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base f8000000, size 26 found-> vendor=0x10b7, dev=0x9200, revid=0x78 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 0000fc80, size 7 map[14]: type 1, range 32, base fffbfc00, size 7 pci0: on pcib0 CPU Inactivity timer: 2 clocks Peer Concurrency: enabled CPU-to-PCI Write Bursting: enabled PCI Streaming: enabled Bus Concurrency: enabled Cache: 256K asynchronous secondary; L1 enabled DRAM: no memory hole, 66 MHz refresh Read burst timing: x-2-2-2/x-3-3-3 Write burst timing: x-3-3-3 RAS-CAS delay: 3 clocks isab0: at device 7.0 on pci0 I/O Recovery Timing: 8-bit 1 clocks, 16-bit 1 clocks Extended BIOS: disabled Lower BIOS: enabled Coprocessor IRQ13: enabled Mouse IRQ12: disabled Interrupt Routing: A: disabled, B: IRQ11, C: disabled, D: IRQ11 MB0: IRQ15, MB1: disabled isa0: on isab0 pci0: (vendor=0x5333, dev=0x8811) at 8.0 irq 11 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xfc80-0xfcff mem 0xfffbfc00-0xfffbfc7f irq 11 at device 19.0 on pci0 xl0: Ethernet address: 00:01:03:ce:4c:9c xl0: media options word: a xl0: found MII/AUTO miibus0: on xl0 ukphy0: on miibus0 ukphy0: OUI 0x00105a, model 0x0000, rev. 0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: xl0 attached Trying Read_Port at 203 Trying Read_Port at 243 MOT15f0: start dependant MOT15f0: adding io range 0x3e8-0x3ef, size=0x8, align=0x8 MOT15f0: adding irq mask 0x9ea0 MOT15f0: start dependant MOT15f0: adding io range 0x2e8-0x2ef, size=0x8, align=0x8 MOT15f0: adding irq mask 0x9ea0 MOT15f0: start dependant MOT15f0: adding io range 0x3f8-0x3ff, size=0x8, align=0x8 MOT15f0: adding irq mask 0x10 MOT15f0: start dependant MOT15f0: adding io range 0x2f8-0x2ff, size=0x8, align=0x8 MOT15f0: adding irq mask 00x8 MOT15f0: start dependant MOT15f0: adding io range 0x3f8-0x3ff, size=0x8, align=0x8 MOT15f0: adding irq mask 0x9ea0 MOT15f0: start dependant MOT15f0: adding io range 0x2f8-0x2ff, size=0x8, align=0x8 MOT15f0: adding irq mask 0x9ea0 MOT15f0: start dependant MOT15f0: adding io range 0x3e8-0x3ef, size=0x8, align=0x8 MOT15f0: adding irq mask 0x9ea0 MOT15f0: start dependant isa0: too many dependant configs (8) CSC0000: start dependant CSC0000: adding irq mask 0x2a0 CSC0000: adding dma mask 0xa CSC0000: adding dma mask 0xb CSC0000: adding io range 0x534-0x60b, size=0x4, align=0xd4 CSC0000: adding fixed io range 0x388-0x38b, size=0x4, align=0x1 CSC0000: adding io range 0x220-0x24f, size=0x10, align=0x20 CSC0000: start dependant CSC0000: adding irq mask 0x9aa0 CSC0000: adding dma mask 0xb CSC0000: adding io range 0x534-0x60b, size=0x4, align=0xd4 CSC0000: adding fixed io range 0x388-0x38b, size=0x4, align=0x1 CSC0000: adding io range 0x210-0x26f, size=0x10, align=0x10 CSC0000: end dependant CSC0001: adding fixed io range 0x200-0x207, size=0x8, align=0x1 CSC0002: adding io range 0xf00-0xfff, size=0x8, align=0x8 CSC0003: adding irq mask 0x200 CSC0003: adding fixed io range 0x330-0x331, size=0x2, align=0x1 isa0: if_ep: <3Com 3C509-TPO EtherLink III> at port 0x320-0x330 irq 10 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices vt0 on isa0 vt0: unkown s3, 80 col, color, 8 scr, unknown kbd, [R3.20-b24] vt0: driver is using old-style compatability shims orm0: