From owner-freebsd-questions Thu Jul 15 18:47:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from localhost.freedomnet.com (alc-170.alcnet.com [63.69.28.170]) by hub.freebsd.org (Postfix) with ESMTP id D65A114E44 for ; Thu, 15 Jul 1999 18:47:24 -0700 (PDT) (envelope-from kbyanc@localhost.freedomnet.com) Received: from localhost (kbyanc@localhost) by localhost.freedomnet.com (8.9.3/8.9.3) with ESMTP id VAA00721 for ; Thu, 15 Jul 1999 21:46:48 -0400 (EDT) (envelope-from kbyanc@localhost.freedomnet.com) Date: Thu, 15 Jul 1999 21:46:45 -0400 (EDT) From: "kbyanc@alcnet.com" To: freebsd-questions@freebsd.org Subject: no sound from es1370 with pcm driver... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a SB128 PCI (es1370) sound card that is producing no sound under FreeBSD 3.2-STABLE as of Jul 15th (last cvsup'ed about 2 hours ago). I have always had this problem with this sound card and FreeBSD, I'm just now getting around to trying to fix it. :) I have spent several hours over the past few days trying to track down why there is no sound, including searches of the mailing list archives, search engines, and only now beg for your mercy here on -questions. And before anyone asks, yes the speakers are on...it works should I boot into Windows. Here is all the info I can think of, if anyone thinks they know how to fix it and needs more info, I'm more than happy to oblige. $ uname FreeBSD freebsd 3.2-STABLE FreeBSD 3.2-STABLE #23: Thu Jul 15 21:18:03 EDT 1999 $ cat /dev/sndstat FreeBSD Audio Driver (981002) Jul 15 1999 21:16:40 Installed devices: pcm1: at 0xee80 irq 0 dma 0:0 $ dmesg Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.2-STABLE #23: Thu Jul 15 21:18:03 EDT 1999 root@freebsd:/usr/src/sys/compile/HOME Timecounter "i8254" frequency 1193182 Hz CPU: Celeron (300.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x660 Stepping = 0 Features=0x183fbff real memory = 67108864 (65536K bytes) config> pnp 1 0 enable os irq0 3 drq0 4 port0 0x2F8 config> avail memory = 62717952 (61248K bytes) Preloaded elf kernel "kernel" at 0xc0268000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc026809c. Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x02 on pci0.1.0 chip2: rev 0x02 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip3: rev 0x02 on pci0.7.3 es1: rev 0x01 int a irq 9 on pci0.17.0 pcm1: using I/O space register mapping at 0xee80 bktr0: rev 0x12 int a irq 5 on pci0.19.0 bti2c0: iicbb0: on bti2c0 iicbus0: on iicbb0 master-only smbus0: on bti2c0 smb0: on smbus0 MMAC Osprey, tuner. Probing for devices on PCI bus 1: vga0: rev 0x01 int a irq 11 on pci1.0.0 Probing for PnP devices: CSN 1 Vendor ID: USR3031 [0x31307256] Serial 0xceea9cab Comp ID: @@@0000 [0x00000000] sio1: type 16550A sio1 (siopnp sn 0xceea9cab) at 0x2f8-0x2ff irq 3 on isa Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> pcm0 not found atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppi0: on ppbus 0 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 flags 0xe0ffe0ff on isa wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-16, sleep-hack wd0: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): , DMA, 32-bit, multi-block-16, sleep-hack wd1: 1548MB (3171168 sectors), 3146 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0xe0ffe0ff on isa wdc1: unit 0 (wd2): , DMA, 32-bit, multi-block-16, sleep-hack wd2: 12416MB (25429824 sectors), 25228 cyls, 16 heads, 63 S/T, 512 B/S wdc1: unit 1 (atapi): , removable, intr, dma, iordis acd0: drive speed 0 - 8250KB/sec, 128KB cache acd0: supported read types: CD-DA acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm audio disc loaded, unlocked ep0 not found at 0x300 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface changing root device to wd1s1a ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates $ cat /sys/i386/conf/HOME # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $Id: GENERIC,v 1.143 1999/01/11 03:18:31 yokota Exp $ machine "i386" cpu "I686_CPU" ident HOME maxusers 40 #options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem #options NFS #Network Filesystem #options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console #options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options "MD5" options "VM86" options PERFMON options "AUTO_EOI_1" options PSM_RESETAFTERSUSPEND options SOFTUPDATES #enable softupdates options VESA # support for VESA text modes # Posix real-time extensions options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=199309L" config kernel root on wd1 dumps on wd1 # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O # Optionally these may need tweaked, (defaults shown): #options NCPU=2 # number of CPUs #options NBUS=4 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs controller isa0 controller pci0 controller pnp0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 #disk fd1 at fdc0 drive 1 options "CMD640" # work around CMD640 chip deficiency controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0xe0ffe0ff disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 flags 0xe0ffe0ff disk wd2 at wdc1 drive 0 #disk wd3 at wdc1 drive 1 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC device acd0 #IDE CD-ROM #device wfd0 #IDE Floppy (e.g. LS-120) # sound stuff device pcm0 at isa? port ? tty irq 9 drq 1 #device pcm0 at isa? port ? tty device joy0 #joystick controller iicbus0 controller iicbb0 controller smbus0 device smb0 at smbus? device bktr0 #brooktrout video capture card # A single entry for any of these controllers (ncr, ahb, ahc) is # sufficient for any number of installed devices. #controller ncr0 #controller ahb0 #controller ahc0 #controller isp0 # This controller offers a number of configuration options, too many to # document here - see the LINT file in this directory and look up the # dpt0 entry there for much fuller documentation on this. #controller dpt0 #controller adv0 at isa? port ? cam irq ? #controller adw0 #controller bt0 at isa? port ? cam irq ? #controller aha0 at isa? port ? cam irq ? ##controller aic0 at isa? port 0x340 bio irq 11 #controller scbus0 #device da0 #device sa0 #device pass0 #device cd0 #Only need one of these, the code dynamically grows #device wt0 at isa? port 0x300 bio irq 5 drq 1 #device mcd0 at isa? port 0x300 bio irq 10 #controller matcd0 at isa? port 0x230 bio #device scd0 at isa? port 0x230 bio # atkbdc0 controlls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? tty # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? tty #options XSERVER # support for X server #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std device npx0 at isa? port IO_NPX irq 13 # # Laptop support (see LINT for more options) # device apm0 at isa? disable flags 0x31 # Advanced Power Management # PCCARD (PCMCIA) support #controller card0 #device pcic0 at card? #device pcic1 at card? device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 #device sio1 at isa? port "IO_COM2" tty irq 3 #device sio2 at isa? disable port "IO_COM3" tty irq 5 #device sio3 at isa? disable port "IO_COM4" tty irq 9 controller ppbus0 controller ppc0 at isa? port? tty irq 7 device nlpt0 at ppbus? device ppi0 at ppbus? #device lpt0 at isa? port? tty irq 7 # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. #device ax0 #device de0 #device fxp0 #device mx0 #device pn0 #device rl0 #device tl0 #device tx0 #device vr0 #device vx0 #device wb0 #device xl0 #device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 #device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 device ep0 at isa? port 0x300 net irq 10 #device ex0 at isa? port? net irq? #device fe0 at isa? port 0x300 net irq ? #device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 #device lnc0 at isa? port 0x280 net irq 10 drq 0 #device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 #device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 #device cs0 at isa? port 0x300 net irq ? pseudo-device loop pseudo-device ether #pseudo-device sl 1 #pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing # This provides support for System V shared memory. # options SYSVSHM options SYSVMSG options SYSVSEM # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be # aware of the legal and administrative consequences of enabling this # option. The number of devices determines the maximum number of # simultaneous BPF clients programs runnable. pseudo-device bpfilter 2 #Berkeley packet filter # USB support #controller uhci0 #controller ohci0 #controller usb0 # # for the moment we have to specify the priorities of the device # drivers explicitly by the ordering in the list below. This will # be changed in the future. # #device ums0 #device ukbd0 #device ulpt0 #device uhub0 #device ucom0 #device umodem0 #device hid0 #device ugen0 # #options USB_DEBUG #options USBVERBOSE I really appreciate your help! Thanks, Kelly ~kbyanc@posi.net~ FreeBSD - The Power To Serve - http://www.freebsd.org/ Join Team FreeBSD - http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message