Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2003 14:09:40 -0500 (EST)
From:      Anish Mistry <amistry@am-productions.biz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/47029: Static and popping with Hercules GameTheatre XP
Message-ID:  <200301131909.h0DJ9eJc075408@www.am-productions.biz>

next in thread | raw e-mail | index | archive | help

>Number:         47029
>Category:       misc
>Synopsis:       Static and popping with Hercules GameTheatre XP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 13 11:00:10 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Anish Mistry
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
AM Productions
>Environment:
System: FreeBSD bigguy.am-productions.biz 4.7-STABLE FreeBSD 4.7-STABLE #33: Sat Jan 11 14:36:32 EST 2003 amistry@bigguy.am-productions.biz:/usr/src/sys/compile/BIGGUY i386

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
	FreeBSD 4.7-STABLE #33: Sat Jan 11 14:36:32 EST 2003
	    amistry@bigguy.am-productions.biz:/usr/src/sys/compile/BIGGUY
	    Calibrating clock(s) ... TSC clock: 601431450 Hz, i8254 clock:
1193316 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: AMD Duron(tm) processor (601.37-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x630  Stepping = 0

Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
  Data TLB: 24 entries, fully associative
  Instruction TLB: 16 entries, fully associative
  L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
  L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way
associative
L2 internal cache: 1 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative
real memory  = 268369920 (262080K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x00532000 - 0x0ffe7fff, 262889472 bytes (64182 pages)
avail memory = 255975424 (249976K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fb000
bios32: Entry = 0xfb470 (c00fb470)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xb4a0
pnpbios: Found PnP BIOS data at 0xc00fbf70
pnpbios: Entry = f0000:bfa0  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f76e0
Preloaded elf kernel "kernel" at 0xc050b000.
Preloaded elf module "linux.ko" at 0xc050b0a8.
Preloaded elf module "agp.ko" at 0xc050b148.
Preloaded elf module "nvidia.ko" at 0xc050b1e4.
Pentium Pro MTRR support enabled
Creating DISK md0
md0: Malloc disk
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80003840
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=03051106)
Using $PIR table, 8 entries at 0xc00fde30
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
found-> vendor=0x1106, dev=0x0305, revid=0x03
        class=06-00-00, hdrtype=0x00, mfdev=0
	        subordinatebus=0        secondarybus=0
		        map[10]: type 1, range 32, base d8000000, size 26
			found-> vendor=0x1106, dev=0x8305, revid=0x00
			        class=06-04-00, hdrtype=0x01, mfdev=0
				        subordinatebus=1        secondarybus=1
					found-> vendor=0x1106, dev=0x0686, revid=0x22
					        class=06-01-00, hdrtype=0x00, mfdev=1
						        subordinatebus=0 secondarybus=0
							found->
vendor=0x1106, dev=0x0571, revid=0x10
        class=01-01-8a, hdrtype=0x00, mfdev=0
	        subordinatebus=0        secondarybus=0
		        map[20]: type 1, range 32, base 0000d000, size  4
			found-> vendor=0x1106, dev=0x3038, revid=0x10
			        class=0c-03-00, hdrtype=0x00, mfdev=0
				        subordinatebus=0        secondarybus=0
					        intpin=d, irq=9
						        map[20]: type 1,
range 32, base 0000d400, size  5
found-> vendor=0x1106, dev=0x3038, revid=0x10
        class=0c-03-00, hdrtype=0x00, mfdev=0
	        subordinatebus=0        secondarybus=0
		        intpin=d, irq=9
			        map[20]: type 1, range 32, base 0000d800,
size  5
found-> vendor=0x1106, dev=0x3057, revid=0x30
        class=06-80-00, hdrtype=0x00, mfdev=0
	        subordinatebus=0        secondarybus=0
		found-> vendor=0x1106, dev=0x3058, revid=0x20
		        class=04-01-00, hdrtype=0x00, mfdev=0
			        subordinatebus=0        secondarybus=0
				        intpin=c, irq=5
					        map[10]: type 1, range 32,
base 0000dc00, size  8
        map[14]: type 1, range 32, base 0000e000, size  2
	        map[18]: type 1, range 32, base 0000e400, size  2
		found-> vendor=0x11ad, dev=0xc115, revid=0x25
		        class=02-00-00, hdrtype=0x00, mfdev=0
			        subordinatebus=0        secondarybus=0
				        intpin=a, irq=11
					        map[10]: type 1, range 32,
base 0000e800, size  8
        map[14]: type 1, range 32, base df103000, size  8
	found-> vendor=0x109e, dev=0x036e, revid=0x11
	        class=04-00-00, hdrtype=0x00, mfdev=1
		        subordinatebus=0        secondarybus=0
			        intpin=a, irq=10
				        map[10]: type 1, range 32, base
df100000, size 12
found-> vendor=0x109e, dev=0x0878, revid=0x11
        class=04-80-00, hdrtype=0x00, mfdev=1
	        subordinatebus=0        secondarybus=0
		        intpin=a, irq=10
			        map[10]: type 1, range 32, base df101000,
size 12
found-> vendor=0x1013, dev=0x6003, revid=0x01
        class=04-01-00, hdrtype=0x00, mfdev=0
	        subordinatebus=0        secondarybus=0
		        intpin=a, irq=5
			        map[10]: type 1, range 32, base df102000,
size 12
        map[14]: type 1, range 32, base df000000, size 20
	pci0: <PCI bus> on pcib0
	agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem
0xd8000000-0xdbffffff
 at device 0.0 on pci0
 agp0: allocating GATT for aperture of size 256M
 pcib1: <VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 found-> vendor=0x10de, dev=0x0110, revid=0xb2
         class=03-00-00, hdrtype=0x00, mfdev=0
	         subordinatebus=0        secondarybus=0
		         intpin=a, irq=11
			         map[10]: type 1, range 32, base dc000000,
size 24
        map[14]: type 1, range 32, base d0000000, size 27
	pci1: <PCI bus> on pcib1
	nvidia0: <GeForce2 MX/MX 400> mem
0xd0000000-0xd7ffffff,0xdc000000-0xdcffffff ir
q 11 at device 0.0 on pci1
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0xd000-0xd00f at device 7.1 on
pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd000
ata0: mask=03 ostat0=50 ostat2=50
ata0-master: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=50
ata0-master: ATA 01 a5
ata0-slave: ATA 01 a5
ata0: devices=03
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd008
ata1: mask=03 ostat0=50 ostat2=00
ata1-master: ATAPI 14 eb
ata1-slave: ATAPI 7f 7f
ata1: mask=03 stat0=00 stat1=00
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 9 at device 7.2 on
pci
0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2
uhub1: 4 ports with 4 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 9 at device 7.3 on
pci
0
        using shared irq9.
	usb1: <VIA 83C572 USB controller> on uhci1
	usb1: USB revision 1.0
	uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
	uhub2: 2 ports with 2 removable, self powered
	viapropm0: SMBus I/O base at 0x5000
	viapropm0: <VIA VT82C686A Power Management Unit> port 0x5000-0x500f
at device 7.
4 on pci0
viapropm0: SMBus revision code 0x0
smb0: <SMBus general purpose I/O> on smbus0
pcm0: <VIA VT82C686A> port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 5
at de
vice 7.5 on pci0
pcm0: ac97 codec id 0x49434511 (ICEnsemble ICE1232)
pcm0: ac97 codec features headphone, 18 bit DAC, 18 bit ADC, 5 bit master
volume
, Reserved 27
pcm0: ac97 primary codec extended features variable rate PCM, AMAP
pcm0: sndbuf_setmap f846000, 1000; 0xc15d2000 -> f846000
pcm0: sndbuf_setmap f808000, 1000; 0xc15d4000 -> f808000
dc0: <LC82C115 PNIC II 10/100BaseTX> port 0xe800-0xe8ff mem
0xdf103000-0xdf1030f
f irq 11 at device 8.0 on pci0
        using shared irq11.
	dc0: Ethernet address: 00:00:94:b6:42:bc
	miibus0: <MII bus> on dc0
	dcphy0: <Intel 21143 NWAY media interface> on miibus0
	dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
	bpf: dc0 attached
	bktr0: <BrookTree 878> mem 0xdf100000-0xdf100fff irq 10 at device
9.0 on pci0
iicbb0: <I2C bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus1: <System Management Bus> on iicsmb0
smb1: <SMBus general purpose I/O> on smbus1
iic0: <I2C general purpose I/O> on iicbus0
iicbus1: <Philips I2C bus> on iicbb0 master-only
iicsmb1: <I2C to SMB bridge> on iicbus1
smbus2: <System Management Bus> on iicsmb1
smb2: <SMBus general purpose I/O> on smbus2
iic1: <I2C general purpose I/O> on iicbus1
smbus3: <System Management Bus> on bti2c0
smb3: <SMBus general purpose I/O> on smbus3
brooktree0: PCI bus latency is 32.
bktr0: buffer size 3555328, addr 0x5000000
bktr0: GPIO is 0x00ffffff
bktr0: subsystem 0x1002 0x0003
bktr0: Warning - card vendor 0x1002 (model 0x0003) unknown.
bktr0: card signature:  00  00  00  00  00  00  00  00  00  00  01  00  01  00
00  00

bktr0: Pinnacle/Miro TV, Temic NTSC tuner.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 9.1 irq 10
csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> mem
0xdf000000-0xdf0fffff,0xdf102000-
0xdf102fff irq 5 at device 10.0 on pci0
csa: card is Hercules Game Theatre XP
        using shared irq5.
	pcm1: <CS461x PCM Audio> on csa0
	pcm1: ac97 codec id 0x4352592d (Cirrus Logic CS4630)
	pcm1: ac97 codec features headphone, 20 bit DAC, 18 bit ADC, 6 bit
master volume
, Crystal Semi 3D Stereo Enhancement
pcm1: sndbuf_setmap f857000, 1000; 0xc15e3000 -> f857000
pcm1: sndbuf_setmap f85b000, 1000; 0xc15e7000 -> f85b000
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROM> at iomem 0xc0000-0xcc7ff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3-00, 3 buttons
psm0: config:00000000, flags:00000000, packet size:4
psm0: syncmask:08, syncbits:08
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 54 80
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 54 80
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 54 80
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: not probed (disabled)
sio3: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE/ECP/NIBBLE_ID/ECP_ID/Extensibility Link
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 920C> MLC,PCL,PML
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
  1:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
   0 accounted for
   Device configuration finished.
   bpf: lo0 attached
   Linux ELF exec handler installed
   ad0: success setting UDMA4 on VIA chip
   Creating DISK ad0
   ar: FreeBSD check1 failed
   ad0: <Maxtor 31536U2/BAC51KJ0> ATA-6 disk at ata0-master
   ad0: 14655MB (30015216 sectors), 29777 C, 16 H, 63 S, 512 B
   ad0: 16 secs/int, 1 depth queue, UDMA66
   ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
   ad1: success setting UDMA4 on VIA chip
   Creating DISK ad1
   ar: FreeBSD check1 failed
   ad1: <WDC WD400AB-00CMB0/05.04E05> ATA-5 disk at ata0-slave
   ad1: 38166MB (78165360 sectors), 77545 C, 16 H, 63 S, 512 B
   ad1: 16 secs/int, 1 depth queue, UDMA66
   ad1: piomode=4 dmamode=2 udmamode=5 cblid=1
   ata1-master: piomode=4 dmamode=2 udmamode=2 dmaflag=1
   ata1-master: success setting UDMA2 on VIA chip
   acd0: <ATAPI 52X CDROM/VER-1.40> CDROM drive at ata1 as master
   acd0: read 171KB/s (32KB/s), 128KB buffer, UDMA33
   acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
   acd0: Writes:
   acd0: Audio: play, 255 volume levels
   acd0: Mechanism: ejectable tray, unlocked
   acd0: Medium: no/blank disc
   Mounting root from ufs:/dev/ad1s1a
   ad1s1: type 0xa5, start 63, end = 20964824, size 20964762 : OK
   ad1s2: type 0xc, start 20964825, end = 78156224, size 57191400 : OK
   start_init: trying /sbin/init
   ad0s1: type 0x7, start 63, end = 29993354, size 29993292 : OK
   splash: image decoder found: logo_saver
   

	
>Description:
	When playing sound using the pcm driver with the Hercules Game
Theatre XP there is popping, static, and a bit of distortion.
>How-To-Repeat:
	       Aquire a Hercules GameTheatre XP and add sound support using 
	device pcm.  Play any music using xmms, esdplay, etc. and hear the 
	distortion.  Increase the pcm mixer volume and the distortion and
	static will become worse as the pcm volume increases.
>Fix:
        I've attached a small patch to the ac97 code to correctly identify the
	CS4630 chipset that the GameTheatre XP uses in the dmesg, but it doesn't
	fix the problem.
	

--- gtxp-ident.patch begins here ---
--- sys/dev/sound/pcm/ac97.c.orig	Wed Dec 25 00:33:29 2002
+++ sys/dev/sound/pcm/ac97.c	Mon Jan 13 13:16:48 2003
@@ -102,6 +102,7 @@
 	{ 0x43525941, 0, "Cirrus Logic CS4201A" },
 	{ 0x43525951, 0, "Cirrus Logic CS4205A" },
 	{ 0x43525961, 0, "Cirrus Logic CS4291A" },
+	{ 0x4352592d, 0, "Cirrus Logic CS4630" },
 	{ 0x45838308, 0, "ESS Technology ES1921" },
 	{ 0x49434511, 0, "ICEnsemble ICE1232" },
 	{ 0x4e534331, 0, "National Semiconductor LM4549" },
--- gtxp-ident.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301131909.h0DJ9eJc075408>