From owner-freebsd-multimedia@FreeBSD.ORG Wed Aug 28 06:07:27 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 9778ACC for ; Wed, 28 Aug 2013 06:07:27 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 262512CE9 for ; Wed, 28 Aug 2013 06:07:26 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 3DFE27A269; Wed, 28 Aug 2013 08:07:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id CD5188F044C; Wed, 28 Aug 2013 08:07:37 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bAlfrM-7O6JG; Wed, 28 Aug 2013 08:07:36 +0200 (CEST) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 8BD448F044B; Wed, 28 Aug 2013 08:07:35 +0200 (CEST) Message-ID: <521D93E4.5070606@bitfrost.no> Date: Wed, 28 Aug 2013 08:08:36 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: Milan Obuch Subject: Re: ITE Technologies, Inc. DVB-T TV Stick References: <20130827230542.4b443eaf@zeta.dino.sk> In-Reply-To: <20130827230542.4b443eaf@zeta.dino.sk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Wed, 28 Aug 2013 06:07:27 -0000 On 08/27/13 23:05, Milan Obuch wrote: > Hi, > > today I got ITE Technologies, Inc. DVB-T TV Stick and would like to use > it under FreeBSD. As I did not try anything like this before, I would > like some help here. First what I did... > > Some product info is on http://www.notonlytv.net/p_lv52t.html - not > much, as usual. > > Device presents itself in dmesg/console after connecting like this: > > ugen4.3: at usbus4 > uhid0: 2.00/2.00, addr 3> on usbus4 > > usbconfig dump_device_desc for ugen4.3 writes > > ugen4.3: at usbus4, cfg=0 > md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x048d > idProduct = 0x9006 > bcdDevice = 0x0200 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > so I googled for vendor 048d and product 9006. I found some interesting > pages, first one is https://linuxtv.org/patch/8794/ - which told me the > device is known and could be used, at least in linux. Then I came to > http://www.abclinuxu.cz/poradna/hardware/show/351331 - in Czech, > interesting link there points to some source somehow dug from producer - > http://www.abclinuxu.cz/data/prilohy/1/0/183701-it9135_src-tar-8535350393703910459.bz2 > - I have no idea what to do with this, but maybe someone has. Page > http://www.linuxtv.org/wiki/index.php/ITE_IT9135 show how to get > firmware for this device. It will be used later. > > As I already have webcamd installed, I just tried run webcamd and got > it: > > # kldload cuse4bd > # webcamd > Attached to ugen4.3[0] > Loading firmware at '/boot/modules/dvb-usb-it9135-01.fw', f=7 > Creating /dev/dvb/adapter0/demux0 > Creating /dev/dvb/adapter1/demux0 > Creating /dev/dvb/adapter0/dvr0 > Creating /dev/dvb/adapter1/dvr0 > Creating /dev/dvb/adapter0/frontend0 > Creating /dev/dvb/adapter1/frontend0 > > Firmware obtained before was put into /boot/modules and some devices > were presented. Now the question is, how could I use it. Some time ago > I did some test with simple webcam, where I could use pwcview to see > image from camera, however it is of no use here, I got just > > % pwcview -d /dev/dvb/adapter0/frontend0 > Failed to get current picture info: Device not configured > % pwcview -d /dev/dvb/adapter0/demux0 > Failed to get current picture info: Invalid argument > % pwcview -d /dev/dvb/adapter0/dvr0 > Failed to get current picture info: Invalid argument Hi, Looks like your device is detected and ready to use! pwcview is not suitable for DVB devices. Try using vlc compiled with DVB/V4L support instead. It should first scan all the channels, and then you will get a channel list which you can tune to. Else also try w_scan from ports. --HPS > > so something else should be used. > > And here comes the question - are those devices presented via webcamd > enough or do I need something more? Which application is the simplest > one for first test? I think I need some player application to watch > video and something to select stream to watch. Also there is a > remote, /dev/uhid0 is created when connected to USB port so it should > be usable too. > > I am trying to get some info from https://wiki.freebsd.org/WebcamCompat > even if this device is not (yet) mentioned here, and > https://wiki.freebsd.org/VDR too, maybe this is not the simplest > application but nevertheless... > > Any help here is appreciated. > > Regards, > Milan