From owner-freebsd-multimedia Wed Mar 10 11:25:40 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from pcayk.ukc.ac.uk (pcayk.ukc.ac.uk [129.12.41.131]) by hub.freebsd.org (Postfix) with ESMTP id 0D889154B4 for ; Wed, 10 Mar 1999 11:25:13 -0800 (PST) (envelope-from dlombardo@excite.com) Received: from excite.com (localhost [127.0.0.1]) by pcayk.ukc.ac.uk (8.9.2/8.9.2) with ESMTP id TAA00592; Wed, 10 Mar 1999 19:23:33 GMT (envelope-from dlombardo@excite.com) Message-ID: <36E6C6B5.1F3E7B1@excite.com> Date: Wed, 10 Mar 1999 19:23:33 +0000 From: Dean Lombardo Organization: University of Kent at Canterbury, UK X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: sanpei@sanpei.org Cc: multimedia@freebsd.org Subject: Re: ES1868 sound (still) fades away Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear Sir, I would like to apologise for the delay in getting back to you. I have just downloaded and tried the latest ESS driver from your Web site (http://www.jp.FreeBSD.org/~sanpei/), as well as upgraded from 2.2.8 to 3.1-stable; yet the problem persists. When I run "mixer", as you specified below, it shows the default settings (similar to the ones below); when I do "mixer vol 100", the volume goes up for half a second, then starts fading away, while the mixer still shows vol 100. It is possible to keep the volume level up by running the mixer program every second or so. Attached below are my kernel config file and the output of dmesg and pnpinfo. Any advice will be much appreciated. Thanks, Dean ----------------------------------- Kernel config: machine "i386" cpu "I586_CPU" cpu "I686_CPU" ident SHAKA 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 "EXT2FS" #Linux filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_LINUX #Linux binary compatibility options USER_LDT #Allow user-level control of i386 LDT 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 "VM86" options VESA options "P1003_1B" #POSIX P1003.1B extensions options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=199309L" config kernel root on wd0 controller isa0 controller eisa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 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 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device acd0 #IDE CD-ROM controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 # AT keyboard device vga0 at isa? port ? conflicts pseudo-device splash device sc0 at isa? tty options MAXCONS=12 options SC_HISTORY_SIZE=2000 # number of history buffer lines options XSERVER # support for X server options FAT_CURSOR # start with block cursor device npx0 at isa? port IO_NPX irq 13 device apm0 at isa? # flags 0x31 # Advanced Power Management # Serial ports device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 device sio1 at isa? disable 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? net irq 7 controller ppbus0 device nlpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? # Network card(s) device ed0 at isa? port 0x280 net irq 3 iomem 0xd0000 # Pseudo devices pseudo-device loop pseudo-device ether pseudo-device sl 1 pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 256 # pseudo-ttys - can go as high as 256 pseudo-device gzip # Exec gzipped a.out's pseudo-device vn # Vnode driver (turns a file into a device) pseudo-device ccd 4 # Concatenated disk driver # This provides support for System V shared memory and message queues. options SYSVSHM options SYSVSEM options SYSVMSG pseudo-device bpfilter 4 #Berkeley packet filter # PnP Support controller pnp0 # Sound card support device pcm0 at isa? port ? tty irq 5 drq 1 # flags 0x13 (doesn't work also) ------------------------------------------------------------- dmesg output: 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.1-STABLE #1: Wed Mar 10 18:29:39 GMT 1999 toor@shaka.ukc.ac.uk:/usr/src/sys/compile/SHAKA Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P55C (199.90-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x544 Stepping=4 Features=0x8001bf real memory = 134217728 (131072K bytes) avail memory = 127201280 (124220K bytes) Preloaded elf kernel "kernel" at 0xf030f000. Preloaded splash_image_data "/boot/bsdaemon.bmp" at 0xf030f09c. Preloaded elf module "vesa.ko" at 0xf030f0ec. Preloaded elf module "splash_bmp.ko" at 0xf030f188. VESA: v1.2, 2048k memory, flags:0x0, mode table:0xf030a00c (1000014) VESA: Cirrus Logic GD-5436 VGA Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 ide_pci0: rev 0x00 on pci0.7.1 vga0: rev 0x00 on pci0.10.0 Probing for PnP devices: CSN 1 Vendor ID: ESS1868 [0x68187316] Serial 0xffffffff Comp ID: @@@0000 [0x00000000] ESS1868 (rev 11, native mode) pcm1 (ESS1868 sn 0xffffffff) at 0x220-0x22f irq 5 drq 1 on isa Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <12 virtual consoles, flags=0x0> ed0 at 0x280-0x29f irq 3 maddr 0xd0000 msize 16384 on isa ed0: address 00:00:c0:6d:27:1a, type SMC8216/SMC8216C (16 bit) atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A pcm0 not probed due to drq conflict with pcm1 at 1 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): wd0: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (atapi): , removable, dma, iordy acd0: drive speed 1375KB/sec, 120KB cache acd0: supported read types: CD-DA acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (wd2): wd2: 4892MB (10018890 sectors), 10602 cyls, 15 heads, 63 S/T, 512 B/S ppc0 at 0x378 irq 7 on isa ppc0: W83877F chipset (NIBBLE-only) in COMPATIBLE mode nlpt0: on ppbus 0 nlpt0: 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 apm0 on isa apm: found APM BIOS version 1.2 Intel Pentium detected, installing workaround for F00F bug ccd0-3: Concatenated disk drivers changing root device to wd0s1a ------------------------------------------------------------- pnpinfo output 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: 0x0fe0 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x01 Logical device #1 IO: 0x0220 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 5 0 DMA 1 3 IO range check 0x00 activate 0x01 Logical device #2 IO: 0x0201 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x01 Logical device #3 IO: 0x0168 0x036e 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 12 0 DMA 4 4 IO range check 0x00 activate 0x01 --------Original Message------------ Date: Sun, 21 Feb 1999 23:38:27 +0900 (JST) From: sanpei@sanpei.org (MIHIRA Yoshiro) To: dlombardo@excite.com Cc: multimedia@FreeBSD.ORG, sanpei@sanpei.org Subject: Re: ES1868 sound fades away Message-ID: <199902211438.XAA00523@lavender.sanpei.org> In-Reply-To: Your message of "Thu, 18 Feb 1999 06:23:44 PST". <919347824.21274.665@excite.com> Hi. I'm one maintainer of ESS driver. Thank you for testing latest ESS driver from http://www.jp.FreeBSD.ORG/~sanpei/ I use mpg123 for mp3 player, but never have such problem. I guess that We tested only non PnP card because We tested with NOTE-PC, not tested with PnP Sound card. Please check PnP configuration or if you can use non-PnP mode, please test it. Or, please check volume level by mixer command. And please report how it change mixer level when you play back with mpg123. % mixer Mixer vol is currently set to 90:90 Mixer synth is currently set to 0:0 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 0:0 Mixer mic is currently set to 0:0 Mixer cd is currently set to 0:0 Thank you. MIHIRA Yoshiro dlombardo@excite.com Wrote: >> I'm running FreeBSD 2.2.8-stable; it finds the card >> (PnP ES1868), which calls itself pcm1. When I start >> playing my favourite mp3 (mpg123), it's almost >> inaudible, and I have to increase the master volume >> using e.g. xmix. For about 1 second, the sound is >> perfect, whereupon it starts fading out to that >> initial inaudible level. The only way to keep the >> volume up is to continuously move the sliding bar in >> xmix up and down (slightly). I've tried using >> various settings for DMA channels (e.g. the default >> 0&5, also 1&5, 0&3, 1&3, etc.) all to no avail. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message