Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2012 09:17:19 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-multimedia@freebsd.org
Cc:        Mayank Joshi <mjoshi@gmx.us>
Subject:   Re: webcamd - uploading custom firmware to DVB card
Message-ID:  <201207050917.19200.hselasky@c2i.net>
In-Reply-To: <E9C8A613-2102-41C7-A85E-C26E5B852ABF@gmx.us>
References:  <E9C8A613-2102-41C7-A85E-C26E5B852ABF@gmx.us>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <PCTV 801e YUANRD> 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  <YUANRD>
>   iProduct = 0x0002  <PCTV 801e>
>   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207050917.19200.hselasky>