Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2001 22:17:02 
From:      "Geoff Ludwiczak" <ludwicza@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: sound card problem (CMI8330)
Message-ID:  <F1112xInBoqpvavZUfn0000a6aa@hotmail.com>

next in thread | raw e-mail | index | archive | help
I've looked through the mailing list archives, there's no real clear answer 
as to how to this thing to work.  I don't have windows, and i did:

cd /dev ; sh MAKEDEV snd0

I've had this problem the whole time, I forgot to mention that I did 
MAKEDEV, whenever I turn on PNPBIOS, the kernel complains that it couldn't 
allocate some resources, etc. even with the PNP Aware OS option turned on in 
the BIOS setup.


>From: Doug Denault <doug@safeport.com>
>Reply-To: Doug Denault <doug@safeport.com>
>To: Geoff Ludwiczak <ludwicza@hotmail.com>
>CC: freebsd-questions@freebsd.org
>Subject: Re: sound card problem (CMI8330)
>Date: Wed, 17 Oct 2001 17:39:52 -0400 (EDT)
>
>If you have access to archives of this list. That's a good place to start.
>My son and I struggled through several systems, they were all different so
>I do not think there is a set formula. In general:
>
>1) If windows is also installed on your system see what it uses for irq,
>    memory ports etc. Our technique has been to match that in FreeBSD.
>2) Check out the handbook and see if it addresses your card.
>3) A lot of the comments in this list say *do not* use PNP. Note if you
>    take it our of the kernel you must (should?) also disable it for the
>    card in the BIOS.
>4) make sure to run /dev/MAKEDEV
>
>That said here is what we did:
>   a) Dell 7500 Inspiron: One line in the kernel config.
>        device          pcm
>
>   b) Dell PE 300
>      This system had all sorts of problems, none coming from FreeBSD. The
>      PE 300 has video card on the motherboard and no sound card. In
>      configuring this for a workstation we added a better video card and a
>      Sound Blaster 16 that we cobbled from an older system. That involved
>      forcing the BIOS to use thesame irq for the video and sound cards
>      that win98 used. So in the kernel config there we added:
>
>       device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15
>       device pcm
>
>      Again we choose the irq and port to match what windows assigned.
>
>After reconfiguring the kernel and building the devices, you should have
>things like audio, sndstat, mixer, .... On the 7500 they all have a
>primary device number of 30 so:
>
>mneme:/dev> ls -l | grep "30,"
>crw-rw-rw-   1 root  wheel      30,   4 Oct 13 02:32 audio0
>crw-rw-rw-   1 root  wheel      30,   3 Oct 13 20:19 dsp0
>crw-rw-rw-   1 root  wheel      30,   5 Oct 13 02:32 dspW0
>crw-rw-rw-   1 root  wheel      30,   2 Oct 13 02:32 midi0
>crw-rw-rw-   1 root  wheel      30,   0 Oct 13 02:32 mixer0
>crw-rw-rw-   1 root  wheel      30,   8 Oct 13 02:32 music0
>crw-rw-rw-   1 root  wheel      30,   9 Oct 13 02:32 pss0
>crw-rw-rw-   1 root  wheel      30,   1 Oct 13 02:32 sequencer0
>crw-rw-rw-   1 root  wheel      30,   6 Oct 13 02:32 sndstat
>
>You can tell if the setup is okay (as opposed to any applications)
>by
>
>     cat /kernel > /dev/dsp0
>
>Make sure the sound is turned down first, or choose a smaller file. If all
>that works you can then tackle which application you want to use. Chris
>settled on xmms which works fine for us.
>
>
>On Wed, 17 Oct 2001, Geoff Ludwiczak wrote:
>
> > Hey,
> >
> > I'm having some trouble getting my sound card to work properly in
> > 4.4-RELEASE.
> >
> > ~$ dmesg | grep pcm
> > pcm0: <CMI8330> at port 0x530-0x537,0x388-0x38f irq 11 drq 0 on isa0
> > ~$
> >
> > The card is supposed to be PNP/ISA, it's onboard, I've tried different 
>kinds
> > of configurations in the kernel, i've used
> >
> > options PNPBIOS
> > device pcm
> > device sbc
> >
> > i've also tried taking out PNPBIOS, tried replacing the sbc line with
> >
> > device sbc0  at isa? port 0x220 irq 5 drq 1 flags 0x15
> >
> > Whenever I try playing mp3's, I get a bold kernel message saying
> >
> > pcm0: play interrupt timeout, channel dead
> >
> > If anyone can help me, I'd appreciate it, thanks!
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at 
>http://explorer.msn.com/intl.asp
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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