Go to advanced search

by rpdom
Mon Jan 28, 2013 11:10 am
Forum: Raspbian
Topic: Newer soft float?
Replies: 4
Views: 966

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: 8817

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: 3269

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: 446

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: 1373

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: 586

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: 12188

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: 145487

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: 84076

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: 915

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: 1924

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: 4399

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: 1366

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: 3105

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: 4380

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: 6587

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: 84076

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: 84076

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: 735

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...
by rpdom
Fri Jan 25, 2013 1:29 am
Forum: Beginners
Topic: corrupted text files
Replies: 13
Views: 2019

Re: corrupted text files

Your original file looks to be a normal .txt file (although with CRLF terminators instead of just LF, which is normal for DOS/Windows and shouldn't be a problem). The "Pi" file is just junk. 512 bytes of NULL followed by "Yo". Something is definitely corrupting the file. When you say i imported a fo...
by rpdom
Fri Jan 25, 2013 1:02 am
Forum: Other
Topic: Gnome 3.6
Replies: 1
Views: 1107

Re: Gnome 3.6

Any GNOME 3.6 distros out there???? Unlikely, and probably not worth even trying. Raspbian may have Gnome 3.4 available (I haven't checked), but as Gnome 3 relies very heavily on either a compatible full hardware accelerated video driver, or as a fall-back, a seriously CPU intensive software driven...
by rpdom
Fri Jan 25, 2013 12:22 am
Forum: Other projects
Topic: Raspberry pi as a Wake on Lan source
Replies: 65
Views: 84076

Re: Raspberry pi as a Wake on Lan source

Tested -- My regular computer does actually wake on lan. Yay! That's a good start :) I want to take a laptop, stick Ubuntu on it, and test a wake on lan signal from that to my regular Windows computer. If I've got Ubuntu installed already... I just need to... install vim for a text editor? And then...
by rpdom
Thu Jan 24, 2013 2:31 pm
Forum: General programming discussion
Topic: Building from source in debian
Replies: 3
Views: 1604

Re: Building from source in debian

sudo apt-get install ice34-slice
by rpdom
Thu Jan 24, 2013 2:04 pm
Forum: Troubleshooting
Topic: Run level error
Replies: 16
Views: 1946

Re: Run level error

The default runlevel for Raspian/Debian is 2, I don't know about other distros. Some use 2 for console and 5 for GUI, so putting in 2 is probably your best bet.
by rpdom
Thu Jan 24, 2013 9:25 am
Forum: Bare metal, Assembly language
Topic: Learning ARM assembly
Replies: 16
Views: 6587

Re: Learning ARM assembly

Thank you for a nice example of how to use ARM code under linux. To someone who is trying to get back into ARM assembler after many years it has proved very useful. My previous code was mostly written using the BBC Basic assembler on ARM1, 2 & 3 systems. I had been looking for a way to try and debug...

Go to advanced search