First to do after Reinstall
най-доброто
https://github.com/arpitjindal97/raspbian-recipes
To use a X screen on the VNC
http://raspberrypi.stackexchange.com/questions/9590/tightvncserver-show-the-same-screen-on-hdmi-and-vncclient
will work on Raspberry Pi and Cubbieboard 2 ( not tested)
Prep & Optional Tools:
sudo apt-get update
sudo apt-get install guvcview
sudo apt-get install uvcdynctrl
sudo apt-get install uvccapture
sudo apt-get install qv4l2
sudo apt-get install mplayer
sudo apt-get install v4l-utils
sudo reboot
Clear out dmesg:
sudo dmesg --clear
Unload driver and reload to fix quirks:
sudo modprobe uvcvideo -r
sudo modprobe uvcvideo quirks=2
Plug in cam & check device is recognise (works best with SD card inserted):
lsusb
Bus 002 Device 016: ID 1b3f:0c52 Generalplus Technology Inc. 808 Camera #9 (mass storage mode)
Press the "power" button on the side of the cam
lsusb
Bus 002 Device 017: ID 1b3f:2002 Generalplus Technology Inc. 808 Camera #9 (web-cam mode)
Confirm video0:
ls /dev/video0
Check dmesg for errors:
dmesg
Run mplayer
mplayer tv:// -tv driver=v4l2:device=/dev/video0
streamer -c /dev/video0 -b 16 -t 5 -r 2 -s 640x480 -o /root/eyetoy00.jpeg
Няма коментари:
Публикуване на коментар