Go to advanced search

by suicidal_orange
Sun Dec 21, 2014 2:49 pm
Forum: Advanced users
Topic: Professional Power Supply
Replies: 15
Views: 2213

Re: Professional Power Supply

If you're not planning to save anything on these Pis then you could run them on Core Linux which boots to a RAM disk. Once booted the SD card (or other root filesystem) is unmounted so there no risk of corruption unless power is pulled during boot. If you do need to save something (maybe to update t...
by suicidal_orange
Sun Dec 21, 2014 12:29 pm
Forum: Advanced users
Topic: Using a model A as a keyboard controller (USB slave)
Replies: 8
Views: 1492

Re: Using a model A as a keyboard controller (USB slave)

Thanks for the few useful replies, I will take this to bare metal once Christmas has passed and see what the hardcore people have to say. For the record I ended up spending about £30 in parts (a Teensy Arduino and some replacement switches) to repair the keyboard previously mentioned and it was wort...
by suicidal_orange
Sun Nov 23, 2014 10:13 pm
Forum: Advanced users
Topic: Using a model A as a keyboard controller (USB slave)
Replies: 8
Views: 1492

Re: Using a model A as a keyboard controller (USB slave)

Overkill definitely, but it's a better use of a Pi than having it sat in a box. I could spend £5 for an inferior keyboard and condemn mine to landfil, I could spend £3 (+£5 P&P) on a "suitable" controller, or I could spend nothing and use the Pi - in my world those options make increasing sense but ...
by suicidal_orange
Sun Nov 23, 2014 8:32 pm
Forum: Advanced users
Topic: Using a model A as a keyboard controller (USB slave)
Replies: 8
Views: 1492

Using a model A as a keyboard controller (USB slave)

I have a mechanical keyboard with a column of non-functional keys. The only way I can see to fix it for practically free is to desolder all the keys and remove the switches and top plate to see the other half of the PCB (it's double sided) and continuity check it some more, but having replaced a cou...
by suicidal_orange
Sat Aug 02, 2014 9:32 am
Forum: Recommended peripherals
Topic: DVD Drive connecting
Replies: 3
Views: 1569

Re: DVD Drive connecting

Any USB2 to SATA adapter should work assuming the drive has a standard connector, but you need one with an external power supply because the Pi won't supply enough power. The only one I have any experience of is this one . The first one I got only lasted a couple of hours before the power supply ble...
by suicidal_orange
Sun Jul 13, 2014 8:31 am
Forum: Beginners
Topic: Rename A Usb Flash Drive Using Command Line.
Replies: 1
Views: 3081

Re: Rename A Usb Flash Drive Using Command Line.

What is the drive formatted as? If it's ext[something] you can use e2label from e2fstools (should be installed) sudo e2label /dev/sdb1 NewLabel or if it's FAT32 you can use mlabel from mtools (you may need to install this) sudo mlabel -i /dev/sdb1 ::NewLabel lower case letters are replaced for me bu...
by suicidal_orange
Sun Jun 22, 2014 6:55 pm
Forum: Beginners
Topic: Cool PV Inverter with Raspberry Pi + fan
Replies: 13
Views: 1484

Re: Cool PV Inverter with Raspberry Pi + fan

*unplugs fan, steals SD and wifi from other Pi, connects everything and waits for ssh to respond...* Seems I got lucky, my Pi is still alive. Not sure I'll be pressing my luck with a relay though, I've felt mains a couple of times so my heart might not approve :D Back on topic, that inverter is not ...
by suicidal_orange
Sun Jun 22, 2014 5:01 pm
Forum: Beginners
Topic: Cool PV Inverter with Raspberry Pi + fan
Replies: 13
Views: 1484

Re: Cool PV Inverter with Raspberry Pi + fan

Very true, the fan is running at reduced speed so less airflow and you can't turn it off, but I could sleep with it 1m from my ear and as it's spinning well below it's rated speed it's life will be much longer than it's rated for - unless you're worried about saving every mAH of power you'd may as w...
by suicidal_orange
Sun Jun 22, 2014 1:51 pm
Forum: Beginners
Topic: Getting on line
Replies: 5
Views: 509

Re: Getting on line

I don't know who Simon Monk is or what he says in lesson 4 but at a guess you have a command starting with sudo ifconfig? If so you need to open lxterminal (under accessories in the menu, if I remember rightly) and type it in. If it's something else you might want to post it here so we can tell you :)
by suicidal_orange
Sun Jun 22, 2014 1:37 pm
Forum: Beginners
Topic: ffmpeg output to hdmi
Replies: 3
Views: 1436

Re: ffmpeg output to hdmi

ffmpeg is designed for encoding/decoding, changing between codecs/containers, merging audio and video and lots of other fun stuff not for playback. You might be able to do what you want in ffmpeg and pipe the output to a player to display if it's not too cpu intensive... What are you actually trying...
by suicidal_orange
Sun Jun 22, 2014 1:26 pm
Forum: Beginners
Topic: Cool PV Inverter with Raspberry Pi + fan
Replies: 13
Views: 1484

Re: Cool PV Inverter with Raspberry Pi + fan

The fan comes with a three pin socket, I just removed the rpm monitoring wire (yellow) and turned it around so the empty pin is in the corner and slotted it onto the GPIO pins - 12v on fan to physical pin 4 and ground to pin 6. It's like it was designed to fit... http://www.allpinouts.org/images/5/5...
by suicidal_orange
Sun Jun 22, 2014 11:13 am
Forum: Beginners
Topic: Cool PV Inverter with Raspberry Pi + fan
Replies: 13
Views: 1484

Re: Cool PV Inverter with Raspberry Pi + fan

@rgrbic can you please explain what's wrong with doing it directly from the GPIO pins? I've just set up a 12v 2.6A fan as described above and it spins quite happily with the Pi powered from my computer's USB port. The Pi has no SD card in it as I doubt this would be stable, but with a good PSU it sh...
by suicidal_orange
Sun Jun 22, 2014 9:32 am
Forum: Beginners
Topic: Cool PV Inverter with Raspberry Pi + fan
Replies: 13
Views: 1484

Re: Cool PV Inverter with Raspberry Pi + fan

I have no idea what you're trying to cool but as it works with no fan at all I would question the need for a big fan, let alone a few of them. A little airflow can go a long way as it should never get hot so there won't be much heat to remove, if that makes sense. Generally speaking any 80/92mm fan ...
by suicidal_orange
Sun Jun 22, 2014 7:34 am
Forum: Beginners
Topic: How can activate the i2s in the rPi?
Replies: 5
Views: 1640

Re: How can activate the i2s in the rPi?

I believe this guide is what you're looking for :)
by suicidal_orange
Sun Jun 22, 2014 7:16 am
Forum: Beginners
Topic: Start-up Script In The Foreground
Replies: 37
Views: 17553

Re: Start-up Script In The Foreground

It's a bit messy but could you run a second terminal to monitor the output? If so you could change the first .desktop file to Exec=lxterminal -e nohup "/home/pi/hello.py" >/somewhere/for/a/temp/file Where the temp file could be saved in /dev/shm to avoid SD card wear (not sure how much output you ha...
by suicidal_orange
Wed Jun 11, 2014 9:27 pm
Forum: Beginners
Topic: Ejecting USB from USB Hub
Replies: 1
Views: 228

Re: Ejecting USB from USB Hub

The command "eject" should start with a small e not a capital - have you edited any config while trying to get it to work? If the error really does have a capital a workaround would be to add alias Eject=eject to .bashrc in your home folder, which tells the system to substitute the wrong command wit...
by suicidal_orange
Sat Jun 07, 2014 9:37 am
Forum: Cases
Topic: Case survey
Replies: 1
Views: 1723

Re: Case survey

I can only select one item as "love it" "indifferent" and "would never use" - can you open it up to allow one choice per line? Personally I think the perfect case would have a strong frame with a smooth exterior but thin pannels over all the connectors (I was thinking external but internal could wor...
by suicidal_orange
Fri May 30, 2014 8:55 pm
Forum: Troubleshooting
Topic: Stop working after reboot. Stay Red...
Replies: 2
Views: 291

Re: Stop working after reboot. Stay Red...

Does the green light flash at all? It flashes when reading the SD card so if it doesn't flash or only flashes once that's your problem. Might be that the card or socket is damaged causing it to not make a good connection or the pins aren't holding it in tightly enough anymore, so try booting with yo...
by suicidal_orange
Fri May 30, 2014 8:36 pm
Forum: Advanced users
Topic: Reading (not Driving) a multiplexed segmented LCD module sig
Replies: 11
Views: 2195

Re: Reading (not Driving) a multiplexed segmented LCD module

Do the scales use base 4? :lol: I would expect a "fully on" screen to be full of 8s... My (probably longwinded) way of doing this would be to check that the screen is 5v (probably is but you don't want to fry it so best check) and then switch it off and apply 5v from the Pi to the various pads and n...
by suicidal_orange
Fri May 30, 2014 8:21 pm
Forum: Advanced users
Topic: [GPIO]Using gpio pins as input device
Replies: 11
Views: 1210

Re: [GPIO]Using gpio pins as input device

Looks like you've only read part one of the tutorial, the fun stuff (multiple buttons) happens in parts 2 and 3 :)
by suicidal_orange
Fri May 30, 2014 8:11 pm
Forum: Beginners
Topic: Pi powered from usb hub
Replies: 1
Views: 282

Re: Pi powered from usb hub

If you're just using HDMI and no USB devices you should be fine from a USB3 hub as the whole point of a powered hub is to supply lots of full-spec ports - 900mA each. The only other out of the box alternative would be a mains socket to dual USB that describes itself as capable of charging two ipads ...
by suicidal_orange
Thu May 29, 2014 8:47 pm
Forum: Advanced users
Topic: [GPIO]Using gpio pins as input device
Replies: 11
Views: 1210

Re: [GPIO]Using gpio pins as input device

You actually have two switches set up on pins 3 and 5 :) The method you have chosen only checks for a button once a second though, and that's not going to be enough for a controller - you need to use interrupts. There is a three part tutorial starting here which has everything you need except a list...
by suicidal_orange
Thu May 29, 2014 8:07 pm
Forum: Beginners
Topic: More RAM for IPCop
Replies: 5
Views: 1412

Re: More RAM for IPCop

How many computers are you planning on putting behind this firewall? Last time I ran IPCop it was on a Pentium 1 with 64mb, that happily managed the connection for 5 computers so the 512mb on the Pi looks generous. There is no IPCop for the Pi as it's made for x86 PC hardware, that's why you can't f...
by suicidal_orange
Thu May 29, 2014 12:25 am
Forum: Troubleshooting
Topic: Accidentally changed permissions and now can't log in
Replies: 14
Views: 1472

Re: Accidentally changed permissions and now can't log in

You'll need another computer running Linux to fix that, then you can mount the SD card and run chown or chmod (not sure which you did :lol:) to fix /home/pi on it.

If in doubt chmod 770 so all users can read an write to it, then you can boot the Pi and put it back how it should be using the gui.
by suicidal_orange
Thu May 29, 2014 12:10 am
Forum: Troubleshooting
Topic: I/O Errors on SD Card
Replies: 11
Views: 944

Re: I/O Errors on SD Card

4.7v on idle is not good, you need at least 4.75v under load - a new PSU should fix it. Didn't know there was Slackware for the Pi either, I'll have to give that a go!

Go to advanced search