From owner-freebsd-multimedia Fri Oct 1 15:19:18 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from ex1.ncsa.uiuc.edu (ex1.ncsa.uiuc.edu [141.142.2.9]) by hub.freebsd.org (Postfix) with ESMTP id 4E0DE1503A for ; Fri, 1 Oct 1999 15:19:08 -0700 (PDT) (envelope-from jdugan@ncsa.uiuc.edu) Received: from rivendell.ncsa.uiuc.edu (rivendell.ncsa.uiuc.edu [141.142.21.110]) by ex1.ncsa.uiuc.edu (8.9.3/8.9.3) with ESMTP id RAA18188 for ; Fri, 1 Oct 1999 17:19:07 -0500 (CDT) Received: from jdugan by rivendell.ncsa.uiuc.edu with local (Exim 2.12 #1) id 11XB19-0000BN-00 for freebsd-multimedia@freebsd.org; Fri, 1 Oct 1999 17:19:07 -0500 Date: Fri, 1 Oct 1999 17:19:07 -0500 From: Jon Dugan To: freebsd-multimedia@freebsd.org Subject: Crystal with Luigi's Driver Message-ID: <19991001171907.A557@ncsa.uiuc.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="yrj/dFKFPuw6o+aM" X-Mailer: Mutt 0.95.5i X-md5sum: 3ff82fa6d903a4edc8cd82667234491c X-md5sum-Origin: ex1.ncsa.uiuc.edu Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Hello, I've been trying to get a Crystal based ISA sound card to work with Luigi's driver. It works fine for playback, but I can't get it to record. The two applications I have tried are rat and dap. Both freeze up when I try to record. The card has two Crystal chips on it: CX4237B-XQ3 and CS9236-CL. I'm running 3.3-RELEASE instaled from the Walnut Creek CD. Here's the sound devs: > ls -l /dev/{dsp,dsp1,audio,audio1,mixer,mixer1,dspW,dspW1} lrw-rw-rw- 1 root wheel 6 Oct 1 17:14 /dev/audio -> audio1 crw-rw-rw- 1 root wheel 30, 20 Oct 1 17:10 /dev/audio1 lrw-rw-rw- 1 root wheel 4 Oct 1 17:14 /dev/dsp -> dsp1 crw-rw-rw- 1 root wheel 30, 19 Oct 1 17:10 /dev/dsp1 lrw-rw-rw- 1 root wheel 5 Oct 1 17:15 /dev/dspW -> dspW1 crw-rw-rw- 1 root wheel 30, 21 Oct 1 17:10 /dev/dspW1 lrw-rw-rw- 1 root wheel 6 Oct 1 17:15 /dev/mixer -> mixer1 crw-rw-rw- 1 root wheel 30, 16 Oct 1 17:10 /dev/mixer1 > cat /dev/sndstat FreeBSD Audio Driver (981002) Oct 1 1999 14:54:27 Installed devices: pcm1: at 0x530 irq 5 dma 1:3 sequencer1: at 0x388 (not functional) I've attached the output of dmesg and my kernel config. I tried the OSS (www.opensound.com) driver, but that really wedged my machine good. Any suggestions? Jon -- Jon Dugan | Network Engineer, NCSA Network Development jdugan@ncsa.uiuc.edu | 57C CAB, 605 E Springfield, Champaign, IL 61820 217/244-7715 | http://www.ncsa.uiuc.edu/people/jdugan --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=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.3-RELEASE #3: Fri Oct 1 16:45:43 CDT 1999 jdugan@rivendell.ncsa.uiuc.edu:/usr/src/sys/compile/RIV-K7 Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K7(tm) Processor (499.03-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x612 Stepping = 2 Features=0x81f9ff AMD Features=0xc0400000<,,3DNow!> real memory = 268435456 (262144K bytes) config> di zp0 No such device: zp0 Invalid command or syntax. Type `?' for help. config> di ze0 No such device: ze0 Invalid command or syntax. Type `?' for help. config> di lnc0 No such device: lnc0 Invalid command or syntax. Type `?' for help. config> di le0 No such device: le0 Invalid command or syntax. Type `?' for help. config> di ie0 No such device: ie0 Invalid command or syntax. Type `?' for help. config> di fe0 No such device: fe0 Invalid command or syntax. Type `?' for help. config> di ex0 No such device: ex0 Invalid command or syntax. Type `?' for help. config> di ep0 No such device: ep0 Invalid command or syntax. Type `?' for help. config> di ed0 No such device: ed0 Invalid command or syntax. Type `?' for help. config> di cs0 No such device: cs0 Invalid command or syntax. Type `?' for help. config> di wt0 No such device: wt0 Invalid command or syntax. Type `?' for help. config> di wdc1 config> di scd0 No such device: scd0 Invalid command or syntax. Type `?' for help. config> di mcd0 No such device: mcd0 Invalid command or syntax. Type `?' for help. config> di matcdc0 No such device: matcdc0 Invalid command or syntax. Type `?' for help. config> di bt0 No such device: bt0 Invalid command or syntax. Type `?' for help. config> di aha0 No such device: aha0 Invalid command or syntax. Type `?' for help. config> di adv0 No such device: adv0 Invalid command or syntax. Type `?' for help. config> q avail memory = 257875968 (251832K bytes) Preloaded elf kernel "kernel" at 0xc0318000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc031809c. Probing for devices on PCI bus 0: chip0: rev 0x23 on pci0.0.0 chip1: rev 0x01 on pci0.1.0 xl0: <3Com 3c905B-TX Fast Etherlink XL> rev 0x30 int a irq 3 on pci0.3.0 xl0: Ethernet address: 00:50:da:22:64:de xl0: autoneg complete, link status good (full-duplex, 100Mbps) ahc0: rev 0x00 int a irq 10 on pci0.4.0 ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs ti0: rev 0x01 int a irq 10 on pci0.6.0 ti0: Ethernet address: 00:a0:cc:73:30:32 chip2: rev 0x14 on pci0.7.0 ide_pci0: rev 0x06 on pci0.7.1 bktr0: rev 0x02 int a irq 11 on pci0.9.0 bti2c0: iicbb0: on bti2c0 iicbus0: on iicbb0 master-only smbus0: on bti2c0 smb0: on smbus0 AVer Media TV/FM, Philips NTSC tuner. Probing for devices on PCI bus 1: vga0: rev 0x03 int a irq 11 on pci1.5.0 Probing for PnP devices: CSN 1 Vendor ID: CSC4837 [0x3748630e] Serial 0xffffffff Comp ID: @@@0000 [0x00000000] mss_attach 1 at 0x530 irq 5 dma 1:3 flags 0x13 pcm1 (CS423x/Yamaha/AD1816 sn 0xffffffff) at 0x530-0x537 irq 5 drq 1 flags 0x13 on isa Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0: failed to get data. psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1 not found at 0x2f8 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (atapi): , removable, dma, iordy wfd0: medium type unknown (no disk) ppc0 at 0x378 irq 7 flags 0x40 on isa ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: on ppbus 0 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Waiting 3 seconds for SCSI devices to settle changing rooda0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 8759MB (17938986 512 byte sectors: 255H 63S/T 1116C) t device to da0s1a cd0 at ahc0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 8) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed da1 at ahc0 bus 0 target 5 lun 0 da1: Removable Direct Access SCSI-2 device da1: 3.300MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present xl0: selecting MII, 100Mbps, half duplex xl0: selecting MII, 100Mbps, full duplex --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=RIV-K7 # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.freebsd.org/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.143.2.22 1999/09/14 22:53:30 jkh Exp $ machine "i386" cpu "I686_CPU" ident "RIV-K7" maxusers 128 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options MFS_ROOT #MFS usable as root device, "MFS" req'ed options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, "NFS" req'ed options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=3000 #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 KTRACE #ktrace(1) syscall trace support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores config kernel root on wd0 # 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 pnp0 # PnP support for ISA controller eisa0 controller pci0 # Floppy drives controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 # IDE controller and disks options "CMD640" # work around CMD640 chip deficiency controller wdc0 at isa? port "IO_WD1" bio irq 14 disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 disk wd2 at wdc1 drive 0 disk wd3 at wdc1 drive 1 # ATAPI devices options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device acd0 #IDE CD-ROM device wfd0 #IDE Floppy (e.g. LS-120) # SCSI Controllers # A single entry for any of these controllers (ncr, ahb, ahc) is # sufficient for any number of installed devices. controller ahc0 # AHA2940 and onboard AIC7xxx devices # SCSI peripherals # Only one of each of these is needed, they are dynamically allocated. controller scbus0 # SCSI bus (required) device da0 # Direct Access (disks) device sa0 # Sequential Access (tape etc) device cd0 # CD device pass0 # Passthrough device (direct SCSI) # atkbdc0 controls 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 # Floating point support - do not disable. device npx0 at isa? port IO_NPX irq 13 # Power management 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? # Serial (COM) ports 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 # Parallel port device ppc0 at isa? port? flags 0x40 net irq 7 controller ppbus0 # Parallel port bus (required) device lpt0 at ppbus? # Printer device plip0 at ppbus? # TCP/IP over parallel device ppi0 at ppbus? # Parallel port interface device #controller vpo0 at ppbus? # Requires scbus and da0 # PCI Ethernet NICs. device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') device ti0 # Tigon based GigE # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device sl 1 # Kernel SLIP pseudo-device ppp 1 # Kernel PPP pseudo-device tun 1 # Packet tunnel pseudo-device pty 128 # Pseudo-ttys (telnet etc) pseudo-device gzip # Exec gzipped a.out's # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # The number of devices determines the maximum number of # simultaneous BPF clients programs runnable. pseudo-device bpfilter 8 #Berkeley packet filter # Coda options CODA pseudo-device vcoda 4 # PnP options USERCONFIG controller pnp0 # various controllers needed for brooktree chip controller iicbus0 controller iicbb0 controller smbus0 device smb0 at smbus? # brooktree video capture device bktr0 # Sound device pcm0 --yrj/dFKFPuw6o+aM-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message