Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2007 11:11:49 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        Don Hinton <hintonda@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: snd_hda loads, but no sound on HP Pavilion dv9500t laptop
Message-ID:  <20070805111149.172e836e.ariff@FreeBSD.org>
In-Reply-To: <200708042118.15330.hintonda@gmail.com>
References:  <200708042118.15330.hintonda@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Sun__5_Aug_2007_11_11_49_+0800_OmwUPYA+mFpI/va.
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, 4 Aug 2007 21:18:15 -0500
Don Hinton <hintonda@gmail.com> wrote:
> Hi:
>=20
> I can load snd_hda on an HP Pavilion dv9500t, but don't get any
> sound.
>=20
> I cvsup'd and applied the patch from:=20
> http://people.freebsd.org/~ariff/current.diff  dtd: 2007-Jul-12
> 06:49:19
>=20
> Here's the output requested, thanks in advance...

Please send the __verbose__ dump, instead.

Try setting hint.pcm.0.config=3D"eapdinv", or perhaps "gpio0", gpio1, so
on, and __reload__ the module.. Refer to snd_hda manpage for possible
options.

ALC268 is rather new to me. Please help yourself and me by joining irc
@ irc.freenode.net at #freebsd-azalia .

>=20
> 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
>=20
> using multimedia instead of audio, because audio does not appear
> # pciconf -lv |grep -A 3 multimedia
> pcm0@pci0:27:0: class=3D0x040300 card=3D0x30cc103c chip=3D0x284b8086
> rev=3D0x03  hdr=3D0x00
>     vendor     =3D 'Intel Corporation'
>     device     =3D '82801H (ICH8 Family) HD Audio Controller'
>     class      =3D multimedia
>=20
> # dmesg | grep ^pcm
> pcm0: <Intel 82801H High Definition Audio Controller> mem=20
> 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=20
> 0xf8700000-0xf8703fff irq 22 at device 27.0 on pci0
> pcm0: [ITHREAD]
> pcm0: <HDA Codec: Realtek ALC268>
> pcm0: <HDA Driver Revision: 20070710_0047>
>=20
> # sysctl hw.snd.verbose=3D3 ; cat /dev/sndstatFreeBSD Audio Driver
> # (newpcm:=20
> 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,=20
> 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=20
> 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,=20
> 0x00000000
>         interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096=20
> [b:4096/2048/2|bs:4096/2048/2]
>         {hardware} -> feeder_root(0x10000010) ->
>         feeder_vchan(0x10000010) ->=20
> {userland}
>         pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 0, fmt=20
> 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}
>=20
> 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 $
>=20
> # 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=3D27 function=3D0 handle=3D\_SB_.PCI0.HDEF
> dev.pcm.0.%pnpinfo: vendor=3D0x8086 device=3D0x284b subvendor=3D0x103c=20
> subdevice=3D0x30cc class=3D0x040300
> 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
>=20
> # /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
>=20
> # cat /usr/src/sys/i386/conf/HP_SMP |=20
> sed -E -n -f /usr/src/sys/conf/makeLINT.sed
> cpu             I686_CPU
> ident           HP_SMP
> makeoptions     DEBUG=3D-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=3D5000
> 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
>=20
>=20
>=20
>=20
> thanks...
> don
> --=20
> Don Hinton <hintonda at gmail dot com >
> tel: 615.870.9728      skype: donhinton
> _______________________________________________
> freebsd-multimedia@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to
> "freebsd-multimedia-unsubscribe@freebsd.org"


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........

--Signature=_Sun__5_Aug_2007_11_11_49_+0800_OmwUPYA+mFpI/va.
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGtT/1lr+deMUwTNoRAmAdAKDYoaRXQWi+jcdCCPaza0cWJj0xCwCgig+H
CN+zKbJfef6aZipRKefR3Vg=
=cvpZ
-----END PGP SIGNATURE-----

--Signature=_Sun__5_Aug_2007_11_11_49_+0800_OmwUPYA+mFpI/va.--



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