Direkt zum Hauptbereich

Webcam monitors the entrance ...

Yesterday I picked up my camera (http://www.ebay.de/itm/390641740206) from the post office. I powered off my Raspberry, plugged in the little webcam guy and powered up again. Then I checked my camera:

pi@raspberrypi:~$ dmesg | grep -i vid
[    0.028498] mailbox: Broadcom VideoCore Mailbox driver
[    1.329416] vc-cma: Videocore CMA driver
[    6.182242] Linux video capture interface: v2.00
[    6.628217] uvcvideo: Found UVC 1.00 device USB2.0 Camera (1e4e:0110)
[    7.120691] usbcore: registered new interface driver uvcvideo
[    7.128191] USB Video Class driver (1.1.1)
 

pi@raspberrypi:~$ dmesg | grep input
[    6.890757] input: USB2.0 Camera as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
 


Everything seems fine. Installed fswebcam:

sudo apt-get install fswebcam

First testpicture: fswebcam -v -r "640×480" /home/$USER/t.jpg


Installing motion:

sudo apt-get install motion

insserv: warning: script 'mathkernel' missing LSB tags and overrides
[warn] Not starting motion daemon, disabled via /etc/default/motion ... (warning).


Grmpf! What exactly does this mean? However, set start_motion_daemon=yes.

sudo /etc/init.d/motion restart

Now playing with the options. Obviously motion has an embedded webserver running on port 8081 which shows the recent picture. Coming back when there is real progress in the project i.e. when I know what to really do with it.

Kommentare

Beliebte Posts aus diesem Blog

How to delete WebSEAL servers which have not been configured correctly.

Problem: The WebSEAL server list in the pdadmin: pdadmin> server list shows the server, but it does not exist anymore, i.e. because the host has been disassembled without unconfiguring the WebSEAL instance. Solution: 1.) Delete the instance in the LDAP under: SecAuthority=Default - cn=securitygroup - cn=webseal-servers - cn=secmgrd-servers 2.) Configure the instance again, which will lead to an error, because it seems to be installed already. Configuring WebSEAL instance 'DO-06'...HPDMG0453E A server with the same name already exists.DPWCF0473E The WebSEAL instance 'DO-06' failed to configure. 3.) Unconfigure the instance, which will show errors, but remove the instance totally. # amwebcfg -action unconfig -inst_name DO-06 -admin_id sec_master -admin_pwd ********* Unconfiguring WebSEAL instance 'DO-06'... 2008-10-28-15:30:10.158+01:00I----- 0x389D51F2 amwebcfg ERROR wcf Error WebCfgAdminApi.cpp 84 0x002198d0 DPWCF0498E The user 'DO-06-webseald/srv1252...

Error: HPDMG0764E An internal error has occurred. (status 0x14c012fc)

Error: HPDMG0764E An internal error has occurred. (status 0x14c012fc) pdadmin sec_master> user create dg1234 uid=dg1234,cn=team1,cn=users,o=company lala lala ********** Could not perform the administration request Error: HPDMG0764E An internal error has occurred. (status 0x14c012fc) Description: After the upgrade from Policy Director (policy server) V5.1 to V6.0 the errors above occured when trying to write to the registry. Solution: The task of updating the ldap schema did not work well for some reason. After doing it again the errors did not occur again: # ivrgy_tool -d -h ldap_host -p port -D ldap_admin -w pwd schema