linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* em28xx : can work on ARM beagleboard ?
@ 2012-05-08 18:18 CB
  2012-05-08 18:24 ` Antti Palosaari
  2012-05-10 13:39 ` Mauro Carvalho Chehab
  0 siblings, 2 replies; 10+ messages in thread
From: CB @ 2012-05-08 18:18 UTC (permalink / raw)
  To: linux-media

Hello,

I would like to know if someone has already used the em28xx driver on a 
beagleboard xM
(the connected device is a Dazzle DVC 100)

I have tried with an Angstrom Narcissus image and a Debian but I still 
get "select timeouts" and skipped frames with mencoded or the capture.c 
sample

Thanks in advance,

Regards,
Chris



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: em28xx : can work on ARM beagleboard ?
  2012-05-08 18:18 em28xx : can work on ARM beagleboard ? CB
@ 2012-05-08 18:24 ` Antti Palosaari
  2012-05-08 18:47   ` Devin Heitmueller
  2012-05-10 13:39 ` Mauro Carvalho Chehab
  1 sibling, 1 reply; 10+ messages in thread
From: Antti Palosaari @ 2012-05-08 18:24 UTC (permalink / raw)
  To: CB; +Cc: linux-media

On 08.05.2012 21:18, CB wrote:
> I would like to know if someone has already used the em28xx driver on a
> beagleboard xM
> (the connected device is a Dazzle DVC 100)
>
> I have tried with an Angstrom Narcissus image and a Debian but I still
> get "select timeouts" and skipped frames with mencoded or the capture.c
> sample

It should work as I know one person ran PCTV NanoStick T2 290e using 
Pandaboard which is rather similar ARM hw.
http://www.youtube.com/watch?v=Wuwyuw0y1Fo

Did you tried it on x86 hardware?

regards
Antti
-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: em28xx : can work on ARM beagleboard ?
  2012-05-08 18:24 ` Antti Palosaari
@ 2012-05-08 18:47   ` Devin Heitmueller
  2012-05-08 18:53     ` Antti Palosaari
  2012-06-21  2:12     ` Julia
  0 siblings, 2 replies; 10+ messages in thread
From: Devin Heitmueller @ 2012-05-08 18:47 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: CB, linux-media

On Tue, May 8, 2012 at 2:24 PM, Antti Palosaari <crope@iki.fi> wrote:
> It should work as I know one person ran PCTV NanoStick T2 290e using
> Pandaboard which is rather similar ARM hw.
> http://www.youtube.com/watch?v=Wuwyuw0y1Fo

I ran into a couple of issues related to em28xx analog on ARM.
Haven't had a chance to submit patches yet.  To answer the question
though:  yes, analog support for the em28xx is known to be broken on
ARM right now.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: em28xx : can work on ARM beagleboard ?
  2012-05-08 18:47   ` Devin Heitmueller
@ 2012-05-08 18:53     ` Antti Palosaari
  2012-05-09 10:34       ` chrbruno
  2012-06-21  2:12     ` Julia
  1 sibling, 1 reply; 10+ messages in thread
From: Antti Palosaari @ 2012-05-08 18:53 UTC (permalink / raw)
  To: Devin Heitmueller; +Cc: CB, linux-media

On 08.05.2012 21:47, Devin Heitmueller wrote:
> On Tue, May 8, 2012 at 2:24 PM, Antti Palosaari<crope@iki.fi>  wrote:
>> It should work as I know one person ran PCTV NanoStick T2 290e using
>> Pandaboard which is rather similar ARM hw.
>> http://www.youtube.com/watch?v=Wuwyuw0y1Fo
>
> I ran into a couple of issues related to em28xx analog on ARM.
> Haven't had a chance to submit patches yet.  To answer the question
> though:  yes, analog support for the em28xx is known to be broken on
> ARM right now.

Aah, OK. I missed that was analog capture device. Devin surely knows 
what he speaks.

regards
Antti
-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: em28xx : can work on ARM beagleboard ?
  2012-05-08 18:53     ` Antti Palosaari
@ 2012-05-09 10:34       ` chrbruno
  0 siblings, 0 replies; 10+ messages in thread
From: chrbruno @ 2012-05-09 10:34 UTC (permalink / raw)
  To: linux-media

I confirm it works fine on an x86 arch
i will have a look to the HCL to find a compatible usb video capture stick !

Thanks for your answers

Chris



Le 08/05/2012 20:53, Antti Palosaari a écrit :
> On 08.05.2012 21:47, Devin Heitmueller wrote:
>> On Tue, May 8, 2012 at 2:24 PM, Antti Palosaari<crope@iki.fi>  wrote:
>>> It should work as I know one person ran PCTV NanoStick T2 290e using
>>> Pandaboard which is rather similar ARM hw.
>>> http://www.youtube.com/watch?v=Wuwyuw0y1Fo
>>
>> I ran into a couple of issues related to em28xx analog on ARM.
>> Haven't had a chance to submit patches yet.  To answer the question
>> though:  yes, analog support for the em28xx is known to be broken on
>> ARM right now.
>
> Aah, OK. I missed that was analog capture device. Devin surely knows 
> what he speaks.
>
> regards
> Antti


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: em28xx : can work on ARM beagleboard ?
  2012-05-08 18:18 em28xx : can work on ARM beagleboard ? CB
  2012-05-08 18:24 ` Antti Palosaari
@ 2012-05-10 13:39 ` Mauro Carvalho Chehab
  2012-05-10 16:43   ` chrbruno
  1 sibling, 1 reply; 10+ messages in thread
From: Mauro Carvalho Chehab @ 2012-05-10 13:39 UTC (permalink / raw)
  To: CB; +Cc: linux-media

Em 08-05-2012 15:18, CB escreveu:
> Hello,
> 
> I would like to know if someone has already used the em28xx driver on a beagleboard xM
> (the connected device is a Dazzle DVC 100)
> 
> I have tried with an Angstrom Narcissus image and a Debian but I still get "select timeouts" and skipped frames with mencoded or the capture.c sample

Not sure if something changed, but on previous tests I did with USB 2.0 isoc
and Beagleboard, it seems that it has something broken at its USB driver:
after some time, it stops working when submitted to a high traffic. 

I noticed this behavior not only with USB capture cards, but also when using 
it to sniff traffic, using Google's GoC sniffer[1].

[1] http://beagleboard.org/project/usbsniffer/

> 
> Thanks in advance,
> 
> Regards,
> Chris
> 
> 
> -- 
> 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: em28xx : can work on ARM beagleboard ?
  2012-05-10 13:39 ` Mauro Carvalho Chehab
@ 2012-05-10 16:43   ` chrbruno
  2012-05-10 16:52     ` chrbruno
  0 siblings, 1 reply; 10+ messages in thread
From: chrbruno @ 2012-05-10 16:43 UTC (permalink / raw)
  To: linux-media

Hi,
I'm not sure about the fix (it could break the driver for other em28xx 
cards) but I will try to post a patch for the em28xx problem on ARM

Next, I have encountered the same USB problem you described : USB 
stopping after a long capture (and ethernet stops too)
For this problem, I think a patch is available about the PHY update 
frequency
Have a look to :
http://rcn-ee.homeip.net:81/testing/beagleboard/sprz319-erratum-2.1/
I found it in a thread on the google beagleboard list)
I will try and post the results here

Regards,
Chris

Le 10/05/2012 15:39, Mauro Carvalho Chehab a écrit :
> Em 08-05-2012 15:18, CB escreveu:
>> Hello,
>>
>> I would like to know if someone has already used the em28xx driver on a beagleboard xM
>> (the connected device is a Dazzle DVC 100)
>>
>> I have tried with an Angstrom Narcissus image and a Debian but I still get "select timeouts" and skipped frames with mencoded or the capture.c sample
> Not sure if something changed, but on previous tests I did with USB 2.0 isoc
> and Beagleboard, it seems that it has something broken at its USB driver:
> after some time, it stops working when submitted to a high traffic.
>
> I noticed this behavior not only with USB capture cards, but also when using
> it to sniff traffic, using Google's GoC sniffer[1].
>
> [1] http://beagleboard.org/project/usbsniffer/
>
>> Thanks in advance,
>>
>> Regards,
>> Chris
>>
>>
>> -- 
>> 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
> --
> 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
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: em28xx : can work on ARM beagleboard ?
  2012-05-10 16:43   ` chrbruno
@ 2012-05-10 16:52     ` chrbruno
  0 siblings, 0 replies; 10+ messages in thread
From: chrbruno @ 2012-05-10 16:52 UTC (permalink / raw)
  To: linux-media

Sorry,
the link is broken,

see http://www.spinics.net/lists/linux-omap/msg64931.html

Regards,
Christian

Le 10/05/2012 18:43, chrbruno a écrit :
> Hi,
> I'm not sure about the fix (it could break the driver for other em28xx 
> cards) but I will try to post a patch for the em28xx problem on ARM
>
> Next, I have encountered the same USB problem you described : USB 
> stopping after a long capture (and ethernet stops too)
> For this problem, I think a patch is available about the PHY update 
> frequency
> Have a look to :
> http://rcn-ee.homeip.net:81/testing/beagleboard/sprz319-erratum-2.1/
> I found it in a thread on the google beagleboard list)
> I will try and post the results here
>
> Regards,
> Chris
>
> Le 10/05/2012 15:39, Mauro Carvalho Chehab a écrit :
>> Em 08-05-2012 15:18, CB escreveu:
>>> Hello,
>>>
>>> I would like to know if someone has already used the em28xx driver 
>>> on a beagleboard xM
>>> (the connected device is a Dazzle DVC 100)
>>>
>>> I have tried with an Angstrom Narcissus image and a Debian but I 
>>> still get "select timeouts" and skipped frames with mencoded or the 
>>> capture.c sample
>> Not sure if something changed, but on previous tests I did with USB 
>> 2.0 isoc
>> and Beagleboard, it seems that it has something broken at its USB 
>> driver:
>> after some time, it stops working when submitted to a high traffic.
>>
>> I noticed this behavior not only with USB capture cards, but also 
>> when using
>> it to sniff traffic, using Google's GoC sniffer[1].
>>
>> [1] http://beagleboard.org/project/usbsniffer/
>>
>>> Thanks in advance,
>>>
>>> Regards,
>>> Chris
>>>
>>>
>>> -- 
>>> 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
>> -- 
>> 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
>>
>
> -- 
> 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
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: em28xx : can work on ARM beagleboard ?
  2012-05-08 18:47   ` Devin Heitmueller
  2012-05-08 18:53     ` Antti Palosaari
@ 2012-06-21  2:12     ` Julia
  2012-06-21  2:32       ` Devin Heitmueller
  1 sibling, 1 reply; 10+ messages in thread
From: Julia @ 2012-06-21  2:12 UTC (permalink / raw)
  To: linux-media

Devin Heitmueller <dheitmueller <at> kernellabs.com> writes:

> 
> On Tue, May 8, 2012 at 2:24 PM, Antti Palosaari <crope <at> iki.fi> wrote:
> > It should work as I know one person ran PCTV NanoStick T2 290e using
> > Pandaboard which is rather similar ARM hw.
> > http://www.youtube.com/watch?v=Wuwyuw0y1Fo
> 
> I ran into a couple of issues related to em28xx analog on ARM.
> Haven't had a chance to submit patches yet.  To answer the question
> though:  yes, analog support for the em28xx is known to be broken on
> ARM right now.
> 
> Devin
> 


hi Devin,
i don't understand what you mean when you say "analog support for the em28xx is
known to be broken on ARM right now'', I hope you can give me some advice.

I use Pinnacle DVC100 capture card on cm-t3530 card to capture analog images.
cm-t3530 uses linux 2.6.32 kernel. at first the card can be correctly detected
and by the cm-t3530 and generated as the device file /dev/video1.


but when I use some application to capture the images by use of v4l2,there is
something wrong and the strace of the application shows the error message is
"ioctl(3, VIDIOC_DQBUF, 0xbeeb4a00)      = ? ERESTARTSYS (To be restarted)". The
same application can correctly capture my usb-camera images.
 does the problem can be solved?  I am yearning for  your advice.

Best regards
Julia


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: em28xx : can work on ARM beagleboard ?
  2012-06-21  2:12     ` Julia
@ 2012-06-21  2:32       ` Devin Heitmueller
  0 siblings, 0 replies; 10+ messages in thread
From: Devin Heitmueller @ 2012-06-21  2:32 UTC (permalink / raw)
  To: Julia; +Cc: linux-media

On Wed, Jun 20, 2012 at 10:12 PM, Julia <julia.cheung723@gmail.com> wrote:
> hi Devin,
> i don't understand what you mean when you say "analog support for the em28xx is
> known to be broken on ARM right now'', I hope you can give me some advice.
>
> I use Pinnacle DVC100 capture card on cm-t3530 card to capture analog images.
> cm-t3530 uses linux 2.6.32 kernel. at first the card can be correctly detected
> and by the cm-t3530 and generated as the device file /dev/video1.
>
>
> but when I use some application to capture the images by use of v4l2,there is
> something wrong and the strace of the application shows the error message is
> "ioctl(3, VIDIOC_DQBUF, 0xbeeb4a00)      = ? ERESTARTSYS (To be restarted)". The
> same application can correctly capture my usb-camera images.
>  does the problem can be solved?  I am yearning for  your advice.

Hello Julia,

Yeah, the driver is broken with analog on ARM.  I did some work for a
commercial customer (in fact, also on a Compulab board), but haven't
had a chance to clean up any of the patches and get them upstream.

It's likely the problem you are hitting can be fixed by the patch
described here:

http://www.mail-archive.com/linux-media@vger.kernel.org/msg28194.html

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-06-21  2:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-08 18:18 em28xx : can work on ARM beagleboard ? CB
2012-05-08 18:24 ` Antti Palosaari
2012-05-08 18:47   ` Devin Heitmueller
2012-05-08 18:53     ` Antti Palosaari
2012-05-09 10:34       ` chrbruno
2012-06-21  2:12     ` Julia
2012-06-21  2:32       ` Devin Heitmueller
2012-05-10 13:39 ` Mauro Carvalho Chehab
2012-05-10 16:43   ` chrbruno
2012-05-10 16:52     ` chrbruno

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).