Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2005 18:40:49 +0300 (MSK)
From:      yegor@box.vsi.ru
To:        freebsd-questions@freebsd.org
Subject:   M571 Internal Audio
Message-ID:  <1132328449.437df601a029c@webmail.vsi.ru>

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

[-- Attachment #1 --]
Hello.

I've got a problem with M571 motherboard integrated audio under 4.10-RELEASE.

When play .au, speakers produce some noise for a second.
When play .mp3, speakers are silent and kernel reports:

pcm0:play:0: play interrupt timeout, channel dead

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <CMI8330> at io 0x530 irq 11 drq 0 bufsz 4096 (1p/1r/0v channels duplex)

As of hardware, Windows 2000 recognizes two devices, both work fine:

CM8330 SB16 Driver (WDM)
Port: 0240-024f
IRQ: 07
DMA: 03, 07

C-Media CM8330 Audio Driver (WDM)
Port: 0530-0537, 0388-038f
IRQ: 11
DMA: 00

FreeBSD finds only the latter with help of snd_mss.ko.

Any ideas about making one or both devices work?

Thanks in advance

[-- Attachment #2 --]
Copyright (c) 1992-2004 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.10-RELEASE #0: Mon Oct 17 22:50:52 MSD 2005
    root@yegor.fds:/usr/src/sys/compile/SOUND
Timecounter "i8254"  frequency 1193182 Hz
CPU: Cyrix 6x86MX (187.40-MHz 686-class CPU)
  Origin = "CyrixInstead"  Id = 0x600  Stepping = 0  DIR=0x0652
  Features=0x80a135<FPU,DE,TSC,MSR,CX8,PGE,CMOV,MMX>
real memory  = 65011712 (63488K bytes)
avail memory = 59863040 (58460K bytes)
Preloaded elf kernel "kernel" at 0xc0364000.
Preloaded elf module "snd_mss.ko" at 0xc036409c.
Preloaded elf module "snd_pcm.ko" at 0xc036413c.
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 5591 ATA33 controller> port 0x4000-0x400f,0xc1401280-0xc1401283,0xa3174a98-0xa3174a9f,0x38e82900-0x38e82903,0x704208e0-0x704208e7 irq 0 at device 1.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <SiS 5597/98 SVGA controller> at 20.0 irq 0
orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xec000-0xeffff on isa0
pmtimer0 on isa0
fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ed0 at port 0x300-0x31f iomem 0xd8000-0xdbfff irq 5 on isa0
ed0: address 00:80:c8:2f:f7:1a, type NE2000 (16 bit) 
pcm0: <CMI8330> at port 0x530-0x537,0x388-0x38f irq 11 drq 0 on isa0
unknown: <PNP0c01> can't assign resources
unknown: <PNP0000> can't assign resources
unknown: <PNP0303> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0400> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0c02> can't assign resources
ad0: 515MB <WDC AC2540H> [1048/16/63] at ata0-master PIO3
ad1: 6149MB <QUANTUM FIREBALL EX6.4A> [13328/15/63] at ata0-slave UDMA33
ad2: 57241MB <ST360021A> [116301/16/63] at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a

[-- Attachment #3 --]
machine		i386
cpu		I686_CPU
ident		KIT2
maxusers	0
options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_DIRHASH		#Improve performance on big directories
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
options 	NFS_ROOT		#NFS usable as root device, NFS required
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug 
					# output.  Adds ~215k to driver.
device		isa
device		pci
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		fd1	at fdc0 drive 1
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		vga0	at isa?
pseudo-device	splash
device		sc0	at isa? flags 0x100
device		npx0	at nexus? port IO_NPX irq 13
device		apm0	at nexus? disable flags 0x20 # Advanced Power Management
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
device		miibus		# MII bus support
device		ed0	at isa? port 0x300 irq 5 iomem 0xd8000
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		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
pseudo-device	gif		# IPv6 and IPv4 tunneling
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
pseudo-device	bpf		#Berkeley packet filter
options PNPBIOS

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