Integrated ICH5 sound on Intel D865GLC
Toomas Aas
Toomas.Aas at post.raad.tartu.ee
Wed Nov 7 13:05:15 PST 2007
Hello!
Is anyone here successfully using the onboard (ICH5) sound of Intel
D865GLC motherboard with 6.2? I'm trying to, and I'm not hearing any
:) I have tried both playing a .mp3 file via bmpx and simple 'cat
/dev/urandom > /dev/audio0.0', but there is simplly no sound, no
matter wheter I'm trying with my desktop speakers or headphones. This
system was running Windows XP until recently and sound worked there,
so it is likely that hardware is OK. The motherboard's BIOS is latest
version (P25). I tried booting with ACPI disabled (as suggested by
some Google search results) but this made no difference.
I do get one 'interesting' line in dmesg output ("pcm0: primary codec
not ready!"), I wonder whether this is somehow related to the problem...
Below is my system info.
# uname -a
FreeBSD originaal.kodu.lan 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Oct
17 21:59:22 EEST 2007
toomas at originaal.kodu.lan:/usr/obj/usr/src/sys/ORIGINAAL i386
# pciconf -lv | grep -B4 audio
pcm0 at pci0:31:5: class=0x040100 card=0xe0028086 chip=0x24d58086
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller'
class = multimedia
subclass = audio
# grep ^pcm /var/run/dmesg.boot
pcm0: <Intel ICH5 (82801EB)> mem
0xffa7f800-0xffa7f9ff,0xffa7f400-0xffa7f4ff irq 17 at device 31.5 on
pci0
pcm0: primary codec not ready!
pcm0: <Analog Devices AD1985 AC97 Codec>
# sysctl hw.snd.verbose=3 ; cat /dev/sndstat
hw.snd.verbose: 1 -> 3
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH5 (82801EB)> at io 0xffa7f800, 0xffa7f400 irq 17 bufsz
16384 (1p/1r/4v channels duplex default)
[pcm0:play:0:dsp0.0]: spd 48000, fmt 0x10000010, flags
0x00101000, 0x00000000
interrupts 6270, underruns 0, ready 0
[b:8192/4096/2|bs:131072/4096/32]
{userland} -> feeder_vchan_s16(0x10000010) -> {hardware}
[pcm0:record:0:dsp0.1]: spd 0, fmt 0x00000000/0x00000008,
flags 0x00000000, 0x00000000
interrupts 0, overruns 0, hfree 16384, sfree 0
[b:16384/8192/2|bs:0/0/0]
{hardware} -> feeder_root(0x00000000) -> {userland}
pcm0:play:0:dsp0.0[pcm0:virtual:0:dsp0.2]: spd 8000/48000,
fmt 0x00000008/0x10000010, flags 0x10000000, 0x00000010
interrupts 0, underruns 0, ready 0 [b:0/4096/0|bs:131072/128/1024]
{userland} -> feeder_root(0x00000008) ->
feeder_u8toulaw(0x00000008 -> 0x00000001) ->
feeder_ulawtos16le(0x00000001 -> 0x00000010) ->
feeder_monotostereo16(0x00000010 -> 0x10000010) -> feeder_rate(8000 ->
48000) -> {hardware}
pcm0:play:0:dsp0.0[pcm0:virtual:1:dsp0.3]: spd 0, fmt
0x00000000/0x00000008, flags 0x10000000, 0x00000000
interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0]
{userland} -> feeder_root(0x00000000) -> {hardware}
pcm0:play:0:dsp0.0[pcm0:virtual:2:dsp0.4]: spd 0, fmt
0x00000000/0x00000008, flags 0x10000000, 0x00000000
interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0]
{userland} -> feeder_root(0x00000000) -> {hardware}
pcm0:play:0:dsp0.0[pcm0:virtual:3:dsp0.5]: spd 0, fmt
0x00000000/0x00000008, flags 0x10000000, 0x00000000
interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0]
{userland} -> feeder_root(0x00000000) -> {hardware}
File Versions:
$FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.17.2.5 2007/02/04 06:17:14
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.93.2.5 2007/06/04 09:06:05
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.20.2.2 2005/12/30
19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.43.2.5 2007/05/13 20:53:39
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_volume.c,v 1.2.2.1 2005/12/30
19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.11.2.2 2006/01/29
02:27:28 ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.14.2.2 2006/01/29
02:27:28 ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.33.2.3 2006/03/07
15:51:19 jhb Exp $
$FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.14.2.1 2005/12/30 19:55:54
netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.80.2.7 2007/07/08 14:01:11
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.99.2.5 2007/05/13
20:53:39 ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.25.2.3 2007/04/26
08:21:43 ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.3.2.4 2007/07/04
04:04:42 ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.53.2.5 2007/05/13 20:53:39
ariff Exp $
$FreeBSD: src/sys/dev/sound/pci/ich.c,v 1.53.2.12 2007/07/12 06:39:38
ariff Exp $
$FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.3 2005/01/06 01:43:17
imp Exp $
# sysctl hw.snd dev.pcm
hw.snd.report_soft_formats: 1
hw.snd.targetirqrate: 32
hw.snd.compat_linux_mmap: 0
hw.snd.verbose: 3
hw.snd.maxautovchans: 4
hw.snd.unit: 0
hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 4
hw.snd.pcm0.ac97rate: 48000
dev.pcm.0.%desc: Intel ICH5 (82801EB)
dev.pcm.0.%driver: pcm
dev.pcm.0.%location: slot=31 function=5
dev.pcm.0.%pnpinfo: vendor=0x8086 device=0x24d5 subvendor=0x8086
subdevice=0xe002 class=0x040100
dev.pcm.0.%parent: pci0
# /usr/sbin/mixer
Mixer vol is currently set to 100:100
Mixer pcm is currently set to 100:100
Mixer speaker is currently set to 75:75
Mixer line is currently set to 75:75
Mixer mic is currently set to 0:0
Mixer cd is currently set to 75:75
Mixer rec is currently set to 0:0
Mixer igain is currently set to 0:0
Mixer ogain is currently set to 50:50
Mixer line1 is currently set to 75:75
Mixer phin is currently set to 0:0
Mixer phout is currently set to 50:50
Recording source: mic
# cat /sys/i386/conf/ORIGINAAL
machine i386
cpu I686_CPU
ident ORIGINAAL
options SCHED_4BSD # 4BSD scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
#options INET6 # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big
directories
options MD_ROOT # MD is a potential root device
#options NFSCLIENT # Network Filesystem Client
#options NFSSERVER # Network Filesystem Server
#options NFS_ROOT # NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires
PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_GPT # GUID Partition Tables.
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
#options COMPAT_FREEBSD4 # Compatible with FreeBSD4
#options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I/O APIC
# Bus support.device eisa
device pci
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
options ATA_STATIC_ID # Static device numbering
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device da # Direct Access (disks)
device cd # CD
device pass # Passthrough device (direct SCSI access)
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device kbdmux # keyboard multiplexer
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
device agp # support several AGP chipsets
# Add suspend/resume support for the i8254.
device pmtimer
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
#device sl # Kernel SLIP
#device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
#device gif # IPv6 and IPv4 tunneling
#device faith # IPv6-to-IPv4 relaying (translation)
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
# FireWire support
device firewire # FireWire bus code
device sbp # SCSI over FireWire (Requires scbus and da)
# Sound
device sound
device snd_ich
# SMBUS
device smb
device smbus
device ichsmb
# ATAPI/CAM
device atapicam
# Linux emulator
options COMPAT_LINUX
# pf
device pf
device pflog
More information about the freebsd-multimedia
mailing list