From owner-freebsd-multimedia@FreeBSD.ORG Sun Jun 22 17:41:44 2008 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 B11641065675 for ; Sun, 22 Jun 2008 17:41:44 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 980658FC16 for ; Sun, 22 Jun 2008 17:41:44 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 17261 invoked from network); 22 Jun 2008 17:15:03 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 22 Jun 2008 17:15:03 -0000 Message-ID: <485E85F2.4080906@telenix.org> Date: Sun, 22 Jun 2008 13:03:46 -0400 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: getting sound up 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: Sun, 22 Jun 2008 17:41:44 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If this should have been sent to -questions, tell me. I have been concentrating for the last few months on USB issues, but I sudenly have a real need to get audio working on this box. I know I had it working about 6 months ago, but it dies under mysterious circumstances, and I didn't have the time then to concentrate on it. I do clearly recall that I had a probelm whenever I tried to run oss sound, because it would hang the machine on booting to the point to where it would need a hard reset. Just now, I tried taking OSS_ENABLE out of the rc.conf, and then sticking it back in immediately after reboot, and trying the "oss start" after I re-enabled it in rc.conf. I found first that it would hang, and the reason why is because it was waiting, because my card requries the hdaudio.ko module, but when it's loaded, kldload always complains falsely that it's already loaded. This although both kldstat and "kldstat -v | grep hdaudio" claims it's not loaded. OK, my machine is a Asus Striker Extreme mobo e/w a MCP55 Nvidia chipset, including a Analog Devices ADI1985B HDaudio chip. So, question is, which is the better implementation at this point in time, the oss or the FreeBSD snd_hda module? I would like to interface via optical that my mobo privides, but I would be ok with the spdif also, so tell me which one gives me the best chance of working easiest? I've read the handbook already on this, but I know things drift back and forth a bit. I am off to reboot about a dozen more times trying to see if I can derive any info about snd_hda. I couldn't get it working any yesterday, but maybe more testing will help out. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIXoXyz62J6PPcoOkRAlRFAJ9ySkbLTdz1bxaaj1C6c9kNzTTt+gCeIdlc NZoLj0SU33iLVz+DSaBa8oc= =GHm4 -----END PGP SIGNATURE----- From owner-freebsd-multimedia@FreeBSD.ORG Mon Jun 23 11:06:58 2008 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 1454010656B9 for ; Mon, 23 Jun 2008 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 028938FC19 for ; Mon, 23 Jun 2008 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5NB6vV8065027 for ; Mon, 23 Jun 2008 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5NB6veG065023 for freebsd-multimedia@FreeBSD.org; Mon, 23 Jun 2008 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 23 Jun 2008 11:06:57 GMT Message-Id: <200806231106.m5NB6veG065023@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-multimedia@FreeBSD.org 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: Mon, 23 Jun 2008 11:06:58 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/94279 multimedia [snd_neomagic] snd_neomagic crashes on FreeBSD 5.4 and o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/97535 multimedia [snd_mss] doesn't work in 6.0-RELEASE and above for Cr o kern/98167 multimedia [sound] [es137x] [patch] ES1370 mixer volumes incorrec o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/104626 multimedia [sound] FreeBSD 6.2 does not support SoundBlaster Audi o kern/104874 multimedia [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/107516 multimedia [snd_emu10k1] - skips, clicks and lag after a day of h o kern/114760 multimedia [snd_cmi] snd_cmi driver causing sporadic system hangs o kern/115666 multimedia [sound] Microphone does not work o kern/119181 multimedia [snd_hda] snd_hda needs doesn't recognise headphones o o kern/119759 multimedia [snd_emu10k1] Can not record anything with emu10k1 on o kern/120144 multimedia [snd_hda] snd_hda plays sound on all outputs o kern/121156 multimedia [sound]: [PATCH] Turn on inverted external amplifier s o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini o ports/122305 multimedia multimedia/gstreame - gst-inspect-0.10 hangs when chec o kern/124319 multimedia [snd_emu10k1] [regression] Cannot record from second c o ports/124817 multimedia audio/gstreamer-plugins-spc include file name miss 24 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/23546 multimedia [snd_csa] [patch] csa DMA-interrupt problem o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I o kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/79678 multimedia [sound] sound works except recording from any source o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla s kern/83697 multimedia [snd_mss] [patch] support, docs added for full-duplex, o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/98496 multimedia [snd_ich] some functions don't work in my sound kernel o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/100859 multimedia [snd_ich] snd_ich broken on GIGABYTE 915 system o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou s kern/113950 multimedia [sound] [patch] [request] add per-vchan mixer support o kern/115300 multimedia [snd_hda] snd_hda(4) fails to attach on -CURRENT [regr o kern/117599 multimedia [sound] Audio routing problem NVIDIA MCP51 HDA o kern/117729 multimedia [snd_hda] microphone is not working with snd_hda on Fr o ports/118168 multimedia [patch] multimedia/transcode - Add WITHOUT_X11 and WIT o ports/118237 multimedia Ports: multimedia/ffmpeg fix configure option and add o ports/118289 multimedia port of multimedia/tovid only semi works on 6.2 Releas o kern/119671 multimedia [snd_hda] line is mic and mic is line on Fujitsu Sieme o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119973 multimedia [snd_maestro] snd_maestro only works after reload [reg o kern/120780 multimedia [snd_hda] snd_hda doesn't work on Dell Latitutude D530 o kern/120857 multimedia [snd_emu10k1] snd_emu10k1 driver issues a warning on u o ports/121662 multimedia graphics/libcaca - not bumped after imlib2 upgrade o ports/122922 multimedia [ patch ] multimedia/ffmpeg text output is mangled o ports/123409 multimedia [Patch] ports:multimedia/ffmpeg fix WITH_OPTIMIZED_CFL o ports/124501 multimedia multimedia/gstreamer-ffmpeg version 0.10.4_1 compile f o ports/124592 multimedia Update port: multimedia/ffmpeg o kern/124645 multimedia [snd_hda] snd_hda and SB600, speakers not deactivated o ports/124727 multimedia multimedia/gstreamer-ffmpeg 0.10.4_1 configure fails 37 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Jun 23 14:03:14 2008 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 AC326106567B for ; Mon, 23 Jun 2008 14:03:14 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 3F2718FC1D for ; Mon, 23 Jun 2008 14:03:14 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from 80-218-191-31.dclient.hispeed.ch ([80.218.191.31] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KAmFL-0003hz-Bi for freebsd-multimedia@freebsd.org; Mon, 23 Jun 2008 15:38:15 +0200 Message-ID: <485FA73E.9010105@FreeBSD.org> Date: Mon, 23 Jun 2008 15:38:06 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Subject: uaudio : channel dead 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: Mon, 23 Jun 2008 14:03:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi list, I've seen several people having the same problem I'm having on the lists. However, I couldn't find a solution :-( Here's the facts: Just bought a new USB headset [1]. This one uses snd_uaudio. Playback is great, but recording / mic in doesn't work: uaudio0: on uhub0 uaudio0: audio rev 1.00 pcm0: on uaudio0 pcm0:virtual:dsp1.vr0: record interrupt timeout, channel dead pcm0:virtual:dsp1.vp0: play interrupt timeout, channel dead Here are a few debugging information. | uname -a FreeBSD gahrtop.localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jun 23 09:43:28 CEST 2008 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 i386 | 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: USB Audio dev.pcm.0.%driver: pcm dev.pcm.0.%parent: uaudio0 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 | cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: at ? kld snd_uaudio [GIANT] (1p:1v/1r:1v channels duplex default) ~ mode 1:(output) 2ch, 16/16bit, pcm, 48000,44100Hz ~ mode 1:(input) 1ch, 16/16bit, pcm, 48000,44100Hz ~ [pcm0:play:dsp0.p0]: spd 48000, fmt 0x10000010, flags 0x00101000, 0x00000020 ~ interrupts 0, underruns 0, feed 0, ready 0 [b:16384/2048/8|bs:16384/8192/2] ~ {userland} -> feeder_vchan(0x10000010) -> feeder_volume(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/0x00000010, flags 0x00101000, 0x00000000 ~ interrupts 0, overruns 0, feed 0, hfree 16384, sfree 32768 [b:16384/1024/16|bs:32768/16384/2] ~ {hardware} -> feeder_root(0x00000010) -> feeder_monotostereo16(0x00000010 -> 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/isa/sndbuf_dma.c,v 1.3 2005/01/06 01:43:17 imp 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/sound.c,v 1.119 2007/06/17 19:02:05 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/mixer.c,v 1.61 2007/06/16 03:37:28 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/feeder_fmt.c,v 1.23 2007/06/02 13:07:44 joel 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/fake.c,v 1.18 2007/03/15 18:19:01 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.109 2008/05/27 02:16:05 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.122 2007/12/03 14:26:56 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/ac97_patch.c,v 1.11 2007/10/26 20:49:23 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.74 2007/10/26 20:49:59 ariff Exp $ | usbdevs -v | grep Headphone ~ port 2 addr 3: full speed, power 100 mA, config 1, C-Media USB Headphone Set(0x000c), vendor 0x0d8c(0x0d8c), rev 1.00 I would greatly like to get this headset working, so any hint is appreciatd! P.S. CC me since I'm not on the list [1] http://www.trust.com/products/product_detail.aspx?item=14734 - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhfpz0ACgkQwMJqmJVx947xRACghQJM52MH3zl5WtLybl7jGMC4 MjcAniVeIgftOJVwytt2k/kv3+7Aa1dG =nDp6 -----END PGP SIGNATURE----- From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 24 16:37:32 2008 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFAB31065673 for ; Tue, 24 Jun 2008 16:37:32 +0000 (UTC) (envelope-from pgollucci@piccollo.p6m7g8.net) Received: from piccollo.p6m7g8.net (piccollo.p6m7g8.net [70.88.236.19]) by mx1.freebsd.org (Postfix) with ESMTP id A7A238FC1B for ; Tue, 24 Jun 2008 16:37:32 +0000 (UTC) (envelope-from pgollucci@piccollo.p6m7g8.net) Received: from piccollo.p6m7g8.net (localhost.p6m7g8.net [127.0.0.1]) by piccollo.p6m7g8.net (8.14.2/8.14.2) with ESMTP id m5OGDR81055360 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 24 Jun 2008 12:13:28 -0400 (EDT) (envelope-from pgollucci@piccollo.p6m7g8.net) Received: (from pgollucci@localhost) by piccollo.p6m7g8.net (8.14.2/8.14.2/Submit) id m5OGDLqa055357; Tue, 24 Jun 2008 12:13:21 -0400 (EDT) (envelope-from pgollucci) Date: Tue, 24 Jun 2008 12:13:21 -0400 (EDT) Message-Id: <200806241613.m5OGDLqa055357@piccollo.p6m7g8.net> To: FreeBSD-gnats-submit@freebsd.org From: "Philip M. Gollucci" X-send-pr-version: 3.113 X-GNATS-Notify: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on piccollo.p6m7g8.net Cc: multimedia@freebsd.org Subject: [PATCH] audio/jackit: Remove 5.x support 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: Tue, 24 Jun 2008 16:37:33 -0000 >Submitter-Id: current-users >Originator: Philip M. Gollucci >Organization: Riderway Inc. >Confidential: no >Synopsis: [PATCH] audio/jackit: Remove 5.x support >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 8.0-CURRENT i386 >Environment: System: FreeBSD piccollo.p6m7g8.net 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Wed Jun 11 23:05:41 EDT 2008 >Description: - Remove 5.x support Port maintainer (multimedia@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- jackit-0.103.0_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/jack/Makefile,v retrieving revision 1.43 diff -u -u -r1.43 Makefile --- Makefile 26 Mar 2008 15:15:34 -0000 1.43 +++ Makefile 24 Jun 2008 15:50:00 -0000 @@ -30,8 +30,6 @@ MAN1= jackd.1 jackstart.1 -.include - .if exists(${LOCALBASE}/bin/doxygen) && !defined(WITH_GNOKII) DOCS_OVERRIDE= yes WITH_DOCS= yes @@ -45,10 +43,6 @@ PLIST_SUB+= DOCS="@comment " .endif -.if (${OSVERSION} < 502102 ) -BROKEN= Does not compile -.endif - .if exists(${LOCALBASE}/lib/libreadline.so.5) LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline .endif @@ -80,4 +74,4 @@ post-build: @${RM} -f ${WRKSRC}/doc/reference/html/dir__2F* -.include +.include --- jackit-0.103.0_1.patch ends here --- From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 24 21:01:29 2008 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60020106564A; Tue, 24 Jun 2008 21:01:29 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 43E368FC21; Tue, 24 Jun 2008 21:01:29 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from freefall.freebsd.org (gahr@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5OL1ThJ063867; Tue, 24 Jun 2008 21:01:29 GMT (envelope-from gahr@freefall.freebsd.org) Received: (from gahr@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5OL1TPe063863; Tue, 24 Jun 2008 21:01:29 GMT (envelope-from gahr) Date: Tue, 24 Jun 2008 21:01:29 GMT Message-Id: <200806242101.m5OL1TPe063863@freefall.freebsd.org> To: gahr@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: gahr@FreeBSD.org Cc: Subject: Re: ports/124948: [PATCH] audio/jackit: Remove 5.x support 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: Tue, 24 Jun 2008 21:01:29 -0000 Synopsis: [PATCH] audio/jackit: Remove 5.x support Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-multimedia Responsible-Changed-By: gahr Responsible-Changed-When: Tue Jun 24 21:01:28 UTC 2008 Responsible-Changed-Why: Over to maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=124948 From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 24 21:15:47 2008 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFFCF106567A; Tue, 24 Jun 2008 21:15:47 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A44958FC12; Tue, 24 Jun 2008 21:15:47 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from freefall.freebsd.org (miwi@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5OLFljC065682; Tue, 24 Jun 2008 21:15:47 GMT (envelope-from miwi@freefall.freebsd.org) Received: (from miwi@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5OLFlx6065678; Tue, 24 Jun 2008 21:15:47 GMT (envelope-from miwi) Date: Tue, 24 Jun 2008 21:15:47 GMT Message-Id: <200806242115.m5OLFlx6065678@freefall.freebsd.org> To: miwi@FreeBSD.org, freebsd-multimedia@FreeBSD.org, miwi@FreeBSD.org From: miwi@FreeBSD.org Cc: Subject: Re: ports/124948: [PATCH] audio/jackit: Remove 5.x support 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: Tue, 24 Jun 2008 21:15:47 -0000 Synopsis: [PATCH] audio/jackit: Remove 5.x support Responsible-Changed-From-To: freebsd-multimedia->miwi Responsible-Changed-By: miwi Responsible-Changed-When: Tue Jun 24 21:15:47 UTC 2008 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=124948 From owner-freebsd-multimedia@FreeBSD.ORG Thu Jun 26 02:37:57 2008 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 9DAD91065670 for ; Thu, 26 Jun 2008 02:37:57 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 499228FC1F for ; Thu, 26 Jun 2008 02:37:57 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 29285 invoked from network); 25 Jun 2008 21:09:55 -0500 Received: from 124-170-79-158.dyn.iinet.net.au (HELO ayiin) (124.170.79.158) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 25 Jun 2008 21:09:54 -0500 Date: Thu, 26 Jun 2008 12:09:49 +1000 From: Norberto Meijome To: FreeBSD Multimedia ML Message-ID: <20080626120949.35c16b35@ayiin> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Bluetooth headset , paired... sound? 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: Thu, 26 Jun 2008 02:37:57 -0000 Hello everyone ! :) FreeBSD ayiin.octantis.com.au 7.0-STABLE FreeBSD 7.0-STABLE #57: Tue Jun 24 11:05:18 EST 2008 root@ayiin.octantis.com.au:/usr/obj/usr/src/sys/AYIIN i386 I have a bluetooth headset, it is a Philips SHB6100 ,as reported by : # hccontrol -n ubt0hci remote_name_request betos_headset BD_ADDR: betos_headset Name: Philips SHB6100 It is paired : # hccontrol -n ubt0hci read_connection_list Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State betos_headset 12 ACL 0 MAST NONE 0 0 OPEN as seen above, I am currently paired with the nokey option. and its features are : # hccontrol read_remote_supported_features 12 Connection handle: 12 Features: 0xff 0xff 0x8f 0x78 0x18 0x18 00 0x80 <3-Slot> <5-Slot> now... how do I use it?! I want to use it to listen to music and, ideally, for skype calls too. my laptop's bluetooth chipset info: ubt0: on uhub2 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320 Any pointers will be greatly appreciated, B _________________________ {Beto|Norberto|Numard} Meijome If you're not part of the solution, you're part of the precipitate. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-multimedia@FreeBSD.ORG Sat Jun 28 15:08:24 2008 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 0859910656B1 for ; Sat, 28 Jun 2008 15:08:24 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id C01538FC0C for ; Sat, 28 Jun 2008 15:08:23 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from asahi-net.jp (m036200.dynamic.ppp.asahi-net.or.jp [219.121.36.200]) by mail.asahi-net.or.jp (Postfix) with ESMTP id B42E35EBED; Sat, 28 Jun 2008 23:50:08 +0900 (JST) Date: Sat, 28 Jun 2008 23:50:07 +0900 From: WATANABE Kazuhiro To: Ricardo Campos Passanezi In-Reply-To: <20080624170530.GG2138@ige.unicamp.br> References: <20070605145944.B750E3C23C@mail.asahi-net.or.jp> <20070605163410.GA1496@ige.unicamp.br> <20070606162049.995E53DFA5@mail.asahi-net.or.jp> <20070606172107.GA1475@ige.unicamp.br> <20070607160336.CBCBA2D4CF@mail.asahi-net.or.jp> <20070611124008.GA1461@ige.unicamp.br> <20070611161051.EEA7F347C9@mail.asahi-net.or.jp> <20070611171712.GC1461@ige.unicamp.br> <20070612160223.2289B3AE18@mail.asahi-net.or.jp> <20070612184114.GB1474@ige.unicamp.br> <20080624170530.GG2138@ige.unicamp.br> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20080628145009.B42E35EBED@mail.asahi-net.or.jp> Cc: freebsd-multimedia Subject: Re: Problem recording, using 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: Sat, 28 Jun 2008 15:08:24 -0000 Hi, again. Cc'ed to freebsd-multimedia. At Tue, 24 Jun 2008 14:05:30 -0300, Ricardo Campos Passanezi wrote: > On Tue, Jun 12, 2007 at 03:41:14PM -0300, Ricardo Campos Passanezi wrote: > >On Wed, Jun 13, 2007 at 01:02:22AM +0900, Watanabe Kazuhiro wrote: > >> > > Hmmm... Can you record a sound with the PCM device from analog inputs > >> > > other than the microphone input (line, cd, etc.)? > > > >... > > > >> > >> For example, if you want to record a sound from an audio CD analog > >> output, try the following commands. In this procedure we choose > >> ports/audio/wavplay as a recording and playback software. > >> > >> $ mixer =rec cd # Select CD as an input source. > >> $ cdcontrol play # Start playback of the audio CD. > >> $ wavrec -S -s 44100 -b 16 -t 10 test.wav > >> # Record a sound (from the CD drive). > >> # Duration: 10 secs. > >> $ cdcontrol stop # Stop the CD. > >> $ wavplay test.wav # Play the test WAV file. > >> > >> Of course you have already to connect the analog audio cable from the > >> CD/DVD drive to the audio CD input pinhead. > >> > > > >With: > > > ># mixer > >Mixer vol is currently set to 75:75 > >Mixer pcm is currently set to 80:80 > >Mixer speaker is currently set to 75:75 > >Mixer line is currently set to 75:75 > >Mixer mic is currently set to 75:75 > >Mixer cd is currently set to 75:75 > >Mixer rec is currently set to 75:75 > >Mixer igain is currently set to 100:100 > >Mixer ogain is currently set to 0:0 > >Mixer line1 is currently set to 75:75 > >Mixer phin is currently set to 0:0 > >Mixer phout is currently set to 0:0 > >Recording source: cd > > > >It worked fine... > > Hello Watanabe. > > I've done the above and, as you can see in the previous email, it worked > fine (the recording using 'cd'). When I use 'mic' as recording source > I've no success. > > I'm using 7-STABLE right now. > > Can you still help me in this one? > > Sorry to bother... I have searched the web and found the useful page. Powering microphones http://www.epanorama.net/circuits/microphone_powering.html The author says "Most lavalier (tie-clip) microphones, consumer video camera microphones and microphones used with computer soundcards are electret microphones". If your microphone is an electret microphone, and its power is supplied via the mic's signal cable (generally called "plug-in power"), we have to supply the power to the signal cable. ***** Be careful to apply this patch. I believe that the patch is not so wrong. But I don't know whether the AD1986A's C/LFE VREFOUT pin is connected to the microphone jack correctly. So I cannot expect what is happen. --- sys/dev/sound/pcm/ac97.c.releng70 2007-10-30 03:47:47.000000000 +0900 +++ sys/dev/sound/pcm/ac97.c 2008-06-27 21:53:12.000000000 +0900 @@ -142,7 +142,7 @@ static struct ac97_codecid ac97codecid[] { 0x41445372, 0x00, 0, "AD1981A", 0 }, { 0x41445374, 0x00, 0, "AD1981B", ad1981b_patch }, { 0x41445375, 0x00, 0, "AD1985", ad198x_patch }, - { 0x41445378, 0x00, 0, "AD1986", ad198x_patch }, + { 0x41445378, 0x00, 0, "AD1986", ad1986_patch }, { 0x414b4d00, 0x00, 1, "AK4540", 0 }, { 0x414b4d01, 0x00, 1, "AK4542", 0 }, { 0x414b4d02, 0x00, 1, "AK4543", 0 }, --- sys/dev/sound/pcm/ac97_patch.c.releng70 2007-10-30 03:47:27.000000000 +0900 +++ sys/dev/sound/pcm/ac97_patch.c 2008-06-28 19:12:18.000000000 +0900 @@ -53,6 +53,31 @@ void ad198x_patch(struct ac97_info* code } } +void ad1986_patch(struct ac97_info* codec) +{ + /* + * Disable outputs of the SURR_OUT and CENTER_OUT/LFE_OUT pins. + * Select the SURR_OUT pins as the LINE_IN inputs. + * Select the CENTER_OUT/LFE_OUT pins as the MIC inputs. + * Enable the stereo microphone mode. + * + * Set the voltage of the C/LFE VREF_OUT pin. + */ + switch (ac97_getsubvendor(codec)) { + case 0x818f1043: /* ASUS P5SD2-X (SE) */ + ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x1800); + ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0004); + ac97_wrcd(codec, 0x74, ac97_rdcd(codec, 0x74) | 0x0200); + ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0040); + + /* 0x4 = 2.25V, 0x8 = 0V, 0x10 = 3.70V */ + ac97_wrcd(codec, 0x70, ac97_rdcd(codec, 0x70) | 0x0004); + break; + default: + break; + } +} + void ad1981b_patch(struct ac97_info* codec) { /* --- sys/dev/sound/pcm/ac97_patch.h.releng70 2007-04-19 22:54:22.000000000 +0900 +++ sys/dev/sound/pcm/ac97_patch.h 2008-06-27 22:14:43.000000000 +0900 @@ -31,5 +31,6 @@ typedef void (*ac97_patch)(struct ac97_i void ad1886_patch(struct ac97_info*); void ad198x_patch(struct ac97_info*); void ad1981b_patch(struct ac97_info*); +void ad1986_patch(struct ac97_info*); void cmi9739_patch(struct ac97_info*); void alc655_patch(struct ac97_info*); --- WATANABE Kazuhiro (CQG00620@nifty.ne.jp)