From owner-freebsd-stable Sat Sep 23 1:24:52 2000 Delivered-To: freebsd-stable@freebsd.org Received: from ns.mori.cs.titech.ac.jp (ns.mori.cs.titech.ac.jp [131.112.16.104]) by hub.freebsd.org (Postfix) with SMTP id 193E837B42C for ; Sat, 23 Sep 2000 01:24:46 -0700 (PDT) Received: (qmail 25347 invoked by alias); 23 Sep 2000 17:24:43 +0900 Received: (qmail 25339 invoked from network); 23 Sep 2000 17:24:43 +0900 Received: from pandora.mori.cs.titech.ac.jp (192.168.104.33) by kerberos.mori.cs.titech.ac.jp with SMTP; 23 Sep 2000 17:24:43 +0900 To: freebsd-stable@freebsd.org Subject: Creative SB AWE64-Compatible PnP on 4.1-stable MIME-Version: 1.0 (generated by REMI 1.14.2 - =?ISO-8859-4?Q?=22Hokuhoku-=D2?= =?ISO-8859-4?Q?shima=22?=) Content-Type: text/plain; charset=ISO-2022-JP From: Kinji Itoh Date: 23 Sep 2000 17:24:42 +0900 Message-ID: Lines: 82 User-Agent: T-gnus/6.14.5 (based on Gnus v5.8.7) (revision 03) REMI/1.14.2 (=?ISO-8859-4?Q?Hokuhoku-=D2shima?=) Chao/1.14.1 (=?ISO-8859-4?Q?Rokujiz?= =?ISO-8859-4?Q?=F2?=) APEL/10.2 Emacs/20.7 (i386-unknown-freebsdelf3.4) MULE/4.1 (AOI) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello all, I had used my Sound Card on 3.3-RELEASE, but I can't use it on 4.1-STABLE. So I changed /usr/src/sys/dev/sound/isa/sbc.c as following: --- sbc.c.org Sat Sep 23 15:08:57 2000 +++ sbc.c Sat Sep 23 15:59:35 2000 @@ -213,6 +213,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 clone */ {0x01100000, "Avance Asound 110"}, /* @@@1001 */ @@ -241,6 +242,7 @@ lid = isa_get_logicalid(dev); vid = isa_get_vendorid(dev); if (lid) { + printf("testtest: %x\n", lid); if (lid == 0x01000000 && vid != 0x01009305) /* ALS0001 */ return ENXIO; /* Check pnp ids */ Of cource I changed the second at first :-) I added "device pcm" and "device sbc" to config file, and rebuild kernel. I can use after the change, but I don't know well sound card devices and driver code. Please modify code correctly. I note this Sound Card information to get from Windows 95 and so on. Windows 95(Sorry use Japanese): Creative AWE64-Compatible 16ビットオーディオ(SB16互換) IRQ 05 DMA 01 DMA 05 I/Oポートアドレス 0220-022F I/Oポートアドレス 0330-0331 I/Oポートアドレス 0388-038B Creative AWE64-Compatible WaveTable MIDI(AWE32互換) I/Oポートアドレス 0620-0623 I/Oポートアドレス 0A20-0A23 I/Oポートアドレス 0E20-0E23 Creative ゲームポートジョイスティック I/Oポートアドレス 0200-0207 BIOS boot message: Initialize Plug and Play... Card-01: Creative SB AWE64-Compatible PnP FreeBSD 4.1-STABLE boot(this is after change.): ...snip plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 testtest: 46008c0e sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 sbc0: setting card to irq 5, drq 1, 5 pcm0: on sbc0 testtest: 2708c0e testtest: 24008c0e testtest: aa1a sio2: at port 0x3e8-0x3ef irq 11 on isa0 sio2: type 16550A ad0: 4134MB [8400/16/63] at ata0-master using UDMA33 ad2: 14664MB [29795/16/63] at ata1-master using UDMA33 Waiting 5 seconds for SCSI devices to settle Mounting root from ufs:/dev/ad0s3a cd0 at sym0 bus 0 target 6 lun 0 ...snip -- Kinji Itoh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message