OpenWrt Forum Archive

Topic: how to use spcacat in the svn Trunk ?!

The content of this topic has been archived on 8 Feb 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,
i try to use spcacat in the svn Trunk. But i cant find it. Can anyone tell me how i can get this tool ?
Or how i can compile it for 2.6 ??
Everything else work fine !
the Developer to a great Job !
Thanx

Hi, Thanx for the Link

but this is the result :

root@OpenWrt:/usr/bin# ./spcacat
./spcacat: line 1: syntax error: "(" unexpected

Any Idea ??

Hm, that one was for mipsel. What router are you using?

argh ! thats the Problem !

I using the nslu2 with the XScale-IXP42x Family rev 2 (v5b)
where i can get this for this cpu ??

Hi,
this is what I get:

root@OpenWrt:/usr/bin# spcacat
spcacat: can't resolve symbol '__uClibc_start_main'

Any idea?

<edit>
currently running kernel 2.6, latest Kamikaze-revision from trunk
</edit>

Thanks & Regards,
moh

(Last edited by moh_de on 27 Jan 2008, 14:53)

Hi,
i tried to compile the Projeckt but i get an Error :

Applying ./patches/001-gcc using plaintext:
patching file Makefile
Hunk #1 FAILED at 59.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
Patch failed!  Please fix ./patches/001-gcc!
make[3]: ***
[/home/sascha/kamikaze-trunk/build_dir/armeb/spcacat/spcaview-20061208/.prepared_e71e412d83057e33fdde77534c9ae0be]
Error 1
make[3]: Leaving directory `/home/sascha/kamikaze-trunk/package/spcacat'
make[2]: *** [package/spcacat/compile] Error 2
make[2]: Leaving directory `/home/sascha/kamikaze-trunk'
make[1]: ***
[/home/sascha/kamikaze-trunk/staging_dir/armeb/stamp/.package_compile] Error
2
make[1]: Leaving directory `/home/sascha/kamikaze-trunk'
make: *** [world] Fehler 2

The Make & Patchfile i downloaded from this Site :
https://dev.openwrt.org/attachment/tick … acat.patch

Any Idea ??

so ...
i just compiled the Version ...
But now ie got a bigger Problem ... The Webcam doesnt work :-(
here the output from dmesg :

/home/sascha/kamikaze-trunk/build_dir/linux-ixp4xx_generic/gspcav1-20071224/gspca_core.c: USB GSPCA camera found.(ZC3XX)
/home/sascha/kamikaze-trunk/build_dir/linux-ixp4xx_generic/gspcav1-20071224/gspca_core.c: [spca5xx_probe:4275] Camera type JPEG
/home/sascha/kamikaze-trunk/build_dir/linux-ixp4xx_generic/gspcav1-20071224/Vimicro/zc3xx.h: [zc3xx_config:654] Find Sensor PAS202BCB
/home/sascha/kamikaze-trunk/build_dir/linux-ixp4xx_generic/gspcav1-20071224/gspca_core.c: [spca5xx_getcapability:1249] maxw 640 maxh 480 minw 160 minh 120

if i start spcacat -d /dev/spcacat i get the following Error Message

root@OpenWrt:/# spcacat -d /dev/video0
Spcaview version: 1.1.8 date: 25:12:2007 (C) mxhaard@magic.fr
video /dev/video0
Camera found: Labtec Webcam Pro
Couldnt get videopict params with VIDIOCGPICT

Hi,
is it possible to make your spacat binary public? I want to test it here...

Thanks & Regards,
moh

There is no binary anymore. Now its called spca5xx-view, it's also in the download link above. Or just use motion. But I haven't compiled it.

edit:
I compiled that Revison (20071224) that you posted.

(Last edited by Oconnor on 28 Jan 2008, 21:19)

Hi,

motion is not compatible with my webcam and spca5xx-le.
All I need is a small tool which is able to periodically grab pictures from a video-dev.
The currently used spca5xx-view package contains just a streaming-app, which is not what I'm looking for.

Maybe I should watch out for a uvc-compatible webcam.
Labtecs WC pro isn't really appropriate to half-light...

Regards,
moh

Any help with this message .. i  am following the instructions from Macsat
http://www.macsat.com/macsat/content/view/36/30/

root@OpenWrt:/usr/bin# insmod videodev
insmod: a module named videodev already exists
root@OpenWrt:/usr/bin# insmod spca5xx
insmod: unresolved symbol usb_ifnum_to_if
insmod: unresolved symbol usb_deregister
insmod: unresolved symbol usb_free_urb
insmod: unresolved symbol usb_alloc_urb
insmod: unresolved symbol usb_register
insmod: unresolved symbol usb_submit_urb
insmod: unresolved symbol usb_driver_release_interface
insmod: unresolved symbol usb_control_msg
insmod: unresolved symbol usb_set_interface
insmod: unresolved symbol usb_clear_halt
insmod: unresolved symbol usb_unlink_urb

Thanks

If your 500g Premium is a V1 then replace the wireless card with a madwifi compatible and use Kernel 2.6. Sorry, can't help you with 2.4 kernels.

Can someone please help me find a spca5xx compatible camera? I tried bestbuy, circuitcity and newegg but did not find any models that are compatible.
Thank You.

can someone suggest a camera that will work with spca driver.. most models listed are not available in store any more :-)

The discussion might have continued from here.