Errata

Getting Started with Raspberry Pi

Errata for Getting Started with Raspberry Pi

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page ix
6th paragraph

On the fourth line, it says "writing a application", and should say "writing an application"

Note from the Author or Editor:
fixed!

Sergio Majluf  Jan 10, 2013  Apr 26, 2013
Printed
Page xi
7th paragraph

Under Conventions Used in This Book, the "Constant width italic" heading is NOT set in italic font

Note from the Author or Editor:
fixed!

Sergio Majluf  Jan 10, 2013  Apr 26, 2013
ePub
Page Chapt1
A tour of the boards - http://my.safaribooksonline.com/book/programming/9781449344252/1dot-getting-up-and-running/_a_tour_of_the_boards_html

http://my.safaribooksonline.com/book/programming/9781449344252/1dot-getting-up-and-running/_a_tour_of_the_boards_html

The diagrams are identified with letters, but the description of the bits on the board are numbered. It would help if the I had serifs :)

Note from the Author or Editor:
Arg, these labels are correctly marked as letters in the print and PDF versions; it looks like we're missing a little bit of styling in the Epub. I'll send a note to the tools team and get this fixed in a revision.

Ed Bateman  Jan 13, 2013  Apr 26, 2013
ePub
Page *
*

Use of apt-get as opposed to aptitude.
It's more often recommended to use aptitude in new versions of debian. Is apt-get recommended because it is more memory efficient?

Note from the Author or Editor:
We used apt-get to keep things simple and to match the official documentation. Aptitude also comes installed on Raspbian and can be used if you want a package manager with more of a visual user interface.

Ed Bateman  Jan 13, 2013  Apr 26, 2013
ePub
Page ch1 p3+
figures

Figure labels are A B C D E, text references are 1 2 3 etc. In fig 1.1 and 1.2

What does fig 1.6 represent? It's black in my ePub version.

David Lapointe  Dec 09, 2012  Apr 26, 2013
Printed
Page 5
2nd paraghaph

The last phrase of that paragraph is malformed. Seems that there is a missing and conjunction between "cheap" and "USB" so it would read:

"MicroUSB was selected because the connector is cheap and USB power supplies are easy to find."

Note from the Author or Editor:
fixed!

Sergio Majluf  Jan 10, 2013  Apr 26, 2013
PDF
Page 5
United States

I. Power Input. The last sentence is "MicroUSB was selected because the connector is cheap USB power supplies are easy to find." There should be a semicolon or period/ capital letter between cheap and USB.

Note from the Author or Editor:
Change sentence to "MicroUSB was selected because the connector is cheap and USB power supplies are easy to find."

Steve Barrow  Jan 24, 2013  Apr 26, 2013
PDF
Page 5
I. Power input

"On of the first things ..." --> "One of the first things ..."

Note from the Author or Editor:
fixed!

Anonymous  Feb 11, 2013  Apr 26, 2013
Printed
Page 9
2d paragraph

Section heading for "Choose Your Distribution" (following paragraph 2) merged with paragraph 2.

Note from the Author or Editor:
Yes, the string "=== Choose Your Distribution" should be a header.

Terry Letsche  Jan 04, 2013  Apr 26, 2013
Printed
Page 11
paragraps 1-3

Parts of paragraph 2 and most of paragraph 3 are repeated in 4. Remove sentence 2 of paragraph 2 and all of paragraph 3 to fix.

Note from the Author or Editor:
In anticipation of an easier install process, we split the SD card copying instructions into an appendix at the last minute. This comment is referring to a vestige of that move. How about we do this:

1. Delete the first paragraph on page 11.

2. Rewrite the second paragraph as:

The first thing you?ll need to do is download Raspbian from the down loads page at raspberry pi.org --link--. Note that you can?t just drag the disk image onto the SD Card; you?ll need to make a bit-for-bit copy of the image. You?ll need a card writer and a disk image utility; any inexpensive card writer will do. The instructions vary depending on the OS you?re running. Unzip the image file (you should end up with a .img file), then follow the appropriate directions, as described in Appendix A.

. .  Jan 04, 2013  Apr 26, 2013
Printed
Page 13
paragrpah 1

Remove "a few" in sentence 1.

Note from the Author or Editor:
I believe his refers to page x in the preface. Sure, why not. How about "several"?

. .  Jan 04, 2013  Apr 26, 2013
Printed
Page 19
.

link to "Foundation?s online shop" is invalid. It is linked to http://raspberrypi.com/
It should be http://www.raspberrypi.com/.

Note from the Author or Editor:
Weird; fixed!

Anonymous  Feb 15, 2013  Apr 26, 2013
Printed
Page 25
3d paragraph

"...you can use rmdir if the directory if empty..." should read "...you can use rmdir if the directory is empty..."

Note from the Author or Editor:
fixed!

. .  Jan 04, 2013  Apr 26, 2013
PDF
Page 28
Second paragraph

The sentence:
Remove a file with rm. If you want to remove a directory you can use rmdir if
the directory if empty, or rm -r if it isn?t.
should be
Remove a file with rm. If you want to remove a directory you can use rmdir if
the directory is empty, or rm -r if it isn?t.

The third if should be is.

Anonymous  Nov 27, 2012  Apr 26, 2013
Printed
Page 30
2d bullet

The 'chmod g+wx wobble.txt' adds write and execute permissions, not read and execture, as the label has it.

Note from the Author or Editor:
fixed!

. .  Jan 04, 2013  Apr 26, 2013
Printed
Page 30
4th paragraph

"The ping command is actually the most basic tool for troubleshooting network conventions." should end with the word "connections".

Note from the Author or Editor:
fixed!

. .  Jan 04, 2013  Apr 26, 2013
Printed
Page 32
p. 5

"The program apt-get with the -install switch..."

The switch does not have the leading '-'. "The program apt-get with the install switch..."

Note from the Author or Editor:
fixed!

. .  Jan 04, 2013  Apr 26, 2013
Printed
Page 37
code example

radius should be 20 in this example, not 200 as in the printed code (to match with the given answer), or the answer needs changing.

Option 1:
>>> import math
>>> radius = 20
>>> radius * 2 * math.pi
125.66370614359172

Option 2:
>>> import math
>>> radius = 200
>>> radius * 2 * math.pi
1256.6370614359173

Note from the Author or Editor:
fixed!

. .  Jan 04, 2013  Apr 26, 2013
Printed
Page 40
the code block above the pencil section

at the code block above the pencil section, "while" loop is used, but "for" loop should be used instead.

Note from the Author or Editor:
fixed!

Anonymous  Feb 15, 2013  Apr 26, 2013
Printed
Page 42Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-245, default 245): +50 Command
1st python program

the "line while i in range(5):" seems to be incomplete. When executed I get the following error message: "NameError: name 'i' is not defined"

Note from the Author or Editor:
Fixed: it should read "for i in range(5)" (it's correct in the downloadable example code).

Rudi Buntu  Jan 27, 2013  Apr 26, 2013
Printed
Page 43
ist code block

The lasl line of code reads "print(line) but the example from the O'Reilly website shows "print(line, end = ''')" Which is it?

Note from the Author or Editor:
If you use "print(line, end = '')" (as in the downloadable example) the newline added by print() will be suppressed. Changed the book to match the downloadable example.

john  Mar 24, 2013  Apr 26, 2013
PDF
Page 45
code sample

fill is set to 1 in section 2 of the code. As used later in pygame.draw.circle, it should be 0 if the circle should be filled. Non-zero values set the pen width. The argument is probably better named width.

Note from the Author or Editor:
fixed!

Brian Becker  Feb 18, 2013  Apr 26, 2013
PDF
Page 46
note box

We don't want to add another "while True:" inside the existing loop.

Note from the Author or Editor:
fixed!

Brian Becker  Feb 18, 2013  Apr 26, 2013
PDF
Page 53
1st para in playing sound

pygame.mixer split between lines without hyphen. Probably should not be split at all.

Note from the Author or Editor:
fixed.

Brian Becker  Feb 18, 2013  Apr 26, 2013
PDF
Page 55
bullet 2 below code sample

"Open port 2, the ouput ..." should be "output"

Note from the Author or Editor:
Fixed.

Brian Becker  Feb 18, 2013  Apr 26, 2013
PDF
Page 56
2

If you?re using the sleep() function, you?ll find that it is accurate to more then 5ms on the Pi.

Should the "then" be a "than"

Note from the Author or Editor:
Change "then" -> "than"

J Ashfield  Dec 19, 2012  Apr 26, 2013
Printed
Page 56
par. 4

"... and the second tells describes each MIDI port." should be "... and the second describes each MIDI port."

Note from the Author or Editor:
fixed!

. .  Jan 05, 2013  Apr 26, 2013
Printed
Page 57
par. 1

"With this is mind..." should be "With this in mind..."

Note from the Author or Editor:
fixed!

. .  Jan 05, 2013  Apr 26, 2013
PDF
Page 65
note box

The box says that Appendix B shows support for multiple bullets, but that does not seem to be present in that appendix.

Note from the Author or Editor:
Updated.

Brian Becker  Feb 18, 2013  Apr 26, 2013
PDF
Page 71
1st para

"The PicoBoard send ...", should be "sends"

Note from the Author or Editor:
Fixed.

Brian Becker  Feb 18, 2013  Apr 26, 2013
Printed
Page 99
1st paragraph

The book sats:
root@raspberrypi:/home/pi/# crontab -e

There isn't anything wrong, as observant people will see the _root_@raspberrypi, but as there is a crontab for root and a different one for the normal user (pi) you might need to stress that this has to be run as root (sudo su) and not as the default user, otherwise the cron jobs being set won't work as they need root permissions.

Note from the Author or Editor:
Added a line to clarify.

Angus Pearson  Jan 12, 2013  Apr 26, 2013
Printed
Page 117
number 2

"...from Wikipedia.and renamed..." should be "...from Wikipedia and renamed..."

Note from the Author or Editor:
fixed!

. .  Jan 05, 2013  Apr 26, 2013
Printed
Page 138
number 4

"If there pin is high..." should be "If the pin is high..."

Note from the Author or Editor:
fixed!

. .  Jan 05, 2013  Apr 26, 2013
Printed
Page 145
step 7

at the step 7, you said "replace /dev/rdisk3 with the raw device ..." /dev/rdisk3 should be /dev/sdd1

Anonymous  Feb 15, 2013  Apr 26, 2013