Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 1999 12:18:50 -0600
From:      "Juan Kuuse" <kuuse@quik.guate.com>
To:        <luigi@iet.unipi.it>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Sound Card - pcm driver config problem
Message-ID:  <000401be8cec$9304ac00$6d1e48d8@ps1.QUIK>

next in thread | raw e-mail | index | archive | help
I got sound card driver configuration problems:

Using the pcm driver to configure my CrystalWare CS4232 card, I can play
audio CDs, but I can't use any application ("Device not configured").
To make it work this far, I used the -c option at boot to use the BIOS
commands, as my BIOS is not PnP-aware.

Also, a curious question:
What does the message "This is a CS4237 card, but LDN0 is disabled" mean?

Anyone can see what's wrong in my kernel config file?
Thanks in advance!
/Juan Kuuse


Here are my kernel config file, and the output from dmesg and pnpinfo:

kernel config file:
From /sys/i386/conf/QC:
####### PnP driver ###########
controller pnp0  # this is required for PnP support
####### SOUND BOARDS ##############
#Try pcm1 for PnP cards
device     pcm1 at isa ? port? tty irq 5 drq 1 flags 0x13 vector pcmintr
#device pcm0 at isa? port 0x534 tty irq 5 drq 1 flags 0x0 vector pcmintr


dmesg:
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California. All rights reserved.
FreeBSD 3.0-RELEASE #9: Fri Apr 16 23:23:36 CST 1999
    kuuse@qc.quik.guate.com:/usr/src/sys/compile/QC
Timecounter "i8254"  frequency 1193182 Hz  cost 3833 ns
CPU: i486 DX4 (486-class CPU)
  Origin = "GenuineIntel"  Id = 0x480  Stepping=0
  Features=0x3<FPU,VME>
real memory  = 42205184 (41216K bytes)
avail memory = 38932480 (38020K bytes)
Probing for PnP devices:
CSN 1 Vendor ID: CSC4237 [0x3742630e] Serial 0xffffffff Comp ID: @@@0000
[0x00000000]
mss_attach <CS4237>2 at 0x530 irq 5 dma 1:3 flags 0x13
pcm2 (CS423x/Yamaha <CS4237> sn 0xffffffff) at 0x530-0x537 irq 5 drq 1 flags
0x13 on isa
CSN 2 Vendor ID: TCM5091 [0x91506d50] Serial 0xaf90cb17 Comp ID: @@@0000
[0x00000000]
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
pcm1 not probed due to drq conflict with pcm2 at 1
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <Maxtor 83201A6>
wd0: 3060MB (6267744 sectors), 6218 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <unknown>
wd1: size unknown, using fake values
wd1: 0MB (17 sectors), 1 cyls, 1 heads, 17 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 1 (atapi): <ATAPI CDROM/V1.70>, removable, dma, iordy
wcd0: 4153Kb/sec, 120Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: 120mm audio disc loaded, unlocked
1 3C5x9 board(s) on ISA found at 0x300
ep0 at 0x300-0x30f irq 10 on isa
ep0: aui/bnc[*BNC*] address 00:20:af:90:cb:17
npx0 on motherboard
npx0: INT 16 interface
RTC BIOS diagnostic error 2
changing root device to wd0s3a
fd0c: hard error reading fsbn 34 of 0-35 (ST0 44<abnrml,top_head> ST1
20<bad_crc> ST2 20<bad_crc> cyl 0 hd 1 sec 17)
fd0c: hard error reading fsbn 34 of 0-35 (ST0 44<abnrml,top_head> ST1
20<bad_crc> ST2 20<bad_crc> cyl 0 hd 1 sec 17)


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

Card assigned CSN #1
Vendor ID CSC4237 (0x3742630e), Serial Number 0xffffffff
PnP Version 1.0, Vendor Version 1
Device Description: CS4237 Sound Card

Logical Device ID: CSC0000 0x0000630e #0
Device Description: WSS/SB
TAG Start DF
Good Configuration
    DMA: channel(s) 1
 8-bit, not a bus master, count by byte, , Type A
    DMA: channel(s) 0 3
 8-bit, not a bus master, count by byte, , Type A
    IRQ: 5  - only one type (true/edge)
    I/O Range 0x534 .. 0x534, alignment 0x4, len 0x4
 [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x8, len 0x4
 [16-bit addr]
    I/O Range 0x220 .. 0x220, alignment 0x20, len 0x10
 [16-bit addr]
TAG Start DF
Acceptable Configuration
    DMA: channel(s) 1 3
 8-bit, not a bus master, count by byte, , Type A
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Type A
    IRQ: 5 7 9 11 12 15  - only one type (true/edge)
    I/O Range 0x534 .. 0x608, alignment 0x0, len 0x4
 [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x8, len 0x4
 [16-bit addr]
    I/O Range 0x220 .. 0x260, alignment 0x20, len 0x10
 [16-bit addr]
TAG Start DF
Sub-optimal Configuration
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Type A
    IRQ: 5 7 9 11 12 15  - only one type (true/edge)
    I/O Range 0x534 .. 0xffc, alignment 0x4, len 0x4
 [16-bit addr]
    I/O Range 0x388 .. 0x3f8, alignment 0x8, len 0x4
 [16-bit addr]
    I/O Range 0x220 .. 0x300, alignment 0x20, len 0x10
 [16-bit addr]
TAG End DF

Logical Device ID: CSC0001 0x0100630e #1
Device Description: GAME
TAG Start DF
Good Configuration
    I/O Range 0x200 .. 0x200, alignment 0x8, len 0x8
 [16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x208 .. 0x208, alignment 0x8, len 0x8
 [16-bit addr]
TAG End DF

Logical Device ID: CSC0010 0x1000630e #2
Device Description: CTRL
    I/O Range 0x120 .. 0xff8, alignment 0x8, len 0x8
 [16-bit addr]

Logical Device ID: CSC0003 0x0300630e #3
Device Description: MPU-401
TAG Start DF
Good Configuration
    IRQ: 9  - only one type (true/edge)
    I/O Range 0x330 .. 0x330, alignment 0x8, len 0x2
 [16-bit addr]
TAG Start DF
Acceptable Configuration
    IRQ: 9 11 12 15  - only one type (true/edge)
    I/O Range 0x330 .. 0x360, alignment 0x8, len 0x2
 [16-bit addr]
TAG Start DF
Sub-optimal Configuration
    I/O Range 0x330 .. 0x3e0, alignment 0x8, len 0x2
 [16-bit addr]
TAG End DF
End Tag

Successfully got 46 resources, 4 logical fdevs
-- card select # 0x0001

CSN CSC4237 (0x3742630e), Serial Number 0xffffffff

Logical device #0
IO:  0x0534 0x0000 0x0220 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 5 0
DMA 1 3
IO range check 0x00 activate 0x01

Logical device #1
IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x00

Logical device #2
IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x00

Logical device #3
IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x00

Card assigned CSN #2
Vendor ID TCM5091 (0x91506d50), Serial Number 0xaf90cb17
PnP Version 1.0, Vendor Version 16
Device Description: 3Com 3C509B EtherLink III

Logical Device ID: TCM5091 0x91506d50 #0
 Device supports I/O Range Check
Compatible Device ID: PNP80f7 (f780d041)
    IRQ: 3 5 7 9 10 11 12 15  - only one type (true/edge)
    I/O Range 0x210 .. 0x3e0, alignment 0x10, len 0x10
 [16-bit addr]
End Tag

Successfully got 6 resources, 1 logical fdevs
-- card select # 0x0002

CSN TCM5091 (0x91506d50), Serial Number 0xaf90cb17

Logical device #0
IO:  0x0300 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 10 0
DMA 4 4
IO range check 0x00 activate 0x01




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?000401be8cec$9304ac00$6d1e48d8>