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 Wed 17 Sep 2014, 22:00
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Watchdog version 1 released with Zoneminder
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 7 [95 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
Minnesota

Joined: 11 Sep 2008
Posts: 313

PostPosted: Wed 08 Jun 2011, 16:07    Post subject: Webcam
Subject description: Help
 

Downloaded the v1.1, please help. How do I set up the web cam? Probably could search for awhile, but figured I would ask. I have two USB webcams. A Gear Head and a Winbook, Tried plugging in with the software running and tried booting with both plugged in. Can not see a menu entry any place to set up the software. Thanks for help.

G
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Wed 08 Jun 2011, 17:52    Post subject:  

no cd.
unpacked v1.1 and failed to boot with grub: syntax error -gt and also cant find pup_216.sfs
failed to boot with grub2 on flashdrive: cant find something on idehd

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
rhadon


Joined: 27 Mar 2008
Posts: 1293
Location: Germany

PostPosted: Thu 09 Jun 2011, 03:13    Post subject:  

@ Aarf
I know nothing about Grub2, but have similar problems with Grub legacy. I think, it has something to do with boot options (hda instead of sda, I think it's not possible to use a subdir in 2.16, maybe PDEF1 instead of pmedia). It's only a guess because I started Puppy with 3.01. No time now, but will test later more.

@ Minnesota
I also don't know this program, and it was too late for me yesterday night to get it running. So I also don't know, was it me or my webcam.
A good start is by clicking of the orange source "/dev/video0 (0)" in wdog-v1.1.png, i think.

Rolf

_________________
Ich verwende "frugal", und das ist gut so. Wink
Raspberry Pi without Puppy? No, thanks.
Back to top
View user's profile Send private message 
CatDude


Joined: 03 Jan 2007
Posts: 1473
Location: UK

PostPosted: Thu 09 Jun 2011, 05:54    Post subject:  

Hi

@ Aarf
This is the GRUB stanza that i use (Legacy GRUB)

Code:
# Linux bootable partition config begins
  title Puppy Watchdog-v1.1 (216)(Frugal) at hda6
  rootnoverify (hd0,5)
  kernel /vmlinuz root=/dev/ram0 PMEDIA=idehd vga=normal acpi=force
  initrd /initrd.gz
# Linux bootable partition config ends

You may or may not need the last bit on the kernel line acpi=force (i do)
As you can see, i have it in the root of the partition (not in a subdirectory)

Also, on the first boot, i had to run the xorgwizard
otherwise it sat there with a black screen (on two different machines Rolling Eyes )


@ Minnesota
First thing is, you need to figure out which drivers you require for your cameras,
i have no idea what they are personally (sorry)

When you eventually have them installed,
you could try running the following command:
Code:
zmu -d /dev/video -q -v

which should give a result similar to this:
Quote:
sh-3.00# zmu -d /dev/video -q -v
Video Capabilities
Name: CPiA Camera
Type: 513
Can capture
Can capture subareas of the image
Video Channels: 1
Audio Channels: 0
Maximum Width: 352
Maximum Height: 288
Minimum Width: 48
Minimum Height: 48
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 32768
Colour :32768
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: Camera
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL

    NOTE:
    That is the output with my Pace VC6452V002 ZoomCam plugged in.
    This camera required that i modprobe the driver module:
    Code:
    modprobe cpia_usb

    To ensure that it is loaded at each boot, i added the above command to: /etc/rc.d/rc.local



Pay particular attention to the things i have put in bold (in the output from my camera)
and then click on the Source to configure your camera and enter some details.
You may need to play around with the Capture Width & Capture Height,
obviously DO NOT exceed what your camera is capable of.


Hope this helps
CatDude
.
main.png
 Description   
 Filesize   85.59 KB
 Viewed   1451 Time(s)

main.png

camera.png
 Description   
 Filesize   21.03 KB
 Viewed   1520 Time(s)

camera.png

camera2.png
 Description   
 Filesize   61.01 KB
 Viewed   1483 Time(s)

camera2.png


_________________

Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Thu 09 Jun 2011, 06:01    Post subject:  

Suppose I want to use it to record how I move around in the bed at night.

Sleep Apnea. So when I move it start taken webcam pics and when I lay like dead it stop taking pics.

How many such pics can one expect them during say 10 hours recording and how big space on the HDD does that take up?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Minnesota

Joined: 11 Sep 2008
Posts: 313

PostPosted: Thu 09 Jun 2011, 07:42    Post subject: Thanks  

Thanks for your response.. will see what I can find later today for a driver.

G
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Thu 09 Jun 2011, 14:21    Post subject:  

CatDude wrote:
Hi

@ Aarf
This is the GRUB stanza that i use (Legacy GRUB)

Code:
# Linux bootable partition config begins
  title Puppy Watchdog-v1.1 (216)(Frugal) at hda6
  rootnoverify (hd0,5)
  kernel /vmlinuz root=/dev/ram0 PMEDIA=idehd vga=normal acpi=force
  initrd /initrd.gz
# Linux bootable partition config ends

You may or may not need the last bit on the kernel line acpi=force (i do)
As you can see, i have it in the root of the partition (not in a subdirectory)

Also, on the first boot, i had to run the xorgwizard
otherwise it sat there with a black screen (on two different machines Rolling Eyes )
Hope this helps
CatDude
.

thanks CatDude with your boot code, xorgwizard, and xwin, got a boot. got running. now need to sort drivers for camera and wifi and perhaps other things..

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
rhadon


Joined: 27 Mar 2008
Posts: 1293
Location: Germany

PostPosted: Thu 09 Jun 2011, 16:14    Post subject:  

@ CatDude, thanks again Very Happy

@ Aarf, Extra drivers for Puppy 2 with 2.6.18.1 kernel Maybe you have more success than I Confused

Rolf

_________________
Ich verwende "frugal", und das ist gut so. Wink
Raspberry Pi without Puppy? No, thanks.
Back to top
View user's profile Send private message 
rhadon


Joined: 27 Mar 2008
Posts: 1293
Location: Germany

PostPosted: Thu 09 Jun 2011, 16:41    Post subject:  

nooby wrote:
How many such pics can one expect them during say 10 hours recording and how big space on the HDD does that take up?
I think it's a question about the sensitivity, and I guess, that you can adjust it. If you get a picture on every breath you take, you get about 3600 pics/10h. The other extreme would be one pic if you fall out the bed Laughing . I'm not sure about the size of each pic, it depends from the resolution you choose. The main question is, does the program work with your hardware? This you can only find out by testing.

Rolf

_________________
Ich verwende "frugal", und das ist gut so. Wink
Raspberry Pi without Puppy? No, thanks.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Thu 09 Jun 2011, 17:21    Post subject:  

I maybe should have explained myself better. Is it 2GB or 20GB or 200GB?
I mean roughly what to expect lowest quality?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
rhadon


Joined: 27 Mar 2008
Posts: 1293
Location: Germany

PostPosted: Fri 10 Jun 2011, 02:06    Post subject:  

@ nooby,

with Motion, a program for similar purposes, I get a picture size of about 1k (320x240). So I would guess you need less than 2GB. But as I tried to explain, no one can tell you for sure. You must try yourself.

Rolf

_________________
Ich verwende "frugal", und das ist gut so. Wink
Raspberry Pi without Puppy? No, thanks.
Back to top
View user's profile Send private message 
rhadon


Joined: 27 Mar 2008
Posts: 1293
Location: Germany

PostPosted: Fri 10 Jun 2011, 08:28    Post subject:  

Hi,

I installed the right video driver, but still no go.
My webcam is detected in Menu-> System-> Usbview.

I installed uvcvideo-20070706-k2.6.18.1.pet.
uvcvideo is the appropriate driver for me in all Puppies since 4.11 and works OOTB.

Running
Code:
modprobe uvcvideo
I get no error message.

Running
Code:
zmu -d /dev/video0 -q -v

I get
Code:
sh-3.00# zmu -d /dev/video0 -q -v
Error, failed to get channel 0 attributes: Invalid argument.

Different options also unsuccessful.

If I change /dev/video0 to /dev/video or /dev/video1-16 (that's what I also find in /dev/), I get
"no such device".

I downloaded and installed luvcview-0.2.4.pet. It works. So I think it's a problem of my settings in Zoneminder or Zoneminder itself.

Also tried to change resolution: 160x120, 320x240, 640x480, 800x600, no go.

Any idea, where I'm wrong or what I could try or test?

Rolf

_________________
Ich verwende "frugal", und das ist gut so. Wink
Raspberry Pi without Puppy? No, thanks.
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 11 Jun 2011, 20:57    Post subject:  

@rhadon Also failing here but the webcam program is also failing. Will try the second of the drivers you mention http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-5/luvcview-0.2.4.pet
Edit. Also failed, and muppy webcam which comes into the menus after restartx also fails.
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sun 12 Jun 2011, 00:12    Post subject:  

Code:
sh-3.00# luvcview
luvcview 0.2.4

SDL information:
  Video driver: x11
  A window manager is available
Device information:
  Device path:  /dev/video0
ERROR opening V4L interface: No such device
sh-3.00# luvcview -i 15
luvcview 0.2.4

SDL information:
  Video driver: x11
  A window manager is available
Device information:
  Device path:  /dev/video0
ERROR opening V4L interface: No such device
sh-3.00#


wifi pet failed also. am thinking a new approach into a latest puppy is the way forward.
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sun 12 Jun 2011, 04:48    Post subject:  

anyone able to download this?
http://www2.zoneminder.com/downloads/ZoneMinder-1.24.4.tar.gz
i cant at present at least.

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 3 of 7 [95 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 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.0962s ][ Queries: 12 (0.0107s) ][ GZIP on ]