Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Oct 1999 16:18:12 GMT
From:      "Juan Kuuse" <myfreebsd@hotmail.com>
To:        freebsd-multimedia@freebsd.org, freebsd-questions@freebsd.org, luigi@labinfo.iet.unipi.it
Subject:   Sound problem - CMI8330 PnP
Message-ID:  <19991006161813.87438.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help
I'm running 3.0-RELEASE
I have an on-motherboard CMI8330 PnP-enabled sound card.

If I disable PnP from BIOS, CMI8330 it is detected at:
pcm0 at 0x530 irq 5 drq 1 flags 0x9115 on isa
mss_attach <mss>0 at 0x530 irq 5 dma 1:5 flags 0x9115

The problem is that if I disable PnP from BIOS, then my NIC isn't detected 
any longer.
(With PnP enabled from BIOS, NE2000 it is detected at:
ed0 at 0xef80 irq 11
)
But I can't get them working at the same time.
At the boot -c prompt, I tried
pnp 1 0 os disable
pnp 1 1 os enable irq 5 port0 0x220 drq0 1 drq1 5
with no result.
I tried to change the port address to 0x530, with no result.

Then I tried to disable PnP from BIOS, and tried
pnp 2 0 os enable port0 0xef80 irq0 11 mem0 0xd800
with no success.

(Another question: where is this info stored? My kernel.config file is 
empty. Now I got three "pnp lines" in my configuration. How do I remove 
them?)

Anyone's got suggestions?
I really have tried different configurations, and I have read about the 
info, but I need an expert to help me!
(See details about pnpinfo etc. below.)

Please send me a copy to
kuuse@quik.guate.com
, as I'm not on the list.

(Yes, I'm using hotmail, but my ISP:s DNS configuration isn't what 
freebsd.org want it to be. :( All my mails are filtered out.)

Thanks in advance.
/Juan Kuuse
kuuse@quik.guate.com

Details (all with PnP BIOS enabled, and CMI8330 not working):

>From pnpinfo:
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID CMI0001 (0x0100a90d), Serial Number 0x01000100
PnP Version 1.0, Vendor Version 0
Device Description: CMI8330. Audio Adapter

Logical Device ID: @@@0001 0x01000000 #0
TAG Start DF
Good Configuration
    I/O Range 0x530 .. 0x530, alignment 0x1, len 0x8
        [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x8
        [16-bit addr]
    IRQ: 11  - only one type (true/edge)
    DMA: channel(s) 0
        8-bit, not a bus master, count by byte, , Compatibility mode


In my kernel config file I put:
controller  pnp0
device pcm0 at isa? port? tty irq 5 drq 1 flags 0x15 vector pcmintr

I config, make depend, make, make install, and reboot.

I have tried with
cd /dev
./MAKEDEV snd0

and with

cd /dev
./MAKEDEV snd1

Anyhow, dmesg gives:
pcm0 not found

sndstat gives:
su-2.02# cat /dev/sndstat
cat: /dev/sndstat: Device not configured

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


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?19991006161813.87438.qmail>