Date: Mon, 09 Apr 2007 20:56:13 +0200 From: Vitezslav Novy <vnovy@vnovy.net> To: freebsd-multimedia@freebsd.org Subject: snd_hda recording Message-ID: <461A8C4D.8050708@vnovy.net>
next in thread | raw e-mail | index | archive | help
Hi, I'm not able to record audio with onboard Intel HDA soundcard. I use 6.2 i386 snd_hda module from 2007-Apr-08 15:28:34 Also no success with previous versions of module And driver reports only 1p channel. Is it OK? System info follows Thanks for any suggestions vita # uname -a FreeBSD vn.chello.upc.cz 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #1: Sat Mar 31 21:42:14 CEST 2007 rumik@vn.chello.upc.cz:/usr/obj/usr/src/sys/MYSMP i386 (standard SMP kernel with some network changes) # pciconfig -lv pcm0@pci0:27:0: class=0x040300 card=0x21138086 chip=0x284b8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = multimedia # grep ^pcm /var/run/dmesg.boot pcm0: <Intel 82801H High Definition Audio Controller> mem 0x4d220000-0x4d223fff irq 22 at device 27.0 on pci0 pcm0: <HDA Codec: Sigmatel STAC9227> pcm0: <HDA Driver Revision: 20070404_0044> # sysctl hw.snd.verbose=2 ; cat /dev/sndstat hw.snd.verbose: 2 -> 2 FreeBSD Audio Driver (newpcm: 64bit) Installed devices: pcm0: <Intel 82801H High Definition Audio Controller> at memory 0x4d220000 irq 22 kld snd_hda [20070409_0044] (1p/1r/1v channels duplex default) [pcm0:play:0:dsp0.p0]: spd 48000, fmt 0x10000010, flags 0x00101020, 0x00000020 interrupts 42195, underruns 0, feed 42195, ready 0 [b:4096/2048/2|bs:4096/2048/2] {userland} -> feeder_vchan(0x10000010) -> feeder_volume(0x10000010) -> {hardware} [pcm0:record:0:dsp0.r0]: spd 44100, fmt 0x10000010, flags 0x00000000, 0x00000000 interrupts 0, overruns 0, feed 0, hfree 4096, sfree 65536 [b:4096/2048/2|bs:65536/2048/32] {hardware} -> feeder_root(0x10000010) -> {userland} pcm0:play:0:dsp0.p0[pcm0:virtual:0:dsp0.v0]: spd 44100/48000, fmt 0x10000010, flags 0x10003030, 0x00000008, pid 1333 interrupts 0, underruns 0, feed 42195, ready 129960 [b:0/0/0|bs:131072/4096/32] {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} # sysctl hw.snd hw.snd.syncdelay: -1 hw.snd.usefrags: 0 hw.snd.timeout: 5 hw.snd.latency_profile: 1 hw.snd.latency: 5 hw.snd.report_soft_formats: 1 hw.snd.feeder_buffersize: 16384 hw.snd.feeder_fmt_stereodownmix: 0 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_min: 1 hw.snd.verbose: 2 hw.snd.sndstat_isopen: 0 hw.snd.maxautovchans: 4 hw.snd.default_unit: 0 # mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer mic is currently set to 100:100 Mixer rec is currently set to 100:100 Recording source: mic
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?461A8C4D.8050708>