From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 8 19:46:48 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C6179AB8 for ; Sun, 8 Sep 2013 19:46:48 +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 855ED2DAC for ; Sun, 8 Sep 2013 19:46:47 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id D8A761E007B6; Sun, 8 Sep 2013 21:46:40 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.5/8.14.4) with ESMTP id r88Jj9uC076849; Sun, 8 Sep 2013 21:45:09 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.5/8.14.3/Submit) id r88Jj9JW076848; Sun, 8 Sep 2013 21:45:09 +0200 (CEST) (envelope-from nox) Date: Sun, 8 Sep 2013 21:45:09 +0200 (CEST) From: Juergen Lock Message-Id: <201309081945.r88Jj9JW076848@triton8.kn-bremen.de> To: freebsd-multimedia@dino.sk Subject: Re: ITE Technologies, Inc. DVB-T TV Stick, part 2 - remote X-Newsgroups: local.list.freebsd.multimedia In-Reply-To: <20130830144218.0003446a@zeta.dino.sk> References: <20130829214227.3a6b88ab@zeta.dino.sk> <52204121.90301@bitfrost.no> Organization: Cc: freebsd-multimedia@freebsd.org 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: Sun, 08 Sep 2013 19:46:48 -0000 In article <20130830144218.0003446a@zeta.dino.sk> you write: >On Fri, 30 Aug 2013 08:52:17 +0200 >Hans Petter Selasky wrote: > >> On 08/29/13 21:42, Milan Obuch wrote: >> > Hi, >> > >> > as now I can watch TV with my LV52T stick, I would like to find how >> > to use remote controller. I think this part of stick presents >> > itself as USB HID device, /dev/uhid0 gets created on attachment. >> > >> > As a blind shot I tried >> > >> >> Hi, >> >> Usually webcamd will grab the remote part too. Have a look at lircd. See if you get a /dev/input/eventX device node, if yes you can test the remote with: ir-keytable -d /dev/input/event0 -t (or whatever one you get; ir-keytable belongs to multimedia/v4l-utils.) If it works you can setup lirc, see it's pkg-message. >> Not sure if it supports /dev/uhidX . You could also try uhidd. >> I think I played once with an uhid remote and couldn't get repeat to work at least with lirc... (I then patched the vdr remote plugin for this as vdr handles repeat differently.) >> dd if=/dev/uhidX bs=1 >> >> --HPS >> > >I tried dd but nothing happened. Still > >0+0 records in >0+0 records out >0 bytes transferred > >when I press ^T, no matter how many times I press buttons on remote. > Well then the driver probably didn't setup the uhid part and expects you to use /dev/input instead... At least I see af9035_rc_query as well as it913x_rc_query in work/webcamd-3.11.0.2/media_tree/drivers/media/usb/dvb-usb-v2/af9035.c and work/webcamd-3.11.0.2/media_tree/drivers/media/usb/dvb-usb-v2/it913x.c respectively (not quite sure which one your tuner uses, you could build webcamd with the DEBUG knob enabled and look at the log when starting it manually to find out, and while you're at it also look for logs containing "ir_mode=" and "ir_type=" if its af9035.) >I think there is something missing or I do not understand it >completely, or both :) > ..or the Linux code doesn't support your tuner's remote or (kinda less likely) there's still code missing in webcamd. >Regards, >Milan HTH, and sorry for the late reply... Juergen