Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2000 07:51:11 -0400
From:      John Brann <john@brann.org>
To:        stable@freebsd.org, multimedia@freebsd.org
Subject:   Re: pcm sound river behaviour
Message-ID:  <20000601075110.A2073@freebie.brann.org>
In-Reply-To: <20000530101410.A1441@freebie.brann.org>; from john@brann.org on Tue, May 30, 2000 at 10:14:10AM -0400
References:  <20000530101410.A1441@freebie.brann.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <CS4232 (CS4236)> 
css0: driver is using old-style compatability shims
mpu0 at port 0xffffffff on isa0
isa_compat: didn't get ports for mpu
snd0: <MPU-401 0.0  Midi interface> 
WARNING: "snd" is usurping "snd"'s cdevsw[]
mpu0: driver is using old-style compatability shims
unknown0: <WSS/SB> at port 0x535-0x538,0x388-0x38b,0x220-0x22f irq 11 drq 3,0 on
 isa0
unknown1: <GAME> at port 0x200-0x207 on isa0
unknown2: <CTRL> at port 0x120-0x127 on isa0
unknown: <MPU> 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: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0
> unknown0: <GAME> at port 0x200-0x207 on isa0
> unknown1: <CTRL> at port 0x120-0x127 on isa0
> unknown2: <MPU> 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-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000601075110.A2073>