From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 27 21:10:53 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 25A7AB4D for ; Tue, 27 Aug 2013 21:10:53 +0000 (UTC) (envelope-from freebsd-multimedia@dino.sk) Received: from mailhost.netlab.sk (mailhost.netlab.sk [84.245.65.10]) (using SSLv3 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 908EF22F3 for ; Tue, 27 Aug 2013 21:10:52 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by mailhost.netlab.sk with ESMTPSA; Tue, 27 Aug 2013 23:05:46 +0200 id 0061CF70.521D14AA.000068FE Date: Tue, 27 Aug 2013 23:05:42 +0200 From: Milan Obuch To: freebsd-multimedia@freebsd.org Subject: ITE Technologies, Inc. DVB-T TV Stick Message-ID: <20130827230542.4b443eaf@zeta.dino.sk> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: ak5rwz4-aUa>hPFZlcg,bXxn.(TN}e9DGFrKU\.i_'B[&5=pAd9o"j)5VSUYW:BRQG#^42Ev$Il|; Ztn=,C X-Operating-System: FreeBSD/amd64 8.2-STABLE Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Tue, 27 Aug 2013 21:10:53 -0000 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: 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 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