background preloader

RPiconfig

RPiconfig
As the Raspberry Pi doesn't have a conventional BIOS, the various system configuration parameters that would normally be kept and set using the BIOS are now stored in a text file named "config.txt". The Raspberry Pi config.txt file is read by the GPU before the ARM core is initialized. This file is an optional file on the boot partition. It would normally be accessible as /boot/config.txt from Linux, but from Windows (or OS X) it would be seen as a file in the accessible part of the card. To edit the configuration file, see the instructions at R-Pi_ConfigurationFile. You can get your current active settings with the following commands: vcgencmd get_config <config> - lists a specific config value. The format is "property=value" where value is an integer. Note: In the newer Raspberry Pi models there is # before every line, if you want changes to have an affect then 'uncomment' meaning remove the #. Here is an example file disable_l2cache disable ARM access to GPU's L2 cache. start_x=1 #! Related:  RaspberryPiProjection

Ça va faire du bruit chez les framboise314 : comment configurer le son sur le Raspberry Pi Certains lecteurs du blog se sont manifestés pour dire qu’ils n’avaient pas de son sur leur Raspberry Pi. Richard (Tilalo) m’a envoyé ce mail : Salut François, J’ai lu sur ton blog que des utilisateurs n'(avaient pas de son. En cherchant sur les forum, j’ai trouvé ça : à Tilalo pour cette info, et pour les anglophobes, vous trouverez ci-dessous la traduction de l’article en question, ainsi que celle de qui liste les différents problèmes rencontrés sur le Raspberry Pi. Tout d’abord cet article de Jose P Pinilla et Holguer A Becerra Comment activer le son en HDMI et en Analogique sur un Raspberry Pi (Raspbian-Wheezy) Avant de lancer startx : Utilisez le SuperUser (après chaque reboot) ou utilisez sudo avant chaque commande Installez l’utilitaire de mise à jour du Firmware Mettez le Firmware à jour Dans config.txt : décommentez « hdmi_drive=2″ Ajoutez le module audio module au noyau et :

BeagleBoard.org Linux Kernel 3.1.9 for Raspberry Pi Released & Build Instructions Home > Linux, Linux 3.0 > Linux Kernel 3.1.9 for Raspberry Pi Released & Build Instructions Raspberry Pi has just announced the release of a fork a linux kernel 3.1.9. The source code with patches is available at If you just want to download the patch, I’ve created one: r-pi_linux_3.1.9.patch.gz The code related to Broadcom BCM2835 processor is referred as bcm2708 in the kernel and I can see committed related to the watchdog timer, the framebuffer, the VCHIQ driver (the driver sending messages to the GPU) and general commits for bcm2708. For those interested in the messages used to communicate between userspace and the GPU, the VCHIQ driver code is located at drivers/misc/vc04_services in the tree. Here are the build instructions for Raspberry Pi kernel. Update: Thanks to commenters and some research with Google, I found out that the Raspberry Pi boots with a file called kernel.img generated with imagetool-uncompressed.py tool. first32k.binkernel.img

TinyBASIC One: Documentation This page documents features of TinyBASIC Two 2.1, released 23rd December 2012. Like man-pages?, then check-out the man-page (pdf). Editor Commands list [line] display the contents of the current program. list <line> lists the program from the selected line until the end. edit <line> simple line-based command to re-edit a program statement run execute the current program save [filename] save the program to a disc file. load <filename> load the program buffer from an existing Linux file new discard the current program and start again trace [on|off] set command tracing "on" or "off" or show current setting flavour [vanilla|raspberry] select a flavour or show current flavour. renumber [first[,step]] renumber current program. renumber undo restore program buffer to version before last renumber cd [dir] change working directory. ls show files stored in current directory pwd show name of current working directory help [help] Notes for Porting Code from Palo Alto to TinyBASIC Two Supported Colours with Graphics

Self-Contained Projector Rig #piday #raspberrypi @Raspberry_Pi May 16, 2014 AT 4:00 pm Self-Contained Projector Rig #piday #raspberrypi @Raspberry_Pi Filmmaker and interactive video artist Tim Bartlett (who recently created the Kentile Floors Sign Illuminated project) shared with us a handy way to build an efficient video projection rig around your Raspberry Pi. Self-Contained Projector Rig: I was recently asked to provide a video projection for the Proteus Gowanus ball, and assembled my most compact, self-contained projector rig to date. Check out his step-by-step instructions and setup your own video looping Pi projection rig here! Featured Adafruit Tutorial! Adafruit’s Raspberry Pi Lesson 6. Each Friday is PiDay here at Adafruit! No comments yet. Sorry, the comment form is closed at this time.

Création d’un utilisateur pour le Raspberry-Pi | Blog de Hotfirenet Tout dépend de ce que vous voulez faire avec votre raspberry-pi, mais si celui-ci est visible sur le net je vous conseille fortement de créer un nouvel utilisateur et de supprimer l’utilisateur pi par défaut ou du moins de changer son mot de passe. Pour créer un nouvel utilisateur sur le raspberry-pi une commande suffit: sudo adduser nomUtilisateur En sachant que nomUtilisateur est le nom de votre utilisateur Le processus de création d’un utilisateur fait sa sauce. Jusqu’à ce qu’il vous demande un mot de passe. Alors toujours pareil, si le raspberry-pi est amené à être accessible depuis internet je vous conseille de mettre un vrai mot de passe. Avec au moins 8 caractères alphanumérique et un peu de caractères spéciaux. Ne soyez pas surpris si vous ne voyez pas le mot de passe que vous tapez. Si les mots de passe sont identiques, une nouvelle étape va vous demander plusieurs informations. Donner les droits super admin (root ou sudo ) à cet utlisateur Il suffit de rajouter après: Ceci:

Fritzing Raspberry Pi : jusqu'à 50 % de performances en plus via l'overclocking La fondation en charge du projet Raspberry Pi vient d'indiquer qu'un mode turbo venait d'apparaitre au sein de la dernière version de son système d'exploitation. Il offre un gain de performances de l'ordre de 50 %, ce qui n'est pas un luxe pour cette machine miniature qui est équipé d'un SoC Broadcom à 700 MHz seulement. Pour ce faire, l'équipe en charge du développement de Raspbian, le système d'exploitation dédié, a ajouté une fonctionnalité au sein de la dernière version 2012-09-18-wheezy. Celle-ci permet d'augmenter la fréquence du processeur ainsi que sa tension au passage. Sachez que cet overclocking n'affecte pas la garantie, mais il faudra cependant contrôler certains détails avant de pouvoir profiter de ce changement : l'alimentation doit être suffisante et le boîtier suffisamment volumineux pour encaisser la hausse de température du SoC. Enfin, d'autres ajouts sont de la partie avec cette nouvelle version du système d'exploitation. Damien Labourot

bcm2835: C library for Broadcom BCM 2835 as used in Raspberry Pi This is a C library for Raspberry Pi (RPi). It provides access to GPIO and other IO functions on the Broadcom BCM 2835 chip, as used in the RaspberryPi, allowing access to the GPIO pins on the 26 pin IDE plug on the RPi board so you can control and interface with various external devices. It provides functions for reading digital inputs and setting digital outputs, using SPI and I2C, and for accessing the system timers. Pin event detection is supported by polling (interrupts are not supported). It is C++ compatible, and installs as a header file and non-shared library on any Linux-based distro (but clearly is no use except on Raspberry Pi or another board with BCM 2835). The version of the package that this documentation refers to can be downloaded from You can find the latest version at Several example programs are provided. Running as root Installation tar zxvf bcm2835-1.xx.tar.gz . make Reboot.

Self-Contained Projector Rig | Tim Bartlett I was recently asked to provide a video projection for the Proteus Gowanus ball, and assembled my most compact, self-contained projector rig to date. It involves Velcroing a Raspberry Pi computer to my homemade projector mount, which can be clamped anywhere with standard film grip gear. When plugged in, 1080p video plays in a loop. Getting the video to start and loop automatically was fairly simple, but required several stops on the internet: I used this script to loop video files in a folder. I added -r four lines from the end, as suggested in one of the comments. omxplayer -r $entry > /dev/null Then I made the script (named videoplayer.sh) executable with the command:sudo chmod +x /home/pi/videoplayer.sh To run the video loop, if you’re in the same directory, typenano . That worked, but I had to reboot the Raspberry Pi to get it to stop. ! To run the script on boot:sudo nano /etc/rc.local Before the final “exit 0” line, insert this line: /home/pi/videoplayer & Change the path accordingly.

SD Formatter 4.0 for Windows Download You ("Licensee") are granted a license for the Software defined in this End User License Agreement ("Agreement") on condition that you agree to the terms and conditions of this Agreement. If Licensee does not agree to the terms and conditions of this Agreement, promptly return the Software to SD Card Association (SDA). Article 1 License Licensee is granted the right to use the software, including the information provided from this downloading site, users manuals, and any other media provided to Licensee (collectively "Software"), but all applicable rights to patents, copyrights, trademarks and trade secrets in the Software are not transferred to Licensee. Article 2 Use by a Third Party Licensee may not use, copy, modify, transfer or allow any third party, whether free of charge or not, to use, copy or modify the Software, except as expressly provided for in this Agreement. Article 3 Restrictions on Copying the Software Article 4 Computer of Use Article 6 Indemnification

RPi.GPIO 0.4.1a A module to control Raspberry Pi GPIO channels This package provides a class to control the GPIO on a Raspberry Pi. Note that this module is unsuitable for real-time or timing critical applications. This is because you can not predict when Python will be busy garbage collecting. It also runs under the Linux kernel which is not suitable for real time applications - it is multitasking O/S and another process may be given priority over the CPU, causing jitter in your program. If you are after true real-time performance and predictability, buy yourself an Arduino ! Note that the current release does not support SPI, I2C, PWM or serial functionality on the RPi yet. Example Usage : 0.4.1a Added VERSION Permit input() of channels set as outputs (Eric Ptak < trouch@trouch.com >) 0.4.0a Added support for Revision 2 boards Added RPI_REVISION Added cleanup() function and removed automatic reset functionality on program exit Added set_rising_event() Added set_falling_event() 0.3.1a 0.3.0a

Related: