Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2001 01:51:48 -0700 (PDT)
From:      Kinji Itoh <kinji-i@gray.plala.or.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/30909: I can't use Creative SB AWE64-Compatible PnP
Message-ID:  <200109290851.f8T8pmJ91024@freefall.freebsd.org>

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

>Number:         30909
>Category:       misc
>Synopsis:       I can't use Creative SB AWE64-Compatible PnP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 29 02:00:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Kinji Itoh
>Release:        4.4-STABLE
>Organization:
>Environment:
FreeBSD pot 4.4-STABLE FreeBSD 4.4-STABLE #11: Sat Sep 29 17:06:44 JST 2001     kinji@pot:/usr/src/sys/compile/POT  i386
>Description:
I had used my Sound Card on 3.3-RELEASE, but I can't use it on
4.4-STABLE.

I added in conf file as following:

device  pcm
device  sbc

But I could not use this sound card. 

dmesg is

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.4-STABLE #11: Sat Sep 29 17:06:44 JST 2001
    kinji@pot:/usr/src/sys/compile/POT
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x660  Stepping = 0
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134205440 (131060K bytes)
avail memory = 125767680 (122820K bytes)
Preloaded elf kernel "kernel" at 0xc04c9000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00f0cc0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443LX (440 LX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443LX (440 LX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <Matrox MGA Millennium II 2164WA-B AG graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 9 at device 4.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 4.3 on pci0
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xd000-0xd01f irq 9 at device 10.0 on pci0
ed0: address 00:90:cc:a0:9e:fe, type NE2000 (16 bit) 
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xb800-0xb83f mem 0xe0800000-0xe08fffff,0xe1000000-0xe1000fff irq 10 at device 11.0 on pci0
fxp0: Ethernet address 00:02:b3:5b:f6:69
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sym0: <875> port 0xb400-0xb4ff mem 0xdf800000-0xdf800fff,0xe0000000-0xe00000ff irq 11 at device 12.0 on pci0
sym0: Tekram NVRAM, ID 7, Fast-20, SE, parity checking
isa0: too many dependant configs (8)
isa0: unexpected small tag 14
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, logging limited to 30 packets/entry by default
ad0: 14664MB <IBM-DJNA-351520> [29795/16/63] at ata0-master UDMA33
acd0: CD-RW <PLEXTOR CD-R PX-W1210A> at ata1-master using PIO4
Waiting 5 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad0s1a
cd0 at sym0 bus 0 target 6 lun 0
cd0: <TOSHIBA CD-ROM XM-6201TA 1030> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
fxp0: promiscuous mode enabled

>How-To-Repeat:

>Fix:
I modifid '/usr/src/sys/dev/sound/isa/sbc.c'.

--- sbc.c.org   Sat Sep 29 16:48:53 2001
+++ sbc.c       Sat Sep 29 17:27:49 2001
@@ -243,6 +243,7 @@
        {0x43008c0e, "Creative ViBRA16X"},              /* CTL0043 */
        {0x44008c0e, "Creative SB AWE64 Gold"},         /* CTL0044 */
        {0x45008c0e, "Creative SB AWE64"},              /* CTL0045 */
+       {0x46008c0e, "Creative SB AWE64"},              /* CTL0046 ??? */
 
        {0x01000000, "Avance Logic ALS100+"},           /* @@@0001 - ViBRA16X cl
one */
        {0x01100000, "Avance Asound 110"},              /* @@@1001 */

This patch works well for this sound card.
dmesg prints below 

sbc0: <Creative SB AWE64> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 
1,5 on isa0
pcm0: <SB16 DSP 4.16> on sbc0


>Release-Note:
>Audit-Trail:
>Unformatted:

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




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