Showing posts with label Raspbian. Show all posts
Showing posts with label Raspbian. Show all posts

Monday, October 5, 2015

Install python-gphoto2 on Raspberry Pi/Raspbian Wheezy - success



Refer to the previous post "Install and test python-gphoto2 (Python interface to libgphoto2) on Raspberry Pi 2/Raspbian Jessie", success to install but fail to run. In order to verify the steps, I redo it on Raspberry Pi (1st generation, NOT 2)/Raspbian Wheezy.

Install gphoto2 and libgphoto using gphoto2-updater script. Both gphoto2 and libgphoto2 installed are version 2.5.8.


Then install python-gphoto2:
$ sudo apt-get install python-pip
$ sudo apt-get install python-dev
$ sudo pip install gphoto2

It seem much better.

Saturday, October 3, 2015

Python on Raspberry Pi to control DSLR with python-piggyphoto and libgphoto2


This post show how to control DSLR (Nikon D7000) with Raspberry Pi 2 (running Raspbian Jessie), using Python 2, with libgphoto2 and piggyphoto. The camera connect to Raspberry Pi via USB.


piggyphoto is a Python bindings for libgphoto2. You have to install libgphoto2.

To install piggyphoto for Python 2, enter the command:
$ sudo apt-get install python-piggyphoto

Try in Python 2:
import piggyphoto

C = piggyphoto.camera()
print C.abilities
C.capture_preview('prev.jpg')
C.capture_image('image.jpg')


Reference: https://github.com/alexdu/piggyphoto

Tuesday, September 29, 2015

First boot Raspbian Jessie on Raspberry Pi 2

First boot Raspbian Jessie (2015-09-24) on Raspberry Pi 2:


Now the RPi boot-up in GUI mode directly, you can access Raspberry Pi Configuration GUI with:
> Menu > Preferences > Raspberry Pi Configuration


You can now press [PrtSc] to capture screen.

~ More posts replated to new Raspbian Jessie.


Raspbian Jessie - major Raspberry Pi official OS upgrade

It is a major version upgrade – from Raspbian Wheezy to Raspbian Jessie, with large number of changes to the underlying operating system.

Download HERE.

To know more about Raspbian Jessie, visit Raspberry Pi Blog.

Related to Raspbian Jessie:
- First boot Raspbian Jessie on Raspberry Pi 2.


- Bonus: Raspbian Jessie saved my defected Raspberry Pi 2
- gPhoto2 and GtKam, Raspbian Jessie apt-get repository now provide install gPhoto2 2.5.4 and GtKam 0.2.0.
Remote run JavaFX on Raspbian Jessie, from Netbeans/Windows 10.


On raspberry Pi 1:

I tried to install Raspbian Jessie on Raspberry Pi 1, but the menu bar disappeared!

Raspbian Jessie on Raspberry Pi 1
Raspbian Jessie on Raspberry Pi 1 - remote login using Windows' Remote Desktop Connection and xrdp on Raspberry Pi

Wednesday, March 25, 2015

How to know the current Overclock setting

To know the current Overclock setting on Raspbian, enter the command:
$ cat /boot/config.txt


For more options and information see http://www.raspberrypi.org/documentation/configuration/config-txt.md



Monday, March 23, 2015

Set JAVA_HOME for Raspbian pre-loaded java 1.8.0

Current Raspbian (version 2015-02-16) preload with java 1.8.0. By default, both java and javac are in PATH (that's why we can run java and javac directly), but no JAVA_HOME set.

This video show how to verify java location, set JAVA_HOME in .bashrc, and verify using jEdit.


- By default, java should be in /usr

- Edit hidden file .bashrc with command:
$ nano .bashrc

- Add the line:
export JAVA_HOME=/usr

- Save and reboot.


Tuesday, March 17, 2015

Sunday, March 15, 2015

Fix "GDBus.Error.org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject" on Raspberry Pi 2/Raspbian

My Raspberry Pi 2 run Raspbian 2015-02-16. It always report error of "GDBus.Error.org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject" in first run startx after boot-up.



To fix it:
- Run lxsession-edit in LXTerminal
lxsession-edit

- Uncheck LXPolKit and OK.


- Reboot.

Monday, March 9, 2015

Monday, December 29, 2014

Config WiFi on new Raspbian

To run WiFi Configuration Utility on new Raspbian without icon on desktop, click Menu on Raspbian top banner, click Preferences, and WiFi Configuration.


This view show how:

python3-pygame preinstalled on new Raspbian

python3-pygame preinstalled on new Raspbian

New LXDE look of Raspbian

New LXDE look of Raspbian, 2014-12-24, updated with no icons on the desktop other than the wastebasket.



Related: CHANGES TO THE RASPBIAN USER INTERFACE

New NOOBS and RASPBIAN updated

New version of NOOBS and RASPBIAN, 2014-12-24, is available now, download HERE.

~ Release notes: http://downloads.raspberrypi.org/raspbian/release_notes.txt

Friday, September 12, 2014

New Raspbian (and NOOBS) available

New release (2014-09-09) of Raspbian, and also New Out Of the Box Software (NOOBS), available.

  • New firmware with various fixes and improvements
  • Minecraft Pi pre-installed
  • Sonic Pi upgraded to 2.0
  • Include Epiphany browser work from Collabora
  • Switch to Java 8 from Java 7
  • Updated Mathematica
  • Misc minor configuration changes

Download: http://www.raspberrypi.org/downloads/


Saturday, July 5, 2014

NOOBS and Rasobian released 2014-06-20

NOOBS and Rasobian (Debian Wheezy) released at 2014-06-20, this new firmware updated with various fixes, and kernel bugfix.

Visit: http://www.raspberrypi.org/downloads/


Monday, January 13, 2014

Saturday, September 28, 2013

New Raspbian and New Out Of Box Software (NOOBS) released

A new Raspbian release, which integrates a number of recent improvements. Along with kernel and firmware updates, highlights include:
  • Sonic Pi is preinstalled so you can jump right in to learning to program while creating your own music.
  • Significant performance improvements to Scratch thanks to Tim Rowledge and Ben Avison.
  • A build of PyPy 2.1 is now included to allow you to try out this high performance Python JIT compiler.
  • Python libraries required for interfacing with Pi-Face are preinstalled. Once you enable the SPI kernel module in raspi-config you can leap right in.
  • The Oracle JDK is preinstalled
Due to the addition of Java, the standalone SD card image now requires at least a 4GB SD card.

And also, NOOBS v1.3 has also been released. Highlights include:
  • The ability to install multiple OSes on a single card.
  • Support for network installation of OSes from our repository.
  • Multiple “flavours” of Raspbian, including the ability to boot directly into Scratch.
  • Improved integration of language, keyboard and display settings between NOOBS and guest operating systems.

Source: New Raspbian release, and NOOBS v1.3 goes gold

Download: New Out Of Box Software