Go to advanced search

by rpdom
Fri Feb 01, 2013 7:23 am
Forum: Beginners
Topic: Tar not working
Replies: 2
Views: 2278

Re: Tar not working

It does look like your download is corrupted.

If you're running Raspbian (you probably are), forget the tar thing and try (on a terminal)

Code: Select all

sudo apt-get update
sudo apt-get install cmake
Much easier :-)
by rpdom
Fri Feb 01, 2013 7:15 am
Forum: General discussion
Topic: I need HDMI to component video converter.
Replies: 2
Views: 3257

Re: I need HDMI to component video converter.

The first link is to a cable that is only suitable for HDMI with Analog/Component output already built in. The Pi only has Digital output, so no good. The second is to a Digital to Analog converter. That will work, but is rather expensive. I wonder if a HDMI(Digital) to VGA converter linked to a VGA...
by rpdom
Thu Jan 31, 2013 6:07 pm
Forum: Beginners
Topic: Can't install imagemagick
Replies: 5
Views: 16367

Re: Can't install imagemagick

Nor did I realize that the libraries for older Raspbian releases were not maintained for some time. The reason that Raspbian packages are changing quite frequently at the moment is that Raspbian is tracking Debian "Wheezy", which is the current "testing" release of Debian. The reason for this is th...
by rpdom
Thu Jan 31, 2013 5:35 am
Forum: Beginners
Topic: Can't install imagemagick
Replies: 5
Views: 16367

Re: Can't install imagemagick

The tutorial specifies that it was done with the 10/28/2012 version which is what I am running. Yes, but that is an oldish version. A lot of the software on it is no longer the current version. The Raspbian servers only have more recent versions of the various packages, so you won't find an old Ima...
by rpdom
Tue Jan 29, 2013 12:08 pm
Forum: Beginners
Topic: Education Release Proposal/Discussion
Replies: 6
Views: 1288

Re: Education Release Proposal/Discussion

I suppose it would be possible with a redesign of the board. But you'd end up with no USB left for anything like a keyboard and mouse. It would be fine for running headless.
by rpdom
Tue Jan 29, 2013 7:15 am
Forum: Beginners
Topic: shutting down rasp pi via I/O port
Replies: 2
Views: 1162

Re: shutting down rasp pi via I/O port

I did this a slightly different way. I have an old USB memory stick that is too small to be of much use. I created a udev rule (program that monitors devices and does stuff when they are connected/removed) that invokes a shutdown whenever that particular stick is inserted. Advantages are 1) No extra...
by rpdom
Mon Jan 28, 2013 11:10 am
Forum: Raspbian
Topic: Newer soft float?
Replies: 4
Views: 944

Re: Newer soft float?

If you are asking what I think you are asking (Will Debian armel/squeeze get updated to the same versions as Raspbian armhf/wheezy?). The answer is yes. Soonish. Well, in the next few months - probably. Raspbian is a RPi specific version Debian wheezy, also currently known as "testing". The current ...
by rpdom
Mon Jan 28, 2013 10:03 am
Forum: General discussion
Topic: IRC client -> putty
Replies: 10
Views: 8766

Re: IRC client -> putty

I have been using ircii for many years now, but irssi is supposed to be better.
by rpdom
Mon Jan 28, 2013 5:24 am
Forum: Advanced users
Topic: Mapping a custom keyboard
Replies: 2
Views: 3232

Re: Mapping a custom keyboard

I can't remember how to create a custom keyboard map in the CLI environment at the moment, but you could look at xmodmap for the GUI.
by rpdom
Mon Jan 28, 2013 5:18 am
Forum: Beginners
Topic: Can't boot from sd card (pics inside)
Replies: 1
Views: 438

Re: Can't boot from sd card (pics inside)

Hmm, I wasn't aware of a Mint release for the Pi. Anyway.... Read the instructions again. You typed: dd bs=4M if=~/Downloads/2012-wheezy.img of=/dev/sdb1 The instructions say: dd bs=4M if=~/2012-12-16-wheezy-raspbian.img of=/dev/sdd You have correctly changed "sdd" to "sdb" and the name of the downl...
by rpdom
Mon Jan 28, 2013 4:48 am
Forum: Other programming languages
Topic: Perl 5.8.3 or later and perl modules?
Replies: 4
Views: 1360

Re: Perl 5.8.3 or later and perl modules?

You haven't said which Operating System version you are using. If you have installed the Raspbian version, you should have perl and perl-modules 5.14 already installed. You can check this in a terminal with "dpkg -l perl perl-modules" (That's a lower-case "L", not a capital "i" or number "1") My sys...
by rpdom
Sun Jan 27, 2013 8:40 pm
Forum: Troubleshooting
Topic: Wireless Firmware Installation Help
Replies: 2
Views: 576

Re: Wireless Firmware Installation Help

The firmware you download was it for Debian ARHHF ?? I doubt it. The firmware should be for the Adaptor, which unlikely to be running armhf. Firmware for external devices (unless it contains a loader program - which is usually included in the driver) is universal across all CPU types. It is a binar...
by rpdom
Sun Jan 27, 2013 8:03 pm
Forum: Beginners
Topic: How do I connect to a home network
Replies: 16
Views: 12044

Re: How do I connect to a home network

my version of Debian (Debian GNU/Linux 7.0 (“wheezy”) ) Hmm, where did you get that information from? You are more likely to be running Raspbian, which, as it is a Raspi specific version of Debian, will say "Debian" in lots of places. Anyway, that is besides the point. On any Debian-based system yo...
by rpdom
Sun Jan 27, 2013 9:36 am
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 142793

Re: BASIC - more harmful than useful?

The one thing that I don't think anyone has mentioned is not the actual language but the "entry level" to it. BASIC: I can turn on my Sharp PC-1211, Apple II or BBC Micro and be in BASIC in about a second. Hmm, I remember my first decent computer - a Sharp MZ-80K - took quite a few minutes to get B...
by rpdom
Sun Jan 27, 2013 9:18 am
Forum: Other projects
Topic: Raspberry pi as a Wake on Lan source
Replies: 65
Views: 83296

Re: Raspberry pi as a Wake on Lan source

Go for the biggest card you can comfortably afford. Don't take the chance of running out of space, and it's always good to have more in case you need it for another project later on :) Yes, you will have to resize the partition. The image is built to fit on the smallest feasible card it can. Resizin...
by rpdom
Sun Jan 27, 2013 9:08 am
Forum: General discussion
Topic: Raspberry PI custom script blocking at bootup
Replies: 6
Views: 903

Re: Raspberry PI custom script blocking at bootup

The process that runs writes to a txt file located in the /home/pi directory. If the program is run using: "su USER -c 'COMMAND' &", will it have write permission? If you run it as "su pi -c '/home/pi/myScript' &", yes. It will be running as user "pi" and will have all the permissions associated wi...
by rpdom
Sat Jan 26, 2013 5:02 am
Forum: C/C++
Topic: Raspberry Pi MySQL_ROW Question
Replies: 7
Views: 1898

Re: Raspberry Pi MySQL_ROW Question

Not a C expert here, but I believe you need to use strcmp().

if ( strcmp( row[0], "1" ) ) {
/* TURN ON GPIO PIN */
}

C doesn't have straight "==" testing for character strings/arrays, just numbers or single characters (which are basically just numbers anyway).
by rpdom
Sat Jan 26, 2013 4:58 am
Forum: Beginners
Topic: Too few parameters for iface line.
Replies: 2
Views: 4306

Re: Too few parameters for iface line.

My interfaces file is as follows starting directly under here: auto lo iface wlan0 inetdhcp auto lo wlan0 iface wlan0 inet dhcp wpa-BTHub3-XFQ6 wpa-passwordhere That's a bit of a mess. You have two "auto" statements for the lo interface, two "iface" lines for "wlan0" and "inetdhcp" should not be on...
by rpdom
Sat Jan 26, 2013 4:42 am
Forum: Troubleshooting
Topic: no video after dist-upgrade
Replies: 12
Views: 1342

Re: no video after dist-upgrade

Are you saying that you wrote the image to /dev/sde1? That's not what the instructions say to do (unless they are wrong, and I would expect that to have been reported by now). You should be writing to /dev/sde (without the 1). This is the "whole disk" or card, in ths case. The image contains all the...
by rpdom
Fri Jan 25, 2013 9:34 pm
Forum: Beginners
Topic: ATX Power Supply for RPi
Replies: 10
Views: 3038

Re: ATX Power Supply for RPi

I have used the 5VSB (Standby) wire from an AX power supply to run my Pi with no problems. The voltage was pretty stable and well within the tolerance of the Pi. No dummy load was required on any of the other lines, as only a small part of the PSU was active.
by rpdom
Fri Jan 25, 2013 4:54 pm
Forum: Beginners
Topic: Adding to LXTerminal $PATH
Replies: 6
Views: 4312

Re: Adding to LXTerminal $PATH

Did you try adding that sequence to the .bashrc file? I believe that is the one you need if there is no .bash_profile
by rpdom
Fri Jan 25, 2013 10:05 am
Forum: Bare metal, Assembly language
Topic: Learning ARM assembly
Replies: 16
Views: 6506

Re: Learning ARM assembly

If you call exit() from a C program and compile it, the compiler should not make any assumptions about the function and with any other function should assume there is a return that will happen, so use the bl instruction. As humans, who have verified that the exit function does in fact terminate the...
by rpdom
Fri Jan 25, 2013 7:32 am
Forum: Other projects
Topic: Raspberry pi as a Wake on Lan source
Replies: 65
Views: 83296

Re: Raspberry pi as a Wake on Lan source

I did think of one question.... What if I wanted specific, different times during the day? Like 5:55am and 4:30pm Mon-Fri. How do I handle the different minutes? If everything's on the hour, :00, I understand that, but what if they're different? Can I include everything in one line or do I make a s...
by rpdom
Fri Jan 25, 2013 2:02 am
Forum: Other projects
Topic: Raspberry pi as a Wake on Lan source
Replies: 65
Views: 83296

Re: Raspberry pi as a Wake on Lan source

It's pretty simple. Fortunately wakeonlan doesn't need to be run as root, so all this can be done as the "pi" user (or any other user you've set up). The batch file is just a simple text script. Something like: #!/bin/bash wakeonlan 01:23:45:67:89 Then make sure it is executable with chmod u+x fred ...
by rpdom
Fri Jan 25, 2013 1:48 am
Forum: Troubleshooting
Topic: segfault on everything???
Replies: 2
Views: 730

Re: segfault on everything???

Ok, something is seriously wrong there :( Any chance you could post the full output, as I suspect the real error message was shown earlier on - but you've probably not got that anymore. It's quite likely you've got a corrupted SD card now. It would be a good idea to reload it with the latest image o...

Go to advanced search