From owner-freebsd-multimedia@FreeBSD.ORG Wed Nov 7 21:05:15 2007 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73D5916A41A for ; Wed, 7 Nov 2007 21:05:15 +0000 (UTC) (envelope-from Toomas.Aas@post.raad.tartu.ee) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [194.126.106.100]) by mx1.freebsd.org (Postfix) with ESMTP id B111E13C4AC for ; Wed, 7 Nov 2007 21:05:14 +0000 (UTC) (envelope-from Toomas.Aas@post.raad.tartu.ee) Received: from localhost (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id E5633BAF7 for ; Wed, 7 Nov 2007 22:35:32 +0200 (EET) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by localhost (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ceQBLynQl6sM for ; Wed, 7 Nov 2007 22:35:27 +0200 (EET) Received: by kuller.raad.tartu.ee (Postfix, from userid 80) id 8C412BAF0; Wed, 7 Nov 2007 22:35:26 +0200 (EET) Received: from 88-196-97-133-dsl.trt.estpak.ee (88-196-97-133-dsl.trt.estpak.ee [88.196.97.133]) by webmail.raad.tartu.ee (Horde MIME library) with HTTP; Wed, 07 Nov 2007 22:35:25 +0200 Message-ID: <20071107223525.7cdgzfww80gss0g0@webmail.raad.tartu.ee> Date: Wed, 07 Nov 2007 22:35:25 +0200 From: Toomas Aas To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.5-cvs) X-Originating-IP: 88.196.97.133 Subject: Integrated ICH5 sound on Intel D865GLC X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 21:05:15 -0000 Hello! Is anyone here successfully using the onboard (ICH5) sound of Intel =20 D865GLC motherboard with 6.2? I'm trying to, and I'm not hearing any =20 :) I have tried both playing a .mp3 file via bmpx and simple 'cat =20 /dev/urandom > /dev/audio0.0', but there is simplly no sound, no =20 matter wheter I'm trying with my desktop speakers or headphones. This =20 system was running Windows XP until recently and sound worked there, =20 so it is likely that hardware is OK. The motherboard's BIOS is latest =20 version (P25). I tried booting with ACPI disabled (as suggested by =20 some Google search results) but this made no difference. I do get one 'interesting' line in dmesg output ("pcm0: primary codec =20 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 =20 17 21:59:22 EEST 2007 =20 toomas@originaal.kodu.lan:/usr/obj/usr/src/sys/ORIGINAAL i386 # pciconf -lv | grep -B4 audio pcm0@pci0:31:5: class=3D0x040100 card=3D0xe0028086 chip=3D0x24d58086 =20 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller' class =3D multimedia subclass =3D audio # grep ^pcm /var/run/dmesg.boot pcm0: mem =20 0xffa7f800-0xffa7f9ff,0xffa7f400-0xffa7f4ff irq 17 at device 31.5 on =20 pci0 pcm0: primary codec not ready! pcm0: # sysctl hw.snd.verbose=3D3 ; cat /dev/sndstat hw.snd.verbose: 1 -> 3 FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xffa7f800, 0xffa7f400 irq 17 bufsz =20 16384 (1p/1r/4v channels duplex default) [pcm0:play:0:dsp0.0]: spd 48000, fmt 0x10000010, flags =20 0x00101000, 0x00000000 interrupts 6270, underruns 0, ready 0 =20 [b:8192/4096/2|bs:131072/4096/32] {userland} -> feeder_vchan_s16(0x10000010) -> {hardware} [pcm0:record:0:dsp0.1]: spd 0, fmt 0x00000000/0x00000008, =20 flags 0x00000000, 0x00000000 interrupts 0, overruns 0, hfree 16384, sfree 0 =20 [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, =20 fmt 0x00000008/0x10000010, flags 0x10000000, 0x00000010 interrupts 0, underruns 0, ready 0 [b:0/4096/0|bs:131072/128/1024] {userland} -> feeder_root(0x00000008) -> =20 feeder_u8toulaw(0x00000008 -> 0x00000001) -> =20 feeder_ulawtos16le(0x00000001 -> 0x00000010) -> =20 feeder_monotostereo16(0x00000010 -> 0x10000010) -> feeder_rate(8000 -> =20 48000) -> {hardware} pcm0:play:0:dsp0.0[pcm0:virtual:1:dsp0.3]: spd 0, fmt =20 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 =20 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 =20 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 =20 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.93.2.5 2007/06/04 09:06:05 =20 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.20.2.2 2005/12/30 =20 19:55:54 netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.43.2.5 2007/05/13 20:53:39 =20 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_volume.c,v 1.2.2.1 2005/12/30 =20 19:55:54 netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.11.2.2 2006/01/29 =20 02:27:28 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.14.2.2 2006/01/29 =20 02:27:28 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.33.2.3 2006/03/07 =20 15:51:19 jhb Exp $ $FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.14.2.1 2005/12/30 19:55:54 =20 netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.80.2.7 2007/07/08 14:01:11 =20 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.99.2.5 2007/05/13 =20 20:53:39 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.25.2.3 2007/04/26 =20 08:21:43 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.3.2.4 2007/07/04 =20 04:04:42 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.53.2.5 2007/05/13 20:53:39 =20 ariff Exp $ $FreeBSD: src/sys/dev/sound/pci/ich.c,v 1.53.2.12 2007/07/12 06:39:38 =20 ariff Exp $ $FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.3 2005/01/06 01:43:17 =20 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=3D31 function=3D5 dev.pcm.0.%pnpinfo: vendor=3D0x8086 device=3D0x24d5 subvendor=3D0x8086 =20 subdevice=3D0xe002 class=3D0x040100 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 =20 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 NFSCLIEN= T options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires =20 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=3D5000 # Delay (in ms) before probing SCS= I 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 =20 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