Go to advanced search

by jdbennet
Thu Jul 26, 2012 10:57 am
Forum: Other projects
Topic: 19" rack?
Replies: 6
Views: 3862

Re: 19" rack?

i'd say you can get enough power for the pi from the "standby +5v" rail of the psu (they usually support about 2 amps) so you only need to turn on the psu for the hdd's. but consider that they have a really small wattage, so atx psu's might not be efficient enough (i'd go for a lower wattage psu li...
by jdbennet
Thu Jul 26, 2012 10:56 am
Forum: Other projects
Topic: 19" rack?
Replies: 6
Views: 3862

Re: 19" rack?

SirLagz wrote:I'm putting a Pi into a PSU now, planning on using a bracket to hold it down, I'm not going to try drilling holes though the idea of holding the Pi down using the TP1 and TP2 holes did occur to me.
So you would need to use some non-conductive screws? And some standoffs so it didnt touch the case.
by jdbennet
Wed Jul 25, 2012 5:42 pm
Forum: C/C++
Topic: gcc optimisation issues
Replies: 7
Views: 2417

Re: gcc optimisation issues

You often see this if you are using threading, and have race conditions, they may not become apparent till it is run at a different speed (i.e. bug appears on x86 but not armel)
by jdbennet
Wed Jul 25, 2012 5:40 pm
Forum: C/C++
Topic: How to add a graphical interface to C program
Replies: 5
Views: 3638

Re: How to add a graphical interface to C program

QT is far easier than GTK.......

Curses?
by jdbennet
Wed Jul 25, 2012 5:39 pm
Forum: C/C++
Topic: Wheezy gcc can't find stdio.h
Replies: 7
Views: 3427

Re: Wheezy gcc can't find stdio.h

Use <stdio> in C <cstdio> in C++
you dont need the .h
by jdbennet
Wed Jul 25, 2012 5:38 pm
Forum: C/C++
Topic: Porting cmake
Replies: 5
Views: 3184

Re: Porting cmake

CMake makes cross-compiling very easy..... just run it on your desktop?
by jdbennet
Wed Jul 25, 2012 5:34 pm
Forum: C/C++
Topic: Segmentation fault
Replies: 7
Views: 11102

Re: Segmentation fault

In future, intall -dbg symbols for any libaries you link against, and then compile your code with -ggdb. This allows you to run it in GDB and type backtrace when it segfaults. You should get a line number and some other information (provided you havent smashed the stack).
by jdbennet
Wed Jul 25, 2012 5:32 pm
Forum: C/C++
Topic: Recommeded C++ dev environment ?
Replies: 108
Views: 80061

Re: Recommeded C++ dev environment ?

Gedit/Geany for editing with CMake for compiling (handles crosscompiling well)
by jdbennet
Wed Jul 25, 2012 5:31 pm
Forum: Other projects
Topic: 19" rack?
Replies: 6
Views: 3862

19" rack?

Has anyone successfully drilled holes in thier Pi? And using an ATX PSU? How hot do they get in enclosed spaces? As i want to mount a couple in a 1u 19" rack, with some hard drives (SATA in USB enclosures) and power it by butchering the case's PSU , making essentially a cheap high-density NAS (im no...
by jdbennet
Wed Jul 25, 2012 5:25 pm
Forum: Off topic discussion
Topic: What did you buy?
Replies: 2
Views: 612

Re: What did you buy?

I tweaked my rootfs and cmdline.txt to support running a console over a USB serial dongle. Ive got it connected to my PC with a null modem cable. This was best for me as I have only wireless, a VGA monitor, and a laptop (no other peripherals).
by jdbennet
Wed Jul 25, 2012 5:21 pm
Forum: Debian
Topic: How to submit a deb?
Replies: 2
Views: 611

Re: How to submit a deb?

Read the debian packaging guide, and the maintainers guide. Learn how to use the scripts like dh_build, quilt, supplied. They are strict rules to adhere to for packaging. Dont just try and submit a deb you made with checkinstall to contrib, it wont be accepted, you have to build it cleanly in a chro...
by jdbennet
Wed Jul 25, 2012 5:16 pm
Forum: Linux Kernel
Topic: Linux kernel from kernel.org
Replies: 7
Views: 2776

Re: Linux kernel from kernel.org

Yeah, just use menuconfig on the git tree to reconfigure it. I did that as I wanted kernel NFS and a few other things.
by jdbennet
Wed Jul 25, 2012 10:31 am
Forum: Graphics, sound and multimedia
Topic: Line level
Replies: 12
Views: 6016

Re: Line level

Ill give that a try later, maybe it was just a regression.
by jdbennet
Wed Jul 25, 2012 10:27 am
Forum: Graphics, sound and multimedia
Topic: Line level
Replies: 12
Views: 6016

Re: Line level

This was on the Debian Wheezy (non raspbian) beta. Is there another wheezy image? as the 'official' Wheezy image *is* raspbian. 2012-07-15-wheezy-raspbian.zip from http://www.raspberrypi.org/downloads If you’re just starting out, this is the image we recommend you use. It’s a reference root filesys...
by jdbennet
Tue Jul 24, 2012 10:35 pm
Forum: Graphics, sound and multimedia
Topic: Line level
Replies: 12
Views: 6016

Re: Line level

Mine is a Cambridge audio amp too. The Topaz AM5.
What disro were you using?
by jdbennet
Tue Jul 24, 2012 6:30 pm
Forum: Graphics, sound and multimedia
Topic: Line level
Replies: 12
Views: 6016

Re: Line level

It works fine for my iPad etc... Though. There is a jack specifically labelled mp3 player on the amp. Ill probably buy a preamp to match the hi if amp (as I want a turntable soon anyway). Tip: don't buy the Maplin ones lol. I worked for them for 2 years and all thier stuff is very poor and overprice...
by jdbennet
Tue Jul 24, 2012 6:01 am
Forum: Graphics, sound and multimedia
Topic: Line level
Replies: 12
Views: 6016

Re: Line level

I think you misread my post, it is being amplified, its going into a stereo amp. The problem is that it is still very weak, i.e. with alsamixer at a level where it doesnt clip (i.e. 50%is) , then i must have my amp volume prettymuch all the way up while other sources require it at around the 9 ocloc...
by jdbennet
Mon Jul 23, 2012 10:46 pm
Forum: Graphics, sound and multimedia
Topic: Line level
Replies: 12
Views: 6016

Line level

Is it just me, or is the 3.5mm audio output on the pi very weak? - Ive got it going into the 3.5mm AUX input on my hi-fi amp. Even with alsamixer turned up, its only at best 25% (and very distorted) of the relative volume of my other sources (cd player, tuner etc...) Does it need a pre-amp or someth...
by jdbennet
Mon Jul 23, 2012 8:00 pm
Forum: Beginners
Topic: Serial Console
Replies: 2
Views: 1461

Re: Serial Console

Sorted it. After changing cmdline.txt on the FAT partition, edit /etc/inittab on the EXT4 rootfs (you will need a linux pc with a card reader), and make it say T0:23:respawn:/sbin/getty -L ttyUSB0 115200 vt100 And after booting, you will get a login prompt! Now i can use my pi headless :) Only got t...
by jdbennet
Sun Jul 22, 2012 2:30 pm
Forum: Beginners
Topic: Seriously .. where to find power supply?
Replies: 76
Views: 26637

Re: Seriously .. where to find power supply?

I use my iPad USB adapter with my kindle/android/camera USB lead.
by jdbennet
Sun Jul 22, 2012 2:29 pm
Forum: Beginners
Topic: Serial Console
Replies: 2
Views: 1461

Serial Console

How can I get a USB-Serial console on boot on my Pi? I have no network connectivity (other than wireless) and no compatible display (VGA). Only a SD card reader, a PC with a serial console, and a null modem cable and usb-serial dongle. I tried changing cmdline.txt to have: console=ttyUSB0,115200 , b...

Go to advanced search