Go to advanced search

by rpdom
Fri Jan 10, 2014 7:53 pm
Forum: Advanced users
Topic: Problem with dd - help please [Solved]
Replies: 5
Views: 1099

Re: Problem with dd - help please

There is no real difference between e2fsck and fsck when used on an ext[234] file system. fsck will use fsck.ext[234] which is actually a link to e2fsck.

Happy that I could help you :)
by rpdom
Fri Jan 10, 2014 5:50 pm
Forum: Advanced users
Topic: Problem with dd - help please [Solved]
Replies: 5
Views: 1099

Re: Problem with dd - help please

How big is partition sda2? As long as it is at least as big as your /dev/root (/dev/mmcblk0p2 ?), it is ok. If you dd the contents of a 7.9GB partition onto a 20GB partition (for example), you will still have a 7.9GB filesystem. What you then need to do after the dd is fsck -f /dev/sda2 resize2fs /d...
by rpdom
Fri Jan 10, 2014 8:16 am
Forum: Automation, sensing and robotics
Topic: GPIO Input Fluctuates from True to False for no reason
Replies: 12
Views: 2969

Re: GPIO Input Fluctuates from True to False for no reason

I plugged it in and no lights, if it was OS corruption would there be no lights? Possibly you have "blown" the polyfuse F3 with a short circuit. Disconnect everything from your Pi. Leave it alone for 24 hours for the fuse to recover. Reconnect screen, keyboard/mouse/network and then power. See if i...
by rpdom
Fri Jan 10, 2014 7:38 am
Forum: Beginners
Topic: using both USB's for input
Replies: 8
Views: 1445

Re: using both USB's for input

The names will depend on which order the devices are connected or detected in. The first device will become ttyUSB0 (or something similar) and the second will be assigned ttyUSB1. If they have any unique internal serial or something then it should be possible to write a udev rule file that will assi...
by rpdom
Fri Jan 10, 2014 7:17 am
Forum: Troubleshooting
Topic: GPIO random changes,python
Replies: 6
Views: 1308

Re: GPIO random changes,python

Suitable pins that don't have an alternative function defined by default are 7 (gpio 4), 11 (gpio 17), 12 (gpio 18), 13 (gpio 27 - 21 on rev 1), 15 (gpio 22), 16 (gpio 23), 18 (gpio 24), and 22 (gpio 25). The TxD pin is the serial console output. All the boot and some system messages are transmitted...
by rpdom
Fri Jan 10, 2014 7:12 am
Forum: Beginners
Topic: Buy help decition !
Replies: 6
Views: 1043

Re: Buy help decition !

I am planing to buy Model A 256mb Ram Raspi . But I need to know first if will help me with this : - play any video and adio codec with the cpu using ffplay or mplayer without buy any codecs license? Yes, but very slowly. Too slow to be watchable in most cases. Use omxplayer to play most video and ...
by rpdom
Fri Jan 10, 2014 6:55 am
Forum: Beginners
Topic: Formatting SD cards on RPi running Raspbian.
Replies: 2
Views: 3394

Re: Formatting SD cards on RPi running Raspbian.

Firstly, the /sbin/mkfs.vfat command is part of the dosfstools package. Perhaps you don't have that installed? sudo apt-get update sudo apt-get install dosfstools Secondly, it looks like you have one of those helpful/annoying automounter programs running, which has detected a filesystem on /dev/sdc1...
by rpdom
Thu Jan 09, 2014 5:02 pm
Forum: Troubleshooting
Topic: [SOLVED] Cannot enter Raspbian
Replies: 11
Views: 1575

Re: [HELP!] Cannot enter Raspian

Use% for rootfs is 100% as is ...dev/root This is most likely your problem. All the root (/) space is used up. One thing that may free up some space is sudo apt-get clean although that shouldn't be needed on a new install. What it does is to clear out any downloaded program installation files (pack...
by rpdom
Thu Jan 09, 2014 3:36 pm
Forum: Raspbian
Topic: How get kernel img from data
Replies: 6
Views: 3392

Re: How get kernel img from data

The default image file that the bootloader looks for is "kernel.img". That is why it has to be called that (yes, I know you can faff around with the config.txt file and call the kernel almost anything you like).
by rpdom
Thu Jan 09, 2014 10:46 am
Forum: Raspbian
Topic: How get kernel img from data
Replies: 6
Views: 3392

Re: How get kernel img from data

Just copy the Image file to /boot/kernel.img on your SD card. Then reboot the Pi.

It might be wise to save the old kernel.img as kernel_old.img first, just in case the new one doesn't work. Then you can use any computer to move the original one back to kernel.img
by rpdom
Thu Jan 09, 2014 8:16 am
Forum: Other programming languages
Topic: DS18B20 2 decimals
Replies: 9
Views: 1971

Re: DS18B20 2 decimals

It'll work well in perl, or you could use one invocation of sed ude_temp="$( sed -n "s/^.*t=\(-*\)\([0-9]*\).*$/\10000\2/;s/^\(-*\)0*\([0-9]*[0-9]\)\([0-9][0-9]\)[0-9]$/\1\2.\3/p" < /sys/bus/w1/devices/28-0000056xxxba/w1_slave )" I think that will work for negative values and small values too. It mi...
by rpdom
Thu Jan 09, 2014 7:39 am
Forum: General discussion
Topic: Spinning down HDD?
Replies: 33
Views: 68484

Re: Spinning down HDD?

sdparm (1.0.7) seems to be available in Jessie now. I'm not sure why you can't download it.
by rpdom
Thu Jan 09, 2014 7:16 am
Forum: Troubleshooting
Topic: HELP ME PLEASE
Replies: 10
Views: 1420

Re: HELP ME PLEASE

Perhaps show us all of the message(s) and tell us what you are doing when it happens...
by rpdom
Thu Jan 09, 2014 7:01 am
Forum: Beginners
Topic: pi@raspberrypi`$ - error during start up
Replies: 6
Views: 1011

Re: pi@raspberrypi`$ - error during start up

You can select the start behaviour from the raspi-config menus. Type sudo raspi-config Move down to option 3 "Enable Boot to Desktop/Scratch" Press Enter Move down to "Desktop Log in as user 'pi' at the graphical desktop" Press Enter At the main menu press Tab twice to get to <Finish>. Press Enter R...
by rpdom
Thu Jan 09, 2014 6:47 am
Forum: Automation, sensing and robotics
Topic: DS18B20 Issues
Replies: 15
Views: 3897

Re: DS18B20 Issues

I'd try reinstalling the rasberrypi-bootloader package

Code: Select all

sudo apt-get --reinstall install raspberrypi-bootloader
That should install the correct modules files and make sure the kernel is up to date.
by rpdom
Wed Jan 08, 2014 9:08 pm
Forum: Troubleshooting
Topic: Select user at ssh login
Replies: 9
Views: 1524

Re: Select user at ssh login

I don't think you can make it ask for a prompt, but you can say "Log in to machine X using user Y" in the ~/.ssh/config file.

This seems to work:

Code: Select all

Host raspberrypi
User pi
Then ssh raspberrypi will log in as "pi".

edit: That works on Linux. Not sure about a Mac.
by rpdom
Wed Jan 08, 2014 8:43 pm
Forum: General discussion
Topic: What is core_freq vs arm_freq
Replies: 1
Views: 1511

Re: What is core_freq vs arm_freq

arm_freq sets the maximum clock speed of the ARM CPU in the SoC.

core_freq sets the frequency of the GPU in the SoC which controls the hardware and some of the memory caching.
by rpdom
Wed Jan 08, 2014 7:07 pm
Forum: Beginners
Topic: pi@raspberrypi`$ - error during start up
Replies: 6
Views: 1011

Re: pi@raspberrypi`$ - error during start up

Normally you would get the raspi-config screen on first boot.

What happens if you type any commands after the "raspberrypi: ~$" prompt? Try typing ls and then Enter for a start. If that lists stuff try typing startx
by rpdom
Wed Jan 08, 2014 6:53 pm
Forum: General discussion
Topic: Any unofficial omxplayer mods??
Replies: 12
Views: 2075

Re: Any unofficial omxplayer mods??

Something must be up with your downloads. The latest omxplayer that I see is 0.3.3 (which has some other issues for me so I am still using 0.2.6).

Lots of nice new features in 0.3.3 though :-)
by rpdom
Wed Jan 08, 2014 5:18 pm
Forum: Troubleshooting
Topic: Red LED blinking
Replies: 1
Views: 511

Re: Red LED blinking

If you can beg/borrow/steal another PSU for a while and test your Pi with it, that would be really helpful. The red PWR light should never flash - that usually means the power supply is failing. It is possible that your Pi has a fault that is overloading the PSU, but it is more likely that you have ...
by rpdom
Wed Jan 08, 2014 5:01 pm
Forum: Beginners
Topic: Software Download
Replies: 8
Views: 1104

Re: Software Download

You might find some useful info in /usr/share/doc/hplip/users-guide.txt which is one of the files installed by that package.
by rpdom
Wed Jan 08, 2014 4:01 pm
Forum: General discussion
Topic: Cannot copy? -- parameter incorrect
Replies: 13
Views: 2033

Re: Cannot copy? -- parameter incorrect

The Pi can only boot from the SD card (actually the Model A can be booted via USB, but it's too complicated and needs a PC). You can move the majority of the OS and all of the applications and data to a USB storage device and make a small change to cmdline.txt in /boot. That leaves just the 56MB (or...
by rpdom
Wed Jan 08, 2014 3:46 pm
Forum: Troubleshooting
Topic: Entering Config on Boot Up
Replies: 2
Views: 451

Re: Entering Config on Boot Up

From the way I understand NOOBS to work, this is normal. Because no OS has been installed at this point there is no config to edit. You need to install one of the OSen and reboot, press shift repeatedly during the boot up to get back into the NOOBS screen and then you can select the config editor.
by rpdom
Wed Jan 08, 2014 1:29 pm
Forum: Troubleshooting
Topic: Reversed Display
Replies: 6
Views: 582

Re: Reversed Display

If there isn't an option on the screen/controller to flip the image you could try using one of the display_rotate= options in /boot/config.txt.

Probably display_rotate=0x20000 or display_rotate=0x10000 will work.
by rpdom
Wed Jan 08, 2014 9:06 am
Forum: General discussion
Topic: Execute Python script from Apache
Replies: 11
Views: 5319

Re: Execute Python script from Apache

The "faveicon.ico" message is unimportant. Whenever most browsers visit a website they look for a file called faveicon.ico. This is the icon you can sometimes see in the address bar. The other messages are a POST, which is usually a form being completed, which was successful (200 status), followed b...

Go to advanced search