Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2007 21:18:15 -0500
From:      Don Hinton <hintonda@gmail.com>
To:        freebsd-multimedia@freebsd.org
Subject:   snd_hda loads, but no sound on HP Pavilion dv9500t laptop
Message-ID:  <200708042118.15330.hintonda@gmail.com>

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

I can load snd_hda on an HP Pavilion dv9500t, but don't get any sound.

I cvsup'd and applied the patch from: 
http://people.freebsd.org/~ariff/current.diff  dtd: 2007-Jul-12 06:49:19

Here's the output requested, thanks in advance...

Sun Aug  5 02:03:37 UTC 2007
# uname -a
FreeBSD nap 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sat Aug  4 16:18:20 CDT 2007     
root@nap:/usr/obj/usr/src/sys/HP_SMP  i386

using multimedia instead of audio, because audio does not appear
# pciconf -lv |grep -A 3 multimedia
pcm0@pci0:27:0: class=0x040300 card=0x30cc103c chip=0x284b8086 rev=0x03 
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) HD Audio Controller'
    class      = multimedia

# dmesg | grep ^pcm
pcm0: <Intel 82801H High Definition Audio Controller> mem 
0xf8700000-0xf8703fff irq 22 at device 27.0 on pci0
pcm0: [ITHREAD]
pcm0: <HDA Codec: Realtek ALC268>
pcm0: <HDA Driver Revision: 20070710_0047>
pcm0: detached
pcm0: <Intel 82801H High Definition Audio Controller> mem 
0xf8700000-0xf8703fff irq 22 at device 27.0 on pci0
pcm0: [ITHREAD]
pcm0: <HDA Codec: Realtek ALC268>
pcm0: <HDA Driver Revision: 20070710_0047>

# sysctl hw.snd.verbose=3 ; cat /dev/sndstatFreeBSD Audio Driver (newpcm: 
32bit 2007061600/i386)
Installed devices:
pcm0: <Intel 82801H High Definition Audio Controller> at memory 0xf8700000 irq 
22 kld snd_hda [20070710_0047] [MPSAFE] (1p:1v/1r:1v channels duplex default)
        [pcm0:play:dsp0.p0]: spd 48000, fmt 0x10000010, flags 0x00101000, 
0x00000000
        interrupts 0, underruns 0, feed 0, ready 0 [b:4096/2048/2|
bs:4096/2048/2]
        {userland} -> feeder_vchan(0x10000010) -> {hardware}
        pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 0, fmt 
0x00000000/0x00000008, flags 0x10000000, 0x00000000
        interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]
        {userland} -> feeder_root(0x00000000) -> {hardware}
        [pcm0:record:dsp0.r0]: spd 48000, fmt 0x10000010, flags 0x00101000, 
0x00000000
        interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096 
[b:4096/2048/2|bs:4096/2048/2]
        {hardware} -> feeder_root(0x10000010) -> feeder_vchan(0x10000010) -> 
{userland}
        pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 0, fmt 
0x00000000/0x00000008, flags 0x10000000, 0x00000000
        interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0]
        {hardware} -> feeder_root(0x00000000) -> {userland}

File Versions:
$FreeBSD: src/sys/dev/sound/pci/hda/hdac.c,v 1.44 2007/07/09 20:42:11 ariff 
Exp $
$FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.3 2005/01/06 01:43:17 imp Exp 
$
$FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.18 2007/03/15 18:19:01 ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.36 2007/06/16 03:37:28 ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.107 2007/07/04 12:33:11 ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.119 2007/06/17 19:02:05 ariff Exp 
$
$FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.23 2007/06/02 13:07:44 joel 
Exp $
$FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.73 2007/06/17 06:10:43 ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.28 2007/06/16 03:37:28 ariff Exp 
$
$FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.44 2007/06/17 15:53:11 ariff Exp 
$
$FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.121 2007/06/16 03:37:28 ariff 
Exp $
$FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.61 2007/06/16 03:37:28 ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.37 2007/06/16 03:37:27 ariff Exp 
$
$FreeBSD: src/sys/dev/sound/pcm/feeder_volume.c,v 1.6 2007/06/16 20:36:39 
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.23 2007/06/16 03:37:28 ariff 
Exp $
$FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.10 2007/07/01 17:28:58 ariff 
Exp $

# sysctl hw.snd dev.pcm
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.feeder_buffersize: 16384
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.verbose: 3
hw.snd.maxautovchans: 16
hw.snd.default_unit: 0
hw.snd.version: 2007061600/i386
hw.snd.default_auto: 0
dev.pcm.0.%desc: Intel 82801H High Definition Audio Controller
dev.pcm.0.%driver: pcm
dev.pcm.0.%location: slot=27 function=0 handle=\_SB_.PCI0.HDEF
dev.pcm.0.%pnpinfo: vendor=0x8086 device=0x284b subvendor=0x103c 
subdevice=0x30cc class=0x040300
dev.pcm.0.%parent: pci0
dev.pcm.0.play.vchans: 1
dev.pcm.0.play.vchanrate: 48000
dev.pcm.0.play.vchanformat: s16le
dev.pcm.0.rec.vchans: 1
dev.pcm.0.rec.vchanrate: 48000
dev.pcm.0.rec.vchanformat: s16le
dev.pcm.0.buffersize: 16384
dev.pcm.0.polling: 0
dev.pcm.0.polling_interval: 250

# /usr/sbin/mixer
Mixer vol      is currently set to  75:75
Mixer pcm      is currently set to  75:75
Mixer rec      is currently set to   0:0
Recording source: mic

# cat /usr/src/sys/i386/conf/HP_SMP | 
sed -E -n -f /usr/src/sys/conf/makeLINT.sed
cpu             I686_CPU
ident           HP_SMP
makeoptions     DEBUG=-g
options         SCHED_4BSD
options         PREEMPTION
options         INET
options         INET6
options         SCTP
options         FFS
options         SOFTUPDATES
options         UFS_ACL
options         UFS_DIRHASH
options         UFS_GJOURNAL
options         MD_ROOT
options         NFSCLIENT
options         NFSSERVER
options         NFS_ROOT
options         MSDOSFS
options         CD9660
options         PROCFS
options         PSEUDOFS
options         GEOM_PART_GPT
options         GEOM_LABEL
options         COMPAT_43TTY
options         COMPAT_FREEBSD4
options         COMPAT_FREEBSD5
options         COMPAT_FREEBSD6
options         SCSI_DELAY=5000
options         KTRACE
options         SYSVSHM
options         SYSVMSG
options         SYSVSEM
options         _KPOSIX_PRIORITY_SCHEDULING
options         KBD_INSTALL_CDEV
options         ADAPTIVE_GIANT
options         STOP_NMI
options         AUDIT
options         SMP
device          apic
device          cpufreq
device          eisa
device          pci
device          fdc
device          ata
device          atadisk
device          ataraid
device          atapicd
device          atapifd
device          atapist
options         ATA_STATIC_ID
device          ahb
device          ahc
options         AHC_REG_PRETTY_PRINT
device          ahd
options         AHD_REG_PRETTY_PRINT
device          amd
device          hptiop
device          isp
device          mpt
device          sym
device          trm
device          adv
device          adw
device          aha
device          aic
device          bt
device          ncv
device          nsp
device          stg
device          scbus
device          ch
device          da
device          sa
device          cd
device          pass
device          ses
device          amr
device          arcmsr
device          asr
device          ciss
device          dpt
device          hptmv
device          rr232x
device          iir
device          ips
device          mly
device          twa
device          aac
device          aacp
device          ida
device          mfi
device          mlx
device          pst
device          twe
device          atkbdc
device          atkbd
device          psm
device          kbdmux
device          vga
device          splash
device          sc
device          agp
device          pmtimer
device          cbb
device          pccard
device          cardbus
device          sio
device          uart
device          ppc
device          ppbus
device          lpt
device          plip
device          ppi
device          de
device          em
device          ixgb
device          le
device          txp
device          vx
device          miibus
device          bce
device          bfe
device          bge
device          dc
device          fxp
device          lge
device          msk
device          nfe
device          nge
device          pcn
device          re
device          rl
device          sf
device          sis
device          sk
device          ste
device          stge
device          ti
device          tl
device          tx
device          vge
device          vr
device          wb
device          xl
device          cs
device          ed
device          ex
device          ep
device          fe
device          ie
device          sn
device          xe
device          wlan
device          wlan_wep
device          wlan_ccmp
device          wlan_tkip
device          wlan_amrr
device          wlan_scan_ap
device          wlan_scan_sta
device          an
device          ath
device          ath_hal
device          ath_rate_sample
device          awi
device          ral
device          wi
device          loop
device          random
device          ether
device          sl
device          ppp
device          tun
device          pty
device          md
device          gif
device          faith
device          firmware
device          bpf
device          uhci
device          ohci
device          ehci
device          usb
device          ugen
device          uhid
device          ukbd
device          ulpt
device          umass
device          ums
device          ural
device          rum
device          urio
device          uscanner
device          aue
device          axe
device          cdce
device          cue
device          kue
device          rue
device          firewire
device          sbp
device          fwe
device          fwip
device          dcons
device          dcons_crom




thanks...
don
-- 
Don Hinton <hintonda at gmail dot com >
tel: 615.870.9728      skype: donhinton



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