macsat.com OpenWrt and ASUS WL Forum
January 08, 2009, 14:02:45 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: SPCA5xx, OpenWrt WhiteRussian 0.9, problems with Vimicro Zc301P 0x303b webcam.  (Read 2450 times)
0 Members and 1 Guest are viewing this topic.
Zawadzki
Newbie
*
Offline Offline

Posts: 2


View Profile
« on: February 26, 2007, 12:43:33 PM »

Hi,
I'm new to OpenWrt so forgive some naive questions. I've installed latest WhiteRussian stable release on Asus WL-500gp. Unfortunately I've problems to follow a tutorial on webcam service. I've downloaded modules spca5xx, spca5xx_lite and the application spcacat. Module (full version) recognises camera correctly:

kernel: usb.c: registered new driver spca5xx
kernel: drivers/usb/spca5xx.c: USB SPCA5XX camera found. Type Vimicro Zc301P 0x303b
kernel: drivers/usb/spca5xx.c: [spca5xx_probe:8380] Camera type JPEG
kernel: drivers/usb/zc3xx.h: [zc3xx_config:415] Find Sensor HV7131R(c)
kernel: drivers/usb/spca5xx.c: [spca5xx_getcapability:2207] maxw 640 maxh 480 minw 176 minh 144
kernel: drivers/usb/spca5xx.c: spca5xx driver 00.57.07 registered

and device file /dev/v4l/video0 is created. I've linked this file to /dev/v0. Then command

root@OpenWrt:/mnt/disc0_1# spcacat -d /dev/v0 -s 640x480 -p 100 -N -o -f jpg

returns

 size width: 640 height: 480
 Spcaview version: 1.1.5 date: 12:12:2005 (C) mxhaard@magic.fr
video /dev/v0
Camera found: Generic Vimicro 303b
VIDIOCGPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=24 palette=4
Bridge found: ZC301-2
is_spca SPCA505
is_spca SPCA506
is_spca SPCA501
is_spca SPCA508
is_spca SPCA504
is_spca SPCA500
is_spca SPCA504B
is_spca SPCA533

and router reboots. Please help me to pinpoint a problem.
Using spca5xx_lite does not change anything ;( 
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #1 on: February 26, 2007, 12:54:13 PM »


Hmm

I think that spcacat is for LE version only.

Try to see if servfox works for you.

You can download a static build here:
http://macsat.dyndns.org/tmp/servfox


Logged
Zawadzki
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #2 on: February 26, 2007, 17:16:40 PM »

Thanks a lot for the suggestion. That combination works
OpenWrt:
insmod spca5xx_lite
servfox -d /dev/v0 -g -s 320x240 -w 7070
Laptop:
spcaview -w 192.168.1.1:7070
so the problem is with spcacat!
Are there any chances to force servfox to periodically dump frames to a specified file?
What can I do to debug spcacat? Maybe you have statically linked version of spcacat, too Wink
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #3 on: February 26, 2007, 17:48:16 PM »


I'm sorry to say that I havent got any other versions right now.

I will work on making some new builds.

Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.279 seconds with 25 queries.