linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Frank Schäfer" <fschaefer.oss@googlemail.com>
To: Keith Lawson <keith.lawson@libertas-tech.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: Support for Empia 2980 video/audio capture chip set
Date: Mon, 24 Feb 2014 18:38:59 +0100	[thread overview]
Message-ID: <530B83B3.3030906@googlemail.com> (raw)
In-Reply-To: <20140206125719.GA10386@nowhere.ca>


Am 06.02.2014 13:57, schrieb Keith Lawson:
> On Mon, Jan 20, 2014 at 09:08:25PM +0100, Frank Schäfer wrote:
>> On 17.01.2014 01:11, Keith Lawson wrote:
>>> On Wed, Jan 15, 2014 at 10:37:44PM +0100, Frank Schäfer wrote:
>>>> Am 14.01.2014 01:48, schrieb Keith Lawson:
>>>>> On 2014-01-12 11:56, Frank Schäfer wrote:
>>>>>
>>>>>> On 09.01.2014 02:02, Keith Lawson wrote:
>>>>>>
>>>>>>> Hello, I sent the following message to the linux-usb mailing list
>>>>>>> and they suggested I try here. I'm trying to get a "Dazzle Video
>>>>>>> Capture USB V1.0" video capture card working on a Linux device but
>>>>>>> it doesn't
>>>>>>> look like the chip set is supported yet. I believe this card is the
>>>>>>> next version of the Pinnacle VC100 capture card that worked with the
>>>>>>> em28xx kernel module. The hardware vendor that sold the card says that
>>>>>>> this device has an Empia 2980 chip set in it so I'm inquiring about
>>>>>>> support for that chip set. I'm just wondering about the best
>>>>>>> approach for getting the new chip supported in the kernel. Is this
>>>>>>> something the
>>>>>>> em28xx maintainers would naturally address in time or can I assist
>>>>>>> in getting this into the kernel? Here's dmesg from the Debian box
>>>>>>> I'm working on: [ 3198.920619] usb 3-1: new high-speed USB device
>>>>>>> number 5
>>>>>>> usingxhci_hcd [ 3198.939394] usb 3-1: New USB device found,
>>>>>>> idVendor=1b80,idProduct=e60a [ 3198.939399] usb 3-1: New USB device
>>>>>>> strings: Mfr=0, Product=1,SerialNumber=2 [ 3198.939403] usb 3-1:
>>>>>>> Product: Dazzle
>>>>>>> Video Capture USB Audio Device [ 3198.939405] usb 3-1: SerialNumber:
>>>>>>> 0 l440:~$ uname -a Linux l440 3.10-3-amd64 #1 SMP Debian 3.10.11-1
>>>>>>> (2013-09-10) x86_64 GNU/Linux If this isn't the appropriate list to ask
>>>>>>> this question please point me in the right direction. Thanks, Keith
>>>>>> The em28xx is indeed the dedicated driver for this device, but it's hard
>>>>>> to say how much work would be necessary to add support for it.
>>>>>> We currently don't support any em29xx chip yet, but in theory it is just
>>>>>> an extended em28xx device.
>>>>>> Whatever that means when it comes to the low level stuff... ;)
>>>>>>
>>>>> What's the best route to get support for this chip added then? Should
>>>>> I start working on a patch myself or will this just happen during the
>>>>> course of development of the em28xx module? I'm a developer but
>>>>> haven't done any kernel hacking so this would likely be a steep
>>>>> learning curve for me.
>>>> Can you create USB-Traces of the Windows driver and send us the output
>>>> of "lsusb -v -d 1b80:e60a" for this device ?
>>>> That will give us a hint how much work will be needed.
>>> For the USB-trace will the Win7 logman output do or is there a Win7 64-bit utility like usbsnoop I should use?
>> AFAIK the logman output doesn't contain any transferred data.
>> SniffUSB would be preferred, but AFAIK it doesn't work with Win 7.
>> You may also want to try USBPcap (http://desowin.org/usbpcap/), but
>> I don't know if it runs on the 64bit version of Win 7.
>> There are also various commercial USB-Sniffers and some of them are
>> providing a free trial period/version.
>> In any case we need a readable (text) sniffing output.
> Thanks for the pointer. I used USBPcap and exported text out of wireshark. 
>
> Here's the capture of connecting the device: 
>
> https://www.libertas-tech.com/dazzle_usb_connect.txt
>
> Here's a capture of the device recording a 1 minute video. This one is almost 700 meg so you probably don't want to try and open it in a browser: 
>
> https://www.libertas-tech.com/dazzle_recording_video.txt 
>
> I can arrange to get one of these devices in the hands of a developer if that would help too. 
Sorry for the delay, I'm currently burried under lots other stuff...
I haven't finished evaluating these logs yet, but so far I can say that
there's a lot of known stuff but also much new/unknown stuff.
Which capturing settings (resolution, video format, ...) did you use for
these logs ?
Does the device consist of any other chips (AC97, demodulator, ...) ?

Regards,
Frank

>
>>> Here's the lsusb output:
>> ...
>>
>>>     Interface Descriptor:
>>>       bLength                 9
>>>       bDescriptorType         4
>>>       bInterfaceNumber        0
>>>       bAlternateSetting       7
>>>       bNumEndpoints           4
>>>       bInterfaceClass       255 Vendor Specific Class
>>>       bInterfaceSubClass      0
>>>       bInterfaceProtocol    255
>>>       iInterface              0
>>>       Endpoint Descriptor:
>>>         bLength                 7
>>>         bDescriptorType         5
>>>         bEndpointAddress     0x81  EP 1 IN
>>>         bmAttributes            3
>>>           Transfer Type            Interrupt
>>>           Synch Type               None
>>>           Usage Type               Data
>>>         wMaxPacketSize     0x0001  1x 1 bytes
>>>         bInterval              11
>>>       Endpoint Descriptor:
>>>         bLength                 7
>>>         bDescriptorType         5
>>>         bEndpointAddress     0x82  EP 2 IN
>>>         bmAttributes            1
>>>           Transfer Type            Isochronous
>>>           Synch Type               None
>>>           Usage Type               Data
>>>         wMaxPacketSize     0x1400  3x 1024 bytes
>>>         bInterval               1
>>>       Endpoint Descriptor:
>>>         bLength                 7
>>>         bDescriptorType         5
>>>         bEndpointAddress     0x84  EP 4 IN
>>>         bmAttributes            1
>>>           Transfer Type            Isochronous
>>>           Synch Type               None
>>>           Usage Type               Data
>>>         wMaxPacketSize     0x03ac  1x 940 bytes
>>>         bInterval               1
>>>       Endpoint Descriptor:
>>>         bLength                 7
>>>         bDescriptorType         5
>>>         bEndpointAddress     0x8a  EP 10 IN
>>>         bmAttributes            2
>>>           Transfer Type            Bulk
>>>           Synch Type               None
>>>           Usage Type               Data
>>>         wMaxPacketSize     0x0200  1x 512 bytes
>>>         bInterval               0
>> This endpoint configuration is different from the Empia devices
>> we've seen so far.
>> We have never seen any devices using endpoint address 0x8a and
>> endpoint 0x84 looks strange.
>> It's hard to say what they are used for.
>> The current em28xx driver will assume 0x84 is used for DVB, but that
>> makes no sense for this device.
>>
>> Regards,
>> Frank
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-media" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2014-02-24 17:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-09  1:02 Support for Empia 2980 video/audio capture chip set Keith Lawson
2014-01-12 16:56 ` Frank Schäfer
2014-01-14  0:48   ` Keith Lawson
2014-01-15 21:37     ` Frank Schäfer
2014-01-17  0:11       ` Keith Lawson
2014-01-20 20:08         ` Frank Schäfer
2014-02-06 12:57           ` Keith Lawson
2014-02-24 17:38             ` Frank Schäfer [this message]
2014-02-27  1:47               ` Keith Lawson
2014-03-02 17:54                 ` Frank Schäfer
2014-03-04  1:14                   ` Keith Lawson
  -- strict thread matches above, loose matches on Subject: below --
2014-02-09 10:34 pepijn de vos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=530B83B3.3030906@googlemail.com \
    --to=fschaefer.oss@googlemail.com \
    --cc=keith.lawson@libertas-tech.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).