Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2008 13:38:46 +0000
From:      Pete Rushmere <pete@rushmere.org>
To:        freebsd-multimedia@freebsd.org
Subject:   Inspiron 1525 snd_hda problem
Message-ID:  <200803021338.46150.pete@rushmere.org>

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

Running FreeBSD 7.0-RELEASE on a Dell Inspiron 1525, there is a problem with 
the sound though - snd_hda loads fine but I get nothing from the speakers or 
headphone jack. Overall the laptop isn't bad, X runs nicely, wifi is up and 
running but to be truly useful I need the sound too ;-)

For the record, snd_hda runs perfectly on my 7.0-RC1 desktop box, however that 
is an nvidia chipset...

I have googled this to death and got nowhere at all. Here's some debug output, 
can anyone help with this?

Thanks,
Pete.

#kldstat

Id Refs Address    Size     Name
 1   15 0xc0400000 906518   kernel
 2    1 0xc0d07000 25f60    wpifw.ko
 3    1 0xc0d2d000 f140     if_wpi.ko
 4    1 0xc0d3d000 4d20     atapicam.ko
 5    1 0xc0d42000 6a32c    acpi.ko
 6    1 0xc6002000 13000    snd_hda.ko
 7    1 0xc6015000 3f000    sound.ko

#uname -a

FreeBSD i1525.rushmere.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 
19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  
i386

#dmesg | grep ^pcm

pcm0: <Intel 82801H High Definition Audio Controller> mem 
0xfe9fc000-0xfe9fffff irq 21 at device 27.0 on pci0
pcm0: [ITHREAD]
pcm0: <HDA Codec: Unknown Codec>
pcm0: <HDA Driver Revision: 20071129_0050>

#sysctl hw.snd.verbose=3 ; cat /dev/sndstat

FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: <Intel 82801H High Definition Audio Controller> at memory 0xfe9fc000 irq 
21 kld snd_hda [20071129_0050] [MPSAFE] (mixer only)

File Versions:
$FreeBSD: src/sys/dev/sound/pci/hda/hdac.c,v 1.44.2.5 2007/12/15 04:06:12 
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.2.1 2007/10/29 18:47:47 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.2.1 2007/12/06 05:21:39 
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.2.1 2007/10/29 18:47:27 
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.AZAL
dev.pcm.0.%pnpinfo: vendor=0x8086 device=0x284b subvendor=0x1028 
subdevice=0x022f class=0x040300
dev.pcm.0.%parent: pci0
dev.pcm.0.buffersize: 16384
dev.pcm.0.polling: 0
dev.pcm.0.polling_interval: 250

#pciconf -lv | grep -B 3 audio

Gives nothing!

#pciconf -lv | grep -B 3 multimedia

pcm0@pci0:0:27:0:	class=0x040300 card=0x022f1028 chip=0x284b8086 rev=0x02 
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H &SUBSYS_81EC1043&REV_02\3&11583659&0&D8'
    class      = multimedia

#mixer

Mixer vol      is currently set to  75:75
Mixer pcm      is currently set to  75:75
Recording source: mic



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