From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 29 18:07:58 2010 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 93E0110656A3 for ; Sun, 29 Aug 2010 18:07:58 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 46C6B8FC13 for ; Sun, 29 Aug 2010 18:07:57 +0000 (UTC) Received: by vws7 with SMTP id 7so5108674vws.13 for ; Sun, 29 Aug 2010 11:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=kV+DHiKBr1oQBPdxnLYYtSPogvBiLoZIuSrx/4EIM2c=; b=u0Vm8aFkfxrf0/v0tidLy/+vGglr7J585EaRUdS1NweUm8wF1KX7df1PV+E7VNCSN2 wxnl4yUTgNh8lMcstK2J2VXT772KTLSIr8Zq3ejM7gJ0Y/wZ8AmQtdk5LsHfVvzacToX wh9MUQzVX1Q9nfBk4zBHU8snGgyCrKDh62k+g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=O7MWtBPlQHQI7FbCr4bYSkLEI6TQJvlkm7Udpve/UlMKy/0Y2ZWiXACtNot4Ed3qeq AJELZOyTVkxGVXVWXSUDrqVHEjekNW5tcGLm/tobgMI34ZFjAgS39+cFAGmz8pBVqIMd 0xkCaCYiWyCQg6vcBloA7M62s9FjftHOa7ewU= Received: by 10.220.125.23 with SMTP id w23mr2276201vcr.136.1283103881171; Sun, 29 Aug 2010 10:44:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.195.10 with HTTP; Sun, 29 Aug 2010 10:44:21 -0700 (PDT) In-Reply-To: References: From: Paul B Mahol Date: Sun, 29 Aug 2010 17:44:21 +0000 Message-ID: To: Buganini Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-multimedia@freebsd.org Subject: Re: bitperfect make incorrect sample rate in oss 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, 29 Aug 2010 18:07:58 -0000 On Sat, Aug 28, 2010 at 8:31 PM, Buganini wrote: > Hi, when I set > dev.pcm.0.bitperfect=1 > audacious and flashplayer play faster than normal, and sound pitch become higher > audacious can be fixed by using OSS4 output plugin, > but there is no such settings for flashplayer. > > It that expected behavior? > > Thanks > Buganini Short answer: yes. From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 30 11:07:01 2010 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 2770F10656AC for ; Mon, 30 Aug 2010 11:07:01 +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 1545E8FC2A for ; Mon, 30 Aug 2010 11:07:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7UB707v087490 for ; Mon, 30 Aug 2010 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7UB70Rg087488 for freebsd-multimedia@FreeBSD.org; Mon, 30 Aug 2010 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Aug 2010 11:07:00 GMT Message-Id: <201008301107.o7UB70Rg087488@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, 30 Aug 2010 11:07:01 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/149765 multimedia [PATCH] audio/faac: improve build patches o kern/148741 multimedia [sound] Headphones are deaf (do not work) on Lenovo Th o kern/147504 multimedia [oss] [panic] panic: dev_pager_getpage: map function r p kern/147466 multimedia [snd_hda] [patch] Thinkpad t510, codecs not recognized o kern/146758 multimedia [sound] [patch] fix volume control in spicds o kern/146031 multimedia [snd_hda] race condition when kldunload snd_hda sound o kern/144659 multimedia [pcm] The distortion of the sound playback of music at o kern/143505 multimedia [pcm] FreeBSD 8.0-RELEASE (x64) won't make sound card o kern/141826 multimedia [snd_hda] load of snd_hda module fails o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/140453 multimedia [sound] No sound inside Virtualbox on 50% volume o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt f kern/115666 multimedia [sound] Microphone does not work o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst s kern/113950 multimedia [sound] [patch] [request] add per-vchan mixer support o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/104626 multimedia [sound] FreeBSD 6.2 does not support SoundBlaster Audi o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup s kern/83697 multimedia [sound] [snd_mss] [patch] support, docs added for full o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 61 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 30 21:26:23 2010 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 8908110656AA; Mon, 30 Aug 2010 21:26:23 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 80B0D8FC13; Mon, 30 Aug 2010 21:26:22 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=sIybwy0z7bWw0ilx/SziPN3xnsQN4yn8NMXKZM3k7p4= c=1 sm=1 a=ivRC_LpHlL4A:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=HYavVDJ8-qpqy4FCI3IA:9 a=28kp2khzQDDfGsljqNgA:7 a=AAdsbH97G5JnOvYeqmHiaOT2K0QA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 13465564; Mon, 30 Aug 2010 23:26:18 +0200 Received-SPF: softfail receiver=mailfe05.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Mon, 30 Aug 2010 23:22:20 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <201008252350.05592.hselasky@freebsd.org> <20100826183543.GA39319@triton8.kn-bremen.de> In-Reply-To: <20100826183543.GA39319@triton8.kn-bremen.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008302322.20299.hselasky@freebsd.org> Cc: me@janh.de, Joe Marcus Clarke , kde@freebsd.org, Juergen Lock , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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, 30 Aug 2010 21:26:23 -0000 Hi, I've committed to the HAL stuff to webcamd in the I4B SVN as of r1628. To enable HAL support build like this: make -j3 HAVE_HAL=YES LIBDIR=/usr/local/lib Run like this: ./webcamd -H --HPS From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 31 18:50:14 2010 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 0A53110656C7; Tue, 31 Aug 2010 18:50:14 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id B74798FC0C; Tue, 31 Aug 2010 18:50:13 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id F0F8A1E0072D; Tue, 31 Aug 2010 20:50:11 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id o7VImFin093745; Tue, 31 Aug 2010 20:48:15 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id o7VImFEW093744; Tue, 31 Aug 2010 20:48:15 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 31 Aug 2010 20:48:15 +0200 To: Hans Petter Selasky Message-ID: <20100831184815.GA93400@triton8.kn-bremen.de> References: <4C66C4BC.4040504@janh.de> <201008252350.05592.hselasky@freebsd.org> <20100826183543.GA39319@triton8.kn-bremen.de> <201008302322.20299.hselasky@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008302322.20299.hselasky@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: me@janh.de, kde@freebsd.org, Juergen Lock , freebsd-multimedia@freebsd.org, Joe Marcus Clarke , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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, 31 Aug 2010 18:50:14 -0000 On Mon, Aug 30, 2010 at 11:22:20PM +0200, Hans Petter Selasky wrote: > Hi, Hi! > > I've committed to the HAL stuff to webcamd in the I4B SVN as of r1628. To > enable HAL support build like this: > > make -j3 HAVE_HAL=YES LIBDIR=/usr/local/lib > > Run like this: > > ./webcamd -H There's an initialization missing so the code did nothing... (works now for dvb, v4l untested due to lack of device.) Cheers, Juergen Index: webcamd_hal.c =================================================================== --- webcamd_hal.c (revision 1628) +++ webcamd_hal.c (working copy) @@ -69,6 +69,8 @@ char **ppdev; int n; + if (!(hal_conn = dbus_bus_get(DBUS_BUS_SYSTEM, NULL))) + return; hal_ctx = libhal_ctx_new(); if (hal_ctx == NULL) return; From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 31 19:02:22 2010 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 C1D0910656CE; Tue, 31 Aug 2010 19:02:22 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id AFDB48FC1F; Tue, 31 Aug 2010 19:02:21 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=A9i2abt5RTkKnggEwMfGtMsecE7KHeOxIgKEeBb2Lvo= c=1 sm=1 a=ivRC_LpHlL4A:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=S0Nkh98aGVJTXGfCB24A:9 a=KfqE1KWzlLcNxoEUIOkA:7 a=dZhrvbvmPTJh2tt8-xFTcy5rc0YA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 14061867; Tue, 31 Aug 2010 21:02:05 +0200 Received-SPF: softfail receiver=mailfe08.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: Juergen Lock Date: Tue, 31 Aug 2010 20:58:16 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <201008302322.20299.hselasky@freebsd.org> <20100831184815.GA93400@triton8.kn-bremen.de> In-Reply-To: <20100831184815.GA93400@triton8.kn-bremen.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008312058.16445.hselasky@freebsd.org> Cc: freebsd-multimedia@freebsd.org, me@janh.de, kde@freebsd.org, Joe Marcus Clarke , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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, 31 Aug 2010 19:02:22 -0000 On Tuesday 31 August 2010 20:48:15 Juergen Lock wrote: > On Mon, Aug 30, 2010 at 11:22:20PM +0200, Hans Petter Selasky wrote: > > Hi, > > Hi! > > > I've committed to the HAL stuff to webcamd in the I4B SVN as of r1628. To > > enable HAL support build like this: > > > > make -j3 HAVE_HAL=YES LIBDIR=/usr/local/lib > > > > Run like this: > > > > ./webcamd -H > > There's an initialization missing so the code did nothing... > (works now for dvb, v4l untested due to lack of device.) > > Cheers, > Juergen > > Index: webcamd_hal.c > =================================================================== > --- webcamd_hal.c (revision 1628) > +++ webcamd_hal.c (working copy) > @@ -69,6 +69,8 @@ > char **ppdev; > int n; > > + if (!(hal_conn = dbus_bus_get(DBUS_BUS_SYSTEM, NULL))) > + return; > hal_ctx = libhal_ctx_new(); > if (hal_ctx == NULL) > return; Committed to r1629. Thanks! --HPS From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 1 05:48:56 2010 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 81F321065679; Wed, 1 Sep 2010 05:48:56 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 59B6F8FC1A; Wed, 1 Sep 2010 05:48:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o815muN3032750; Wed, 1 Sep 2010 05:48:56 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o815mujZ032746; Wed, 1 Sep 2010 05:48:56 GMT (envelope-from remko) Date: Wed, 1 Sep 2010 05:48:56 GMT Message-Id: <201009010548.o815mujZ032746@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: kern/149943: [audio]: CS4236 audio problem 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: Wed, 01 Sep 2010 05:48:56 -0000 Old Synopsis: CS4236 audio problem New Synopsis: [audio]: CS4236 audio problem Responsible-Changed-From-To: freebsd-i386->freebsd-multimedia Responsible-Changed-By: remko Responsible-Changed-When: Wed Sep 1 05:48:28 UTC 2010 Responsible-Changed-Why: reassign to media gruop http://www.freebsd.org/cgi/query-pr.cgi?pr=149943 From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 1 17:58:20 2010 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 4EF2A10656CA; Wed, 1 Sep 2010 17:58:20 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id D35D18FC13; Wed, 1 Sep 2010 17:58:19 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id D50021E00077; Wed, 1 Sep 2010 19:58:18 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id o81HsNX8012528; Wed, 1 Sep 2010 19:54:23 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id o81HsMAw012527; Wed, 1 Sep 2010 19:54:22 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 1 Sep 2010 19:54:22 +0200 To: Hans Petter Selasky Message-ID: <20100901175422.GA12485@triton8.kn-bremen.de> References: <4C66C4BC.4040504@janh.de> <201008302322.20299.hselasky@freebsd.org> <20100831184815.GA93400@triton8.kn-bremen.de> <201008312058.16445.hselasky@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008312058.16445.hselasky@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: me@janh.de, kde@freebsd.org, Juergen Lock , freebsd-multimedia@freebsd.org, Joe Marcus Clarke , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Wed, 01 Sep 2010 17:58:20 -0000 On Tue, Aug 31, 2010 at 08:58:16PM +0200, Hans Petter Selasky wrote: > On Tuesday 31 August 2010 20:48:15 Juergen Lock wrote: > > On Mon, Aug 30, 2010 at 11:22:20PM +0200, Hans Petter Selasky wrote: > > > Hi, > > > > Hi! > > > > > I've committed to the HAL stuff to webcamd in the I4B SVN as of r1628. To > > > enable HAL support build like this: > > > > > > make -j3 HAVE_HAL=YES LIBDIR=/usr/local/lib > > > > > > Run like this: > > > > > > ./webcamd -H > > > > There's an initialization missing so the code did nothing... > > (works now for dvb, v4l untested due to lack of device.) > > > > Cheers, > > Juergen > > > > Index: webcamd_hal.c > > =================================================================== > > --- webcamd_hal.c (revision 1628) > > +++ webcamd_hal.c (working copy) > > @@ -69,6 +69,8 @@ > > char **ppdev; > > int n; > > > > + if (!(hal_conn = dbus_bus_get(DBUS_BUS_SYSTEM, NULL))) > > + return; > > hal_ctx = libhal_ctx_new(); > > if (hal_ctx == NULL) > > return; > > Committed to r1629. Found out your version only works when specifying the usb device with -d explicitly (read: I forgot to test the other case... :( u_unit, u_addr, u_index were not set) - here's a possible fix, also at: http://people.freebsd.org/~nox/tmp/webcamd-hal-r1629.patch Cheers, Juergen Index: kernel/linux_usb.c =================================================================== --- kernel/linux_usb.c (revision 1629) +++ kernel/linux_usb.c (working copy) @@ -266,7 +266,7 @@ * This function is the FreeBSD probe and attach callback. *------------------------------------------------------------------------*/ int -usb_linux_probe(uint8_t bus, uint8_t addr, uint8_t index) +usb_linux_probe_p(int *p_bus, int *p_addr, int *p_index) { const struct usb_device_id *id; struct usb_linux_softc *sc; @@ -281,6 +281,9 @@ uint8_t match_bus_addr; uint8_t index_copy; uint8_t device_index; + uint8_t bus = *p_bus; + uint8_t addr = *p_addr; + uint8_t index = *p_index; for (i = 0;; i++) { if (i == ARRAY_SIZE(uls)) @@ -365,9 +368,11 @@ return (-ENXIO); found: + *p_bus = libusb20_dev_get_bus_number(pdev); + *p_addr = libusb20_dev_get_address(pdev); + *p_index = index_copy; #ifdef HAVE_WEBCAMD - if (pidfile_create(libusb20_dev_get_bus_number(pdev), - libusb20_dev_get_address(pdev), index_copy)) { + if (pidfile_create(*p_bus, *p_addr, index_copy)) { fprintf(stderr, "Webcamd is already running for " "ugen%d.%d.%d\n", libusb20_dev_get_bus_number(pdev), Index: kernel/linux_usb.h =================================================================== --- kernel/linux_usb.h (revision 1629) +++ kernel/linux_usb.h (working copy) @@ -583,7 +583,7 @@ int usb_deregister(struct usb_driver *drv); struct usb_linux_softc *usb_linux2usb(int fd); -int usb_linux_probe(uint8_t bus, uint8_t addr, uint8_t index); +int usb_linux_probe_p(int *pbus, int *paddr, int *pindex); int usb_linux_detach(int fd); int usb_linux_suspend(int fd); int usb_linux_resume(int fd); Index: webcamd.c =================================================================== --- webcamd.c (revision 1629) +++ webcamd.c (working copy) @@ -462,7 +462,7 @@ } linux_init(); - f_usb = usb_linux_probe(u_unit, u_addr, u_index); + f_usb = usb_linux_probe_p(&u_unit, &u_addr, &u_index); if (f_usb < 0) v4b_errx(1, "Cannot find USB device"); From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 1 18:10:32 2010 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 50B5410656B6; Wed, 1 Sep 2010 18:10:32 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 4DAA88FC08; Wed, 1 Sep 2010 18:10:30 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=sIybwy0z7bWw0ilx/SziPN3xnsQN4yn8NMXKZM3k7p4= c=1 sm=1 a=ivRC_LpHlL4A:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=2cPXYuS1LqeNY34DH-QA:9 a=eckACRlK3VPd3RCDX68cDZmSm9sA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 14560356; Wed, 01 Sep 2010 20:10:27 +0200 Received-SPF: softfail receiver=mailfe05.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Wed, 1 Sep 2010 20:06:24 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <201008312058.16445.hselasky@freebsd.org> <20100901175422.GA12485@triton8.kn-bremen.de> In-Reply-To: <20100901175422.GA12485@triton8.kn-bremen.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009012006.24541.hselasky@freebsd.org> Cc: me@janh.de, Joe Marcus Clarke , kde@freebsd.org, Juergen Lock , gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? 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: Wed, 01 Sep 2010 18:10:32 -0000 Hi, Your patch has been committed, see r1630. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 1 20:17:14 2010 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 A8B7510656AA; Wed, 1 Sep 2010 20:17:14 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 51CB68FC13; Wed, 1 Sep 2010 20:17:12 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=8nVFKzxAJNCZJh2yHDOpnep+nZeeqVU+af0AVP5CZ7Y= c=1 sm=1 a=1WFq_yoiUcEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=NzO03xj1007V8k534y0A:9 a=uExydJmUV58Az-TQ6wOU0CF-zxcA:4 a=wPNLvfGTeEIA:10 a=ndaoGXS1AAAA:8 a=CiMSBHh-DkIk7CVusWQA:9 a=Chf0PF5U4sWZ4sDHhuF_b9EO7cAA:4 a=3j_npBZx3eNP3_sAtSEA:9 a=4Ri-jnecF7k7C_jDDnQA:7 a=meC3T-9zBvtw5PYPeCTKhaLIoFoA:4 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 14468258; Wed, 01 Sep 2010 22:16:57 +0200 Received-SPF: softfail receiver=mailfe07.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Wed, 1 Sep 2010 22:13:03 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <201008312058.16445.hselasky@freebsd.org> <20100901175422.GA12485@triton8.kn-bremen.de> In-Reply-To: <20100901175422.GA12485@triton8.kn-bremen.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_PPrfMviu67kflU7" Message-Id: <201009012213.03859.hselasky@freebsd.org> Cc: me@janh.de, kwm@freebsd.org, kde@freebsd.org, Juergen Lock , Joe Marcus Clarke , gnome@freebsd.org Subject: New version of webcamd and cuse4bsd available 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: Wed, 01 Sep 2010 20:17:14 -0000 --Boundary-00=_PPrfMviu67kflU7 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, Please find ports patches attached for cuse4bsd and webcamd ports. Please test and report any bugs. News: - Add support for GNU/kFreeBSD - Add support for DBUS/HAL registration - Add support for more DVB tuner frontends - Add support for multi-antenna DVB adapters - Update to latest version of Linux DVB code --HPS --Boundary-00=_PPrfMviu67kflU7 Content-Type: text/x-patch; charset="iso-8859-1"; name="cuse4bsd.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cuse4bsd.diff" diff -u -r cuse4bsd-kmod.orig/Makefile cuse4bsd-kmod/Makefile --- cuse4bsd-kmod.orig/Makefile 2010-09-01 21:55:46.000000000 +0200 +++ cuse4bsd-kmod/Makefile 2010-09-01 21:57:15.000000000 +0200 @@ -6,7 +6,7 @@ # PORTNAME= cuse4bsd-kmod -PORTVERSION= 0.1.12 +PORTVERSION= 0.1.13 CATEGORIES= multimedia kld MASTER_SITES= http://www.selasky.org/hans_petter/cuse4bsd/releases/ diff -u -r cuse4bsd-kmod.orig/distinfo cuse4bsd-kmod/distinfo --- cuse4bsd-kmod.orig/distinfo 2010-09-01 21:55:46.000000000 +0200 +++ cuse4bsd-kmod/distinfo 2010-09-01 21:57:28.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (cuse4bsd-kmod-0.1.12.tar.bz2) = dde330df068374610b6633853b67191f -SHA256 (cuse4bsd-kmod-0.1.12.tar.bz2) = 5c8196375e2e97338106a823f2131463426b10fb2f2a3b1a05db131db04be7a5 -SIZE (cuse4bsd-kmod-0.1.12.tar.bz2) = 12656 +MD5 (cuse4bsd-kmod-0.1.13.tar.bz2) = b4f4744cea02702519f0dc99fad9c55d +SHA256 (cuse4bsd-kmod-0.1.13.tar.bz2) = fb22b7bbc87e01d4815dcd2e73230df1c27c94f1efb2d86641b6e118ccf524c7 +SIZE (cuse4bsd-kmod-0.1.13.tar.bz2) = 12677 --Boundary-00=_PPrfMviu67kflU7 Content-Type: text/x-patch; charset="iso-8859-1"; name="webcamd.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="webcamd.diff" diff -u -r webcamd.orig/Makefile webcamd/Makefile --- webcamd.orig/Makefile 2010-09-01 20:21:32.000000000 +0200 +++ webcamd/Makefile 2010-09-01 21:45:58.000000000 +0200 @@ -6,8 +6,7 @@ # PORTNAME= webcamd -PORTVERSION= 0.1.14 -PORTREVISION= 1 +PORTVERSION= 0.1.15 CATEGORIES= multimedia MASTER_SITES= http://www.selasky.org/hans_petter/video4bsd/releases/ @@ -25,8 +24,23 @@ LIBDIR= ${PREFIX}/lib +OPTIONS= HAL "Build with HAL and DBUS support" On + .include +MAKE_ARGS+="-j2" + +LIBCUSE=${LIBDIR}/libcuse4bsd.so + +.if defined(WITH_HAL) +MAKE_ARGS+="HAVE_HAL=YES" +LIBHAL=${LIBDIR}/libhal.so:${LIBDIR}/libdbus-1.so: +LIB_DEPENDS+=hal.1:${PORTSDIR}/sysutils/hal +LIB_DEPENDS+=dbus-1:${PORTSDIR}/devel/dbus +.else +LIBHAL= +.endif + .if ${OSVERSION} < 800000 IGNORE= requires FreeBSD 8.0-RELEASE or later .endif @@ -38,6 +52,8 @@ post-install: @${MKDIR} ${PREFIX}/etc/devd @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \ + -e "s|%%LIBHAL%%|${LIBHAL}|g" \ + -e "s|%%LIBCUSE%%|${LIBCUSE}|g" \ < ${FILESDIR}/webcamd.conf.in > ${WRKDIR}/webcamd.conf ${INSTALL_DATA} "${WRKDIR}/webcamd.conf" ${PREFIX}/etc/devd @${CAT} ${PKGMESSAGE} diff -u -r webcamd.orig/distinfo webcamd/distinfo --- webcamd.orig/distinfo 2010-09-01 20:21:32.000000000 +0200 +++ webcamd/distinfo 2010-09-01 21:49:14.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (webcamd-0.1.14.tar.bz2) = e20b5946ef7e7b4c519303625709b46b -SHA256 (webcamd-0.1.14.tar.bz2) = eedb054dcaa4aced9ef680ab909e3f44d67687495eb264daceccaead8ca87826 -SIZE (webcamd-0.1.14.tar.bz2) = 3583100 +MD5 (webcamd-0.1.15.tar.bz2) = 2a5cd14fb1e6587f6cc2e0aabcb6cc7d +SHA256 (webcamd-0.1.15.tar.bz2) = f9459ec4dac097f5c948a55fb8e34413d42a6f2cda72df21f1a604a7e2d3c6d0 +SIZE (webcamd-0.1.15.tar.bz2) = 3542238 diff -u -r webcamd.orig/files/webcamd.conf.in webcamd/files/webcamd.conf.in --- webcamd.orig/files/webcamd.conf.in 2010-09-01 20:21:32.000000000 +0200 +++ webcamd/files/webcamd.conf.in 2010-09-01 20:45:23.000000000 +0200 @@ -3,5 +3,5 @@ match "subsystem" "INTERFACE"; match "type" "ATTACH"; match "intclass" "(0x0e|0xff)"; - action "env LD_PRELOAD=%%PREFIX%%/lib/libcuse4bsd.so %%PREFIX%%/etc/rc.d/webcamd start $cdev"; + action "env LD_PRELOAD=%%LIBHAL%%%%LIBCUSE%% %%PREFIX%%/etc/rc.d/webcamd start $cdev"; }; diff -u -r webcamd.orig/files/webcamd.in webcamd/files/webcamd.in --- webcamd.orig/files/webcamd.in 2010-09-01 20:21:32.000000000 +0200 +++ webcamd/files/webcamd.in 2010-09-01 21:20:03.000000000 +0200 @@ -10,6 +10,7 @@ # webcamd_enable=${webcamd_enable-"NO"} +hald_enable=${hald_enable-"NO"} . /etc/rc.subr @@ -17,6 +18,11 @@ rcvar=`set_rcvar` command=%%PREFIX%%/sbin/webcamd command_args="-B" + +if [ -n "$hald_enable" ]; then + command_args="$command_args -H" +fi + pidfile="/var/run/webcamd.$cdev.0.pid" load_rc_config $name --Boundary-00=_PPrfMviu67kflU7-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 1 20:58:19 2010 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 61B68106564A for ; Wed, 1 Sep 2010 20:58:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 2332E8FC12 for ; Wed, 1 Sep 2010 20:58:17 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=bqAX4Es/FymT96iuQFWdNJXS7SazJpmZM5WIJFHIREc= c=1 sm=1 a=gFZFNxR00aAA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=DDJ941IIOSnLeK3J4KEA:9 a=QMMzQZlSWBddAHguyR70AVWR2yUA:4 a=PUjeQqilurYA:10 a=ndaoGXS1AAAA:8 a=3j_npBZx3eNP3_sAtSEA:9 a=2-UCU8V-o7x3_Ykrz44A:7 a=2lojoW0sZmsN7PFaG5qkZy0Yc8kA:4 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 15232308; Wed, 01 Sep 2010 22:58:05 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Wed, 1 Sep 2010 22:54:10 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <20100901175422.GA12485@triton8.kn-bremen.de> <201009012213.03859.hselasky@freebsd.org> In-Reply-To: <201009012213.03859.hselasky@freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_y1rfM1mnJpBAJAd" Message-Id: <201009012254.10691.hselasky@c2i.net> Cc: me@janh.de, kwm@freebsd.org, kde@freebsd.org, Juergen Lock , Joe Marcus Clarke , gnome@freebsd.org Subject: Re: New version of webcamd and cuse4bsd available 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: Wed, 01 Sep 2010 20:58:19 -0000 --Boundary-00=_y1rfM1mnJpBAJAd Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit On Wednesday 01 September 2010 22:13:03 Hans Petter Selasky wrote: > Hi, > > Please find ports patches attached for cuse4bsd and webcamd ports. Please > test and report any bugs. > > News: > > - Add support for GNU/kFreeBSD > - Add support for DBUS/HAL registration > - Add support for more DVB tuner frontends > - Add support for multi-antenna DVB adapters > - Update to latest version of Linux DVB code > > --HPS Please find attached new webcamd.diff, fixing a minor problem with HAL registration during bootup. --HPS --Boundary-00=_y1rfM1mnJpBAJAd Content-Type: text/x-patch; charset="iso-8859-15"; name="webcamd.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="webcamd.diff" diff -u -r webcamd.orig/Makefile webcamd/Makefile --- webcamd.orig/Makefile 2010-09-01 20:21:32.000000000 +0200 +++ webcamd/Makefile 2010-09-01 22:31:24.000000000 +0200 @@ -6,8 +6,7 @@ # PORTNAME= webcamd -PORTVERSION= 0.1.14 -PORTREVISION= 1 +PORTVERSION= 0.1.16 CATEGORIES= multimedia MASTER_SITES= http://www.selasky.org/hans_petter/video4bsd/releases/ @@ -25,8 +24,23 @@ LIBDIR= ${PREFIX}/lib +OPTIONS= HAL "Build with HAL and DBUS support" On + .include +MAKE_ARGS+="-j2" + +LIBCUSE=${LIBDIR}/libcuse4bsd.so + +.if defined(WITH_HAL) +MAKE_ARGS+="HAVE_HAL=YES" +LIBHAL=${LIBDIR}/libhal.so:${LIBDIR}/libdbus-1.so: +LIB_DEPENDS+=hal.1:${PORTSDIR}/sysutils/hal +LIB_DEPENDS+=dbus-1:${PORTSDIR}/devel/dbus +.else +LIBHAL= +.endif + .if ${OSVERSION} < 800000 IGNORE= requires FreeBSD 8.0-RELEASE or later .endif @@ -38,6 +52,8 @@ post-install: @${MKDIR} ${PREFIX}/etc/devd @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \ + -e "s|%%LIBHAL%%|${LIBHAL}|g" \ + -e "s|%%LIBCUSE%%|${LIBCUSE}|g" \ < ${FILESDIR}/webcamd.conf.in > ${WRKDIR}/webcamd.conf ${INSTALL_DATA} "${WRKDIR}/webcamd.conf" ${PREFIX}/etc/devd @${CAT} ${PKGMESSAGE} diff -u -r webcamd.orig/distinfo webcamd/distinfo --- webcamd.orig/distinfo 2010-09-01 20:21:32.000000000 +0200 +++ webcamd/distinfo 2010-09-01 22:46:46.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (webcamd-0.1.14.tar.bz2) = e20b5946ef7e7b4c519303625709b46b -SHA256 (webcamd-0.1.14.tar.bz2) = eedb054dcaa4aced9ef680ab909e3f44d67687495eb264daceccaead8ca87826 -SIZE (webcamd-0.1.14.tar.bz2) = 3583100 +MD5 (webcamd-0.1.16.tar.bz2) = 2e48673e4f729ac4ebfcbddf9985c18e +SHA256 (webcamd-0.1.16.tar.bz2) = ab5e5b7253414c822ce434317e5a0b0c82827765433bf4d115812d6e5ad8b192 +SIZE (webcamd-0.1.16.tar.bz2) = 3543806 diff -u -r webcamd.orig/files/webcamd.conf.in webcamd/files/webcamd.conf.in --- webcamd.orig/files/webcamd.conf.in 2010-09-01 20:21:32.000000000 +0200 +++ webcamd/files/webcamd.conf.in 2010-09-01 20:45:23.000000000 +0200 @@ -3,5 +3,5 @@ match "subsystem" "INTERFACE"; match "type" "ATTACH"; match "intclass" "(0x0e|0xff)"; - action "env LD_PRELOAD=%%PREFIX%%/lib/libcuse4bsd.so %%PREFIX%%/etc/rc.d/webcamd start $cdev"; + action "env LD_PRELOAD=%%LIBHAL%%%%LIBCUSE%% %%PREFIX%%/etc/rc.d/webcamd start $cdev"; }; diff -u -r webcamd.orig/files/webcamd.in webcamd/files/webcamd.in --- webcamd.orig/files/webcamd.in 2010-09-01 20:21:32.000000000 +0200 +++ webcamd/files/webcamd.in 2010-09-01 21:20:03.000000000 +0200 @@ -10,6 +10,7 @@ # webcamd_enable=${webcamd_enable-"NO"} +hald_enable=${hald_enable-"NO"} . /etc/rc.subr @@ -17,6 +18,11 @@ rcvar=`set_rcvar` command=%%PREFIX%%/sbin/webcamd command_args="-B" + +if [ -n "$hald_enable" ]; then + command_args="$command_args -H" +fi + pidfile="/var/run/webcamd.$cdev.0.pid" load_rc_config $name Only in webcamd: work --Boundary-00=_y1rfM1mnJpBAJAd-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 1 22:24:31 2010 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 BB91B10656AA for ; Wed, 1 Sep 2010 22:24:31 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 65F2C8FC21 for ; Wed, 1 Sep 2010 22:24:31 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id E4CCA1E006D8; Thu, 2 Sep 2010 00:24:29 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id o81ML5L3006049 for ; Thu, 2 Sep 2010 00:21:05 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id o81ML58s006048 for freebsd-multimedia@FreeBSD.org; Thu, 2 Sep 2010 00:21:05 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Thu, 2 Sep 2010 00:21:04 +0200 To: freebsd-multimedia@FreeBSD.org Message-ID: <20100901222104.GA3552@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: using remotes with vdr (patching remote plugin for uhid(4)) 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: Wed, 01 Sep 2010 22:24:31 -0000 Since I now have a usb receiver with matching remote that comes up as ukbd(4) and ums(4) (its sold sold for Windows MCE), I looked at remote support for vdr again. Since I didn't want to change the ukbd rules in /etc/devd.conf and since there also may be dvb tuner remotes that come up as uhid(4) instead of ukbd(4) (in addition to those that are handled directly in the dvb drivers for which there still is code missing in webcamd so they cannot easily be used by apps yet), I added a quirk UQ_KBD_IGNORE via usbconfig add_dev_quirk_vplh and tried to simply read from /dev/uhid0. usbconfig dump_curr_config_desc on the device says wMaxPacketSize is 0x0008 for both endpoints (ugen3.2.0 is handled by uhid0 according to `usbconfig show_ifdrv' so I guess interface 0's endpoint is the `keyboard'), so I read 8 bytes each, and got data for most of the remote's buttons at button press, and 8 bytes of zero at button release. (for some reason a few buttons like volume up/down and mute didn't produce anything, apparenly not even on other uvid devices when using the sysutils/uhidd port and usbhidctl.) Luckily the remote plugin uses 8 bytes for handling codes from remotes too (uint64_t), so I added a cRemoteUhid class that basically just returns the result of the last successful read (and reads with O_NONBLOCK in order to support repeat), and returns true for keyPressed() if code is not zero, and that got my remote going! So if anyone wants to test this with his remote, I've put the shar of the patched remote plugin port here: http://people.freebsd.org/~nox/dvb/vdr-plugin-remote.shar And here is the pkg-descr with notes about how to add the quirk if your remote comes up as ukbd(4) too: --------snip------- http://www.linuxtv.org/vdrwiki/index.php/Remote-plugin This plugin extends the remote control capabilities of vdr. The following remote control devices are supported: (a) linux input device driver ('/dev/input/eventX', X=0,1,2,...) (currently not supported on FreeBSD) (b) keyboard (tty driver): /dev/console, /dev/ttyX (c) TCP connection (telnet) (d) LIRC (e) some(?) FreeBSD uhid(4) devices (experimental support added by this port) To use, add something like this to vdr_flags: '-Premote -h /dev/uhid0', (re)start vdr, then the osd should ask you to configure the remote by pressing the buttons you want to assign. Note: If your remote is detected as a keyboard you'll have to tell ukbd(4) to ignore it first by doing (as root) something like: usbconfig add_dev_quirk_vplh 0x1241 0xe000 0 0xffff UQ_KBD_IGNORE (and possibly unplug it for a moment, 0x1241 there is the vendor id, 0xe000 the product id of the device, you can get yours by doing usbconfig -u 1 -a 2 dump_device_desc and looking for idVendor and idProduct, -u 1 and -a 2 there correspond to ugen1.2 listed by usbconfig w/o args.) You can check with: usbconfig show_ifdrv if the device is then listed as ugen...: uhid... you're good to go. WWW: http://escape-edv.de/endriss/vdr --------snip------- Happy testing! Juergen PS: I meanwhile discovered so doing this `properly' (by actually interpreting the data and hid descriptor etc) may be less work than I initially thought, but first let's see how far ppl get with this simple approach. :) From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 1 22:30:06 2010 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 CE11B10656A7 for ; Wed, 1 Sep 2010 22:30:06 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 53A538FC14 for ; Wed, 1 Sep 2010 22:30:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 5571690254; Thu, 2 Sep 2010 00:30:05 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WaqN1sVBTb9u; Thu, 2 Sep 2010 00:30:05 +0200 (CEST) Received: from nb895.math (g224008001.adsl.alicedsl.de [92.224.8.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id ADEB2901CC; Thu, 2 Sep 2010 00:30:03 +0200 (CEST) Message-ID: <4C7ED3E3.5030709@janh.de> Date: Thu, 02 Sep 2010 00:29:55 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100821 Thunderbird/3.0.6 MIME-Version: 1.0 To: Hans Petter Selasky References: <4C66C4BC.4040504@janh.de> <20100901175422.GA12485@triton8.kn-bremen.de> <201009012213.03859.hselasky@freebsd.org> <201009012254.10691.hselasky@c2i.net> In-Reply-To: <201009012254.10691.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Koop Mast , gnome-list freebsd , Juergen Lock , multimedia-list freebsd , Joe Marcus Clarke , kde-list freebsd Subject: Re: New version of webcamd and cuse4bsd available 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: Wed, 01 Sep 2010 22:30:06 -0000 On 09/01/2010 22:54, Hans Petter Selasky wrote: > On Wednesday 01 September 2010 22:13:03 Hans Petter Selasky wrote: >> Hi, >> >> Please find ports patches attached for cuse4bsd and webcamd ports. Please >> test and report any bugs. >> >> News: >> >> - Add support for GNU/kFreeBSD >> - Add support for DBUS/HAL registration >> - Add support for more DVB tuner frontends >> - Add support for multi-antenna DVB adapters >> - Update to latest version of Linux DVB code >> >> --HPS > > Please find attached new webcamd.diff, fixing a minor problem with HAL > registration during bootup. > > --HPS About the patches themselves: When I tried to apply the patches from /usr/ports/multimedia/, the cuse4bsd one tried to patch /usr/ports/multimedia/Makefile. I applied them from the subdirectories, but had to specify the location of files/*. Eventually, all hunks applied. # webcamd -d 0.5 -H Attached ugen0.5[0] to cuse unit 0 Loading firmware at '/boot/modules/dvb-usb-wt220u-fc03.fw', f=7 Waiting for HAL USB device. Waiting for HAL USB device. # webcamd -d 0.5 -H Attached ugen0.5[0] to cuse unit 0 Waiting for HAL USB device. Waiting for HAL USB device. Waiting for HAL USB device. ... This goes on with one line a second. kaffeine still does not know about my DVB-T stick. Yesterday, I tried the snv version of webcamd (but not cuse4bsd at that time). It did not print the lines: "Waiting for HAL USB device." Anyhow, kaffeine did not work and I verified with lshal that webcamd did not change anything in hal. Cheers, Jan Henrik From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 1 22:35:46 2010 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 3FF9010656C4; Wed, 1 Sep 2010 22:35:46 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 4468A8FC0C; Wed, 1 Sep 2010 22:35:44 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=sIybwy0z7bWw0ilx/SziPN3xnsQN4yn8NMXKZM3k7p4= c=1 sm=1 a=gFZFNxR00aAA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Eqvb-1-y_gnmJJBQl28A:9 a=rZr85igBW_3Xcju9phoXyRmIuUEA:4 a=PUjeQqilurYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 14658042; Thu, 02 Sep 2010 00:35:41 +0200 From: Hans Petter Selasky To: Jan Henrik Sylvester Date: Thu, 2 Sep 2010 00:31:38 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <201009012254.10691.hselasky@c2i.net> <4C7ED3E3.5030709@janh.de> In-Reply-To: <4C7ED3E3.5030709@janh.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201009020031.38141.hselasky@c2i.net> Cc: Koop Mast , gnome-list freebsd , Juergen Lock , multimedia-list freebsd , Joe Marcus Clarke , kde-list freebsd Subject: Re: New version of webcamd and cuse4bsd available 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: Wed, 01 Sep 2010 22:35:46 -0000 On Thursday 02 September 2010 00:29:55 Jan Henrik Sylvester wrote: > On 09/01/2010 22:54, Hans Petter Selasky wrote: > > On Wednesday 01 September 2010 22:13:03 Hans Petter Selasky wrote: > >> Hi, > >> > >> Please find ports patches attached for cuse4bsd and webcamd ports. > >> Please test and report any bugs. > >> > >> News: > >> > >> - Add support for GNU/kFreeBSD > >> - Add support for DBUS/HAL registration > >> - Add support for more DVB tuner frontends > >> - Add support for multi-antenna DVB adapters > >> - Update to latest version of Linux DVB code > >> > >> --HPS > > > > Please find attached new webcamd.diff, fixing a minor problem with HAL > > registration during bootup. > > > > --HPS > > About the patches themselves: When I tried to apply the patches from > /usr/ports/multimedia/, the cuse4bsd one tried to patch > /usr/ports/multimedia/Makefile. I applied them from the subdirectories, > but had to specify the location of files/*. Eventually, all hunks applied. > > # webcamd -d 0.5 -H > Attached ugen0.5[0] to cuse unit 0 > Loading firmware at '/boot/modules/dvb-usb-wt220u-fc03.fw', f=7 > Waiting for HAL USB device. > Waiting for HAL USB device. > # webcamd -d 0.5 -H > Attached ugen0.5[0] to cuse unit 0 > Waiting for HAL USB device. > Waiting for HAL USB device. > Waiting for HAL USB device. > ... > > This goes on with one line a second. kaffeine still does not know about > my DVB-T stick. > > Yesterday, I tried the snv version of webcamd (but not cuse4bsd at that > time). It did not print the lines: "Waiting for HAL USB device." Anyhow, > kaffeine did not work and I verified with lshal that webcamd did not > change anything in hal. > > Cheers, > Jan Henrik Hi, Make sure your installation of HAL is up to date, and that hald_enable=YES and dbus_enable=YES in rc.conf. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 1 22:37:01 2010 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 52C1310656BB; Wed, 1 Sep 2010 22:37:01 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 4871A8FC13; Wed, 1 Sep 2010 22:37:00 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=tumaaA6jyRO6uOJXwJ9zBqfKx0+WtA7m4Qh1fZXYtZM= c=1 sm=1 a=gFZFNxR00aAA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=RAEjnA86Dtwsfp-pYAAA:9 a=FMHLVazhwuTbOSBqvAbKJU35VtsA:4 a=PUjeQqilurYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 15048410; Thu, 02 Sep 2010 00:36:50 +0200 From: Hans Petter Selasky To: Jan Henrik Sylvester Date: Thu, 2 Sep 2010 00:32:53 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C66C4BC.4040504@janh.de> <201009012254.10691.hselasky@c2i.net> <4C7ED3E3.5030709@janh.de> In-Reply-To: <4C7ED3E3.5030709@janh.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201009020032.53395.hselasky@c2i.net> Cc: Koop Mast , gnome-list freebsd , Juergen Lock , multimedia-list freebsd , Joe Marcus Clarke , kde-list freebsd Subject: Re: New version of webcamd and cuse4bsd available 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: Wed, 01 Sep 2010 22:37:01 -0000 On Thursday 02 September 2010 00:29:55 Jan Henrik Sylvester wrote: > About the patches themselves: When I tried to apply the patches from > /usr/ports/multimedia/, the cuse4bsd one tried to patch > /usr/ports/multimedia/Makefile. I applied them from the subdirectories, > but had to specify the location of files/*. Eventually, all hunks applied. cd /usr/ports/multimedia/cuse4bsd cat cuse4bsd.diff | patch -p1 cd /usr/ports/multimedia/webcamd cat webcamd.diff | patch -p1 --HPS From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 2 17:37:22 2010 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 B354E10656FA; Thu, 2 Sep 2010 17:37:22 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 66A288FC13; Thu, 2 Sep 2010 17:37:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id D19F690437; Thu, 2 Sep 2010 19:37:20 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FxHbIKcicgjR; Thu, 2 Sep 2010 19:37:20 +0200 (CEST) Received: from nb895.math (g224012120.adsl.alicedsl.de [92.224.12.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id 5150890055; Thu, 2 Sep 2010 19:37:20 +0200 (CEST) Message-ID: <4C7FE0C9.2020005@janh.de> Date: Thu, 02 Sep 2010 19:37:13 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100821 Thunderbird/3.0.6 MIME-Version: 1.0 To: Hans Petter Selasky References: <4C66C4BC.4040504@janh.de> <201009012254.10691.hselasky@c2i.net> <4C7ED3E3.5030709@janh.de> <201009020031.38141.hselasky@c2i.net> In-Reply-To: <201009020031.38141.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Koop Mast , gnome-list freebsd , Juergen Lock , multimedia-list freebsd , Joe Marcus Clarke , kde-list freebsd Subject: Re: New version of webcamd and cuse4bsd available 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, 02 Sep 2010 17:37:22 -0000 On 09/02/2010 00:31, Hans Petter Selasky wrote: > On Thursday 02 September 2010 00:29:55 Jan Henrik Sylvester wrote: >> # webcamd -d 0.5 -H >> Attached ugen0.5[0] to cuse unit 0 >> Loading firmware at '/boot/modules/dvb-usb-wt220u-fc03.fw', f=7 >> Waiting for HAL USB device. >> Waiting for HAL USB device. >> # webcamd -d 0.5 -H >> Attached ugen0.5[0] to cuse unit 0 >> Waiting for HAL USB device. >> Waiting for HAL USB device. >> Waiting for HAL USB device. >> ... >> >> This goes on with one line a second. kaffeine still does not know about >> my DVB-T stick. >> >> Yesterday, I tried the snv version of webcamd (but not cuse4bsd at that >> time). It did not print the lines: "Waiting for HAL USB device." Anyhow, >> kaffeine did not work and I verified with lshal that webcamd did not >> change anything in hal. > Make sure your installation of HAL is up to date, and that hald_enable=YES and > dbus_enable=YES in rc.conf. I have changed nothing but rebooted. The messages disappeared and kaffeine picks up the device. I must have missed to restart some daemon or kernel module. My DVB-T stick works, now with HAL. My webcam still works as before. Thanks, Jan Henrik From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 2 22:54:34 2010 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 35A35106588A for ; Thu, 2 Sep 2010 22:54:34 +0000 (UTC) (envelope-from edhoprima@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id E0C948FC18 for ; Thu, 2 Sep 2010 22:54:33 +0000 (UTC) Received: by ywt2 with SMTP id 2so536299ywt.13 for ; Thu, 02 Sep 2010 15:54:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=a1XmSf5owT1SKqfEXwozOSj5gT6/09XpJbHTDuE9DcM=; b=T8uCFaTbiMaWJFQA78dqrZdsMebT98ue+wnw8qhanOmebVAtS8YLrp6teZ1lTk9abL vcpSV70OHLz9vVPoeM5umvAILlH1fFzOQR7fWQHkXVJPsgxW99Nd2wnnttnG0WJd1+j8 BKJ+d6ta73UMarZH5KAErosxIfm67832om1L4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=gBsYR6kZjkZRQWtpipXWkBqT2GP+eOOnvT/LONQzYrFl/oPXDVY4kkW4vJnnlUQSN0 oWJWTUL8lZMacyo480hmXtlCDXdcictDFhGHN/x+t2HcfujukeLtmAX3V48khBmEaQE8 Tvy3nDbE+xks7OkXmGpzoBwVK7vM7OnlhVBTc= Received: by 10.100.57.2 with SMTP id f2mr10862043ana.110.1283466313172; Thu, 02 Sep 2010 15:25:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.168.83 with HTTP; Thu, 2 Sep 2010 15:24:53 -0700 (PDT) From: Edho P Arief Date: Fri, 3 Sep 2010 05:24:53 +0700 Message-ID: To: multimedia@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: FreeBSD Port: multimedia/gpac-libgpac 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, 02 Sep 2010 22:54:34 -0000 Typo in multimedia/gpac-libgpac/Makefile: - usr-vorbis -> use-vorbis http://pastebin.com/VWaSpfYA diff -r cd2edc056650 Makefile --- a/Makefile Fri Sep 03 05:22:03 2010 +0700 +++ b/Makefile Fri Sep 03 05:22:36 2010 +0700 @@ -41,7 +41,7 @@ --enable-pic \ --use-js=no --use-a52=no --use-faad=no --use-ffmpeg=no \ --use-ft=no --use-mad=no --use-ogg=no \ - --use-openjpeg=no --use-theora=no --usr-vorbis=no + --use-openjpeg=no --use-theora=no --use-vorbis=no CONFIGURE_ENV+= LIBVER="${LIBVER}" PTHREAD_LIBS="${PTHREAD_LIBS}" -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org