Go to advanced search

by rpdom
Mon Jan 27, 2014 8:03 am
Forum: Beginners
Topic: Issues with permissions on a flash drive
Replies: 12
Views: 2918

Re: Issues with permissions on a flash drive

Now your filesystem is set up correctly and working (ext3 is fine, ext4 has a few improvements - mostly to journalling/error recovery), you just need to sort out the permissions. By default a new file system will be owned by root and only give read access to everyone else. Now you just need to set t...
by rpdom
Mon Jan 27, 2014 7:52 am
Forum: Beginners
Topic: usb bar code
Replies: 3
Views: 576

Re: usb bar code

It is also worth posting the results of running "dmesg | tail -40" about 10 seconds after connecting the device. It may show some information about what is detected.
by rpdom
Mon Jan 27, 2014 7:45 am
Forum: Troubleshooting
Topic: SD card corupted?
Replies: 14
Views: 1789

Re: SD card corupted?

There is an internal write-protect flag that can get set on the card which prevents any writes. I believe gsh mentioned it once. I think he said it can be cleared but I don't know how to do that.
by rpdom
Mon Jan 27, 2014 7:23 am
Forum: General discussion
Topic: How to switch from HDMI to Composite?
Replies: 17
Views: 11922

Re: How to switch from HDMI to Composite?

The easiest way to switch to Composite video out is to disconnect the HDMI cable and reboot. If you installed using NOOBS, then there may be (as lafalken said) a line in config.txt that is forcing HDMI and that would need to be changed or commented out. There is a way to change outputs while running...
by rpdom
Mon Jan 27, 2014 7:06 am
Forum: Raspberry Pi OS
Topic: Pure Data How to Unzip
Replies: 6
Views: 3373

Re: Pure Data How to Unzip

It looks like you've downloaded a Deb file, which is the correct format for use with Raspbian (especially as it states it is for Raspbian on the Pi) :) As long as it doesn't require any other additional software to be installed at the same time, installation should be as easy as pi@raspberrypi:~$ su...
by rpdom
Sun Jan 26, 2014 8:03 pm
Forum: Beginners
Topic: Issues with permissions on a flash drive
Replies: 12
Views: 2918

Re: Issues with permissions on a flash drive

Sorry guys, I'm a little bit lost. Are you saying that I can keep the drive formatted as fat32 but mount it as ext3 so that the rights will work properly? Sorry for the confusion. I'll try and clarify. What fdisk says is just what you have told it is on the drive. It doesn't really have to be what ...
by rpdom
Sun Jan 26, 2014 7:53 pm
Forum: Python
Topic: bitwise operand from python2.7 to python3.2.3
Replies: 14
Views: 3493

Re: bitwise operand from python2.7 to python3.2.3

I also used coding sheets to write programs in COBOL, but I didn't have to pass them to the punch room to be input as I had access to a terminal :)

The code was ugly, limited (although I found ways around some of that), and very long-winded. I preferred working in assembler whenever I could.
by rpdom
Sun Jan 26, 2014 5:17 pm
Forum: Troubleshooting
Topic: Pi not booting when connecting to GPIO via Ribbon Cable
Replies: 18
Views: 3207

Re: Pi not booting when connecting to GPIO via Ribbon Cable

No. Not a rotation. Look closely at the last picture. The red stripe is on the wrong side of the cable. It is pin 26, not 1. Now really look at how the cable is connected to the PiFace. No rotation there at all. But by connecting the socket to the back of a plug the connections are flipped 1 to 2, 3...
by rpdom
Sun Jan 26, 2014 2:43 pm
Forum: Beginners
Topic: Issues with permissions on a flash drive
Replies: 12
Views: 2918

Re: Issues with permissions on a flash drive

FTrevor: Actually you can get away with creating any sort of filesystem on a partition and changing the fstab line to match it. The mount command doesn't really care what the partition type is set to. But it can get confusing, so you can go into fdisk and just change the partition type flag to Linux...
by rpdom
Sun Jan 26, 2014 1:24 pm
Forum: Troubleshooting
Topic: Pi not booting when connecting to GPIO via Ribbon Cable
Replies: 18
Views: 3207

Re: Pi not booting when connecting to GPIO via Ribbon Cable

Even with the pictures, I'm not convinced. It looks like you've got the end of the ribbon (female) plugged to a male PCB header. Please tell me I'm wrong, and that you have in fact got a male ribbon connector crimped directly to the ribbon. No, I think you are right from what I can see in those pic...
by rpdom
Sun Jan 26, 2014 8:26 am
Forum: Beginners
Topic: loading software onto the pi
Replies: 4
Views: 750

Re: loading software onto the pi

First rule of asking for help with errors: Post the exact command used and all of the messages. Some of them may not appear to be important, but might help with troubleshooting. The "timeout error connecting to 192.168.20.214:80" is puzzling. That would be the address of a computer or router on your...
by rpdom
Fri Jan 24, 2014 6:12 pm
Forum: Troubleshooting
Topic: No such file or directory.
Replies: 5
Views: 2473

Re: No such file or directory.

I think you have something very wrong in your sources.list on your Pi if it thinks it needs ubuntu versions of packages!

Have you accidentally added some Ubuntu repositories?
by rpdom
Fri Jan 24, 2014 5:06 pm
Forum: General discussion
Topic: what's installed on my pi
Replies: 5
Views: 1585

Re: what's installed on my pi

You could try pi@raspberrypi:~$ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)" NAME="Raspbian GNU/Linux" VERSION_ID="7" VERSION="7 (wheezy)" ID=raspbian ID_LIKE=debian ANSI_COLOR="1;31" HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPO...
by rpdom
Fri Jan 24, 2014 4:58 pm
Forum: General discussion
Topic: Can I charge my raspberry pi via usb with 3 AA bateries?
Replies: 11
Views: 1736

Re: Can I charge my raspberry pi via usb with 3 AA bateries

Thanks so much! I just need a 3 hour duration. Do you think such a battery would be enouth to run a pi plus a câmera or shoul I use a ion littiun battery instead? A standardish PP3 type alkaline 9V battery has a power rating of around 550mAh. If you use a linear regulator like a 7805 then you will ...
by rpdom
Fri Jan 24, 2014 4:35 pm
Forum: General discussion
Topic: VGA to HDMI cable
Replies: 4
Views: 903

Re: VGA to HDMI cable

A plain HDMI to DVI-D cable will work without needing any converter, as long as you monitor has either a DVI-D or DVI-I input port. It will not work with a DVI-A port. DVI-A is essentially just a VGA connection with a different plug. DVI-D is a digital connection like HDMI. DVI-I has support for bot...
by rpdom
Fri Jan 24, 2014 8:48 am
Forum: Bare metal, Assembly language
Topic: SD Card Present Pin
Replies: 5
Views: 1475

Re: SD Card Present Pin

Just curious (and I haven't looked) but are you talking about the SD Card that the Pi actually boots from? In which case, don't things start to break when you pull the card out? It is the SD Card that the Pi actually boots from, and it depends on how you are using your Pi. In a lot of Bare Metal wo...
by rpdom
Fri Jan 24, 2014 8:29 am
Forum: Beginners
Topic: Problems with omxplayer after apt-get uprade
Replies: 6
Views: 1496

Re: Problems with omxplayer after apt-get uprade

OK, I'll try the latest one and see how that goes.

Thanks :)
by rpdom
Fri Jan 24, 2014 7:49 am
Forum: Bare metal, Assembly language
Topic: SD Card Present Pin
Replies: 5
Views: 1475

Re: SD Card Present Pin

From the way I read the Peripherals document, you need to set PUD to 0b10 to say "Pull Up", wait a short while, then toggle the right bit in the PUDCLKn register to enable it for that GPIO line, wait again, clear PUD, write 0 to PUDCLKn and the pull-up should be set. I need to try this myself! I've ...
by rpdom
Fri Jan 24, 2014 7:31 am
Forum: General discussion
Topic: Original 256Mb Pi - Collectors Item?
Replies: 16
Views: 2976

Re: Original 256Mb Pi - Collectors Item?

Sometimes old kit becomes a collectors item, and other times it becomes landfill (or recycled nowadays). I used to have a fairly rare ARM1 Second Processor unit for my BBC Micro. It was the larger 4MB (haha!) version and would have cost £4000 originally. I bought it second hand for about £20, eventu...
by rpdom
Fri Jan 24, 2014 7:21 am
Forum: Beginners
Topic: Problems with omxplayer after apt-get uprade
Replies: 6
Views: 1496

Re: Problems with omxplayer after apt-get uprade

I don't think it's the files. Ones that worked before are failing now. In my case I still think it is a problem with the files, even though they worked before. I suspect the frame sequence number (or whatever - I don't know much about MPEG2 formatting) isn't sequential and omxplayer used to ignore ...
by rpdom
Thu Jan 23, 2014 9:26 pm
Forum: Other projects
Topic: Reducing the RaspberryPi foot-print
Replies: 3
Views: 825

Re: Reducing the RaspberryPi foot-print

Some SD cards can be cut in half without affecting the performance. The chips inside are quite tiny. Try holding your card up to a strong light and see if you can see the edge of the internal circuit.

Then carefully cut long that line - if you are brave enough!
by rpdom
Thu Jan 23, 2014 8:37 pm
Forum: Beginners
Topic: Standardized "bit order" of header I/O lines
Replies: 20
Views: 2156

Re: Standardized "bit order" of header I/O lines

Hove wrote:Come on goats, let's go play in the meadows elsewhere...
But they are so much fun to knock off the bridge....

(How did you know I was a Capricorn anyway?)
by rpdom
Thu Jan 23, 2014 8:16 pm
Forum: Beginners
Topic: Problems with omxplayer after apt-get uprade
Replies: 6
Views: 1496

Re: Problems with omxplayer after apt-get uprade

I too have had problems with the latest versions of omxplayer too, but I suspect that is due to issues with the files I'm trying to play. Anyway, I reverted to a previous version (0.2.6) and it now works (although without all the extra features that the new version has). I don't have 0.2.4 still (we...
by rpdom
Thu Jan 23, 2014 7:26 pm
Forum: Beginners
Topic: Standardized "bit order" of header I/O lines
Replies: 20
Views: 2156

Re: Standardized "bit order" of header I/O lines

Sigh, you just don't get it, do you. The Pi is not an Arduino or PIC chip with predefined "standard" mappings for pins. They do what you want them to do. I use a range or peripherals. Some use standard pins like the DS18B20 and the one wire bus (ok, that is driven by software). Then there is I2C stu...
by rpdom
Thu Jan 23, 2014 6:08 pm
Forum: Beginners
Topic: Standardized "bit order" of header I/O lines
Replies: 20
Views: 2156

Re: Standardized "bit order" of header I/O lines

Because it applies to the very real examples I've contrived in this thread. "Contrived" is a very good word for it. As you have already been told. No. There is no agreed mapping because it doesn't apply to most real-life situations where you will use a Pi. The GPIO is not supposed to be used as a p...

Go to advanced search