From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 26 16:26:51 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2122736A for ; Fri, 26 Jul 2013 16:26:51 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail-oa0-x232.google.com (mail-oa0-x232.google.com [IPv6:2607:f8b0:4003:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D807224F2 for ; Fri, 26 Jul 2013 16:26:50 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id k7so7837907oag.23 for ; Fri, 26 Jul 2013 09:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=VU4piCRMRef1Atym3Pea7TztJ/WVpWFnOPrpals6m8Q=; b=Ybov4UhTIFrybyTygklRmxjRn8HSzhCApaFKAG/wGMB3PqmKWUUWiMQ3IHa8BJmhld 7XNrG29jXbqhw+Q4kIUo52BKofys6H8ELp8tpp+Hx+MEXi15lXnbcQWvinK2kTIjybe2 wQRVPWUpY6FT+yzhwvK2KeP0WaoLaEpKmgApw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=VU4piCRMRef1Atym3Pea7TztJ/WVpWFnOPrpals6m8Q=; b=XUrWDLNYRgTt5pMPTv956iy+HpkIQpwWw9jV24EB98KWoaAMQzxv2dT+d1F1M/V7Gd 6ikJ3SeNUaYNb0tbOkiY6iGQYkktukmD7hYNuhUfaWoB6MIwJAeD6rx9EZTXRNm2tXgk vQV706OmJIBPEYA+lDRpNyL5cPaAG1sLHbt62Ez+kkfLQtkeC5dL8s994ckLUnp7Cj9I 3vgU4GqSieZCcm4gTVn+Mw3/j+E1x08EN14mRzxv60FLmFtGcVHTCNnvajG56kDG3fjO StavZFGeEqbrBHfTUk5V28GLEziTfk/bXVvE8Krw9mPBTvkw5pT4FA9zn28JEhQ4fIA0 dOkQ== MIME-Version: 1.0 X-Received: by 10.60.59.193 with SMTP id b1mr12667740oer.53.1374856009916; Fri, 26 Jul 2013 09:26:49 -0700 (PDT) Received: by 10.76.95.168 with HTTP; Fri, 26 Jul 2013 09:26:49 -0700 (PDT) X-Originating-IP: [46.74.150.214] In-Reply-To: <51F2695F.7050005@bitfrost.no> References: <201307181834.r6IIY35e055755@triton8.kn-bremen.de> <51E844C9.4060106@bitfrost.no> <51E85CFC.3060305@bitfrost.no> <20130719051247.GF26412@funkthat.com> <51E8DEA2.4020506@bitfrost.no> <20130719180453.GA27702@triton8.kn-bremen.de> <51F2695F.7050005@bitfrost.no> Date: Fri, 26 Jul 2013 18:26:49 +0200 Message-ID: Subject: Re: kqueue(2) vs. cuse4bsd? From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQklEw+THcAfDlg7o5yOXixUlVrKgBB8alkFTilWy5BxKy+buE8C+1huqPA5a9+KuUIqtKFx Cc: freebsd-multimedia@freebsd.org, Juergen Lock X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jul 2013 16:26:51 -0000 On Fri, Jul 26, 2013 at 2:19 PM, Hans Petter Selasky wrot= e: > FYI: > > KQUEUE support was added to CUSE4BSD in my ISDN4BSD SVN repository's > cuse4bsd-kmod port. > > svn --username anonsvn --password anonsvn \ > checkout svn://svn.turbocat.net/i4b/trunk/ports > > --HPS I've used it to test my new patch now and scanning seems to work fine for me now! It took me a bit to figure out how to properly fix that kqueue stuff but I found an apr patch for their kqueue support that fixed a quite similar issue. http://mail-archives.apache.org/mod_mbox/apr-commits/200603.mbox/%3C2006031= 5195953.18073.qmail@minotaur.apache.org%3E It resulted in that patch which also adds a few log messages in error cases= and seems to work fine after all! https://github.com/decke/tvheadend/commit/8a8c1a87125706b98a7e7ccd154108942= 380da83 So scanning with tvheadend works fine now and I could even watch some Live = TV :o) I will commit the update to tvheadend in a few minutes so once the cuse4bsd update is also committed it should be possible to properly use tvheadend on FreeBSD now! Thanks a lot to you all guys! --=20 Bernhard Fr=F6hlich http://www.bluelife.at/