Go to advanced search

by rpdom
Sun May 26, 2013 8:16 pm
Forum: Beginners
Topic: apt,upgrade issue
Replies: 7
Views: 761

Re: apt,upgrade issue

Is there enough free space?

Check with df -h
by rpdom
Sun May 26, 2013 5:16 pm
Forum: Debian
Topic: Debian wheezy minimal system on rpi
Replies: 2
Views: 1931

Re: Debian wheezy minimal system on rpi

Debian armhf will not work on the Pi. Debian armel will work, but it will be slow as it doesn't use the hardware floating point processor. Unless you really need armel, you are best off using the Raspbian Wheezy images. Raspbian is almost exactly the same as Debian, but is built specifically for the...
by rpdom
Sun May 26, 2013 10:40 am
Forum: Troubleshooting
Topic: [RESOLVED] Wrong package architectures
Replies: 5
Views: 1033

Re: Wrong package architectures

Packages from deb-multimedia.org tend to have version numbers that include "-dmo" to differentiate them from ones from other sources. You could use that to get a list of packages that have been installed from that source. Here's an example on my Linux laptop (I don't have any dmo files on my raspi)....
by rpdom
Sat May 25, 2013 6:34 pm
Forum: Troubleshooting
Topic: Rapsberry pi with no output...
Replies: 47
Views: 3670

Re: Rapsberry pi with no output...

I apologise that I was unable to help you more than I have tried already. You have already tested everything that I can think of for your problem. Perhaps your Pi is defective and RMA is your answer. RMA is "Return Merchandise Authorisation", which means contact your supplier and tell them that your...
by rpdom
Sat May 25, 2013 12:20 pm
Forum: Beginners
Topic: Soldier Sd Card
Replies: 4
Views: 961

Re: Soldier Sd Card

How about covering the card and holder in resin or epoxy glue? Someone who tries hard could cut away the glue, but it would take a very long time. Far harder than un-soldering. As mentioned above, this means you would find it very hard to change the card if it failed. You would maybe need to buy a n...
by rpdom
Sat May 25, 2013 7:27 am
Forum: Beginners
Topic: Using the Pi as an embedded system
Replies: 5
Views: 13302

Re: Using the Pi as an embedded system

Of the top of my head I can think of two ways of making a system that doesn't need to write to the card. The most difficult one is to make a cut down system with just the minimum files necessary to run your code and put the whole lot in a ramdisk image, make a custom kernel to use that ramdisk and b...
by rpdom
Sat May 25, 2013 7:14 am
Forum: Graphics, sound and multimedia
Topic: Pausing OMXPlayer right after it starts?
Replies: 4
Views: 3857

Re: Pausing OMXPlayer right after it starts?

One way I would consider of doing this is to download the source code for omxplayer and make a custom version. Make it so that it starts up in "pause" mode (I haven't looked at the source, but I suspect this is just a flag being set). Then when it reaches the end of the video, set the position to 0 ...
by rpdom
Sat May 25, 2013 5:28 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Replace micro USB with two wires
Replies: 18
Views: 13601

Re: Replace micro USB with two wires

If you soldered one of the wires direct to F3, you might have heated the fuse up enough to increase its resistance. Leave it powered off for 24 hours and it should recover - if it didn't get too hot. Measure the voltage on the test points TP1 and TP2 to be sure.
by rpdom
Fri May 24, 2013 6:03 pm
Forum: Beginners
Topic: Using the Pi as an embedded system
Replies: 5
Views: 13302

Re: Using the Pi as an embedded system

Depending on what you want to do there are a number of options. Autologin as a user and let the .profile or .bashrc start the program by editing the /etc/initttab file. Search forums for autologin - there has been at least one thread mentioning that today. Put an entry in the /etc/inittab file to ru...
by rpdom
Fri May 24, 2013 5:15 pm
Forum: Beginners
Topic: Automatic login no longer working?
Replies: 10
Views: 7708

Re: Automatic login no longer working?

Okay, I see my confusion. The line I needed to comment out was "1:2345:respawn:/sbin/getty --noclear 38400 tty1" I guess I was following the instructions too literally, where it listed the line as "1:2345:respawn:/sbin/getty 115200 tty1". I'm assuming this must have changed with the more recent Ras...
by rpdom
Fri May 24, 2013 11:46 am
Forum: General programming discussion
Topic: Script runs differently from cron
Replies: 10
Views: 2038

Re: Script runs differently from cron

Ok, it works now. I used which and changed the relevant line in the script to /sbin/iwconfig wlan0 > iwcheck.txt Thanks for all your contributions :D one question remains though- why do I not need to add /sbin before ip addr show too? The default path for a non-root user is /bin and /usr/bin, ip li...
by rpdom
Fri May 24, 2013 10:55 am
Forum: Troubleshooting
Topic: No network on boot when 3.3v connected to circuit
Replies: 11
Views: 1701

Re: No network on boot when 3.3v connected to circuit

So wouldn't it make sense to have it the other way like enable_safe_mode=1 or even enable_safe_mode_gpio=<pin number> and leave it disabled otherwise? Not really. One of the points about safe mode is that you can get into it without needing another computer to edit any files with. All you need to d...
by rpdom
Fri May 24, 2013 9:24 am
Forum: Beginners
Topic: Recommended server image?
Replies: 3
Views: 777

Re: Recommended server image?

I have one more question. In the boot config of raspi I noticed there is a parameter that sets how much RAM the GPU can use. Does this mean the specified amount of RAM is reserved exclusively for the GPU and is unavailable for linux (this was the case with cubieboard)? If so I'll probably want to m...
by rpdom
Fri May 24, 2013 9:09 am
Forum: Troubleshooting
Topic: No network on boot when 3.3v connected to circuit
Replies: 11
Views: 1701

Re: No network on boot when 3.3v connected to circuit

There's nothing wrong with overriding safe mode, as long as you remember that you have done it and what to do to get it back if you need it. It is very unlikely that most users would ever need to use safe mode. However, it might be an idea to use one of the other GPIOs, as 0 and 1 (or 2 and 3 as the...
by rpdom
Fri May 24, 2013 6:53 am
Forum: Beginners
Topic: Recommended server image?
Replies: 3
Views: 777

Re: Recommended server image?

Well, I'd just use either the standard Raspbian image and remove everything I don't need, or get the cutdown Raspbian image from the raspbian website. You can't completely disable the GPU or you'll lose all I/O capability (including USB and network), and the Pi won't run without it anyway. The Pi is...
by rpdom
Fri May 24, 2013 5:40 am
Forum: Troubleshooting
Topic: No network on boot when 3.3v connected to circuit
Replies: 11
Views: 1701

Re: No network on boot when 3.3v connected to circuit

No, it's nothing to do with the voltage. Note the message "Greetings from standalone Raspberry Pi". You are running a "Safe Mode" or "Recovery Mode" kernel. This happens if Pin 5 on P1 is pulled low at startup. Is your circuit wired into that pin? Does it have a pull-down resistor on it, or is it tr...
by rpdom
Fri May 24, 2013 5:29 am
Forum: General programming discussion
Topic: Script runs differently from cron
Replies: 10
Views: 2038

Re: Script runs differently from cron

Actually, cron does set the path. What it doesn't do is read .bashrc .profile or any of those files, so any changes to the path set up in there won't take effect - such as including ~/bin Where is the command "iwcheck"? I can't find any reference to it. If that is a script you have written yourself ...
by rpdom
Fri May 24, 2013 5:18 am
Forum: Troubleshooting
Topic: Rapsberry pi with no output...
Replies: 47
Views: 3670

Re: Rapsberry pi with no output...

It is the latest one and i have formatted the sd to fat32 before use. and .img was downloaded from raspberrypi.org website. the green light is a bit visible. If the green light doesn't even flash briefly, it means the Pi can't read the file bootcode.bin from the card. If you put the card back into ...
by rpdom
Fri May 24, 2013 5:10 am
Forum: Beginners
Topic: aptitude errors setting up zoneminder
Replies: 4
Views: 1872

Re: aptitude errors setting up zoneminder

No, I didn't to apt get update nor upgrade because I freshly installed raspbian from the Internet and I thought it was up to date. The image was up to date when it was created some months ago. Since then there have been quite a few updated programs released, but not enough to warrant building and r...
by rpdom
Fri May 24, 2013 5:05 am
Forum: Beginners
Topic: Automatic login no longer working?
Replies: 10
Views: 7708

Re: Automatic login no longer working?

It doesn't say to add #1:2345:respawn:/sbin/getty 115200 tty1 1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1 to the end of the file. It says to find the existing 1:2345:respawn:/sbin/getty 115200 tty1 line, put a "#" in front of it and add the new line directly after it. As you have...
by rpdom
Thu May 23, 2013 4:02 pm
Forum: Other projects
Topic: Working out the pins for a Li-Ion battery
Replies: 13
Views: 5037

Re: Working out the pins for a Li-Ion battery

I only thought that because I remembered having to use a transformer in school and it gave two 24v outputs which we linked together to give the 48v we needed, and I couldnt think of any other reason there would be two sets of power connections. I was planning on getting the 5v using a regulator, no...
by rpdom
Thu May 23, 2013 12:16 pm
Forum: Troubleshooting
Topic: Rapsberry pi with no output...
Replies: 47
Views: 3670

Re: Rapsberry pi with no output...

If the green LED doesn't flash at all it probably means the contents of the SD card are wrong.

Try downloading and writing the latest Raspbian Wheezy image from the raspberrypi.org website.
by rpdom
Thu May 23, 2013 12:13 pm
Forum: General discussion
Topic: Can't find start.elf
Replies: 6
Views: 729

Re: Can't find start.elf

by rpdom
Thu May 23, 2013 3:19 am
Forum: Advanced users
Topic: Mount ANY usb drive in same location
Replies: 9
Views: 1995

Re: Mount ANY usb drive in same location

In that case KERNEL=="sd[a-z]1", ACTION=="add", RUN="/usr/local/sbin/usbmount" and create /usr/local/sbin/usbmount #!/bin/sh mount -t vfat $DEVNAME /media/usb (assuming the usb drives are all VFAT formatted. If not, it should be possible to detect the filesystem type and mount accordingly). I'd also...
by rpdom
Wed May 22, 2013 5:38 pm
Forum: General discussion
Topic: [SOLVED]What resistors to get?
Replies: 7
Views: 8764

Re: What resistors to get?

I saw a mathematical formula somewhere for calculating the right resistor value for an LED, but I can't remember it. resistor = (supply voltage - LED voltage) / LED current in Amps So for 3.3V supply and 2.0V LED at 5mA (for a fairly dim LED, but won't break GPIO): (3.3 - 2.0) / 0.005 = 260 Ohms. C...

Go to advanced search