From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 5 07:17:23 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5B28106564A for ; Thu, 5 Jul 2012 07:17:22 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 3120E8FC14 for ; Thu, 5 Jul 2012 07:17:22 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 294852466; Thu, 05 Jul 2012 09:17:20 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Thu, 5 Jul 2012 09:17:19 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: In-Reply-To: X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207050917.19200.hselasky@c2i.net> Cc: Mayank Joshi Subject: Re: webcamd - uploading custom firmware to DVB card X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2012 07:17:23 -0000 On Thursday 05 July 2012 01:16:50 Mayank Joshi wrote: > Hey Folks! > > Recently, I ventured out on building a FreeBSD based HTPC and so far I am > have been impressed. The only thing that is missing from my configuration > is TV capture. I have the recommended hardware, but I have not had any > luck with debugging the issue. > > I have a Pinnacle PCTV 801e SE YUANRD card which is detected accordingly by > my FreeBSD 9.0 system which I am trying to configure with MythTV. > > Today, I downloaded the two firmware pieces mentioned in the WebCamCompat > wiki page and put them /boot/modules. The webcamd module is compiled with > the MAKE_DEBUG option to spew debugging information. > > Here is the usbconfig info - > > ugen4.3: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x2304 > idProduct = 0x023a > bcdDevice = 0x0100 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0003 <0F00AED0E6> > bNumConfigurations = 0x0001 > > > When I start webcamd I get the following - > > au0828 driver loaded > uvcvideo: Unable to create debugfs directory > USB Video Class driver (1.1.1) > b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded > successfully Attached ugen4.3[0] to cuse unit 1 > dvb-usb: found a 'Pinnacle PCTV HD Pro USB Stick' in warm state. > dvb-usb: will pass the complete MPEG2 transport stream to the software > demuxer. DVB: registering new adapter (Pinnacle PCTV HD Pro USB Stick) > DVB: registering adapter 0 frontend 0 (Samsung S5H1411 QAM/8VSB > Frontend)... dvb-usb: schedule remote query interval to 50 msecs. > dvb-usb: Pinnacle PCTV HD Pro USB Stick successfully initialized and > connected. dib0700: rc submit urb failed Hi, > > Creating /dev/dvb/adapter8/demux0 > Creating /dev/dvb/adapter8/dvr0 > Creating /dev/dvb/adapter8/frontend0 > Creating /dev/input/event8 Which version of webcamd is this, and what kernel + userland version are you using? Try using the latest version of webcamd as of today, and at least upgrade libusb, if you are using a 9-RELEASE. dib0700: rc submit urb failed drivers/media/dvb/dvb-usb/dib0700_core.c } purb->status = -EINPROGRESS; usb_fill_bulk_urb(purb, d->udev, usb_rcvbulkpipe(d->udev, 1), // Can you dump the USB configuration descriptor using usbconfig // and verify that endpoint 0x81 exits? Else change the // usb_rcvbulkpipe(d->udev, x) to match the configuration descriptor. purb->transfer_buffer, RC_MSG_SIZE_V1_20, dib0700_rc_urb_completion, d); ret = usb_submit_urb(purb, GFP_ATOMIC); if (ret) { --HPS