From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 18 19:53:46 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F2826A2D for ; Thu, 18 Jul 2013 19:53:45 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) by mx1.freebsd.org (Postfix) with ESMTP id B6E513D8 for ; Thu, 18 Jul 2013 19:53:45 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id up14so4224789obb.0 for ; Thu, 18 Jul 2013 12:53:45 -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; bh=hmwr5Fj7+uwIFtaJzdn0dq8dBXWulvp1Q3y9dEjaxU8=; b=gD8kPcP8k9JzUE9MV6sVMPkNqEziDjzZDuFNtEmUjt1G09fb7x1GT0ZXZ1OnW9C4Y8 FMppxesfT4WoVTwRjC1z5IbVuDL2KxmE42XanlF5l5o2iM5sHWY8tMC527zypuul5eQ1 lbZmZw1BOK2frZFaiBFZk6Er8hk9MPGtbN9tM= 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:x-gm-message-state; bh=hmwr5Fj7+uwIFtaJzdn0dq8dBXWulvp1Q3y9dEjaxU8=; b=BhsTP3VwfowSo9PFXcwze9khqxe0upy//oaYKt9gDqO5IYnJlbh8tu6AZzkA8ReNjt KCSX9COI0zmtWNXmqtTtRhSrpfTHkDOyu5uh4DVflAP+EXaIGQDhBPy/woK73pGlZaEi BCspaHJlTlh0oBoKWmfTsrUX1R+cobwn4aUbbZvCT2NASq4hipWCzGFuhhfN2YXbon2H BC+TDJQ5gL1HeTpWJlu6nCrimRIHi/DRhEfNmloImJjaq2FinFnMlRU+zewGLmLFW7/V qL8IW0mrfTXghALY7mioH8Bq0u1U+VmXjkdNz+y4C0L1824Eo2zfbWDkrF/n6Cc2S1nr Is+g== MIME-Version: 1.0 X-Received: by 10.182.53.194 with SMTP id d2mr9346412obp.28.1374177225192; Thu, 18 Jul 2013 12:53:45 -0700 (PDT) Received: by 10.76.95.168 with HTTP; Thu, 18 Jul 2013 12:53:45 -0700 (PDT) X-Originating-IP: [89.144.192.102] Received: by 10.76.95.168 with HTTP; Thu, 18 Jul 2013 12:53:45 -0700 (PDT) In-Reply-To: <51E844C9.4060106@bitfrost.no> References: <201307181834.r6IIY35e055755@triton8.kn-bremen.de> <51E844C9.4060106@bitfrost.no> Date: Thu, 18 Jul 2013 21:53:45 +0200 Message-ID: Subject: Re: kqueue(2) vs. cuse4bsd? From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= To: Hans Petter Selasky X-Gm-Message-State: ALoCoQkjSg7gWzoKyxi8H7ZeTJixNko2JSIS9lzNdzD1YS9RmPsN6icrmfijGYGozGrHzc+dku5G Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Thu, 18 Jul 2013 19:53:46 -0000 Am 18.07.2013 21:39 schrieb "Hans Petter Selasky" : > > On 07/18/13 20:34, Juergen Lock wrote: >> >> In article < CAE-m3X0coVNak4fZ9hfC82izfgB1u0tX_JSBz89wb1d_qLhKtQ@mail.gmail.com> you write: >>> >>> Hi guys. >> >> Hi! >>> >>> >>> I have been working on tvheadend for some time and got it to the point >>> where I think it starts to become useful for others too. Upstream was >>> very helpful and merged a lot of patches already and also helped with >>> the kqueue support. >>> >>> So what is tvheadend and why do you want it? >>> - If you are using XBMC then you really want tvheadend as your DVB >>> backend. This allows you to watch TV and record stuff within XBMC. >>> - If you are using MythTV then you really want to use tvheadend because >>> it's slim and light and still does everything you ever need. Without all the >>> Qt GUI and without a database and without a ton of plugins. >>> >>> The port itself is in a somewhat useable state but there is still quite some >>> work to bring it in a good shape. I still wanted to bring it to the >>> tree to allow >>> other people to jump in and give it a broader testing with other devices and >>> other environments. >>> >>> Known issues: >>> - scanning does not work (at least not for my Dib7000 DVB-T device) >>> - no libav support >>> - no libdvbcsa support >>> - no rc.d script >>> - does not compile on FreeBSD 8.x >>> >>> Patches, feedback and help are always welcome! >>> >>> WWW: https://tvheadend.org/ >> >> >> Ok I got it to build on 8.3 and found it couldn't scan because >> kevent() in tvhpoll_add() in open_table() in src/dvb/dvb_input_filtered.c >> always fails with ENODEV on the demux0 dvb node. :( Is kqueue(2) >> broken with cuse4bsd? I've Cc'd hps, maybe he knows... >> >> First the Makefile patch I used: You're awesome! Thanks a lot for stepping into and debugging that. > > kevent() support is not implemented for cuse4bsd. The devfs callback is NULL. Possibly could add that, but have to read up on kqueue first. Oh what a bummer. It would definitely be good to add that callback but is this everything that is needed or should we expect more problems?