Date: Fri, 13 Feb 1998 09:54:56 -0600 From: Edwin Culp <eculp@ver1.telmex.net.mx> To: FreeBSD-multimedia@FreeBSD.ORG Subject: Re: PnP and PCM Message-ID: <34E46CD0.3CBE1A64@ver1.telmex.net.mx> References: <34E45BE2.E2CDC3B@ver1.telmex.net.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
Please excuse the possible double post, but my mail doesn't seem to be getting out. I'm running Current as of yesterday on a pentium II 233 with AMIBIOS 626HA13. I cvsuped and made world because I couldn't get the sound going on a ess1868 sound card that came with the machine and I couldn't apply the patch 2.2.5 cleanly from Luigi's driver. I didn't help. The end result is that the patches didn't apply cleanly so I backed them out, leaving only soundcard.h. I recompiled the kernel again and the results of my dmesg, I hope, show that I am close but no brass ring, yet:-) I am also attaching the kernel config lines that I am using and the results of pnpinfo that I was't able to interpret correctly, I'm sure. If anyone can tell me what I didn't read or do, because everything points to that, I would appreciate it. It, unfortunately, won't be the first time I open myself up for a little heat :-) Thanks ed --------------------------------------------------------------- > Subject: 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-CURRENT #0: Thu Feb 12 19:31:34 CST 1998 > > root@webcafe.mexcom.net:/usr/src/sys/compile/OMAR > > CPU: Pentium Pro (232.53-MHz 686-class CPU) > > Origin = "GenuineIntel" Id = 0x634 Stepping=4 > > Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX> > > real memory = 67108864 (65536K bytes) > > > > FreeBSD Kernel Configuration Utility - Version 1.1 > > Type "help" for help or "visual" to go to the visual > > configuration interface (requires MGA/VGA display or > > serial terminal capable of displaying ANSI graphics). > > config> ls > > Device port irq drq iomem iosize unit flags enab confl > > fdc0 0x3f0 6 2 0 0 0 0 Yes No > > wdc0 0x1f0 14 -1 0 0 0 0 Yes No > > wdc1 0x170 15 -1 0 0 1 0 Yes No > > sc0 0x60 1 -1 0 0 0 0 Yes No > > sio0 0x3f8 4 -1 0 0 0 0 Yes No > > sio1 0x2f8 3 -1 0 0 1 0 Yes No > > pcm0 0xffffffff 7 1 0 0 0 0 Yes No <<CORRECT?>> > > ed0 0x300 10 -1 0xd8000 0 0 0 Yes No > > npx0 0xf0 13 -1 0 0 0 0 Yes No > > config> pnp CSN LDN enable > > bad csn/ldn 0:0 <<SOMETHING WRONG >> > > config> pnp CSN LDN bios > > bad csn/ldn 0:0 <<SYNTAX?>> > > config> quit > > avail memory = 62730240 (61260K bytes) > > Probing for devices on PCI bus 0: > > chip0: <Intel 82440FX (Natoma) PCI and memory controller> rev 0x02 on pci0.0.0 > > chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0 > > ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1 > > vga0: <S3 ViRGE DX/GX graphics accelerator> rev 0x01 int a irq 9 on pci0.9.0 > > Probing for PnP devices: > > CSN 1 Vendor ID: ESS1868 [0x68187316] Serial 0xffffffff > > This is an ESS1868, but LDN 1 is disabled <<THIS MUST BE PART OF THE PROBLEM>> > > Probing for devices on the ISA bus: > > sc0 at 0x60-0x6f irq 1 on motherboard > > sc0: VGA color <16 virtual consoles, flags=0x0> > > ed0 at 0x300-0x31f irq 10 on isa > > ed0: address 00:40:05:24:b5:09, type NE2000 (16 bit) > > sio0 at 0x3f8-0x3ff irq 4 on isa > > sio0: type 16550A > > sio1 at 0x2f8-0x2ff irq 3 on isa > > sio1: type 16550A > > pcm0 not found << RELATED TO LDN DISABLED ABOVE?>> > > fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa > > fdc0: FIFO enabled, 8 bytes threshold > > fd0: 1.44MB 3.5in > > wdc0 at 0x1f0-0x1f7 irq 14 on isa > > wdc0: unit 0 (wd0): <QUANTUM BIGFOOT_CY4320A> > > wd0: 4134MB (8467200 sectors), 8960 cyls, 15 heads, 63 S/T, 512 B/S > > wdc0: unit 1 (atapi): <CRD-8240B/1.15>, removable, accel, dma, iordis > > wcd0: 171/4125Kb/sec, 128Kb cache, audio play, 255 volume levels, ejectable tray > > wcd0: no disc inside, unlocked, lock protected > > wdc1 not found at 0x170 > > npx0 on motherboard > > npx0: INT 16 interface > > --------------------------------------------------------------- > > Subject: Kernel Configuration file with pnp and pcm0 > > > > # $Id: DNS,v 1.93 1997/07/22 08:33:52 jkh Exp $ > > > > machine "i386" > > cpu "I686_CPU" > > CUT > > > options USERCONFIG #boot -c editor > > options VISUAL_USERCONFIG #visual boot -c editor > > > CUT > > > > controller pnp0 > > # device pcm0 at isa? port ? tty irq 7 drq 1 flags 0x0 vector pcmintr > > device pcm0 at isa? port ? tty irq 7 drq 1 vector pcmintr > > --------------------------------------------------------------- > > Subject: pnpinfo complete. > Checking for Plug-n-Play devices... > > > > Card assigned CSN #1 > > Vendor ID ESS1868 (0x68187316), Serial Number 0xffffffff > > PnP Version 1.0, Vendor Version 16 > > Device Description: ESS ES1868 Plug and Play AudioDrive > > > > Logical Device ID: ESS0000 0x00007316 #0 > > I/O Range 0x800 .. 0xff8, alignment 0x8, len 0x8 > > [16-bit addr] > > > > Logical Device ID: ESS1868 0x68187316 #1 > > TAG Start DF > > Good Configuration > > DMA: channel(s) 1 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > DMA: channel(s) 0 3 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > IRQ: 5 - only one type (true/edge) > > FIXED I/O base address 0x220 length 0x10 > > FIXED I/O base address 0x388 length 0x4 > > FIXED I/O base address 0x330 length 0x2 > > TAG Start DF > > Acceptable Configuration > > DMA: channel(s) 1 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > DMA: channel(s) 0 3 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > IRQ: 5 7 9 10 - only one type (true/edge) > > I/O Range 0x220 .. 0x240, alignment 0x20, len 0x10 > > [16-bit addr] > > FIXED I/O base address 0x388 length 0x4 > > I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 > > [16-bit addr] > > TAG Start DF > > Acceptable Configuration > > DMA: channel(s) 0 1 3 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > DMA: channel(s) 0 1 3 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > IRQ: 5 7 9 10 11 12 - only one type (true/edge) > > I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 > > [16-bit addr] > > FIXED I/O base address 0x388 length 0x4 > > I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 > > [16-bit addr] > > TAG Start DF > > Acceptable Configuration > > DMA: channel(s) 0 1 3 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > DMA: channel(s) 0 1 3 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > IRQ: 5 7 9 10 11 12 - only one type (true/edge) > > I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 > > [16-bit addr] > > FIXED I/O base address 0x388 length 0x4 > > I/O Range 0x800 .. 0xffe, alignment 0x2, len 0x2 > > [16-bit addr] > > TAG Start DF > > Sub-optimal Configuration > > DMA: channel(s) 0 1 3 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > DMA: channel(s) 0 1 3 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > IRQ: 5 7 9 10 11 12 - only one type (true/edge) > > I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 > > [16-bit addr] > > I/O Range 0x800 .. 0xffc, alignment 0x4, len 0x4 > > [16-bit addr] > > I/O Range 0x800 .. 0xffe, alignment 0x2, len 0x2 > > [16-bit addr] > > TAG End DF > > > > Logical Device ID: ESS0001 0x01007316 #2 > > TAG Start DF > > Good Configuration > > FIXED I/O base address 0x201 length 0x1 > > TAG Start DF > > Acceptable Configuration > > I/O Range 0x200 .. 0x20f, alignment 0x1, len 0x1 > > [16-bit addr] > > TAG End DF > > Compatible Device ID: PNPb02f (2fb0d041) > > > > Logical Device ID: ESS0002 0x02007316 #3 > > TAG Start DF > > Good Configuration > > IRQ: 12 - only one type (true/edge) > > FIXED I/O base address 0x168 length 0x8 > > FIXED I/O base address 0x36e length 0x2 > > TAG Start DF > > Acceptable Configuration > > IRQ: 10 11 - only one type (true/edge) > > FIXED I/O base address 0x168 length 0x8 > > FIXED I/O base address 0x36e length 0x2 > > TAG Start DF > > Acceptable Configuration > > IRQ: 10 11 12 - only one type (true/edge) > > FIXED I/O base address 0x1e8 length 0x8 > > FIXED I/O base address 0x3ee length 0x2 > > TAG Start DF > > Sub-optimal Configuration > > IRQ: 10 11 12 - only one type (true/edge) > > I/O Range 0x100 .. 0x1f8, alignment 0x8, len 0x8 > > [16-bit addr] > > I/O Range 0x300 .. 0x3fe, alignment 0x2, len 0x2 > > [16-bit addr] > > TAG End DF > > Compatible Device ID: PNP0600 (0006d041) > > End Tag > > > > Successfully got 67 resources, 4 logical fdevs > > -- card select # 0x0001 > > > > CSN ESS1868 (0x68187316), Serial Number 0xffffffff > > > > Logical device #0 > > IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 > > IRQ 0 0 > > DMA 4 4 > > IO range check 0x00 activate 0x00 > > > > 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: 0x0168 0x036e 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 > > IRQ 11 0 > > DMA 4 4 > > IO range check 0x00 activate 0x01 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34E46CD0.3CBE1A64>