Difference between revisions of "Ubuntu"

From Robert-Depot
Jump to: navigation, search
(Make a Portable UBUNTU installation)
(Install rEFInd to partition of external drive)
Line 29: Line 29:
 
**<code>diskutil list</code>
 
**<code>diskutil list</code>
 
**my EFI partition on external drive is /dev/disk2
 
**my EFI partition on external drive is /dev/disk2
 +
*unmount:
 +
**<code>diskutil unmountDisk disk2</code>
 
*use dd to copy flash image to external partition:
 
*use dd to copy flash image to external partition:
 
**<code>sudo dd if=refind-flashdrive-0.7.4.img of=/dev/disk2s1 bs=1m</code>
 
**<code>sudo dd if=refind-flashdrive-0.7.4.img of=/dev/disk2s1 bs=1m</code>

Revision as of 07:02, 15 September 2013

<<< back to Wiki Home

UVC / webcam control in ubuntu

v4l2-ctl

Installing

  • sudo apt-get install v4l-utils

Using

  • set max zoom with c920:
    • v4l2-ctl -c zoom_absolute=200
  • set max tele with c920:
    • v4l2-ctl -c zoom_absolute=100
  • list all controllable settings:
    • v4l2-ctl --list-ctrls<code>

guvcview

  • comes installed.
  • launch it:
    • <code>guvcview
  • should give you full access to your camera controls.

Make a Portable UBUNTU installation

  1. make a live ubuntu usb disk in os x. directions
  2. IN OSX: attach your new portable drive, partition it as an OSX Extended Journaled drive.
  3. IN UBUNTU: start install. select "something else", create three partitions (boot, root, and swap), leaving existing partition from OSX.
  4. Install Refind to first partition.

Install rEFInd to partition of external drive

Using H2 with Ubuntu

Recording from H2

  • arecord -D "hw:2,0" -f S16_LE -c 2 -r 44100 test2.wav

pocketsphinx-continuous with H2