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:
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