Date: 23 Sep 2000 17:24:42 +0900 From: Kinji Itoh <k-itou@mori.cs.titech.ac.jp> To: freebsd-stable@freebsd.org Subject: Creative SB AWE64-Compatible PnP on 4.1-stable Message-ID: <rht3dir4it1.fsf@pandora.mori.cs.titech.ac.jp>
next in thread | raw e-mail | index | archive | help
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$B%S%C%H%*!<%G%#%*(B(SB16$B8_49(B) IRQ 05 DMA 01 DMA 05 I/O$B%]!<%H%"%I%l%9(B 0220-022F I/O$B%]!<%H%"%I%l%9(B 0330-0331 I/O$B%]!<%H%"%I%l%9(B 0388-038B Creative AWE64-Compatible WaveTable MIDI(AWE32$B8_49(B) I/O$B%]!<%H%"%I%l%9(B 0620-0623 I/O$B%]!<%H%"%I%l%9(B 0A20-0A23 I/O$B%]!<%H%"%I%l%9(B 0E20-0E23 Creative $B%2!<%`%]!<%H%8%g%$%9%F%#%C%/(B I/O$B%]!<%H%"%I%l%9(B 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: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 testtest: 46008c0e sbc0: <Creative SB AWE64> 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: <SB DSP 4.16> on sbc0 testtest: 2708c0e testtest: 24008c0e testtest: aa1a sio2: <FMV-FX53Z1> at port 0x3e8-0x3ef irq 11 on isa0 sio2: type 16550A ad0: 4134MB <IBM-DHEA-34331> [8400/16/63] at ata0-master using UDMA33 ad2: 14664MB <IBM-DJNA-351520> [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 <k-itou@mori.cs.titech.ac.jp> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rht3dir4it1.fsf>