Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 16 Aug 2018, 06:56
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Watchdog v1 Alpha ready for testing - Video Surveillance.
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 5 [70 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Author Message
hushpuppy

Joined: 31 Dec 2006
Posts: 208

PostPosted: Wed 22 Aug 2007, 14:09    Post subject:  Watchdog v1 Alpha ready for testing - Video Surveillance.
Subject description: Puppy Linux 2.16 with zoneminder, mysql, apache, perl5 & php5.
 

After much frustrtaion i have finally got a version to download and test.

Please download from http://www.doubleburgerbar.com/watchdog/.

Best to get the readme.txt first, peruse while downloading the iso.

Please leave feedback experiences in this thread.

An updated version (with startup scripts) should be available within a few days. Testing scripts will be available (time permitting) within a day or so.
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2504
Location: Hell more grotesque than any medieval woodcut

PostPosted: Wed 22 Aug 2007, 15:49    Post subject:  

So, how did you get it done in the end?
_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
hushpuppy

Joined: 31 Dec 2006
Posts: 208

PostPosted: Wed 22 Aug 2007, 16:11    Post subject:  

Through blood, sweat, tears, lots of naughty words, etc etc.

Seriously though, i ended up doing it by hand, bit by bit, adding or deleting files as neccessary then making a new pup_216.sfs and copying that to a flash drive, then booting that to see what worked, or more often didnt.

I'll see how this goes, but will probably also create .pets as well.

Thanks for your help by the way, much appreciated.
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4839
Location: Manila

PostPosted: Wed 22 Aug 2007, 19:26    Post subject: great  

This is great - will try it tonight. Thanks!
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15239
Location: Paradox Realm

PostPosted: Thu 23 Aug 2007, 03:47    Post subject:  

Very Happy

did this

Code:
# apachectl start
[Thu Aug 23 08:13:34 2007] [warn] module php5_module is already loaded, skipping
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
sh-3.00# modprobe gspca

sh-3.00# mysqld_safe --user=mysql
Starting mysqld daemon with databases from /usr/local/mysql/var


got this



Good work.
The infrastructure is there.
My camera (a logitech) did not work but as you can see following your instructions
apache and zoneminder seem to be running OK

So far - good

I would appreciate if you can compile for my camera
here is a link on all the info available on it
http://www.murga-linux.com/puppy/viewtopic.php?p=45495&search_id=966752795#45495

Code:
Camera
Speed: 12Mb/s (full)
USB Version:  1.00
Device Class: ff(vend.)
Device Subclass: ff
Device Protocol: ff
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 046d
Product Id: 0840
Revision Number:  1.00

Config Number: 1
   Number of Interfaces: 1
   Attributes: 80
   MaxPower Needed: 500mA

   Interface Number: 0
      Name: (none)
      Alternate Number: 0
      Class: ff(vend.)
      Sub Class: 0
      Protocol: 0
      Number of Endpoints: 2

         Endpoint Address: 81
         Direction: in
         Attribute: 1
         Type: Isoc
         Max Packet Size: 0
         Interval: 1ms

         Endpoint Address: 82
         Direction: in
         Attribute: 3
         Type: Int.
         Max Packet Size: 1
         Interval: 16ms

   Interface Number: 0
      Name: (none)
      Alternate Number: 1
      Class: ff(vend.)
      Sub Class: 0
      Protocol: 0
      Number of Endpoints: 2

         Endpoint Address: 81
         Direction: in
         Attribute: 1
         Type: Isoc
         Max Packet Size: 1023
         Interval: 1ms

         Endpoint Address: 82
         Direction: in
         Attribute: 3
         Type: Int.
         Max Packet Size: 1
         Interval: 16ms

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
hushpuppy

Joined: 31 Dec 2006
Posts: 208

PostPosted: Thu 23 Aug 2007, 04:53    Post subject:  

From the image i would say that everything is working fine. Thats great.


Can you send me a link to the download page for your camera, the source for it, and ill compile, i assume its the qcam one.

Does the driver from the link you supplied not work ?.

Have you checked the zoneminder site for anyone using this camera ?, if so can you send me the link please.

If you get it working without my help, please send me the instructions and ill include them in the readme with an acknowledgement.
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15239
Location: Paradox Realm

PostPosted: Thu 23 Aug 2007, 11:17    Post subject:  

hushpuppy wrote:
From the image i would say that everything is working fine. Thats great.


Very Happy

Can you send me a link to the download page for your camera, the source for it, and ill compile, i assume its the qcam one.

I have contacted NickBiker who has a webcam wizard - got this message

Code:

!!! ERROR

Sorry, but I have had a problem finding the package puppy2-qc-usb.tar.gz
Please drop me an email to let me know!

I cannot continue.


Quote:
Does the driver from the link you supplied not work?


No - I think it needs compiling for the new kernel


Quote:
Have you checked the zoneminder site for anyone using this camera ?, if so can you send me the link please.


I never really found out what my camera was . . . I think Nick did - will have to ask him

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
hushpuppy

Joined: 31 Dec 2006
Posts: 208

PostPosted: Thu 23 Aug 2007, 14:05    Post subject:  

From the info you gave i discovered youve got a Logitech QuickCam Express, see http://www.linux-usb.org/usb.ids

The driver is available here, looks like it should now work with puppy.
http://qce-ga.sourceforge.net/

If i get 10 or 15 mins spare this evening ill see if i can compile it for you.
Back to top
View user's profile Send private message 
hushpuppy

Joined: 31 Dec 2006
Posts: 208

PostPosted: Thu 23 Aug 2007, 18:32    Post subject:  

In the end it took more like an hour than 15 mins, but i did get the driver compiled for you, it will be included in the next release of watchdog.

For now you must install manually, and load as well.

http://www.doubleburgerbar.com/watchdog/drivers/quickcam/

Please open the readme.txt file for instructions on how to use it.

Please let me know if it works ffor you, as i cannot test as i dont have the camera.
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2307
Location: Wyoming, USA

PostPosted: Thu 23 Aug 2007, 22:40    Post subject:  

Can someone tell me what the ultimate aim is here? At a basic level?

Is it to record videocam data on a hard drive? Triggered by movement, or something like that?
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15239
Location: Paradox Realm

PostPosted: Fri 24 Aug 2007, 02:33    Post subject:  

hushpuppy wrote:
In the end it took more like an hour than 15 mins, but i did get the driver compiled for you, it will be included in the next release of watchdog.


Great stuff - will try a test Smile

Paul:

Basically this is a real time motion detection system that also allows you to observe your webcam from a web url (and hence your mobile phone)

Such a system might be useful in robotics, nature watch (alerts) as well as security applications.

As far as I am aware saving images to hard disk is one of the many options.

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
hushpuppy

Joined: 31 Dec 2006
Posts: 208

PostPosted: Fri 24 Aug 2007, 03:02    Post subject:  

Lobster :- Please let me know how you get on, from the little i read you might have to play around with some settings with the binary, maybe best to download the readme file from the source directory (just go into the directory on the page you got the driver from).

Paul :- Zoneminder (zm) is a security application, and popular, it's one drawback is that it can take even an experienced linux user DAYS to get up and running, this iso takes away that problem.

You can record, monitor, motion detect, save to hdd, view stills, control X10 devices, email you when motion is detected, ftp captured images to a different site (even if the thieves nicked your system, the images are still safe), alert you by sms. etc etc.

You can use webcams, security cams, X10 devices, remote cameras, etc etc.

All in all it's a fantastic programming feat.

I often check my home from my web enabled mobile phone, or another PC.

Of course, if all you want is Puppy with mysql and apache, it has that as well, youre not forced to use zm.
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15239
Location: Paradox Realm

PostPosted: Fri 24 Aug 2007, 03:32    Post subject:  

Not really smart enough to play with binaries
(smart tester with web cam required) Smile

This is what happened based on your text file
slight mistake (note end of first line) was rectified

Code:
sh-3.00# install -c -D -m 644 quickcam.ko /lib/modules/2.6.18.1/misc/quickcam.ko
sh-3.00# install -c -D -m 755 qcset /usr/local/bin/qcset
sh-3.00# depmod -a
sh-3.00# modprobe quickcam.ko
FATAL: Module quickcam.ko not found.


Quote:
lsmod should show your module loaded


no it did not Sad


I know my USB Logitech Webcam was a real hassle to get working
last time - so I am sure others are more likely to be successful
with their webcams

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
hushpuppy

Joined: 31 Dec 2006
Posts: 208

PostPosted: Fri 24 Aug 2007, 04:57    Post subject:  

whoops, a typo on my behalf, ill correct the file

it should be modprobe quickcam

drop the .ko

sorry

I'll be around for most of the day if you have any more problems, will check every so often.
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15239
Location: Paradox Realm

PostPosted: Fri 24 Aug 2007, 07:43    Post subject:  

Very Happy

Code:
sh-3.00# modprobe quickcam   

sh-3.00# lsmod
Module                  Size  Used by
quickcam               73172  0
videodev               24256  1 quickcam
v4l1_compat            13428  1 videodev
v4l2_common            21360  1 videodev


Yeah baby! Embarassed
Sorry got a little excited . . .
I think the above is good?

OK I am in guarddog now
- will start up the sql and apache and see what happens

report back soon

Smile

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 5 [70 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0667s ][ Queries: 12 (0.0069s) ][ GZIP on ]