Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 19:27:52 -0400
From:      David Jeffers <jeffers@redrose.net>
To:        Joe Abley <jabley@clear.co.nz>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Luigi's Sound Drivers on Digital PC5000
Message-ID:  <19981015192752.A1138@mynet.net>
In-Reply-To: <19981016095632.A25175@clear.co.nz>; from Joe Abley on Fri, Oct 16, 1998 at 09:56:32AM %2B1300
References:  <19981016095632.A25175@clear.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 16, 1998 at 09:56:32AM +1300, Joe Abley wrote:
> Hi,
> 
> I am running FreeBSD 3.0-BETA, CVSUPped a few days ago, on a P2 Digital
> PC5000 with some kind of (supposedly sb16- and wss-compatible) on-board
> audio.
> 
> I have the following in my kernel config:
> 
> controller      pnp0
> device          pcm0 at isa? port ? tty irq 5 drq 1 flags 0x0 vector pcmintr
> 
> I get the following on boot:
> 
> ...
> Probing for PnP devices:
> CSN 1 Vendor ID: CSC0735 [0x3507630e] Serial 0xffffffff Comp ID: @@@0000 [0x0000
> 0000]
> This is a CS4236, but LDN 0 is disabled
> Probing for devices on the ISA bus:
> sc0 at 0x60-0x6f irq 1 on motherboard
> sc0: VGA color <16 virtual consoles, flags=0x0>
> pcm0 not found
> ...
> 
> What is LDN 0? Why is it disabled?
> 
 LDN is Logical Device Number. I have no idea what a 'CS4236' card is
 but what you need to do if it's Sound Blaster compatible is to get
 into userconfig with a "-c" at the boot: prompt and then add a
 line like this:

 > pnp 1 0 os enable port0 0x220 port1 0x330 port2 0x388 irq0 5 drq0 1 drq0 5

 That's the line I use for a PNP SB16. If your card uses different values
 then fill them in appropriately. If you have a PNP bios try changing the
 'os' in the line above to 'bios'. For some hints on your card check out

 > pnpinfo

Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID CTL0070 (0x70008c0e), Serial Number 0xffffffff
PnP Version 1.0, Vendor Version 16
Device Description: Creative ViBRA16C PnP

Logical Device ID: CTL0001 0x01008c0e #0
Device Description: Audio
TAG Start DF
Good Configuration
    IRQ: 5  - only one type (true/edge)
    DMA: channel(s) 1 
	8-bit, not a bus master, count by byte, , Compatibility mode
    DMA: channel(s) 5 
	16-bit, not a bus master, , count by word, Compatibility mode
    I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10
	[16-bit addr]
    I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2
	[16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
	[16-bit addr]
[...]

 This and the pnp man pages should get you started.

-- 
David Jeffers --------------
mailto: jeffers@redrose.net
----------------------------

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?19981015192752.A1138>