macsat.com OpenWrt and ASUS WL Forum
December 04, 2008, 01:33:03 AM *
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 Tutorial  (Read 3538 times)
0 Members and 1 Guest are viewing this topic.
Viperboy
Newbie
*
Offline Offline

Posts: 4


View Profile
« on: April 28, 2006, 13:49:07 PM »

http://www.macsat.com/macsat/content/view/36/30/

I've found two mistakes:

spca help:
Quote
     -p X take a picture every X miliseconds
     -p X && -o getPicture every X miliseconds and record in SpcaPict.jpg (spcacat)

The S97Webcam script should be something like this:
Quote
echo "ln -s /dev/v4l/video0 /dev/video0" > /etc/init.d/S97webcam
echo "cd /opt/www" > /etc/S97webcam

echo "/opt/www/imagesnap.sh &" > /etc/init.d/S97webcam

If you don't cd to the folder, the imagesnap.sh will place the picture in "/" instead of /opt/www.

One more thing: the webpage doesn't work for me (not refreshing automatically). Do you need any special packege for it? Java or something?
« Last Edit: April 28, 2006, 13:50:42 PM by Viperboy » Logged
gg
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #1 on: August 05, 2006, 09:50:38 AM »

I inserted the 2 modules: videodev and spca5xx bun I have no device called /dev/v4l/video0 or /dev/video0. It seems that the driver doesn't create anything in /dev. What's the meaning of this, is the device not supported?

dmesg:
Linux video capture interface: v1.00
usb.c: registered new driver spca5xx
drivers/usb/spca5xx.c: spca5xx driver 00.57.07 registered
usb.c: USB disconnect on device 01:03.0-2 address 5
hub.c: new USB device 01:03.0-2, assigned address 6
usb.c: USB device 6 (vend/prod 0x5a9/0x518) is not claimed by any active driver.

lsusb:
Bus 002 Device 006: ID 05a9:0518 OmniVision Technologies, Inc. OV518 WebCam

lsmod:
spca5xx               637272   0 (unused)
videodev                8640   0 [spca5xx]
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #2 on: August 06, 2006, 18:42:48 PM »


You will need this driver:
http://alpha.dyndns.org/

I am not sure it is ported to OpenWrt.

Logged
com
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #3 on: September 08, 2006, 12:09:27 PM »

hi macsat,

can you help me with building the module for version 20060501 since me camera is supported with this version.
I am running whiterussian rc5, kernel 2.4.30.

thank you
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #4 on: September 11, 2006, 11:54:37 AM »


I'm afraid we have two issues with this :

1) I didnt build the ones currently on my page, even though I dont believe it is too hard to do.
2) I dont have a linux computer with the build environment at the moment (and dont have too much spare time neither).
Logged
com
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #5 on: September 11, 2006, 11:58:30 AM »

maybe you can tell me from whom you got the files last time.
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.065 seconds with 24 queries.