Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Nov 1999 01:59:24 -0700 (MST)
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        multimedia@FreeBSD.ORG
Subject:   newpcm problems with GUS PnP
Message-ID:  <199911060859.BAA00599@panzer.kdm.org>

next in thread | raw e-mail | index | archive | help

I've got a GUS PnP Pro, and I'm having a few problems with it and newpcm.
I'm running -current from Friday, October 29th.  First, the dmesg info on
the card:

pcm1: <GusPnP> at port 0x220-0x22f,0x320-0x327,0x32c-0x32f irq 9,11 drq 0,1 on isa0
unknown0: <ATAPI CD-ROM> at port 0x170-0x177,0x376-0x377 irq 15 drq 3 on isa0
unknown1: <Game Port> at port 0x201 on isa0
unknown2: <SB Digital Audio> at port 0x388-0x389 irq 5 on isa0
unknown3: <GM Music> at irq 10 on isa0

Here's the old dmesg info from the card, for what it's worth:

Probing for PnP devices:
CSN 1 Vendor ID: GRV0001 [0x0100561e] Serial 0x00000001 Comp ID: PNP0600 [0x0006d041]
mss_attach <GusPnP>1 at 0x328 irq 11 dma 6:5 flags 0x15
pcm1 (GusPnP <GusPnP> sn 0x00000001) at 0x328-0x32f irq 11 drq 6 flags 0x15 on isa

In my kernel config file, I have:

controller      pnp0
device          pcm0 at isa?

My BIOS is configured for a non-plug-and-play OS.  (i.e. it configures PnP
cards)

And now, for the problems:

I use amp-0.7.6 and mpg123-0.59q (from the ports tree) and pcmplay, which
comes with tosha, to play audio.  The first two play mp3 files, and the
last one plays straight pcm files.

- pcmplay either plays static, or plays the audio file at what appears to
  be half speed.  I tried recompiling it, but that didn't help.  pcmplay is
  a very simple program, and appears to be properly setting the various
  sound ioctls.  I'm not familiar with the sound code, so I don't know
  for sure of course.  In any case, it hasn't functioned properly at all
  since upgrading from -current as of ~June 26th to current as of last
  week.

- mpg123 and amp work most of the time.  Sometimes, they play nothing but
  static.  Sometimes they play the file, but there is also a hiss along
  with the audio.

One time, after control-C'ing out of mpg123, it sounded like the last part
of the mp3 file kept playing over and over and over again on the card.  I'm
not sure if these kernel messages correspond to that, but they might:

mss_intr: unexpected irq with reason 10
mss_intr: unexpected irq with reason 10
mss_intr: unexpected irq with reason 10
mss_intr: unexpected irq with reason 10
mss_intr: unexpected irq with reason 10
mss_intr: unexpected irq with reason 10
mss_intr: unexpected irq with reason 10
mss_intr: unexpected irq with reason 10
mss_intr: unexpected irq with reason 10

Anyway, none of this happened under the old PCM code, or the old voxware
code before that.  (Well, not after Amancio fixed it.)

Anyone have any ideas on what's going on?

Thanks,

Ken
-- 
Kenneth Merry
ken@kdm.org


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?199911060859.BAA00599>