Ok, I tried the card numbers 1-40 and noticed different behaviours.
Some cards spawn no device in /dev, e.g. /dev/video1. Then there are 2 different types that spawn /dev/video1, tested with "webcam" util: One type saves webcam.jpeg as should, but it's just a green pic with a few lines on it (this variant makes the red LED light on the GrabShow device). The other type reports "Segmentation fault". Here is a complete list of which device did what:

1-6 --> No /dev/videoX is created
7-10 --> webcam.jpeg
11-13 --> segmentation fault
14-21 --> webcam.jpeg
22-23 --> No /dev/videoX is created
24-26 --> webcam.jpeg
27 --> No /dev/videoX is created
28-29 --> webcam.jpeg
30 --> No /dev/videoX is created
31-33 --> webcam.jpeg
34 --> No /dev/videoX is created
35-36 --> webcam.jpeg
37 --> webcam.jpeg (but makes /dev/video1 busy - I had to restart to continue with 38)

All further devices from 37 caused the device to hang, and the system hung at shutdown too. So I had to "warm start" the system everytime - that's why I tested no further device. When using the S-Video instead of the composite (with an adapter), it makes no difference: Also the green image.
The green image is uploaded here so you can see how it looks like:
http://www.file-upload.net/view-1372596/webcam.jpeg.html

By the way: The camera (CCTV) I attacked to Cinch Video port of GrabShow worked perfectly well wwhen attached to Cinch of the DVB card's analog input. Also the GrabShow device works in Windows. So it's most likely no Hardware Problem.

Any more ideas?




Am 10.01.2009 um 18:49 schrieb Markus Rechberger:
2009/1/10 ogre5000 <ogre5...@gmail.com>:
Thanks for your answer.
I now loaded the new version which gave me the following to
/var/log/messages:
(using first "rmmod em28xx" and then "modprobe em28xx card=7". The Grabber gets registered to /dev/video1 only when chosing card=7. Others will not do
that)

Jan 10 17:17:00 linux kernel: usbcore: deregistering interface driver em28xx
Jan 10 17:17:10 linux kernel: em28xx v4l2 driver version 0.0.1 loaded
Jan 10 17:17:10 linux kernel: em28xx: new video device (eb1a:2800):
interface 0, class 255
Jan 10 17:17:10 linux kernel: em28xx: device is attached to a USB 2.0 bus
Jan 10 17:17:10 linux kernel: em28xx #0: Alternate settings: 4
Jan 10 17:17:10 linux kernel: em28xx #0: Alternate setting 0, max size= 0 Jan 10 17:17:10 linux kernel: em28xx #0: Alternate setting 1, max size= 644 Jan 10 17:17:10 linux kernel: em28xx #0: Alternate setting 2, max size= 1288 Jan 10 17:17:10 linux kernel: em28xx #0: Alternate setting 3, max size= 2580
Jan 10 17:17:10 linux kernel: em28xx #0: V4L2 device registered as
/dev/video1
Jan 10 17:17:10 linux kernel: em28xx #0: Found Terratec Cinergy 250 USB Jan 10 17:17:10 linux kernel: usbcore: registered new interface driver
em28xx


this is definitely wrong, there's a difference between 2800 and 2820
based devices,
you might try a different card. forcing the Cinergy 250 over it will
definitely not work.

This device very likely only properly supports 640x480, it's one of
the first chips sold
by Empia.

You might try card=11

regards,
Markus

/dev/video and /dev/video0 is my Pinnacle PCTV Pro Sat card by the way. Plugging my camera there works fine, I can fetch an image with the program "webcam". But changing .webcamrc to /dev/video1 (GrabShow 100), it always
says "Invalid Norm", using Pal or Ntsc...?
Another thing I noticed is, that "luvcview /dev/video1" and "luvcview
/dev/video0" both result in "Init v4L2 failed !! exit fatal", even tough /dev/video0 works with the webcam util. So what other way is there to test
my Grabber?
Thanks

Am 10.01.2009 um 16:43 schrieb Németh Márton:

Hi,
According to the version number 0.1.0, you are using the em28xx driver
from the mainline kernel and not em28xx-new. The em28xx-new driver
reports version number 0.0.1.
Please fetch em28xx-new with the command
"hg clone http://mcentral.de/hg/~mrec/em28xx-new";, compile it, install
and check whether this driver is working or not.

_______________________________________________
Em28xx mailing list
Em28xx@mcentral.de
http://mcentral.de/mailman/listinfo/em28xx
_______________________________________________
Em28xx mailing list
Em28xx@mcentral.de
http://mcentral.de/mailman/listinfo/em28xx

Reply via email to