-
Notifications
You must be signed in to change notification settings - Fork 7
Install
Steven P. Goldsmith edited this page May 16, 2013
·
36 revisions
You assume all the risks that come with flashing an Android device. It's very painless and hard to screw up, but if you do brick your Mini PC your on your own!
I had problems using mjpg-streamer, uvccapture, fswebcam which return VIDIOC_DQBUF: Invalid argument or something similar. cheese, gstreamer and vlc player (cvlc) worked. gstreamer worked the best, so that's what we are going to use here.
- Test USB camera under original ROM
- Boot up Mini PC with original ROM and configure your Google account
- Download camera app if your ROM doesn't have one
- Plug in your camera and take a picture
- If that worked then there's a good chance it will work under PicUntu!
- Install Finless 1.7 ROM on MK808. If you have another Mini PC model check for Finless on that model (you can skip to step 3, but Finless makes the reboot process easier)
- MK808 "all models" Finless 1.7
- Also in the repo
- Extract zip file on Windows PC and read README FIRST.TXT
- Install PicUntu 0.9 RC3
- Follow Install directions
- When complete reboot into using terminal with original ROM or Reboot app in Finless Rom (use bootloader option)
- Make sure networking is working (ping gateway, etc.)
- Test camera under PicUntu
- SSH into Mini PC as root/12qwaszx
-
lsusb- You should see something like:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 03f0:a707 Hewlett-Packard- Note "Hewlett-Packard"is my camera
- Add non-privileged user
useradd <username>adduser <username> sudousermod -a -G video <username>
- Install gstreamer
sudo apt-get install python-gi python3-gi \ gstreamer1.0-tools \ gir1.2-gstreamer-1.0 \ gir1.2-gst-plugins-base-1.0 \ gstreamer1.0-plugins-good \ gstreamer1.0-plugins-ugly \ gstreamer1.0-plugins-bad \ gstreamer1.0-libav- reboot
- SSH in as user you just created
- Get camera information
export GST_DEBUG="*v4l2*:5"gst-launch-1.0 -v v4l2src num-buffers=1 ! fakesink