From owner-freebsd-stable Thu Jun 1 4:51:44 2000 Delivered-To: freebsd-stable@freebsd.org Received: from doorman.brann.org (remote-brann-gw.nyc.dsl.access.net [166.84.145.254]) by hub.freebsd.org (Postfix) with ESMTP id 5337437B8FB; Thu, 1 Jun 2000 04:51:22 -0700 (PDT) (envelope-from john@brann.org) Received: from freebie.brann.org (freebie.brann.org [10.0.0.2]) by doorman.brann.org (8.9.2/8.8.5) with ESMTP id HAA70160; Thu, 1 Jun 2000 07:51:15 -0400 (EDT) Received: (from john@localhost) by freebie.brann.org (8.9.3/8.9.3) id HAA02106; Thu, 1 Jun 2000 07:51:11 -0400 (EDT) (envelope-from john) Date: Thu, 1 Jun 2000 07:51:11 -0400 From: John Brann To: stable@freebsd.org, multimedia@freebsd.org Subject: Re: pcm sound river behaviour Message-ID: <20000601075110.A2073@freebie.brann.org> References: <20000530101410.A1441@freebie.brann.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000530101410.A1441@freebie.brann.org>; from john@brann.org on Tue, May 30, 2000 at 10:14:10AM -0400 Organization: Not while I'm at home X-Operating-System: FreeBSD 4.0-STABLE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, following up to my own message... I rebuilt a kernel using the (legacy) voxware drivers: device snd device css0 at isa? port 0x534 irq 5 drq 1 flags 0x08 device mpu0 at isa? [Taken from LINT] dmesg looks less than perfect: css0 at port 0x534 irq 5 drq 1 flags 0x8 on isa0 snd0: css0: driver is using old-style compatability shims mpu0 at port 0xffffffff on isa0 isa_compat: didn't get ports for mpu snd0: WARNING: "snd" is usurping "snd"'s cdevsw[] mpu0: driver is using old-style compatability shims unknown0: at port 0x535-0x538,0x388-0x38b,0x220-0x22f irq 11 drq 3,0 on isa0 unknown1: at port 0x200-0x207 on isa0 unknown2: at port 0x120-0x127 on isa0 unknown: can't assign resources But sound is now restored. There is still a leading click when playing .au files, but it's less pronounced, and no sound is lost. Line-in works, too. sndstat shows: freebie:john>cat /dev/sndstat VoxWare Sound Driver:3.5-alpha15-970902 (Wed Aug 6 22:58:35 PDT 1997 Amancio Ha sty@rah.star-gate.com) Config options: Installed drivers: Type 21: CS4232 Type 22: CS4232 MIDI Type 5: Roland MPU-401 Card config: CS4232 at 0x534 irq 5 drq 1,0 Roland MPU-401 at 0xffffffff irq 1 Audio devices: 0: CS4232 (CS4236) (DUPLEX) Synth devices: Midi devices: 0: MPU-401 0.0 Midi interface Timers: 0: System clock 1: CS4232 (CS4236) Mixers: 0: AD1848/CS4248/CS4231/CS4236 [Thanks, Amancio!] So that's it. I'll be sticking with voxware for a while. John On Tue, May 30, 2000 at 10:14:10AM -0400, John Brann wrote: > Hi All, > > I'm experiencing some unwanted 'features' from the pcm sound driver. > > Both of these are new in 4.0-STABLE. I previously ran a variety of 3.X and > 4.0-CURRENT kernels under which sound worked well with the pcm driver. > > 1: Playing .au files by 'cat foo.au > /dev/audio0' loses part of the > beginning of the sound. Any .au file less than 1048 bytes produces > only silence. > > [Note, I do not believe there is necessarily anything magic about > 1048. It happens to be the size of the smallest .au file I have which > makes any sound. The largest silent .au file is 1039 bytes] > > Larger files produce a period of silence, followed by two clicks, > followed by the appropriate sound, followed by another click. I > believe the sound produced has lost a leading amount of about one > second. > > 2: The sound card does not accept audio signal from an external device > connected to the line-in socket. > > Machine is a dual P-Pro 200 with on-board sound. > > Kernel is yesterdays 4.0-STABLE: > > FreeBSD 4.0-STABLE #2: Mon May 29 14:03:57 EDT 2000 > > Kernel config entry for pcm is: > > device pcm > > dmesg shows: > > pcm0: at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0 > unknown0: at port 0x200-0x207 on isa0 > unknown1: at port 0x120-0x127 on isa0 > unknown2: at port 0x300-0x301 irq 11 on isa0 > > No other device claims irq 5 (or 11) > > Any ideas? > > John > > > -- > Unreal City, > Under the brown fog of a winter dawn, > > finger john@doorman.brann.org for pgp public key > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Unreal City, Under the brown fog of a winter dawn, finger john@doorman.brann.org for pgp public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message