#raspberrypi IRC Log


IRC Log for 2012-07-26

Timestamps are in GMT/BST.

[0:00] <IT_Sean> 20 LEDs?
[0:00] <Lartza> 17 pins... that makes 14+8
[0:00] <Lartza> So it's fine
[0:00] <gordonDrogon> :)
[0:00] <Lartza> IT_Sean, It's a binay clock :)
[0:00] <IT_Sean> Oooooh
[0:00] * tech2077 (~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net) Quit (Read error: Operation timed out)
[0:00] <gordonDrogon> what you could do.... is use 3 of these daisy-chained together - 24 LEDs...
[0:00] <Lartza> Already have the seconds working straigh to Pi but now I need the shift register
[0:00] <IT_Sean> Is this a just because you can sort of thing?
[0:01] <Lartza> That would take more breadboard space and more registers than I have :P
[0:01] <Lartza> IT_Sean, Yes!
[0:01] <gordonDrogon> what software are you using to drive it?
[0:01] <IT_Sean> Ah. awesome.
[0:01] <dirty_d> I'm at a loss as to how they made this for $35
[0:01] <Lartza> Just got my breadboard and such
[0:01] <dirty_d> adruino is more
[0:01] * cerberos (~cerberos@host81-131-181-180.range81-131.btcentralplus.com) has joined #raspberrypi
[0:01] * PiBot sets mode +v cerberos
[0:01] <IT_Sean> 'cause binary is a [censored] to actually use day to day for a clock
[0:01] <Lartza> gordonDrogon, I coded a small python program
[0:01] <gordonDrogon> arduino doesn't have 20 output pins either...
[0:01] <gordonDrogon> Lartza, ok.
[0:02] <thrawed> it's more of an e-peen thing
[0:02] <dirty_d> the only thing arduino has in it, is that you can do hard realtime stuff on it
[0:02] <dirty_d> but i guess you could do that on rpi too with some hacking
[0:03] <Lartza> It's a real pain to have millions jumper wires from RPi to the leds :D
[0:03] <gordonDrogon> there are some pathces/real-time kernel stuff out there.
[0:03] <gordonDrogon> but I don't know if anyones generated a Pi kernel with it all yet.
[0:03] <dirty_d> well this uses a lot more power too
[0:03] <techsurvivor> has any actually tried to use RT linux on rpi ?
[0:03] <gordonDrogon> I think it's a bit OTT for what the PI is intended for though.
[0:03] <millette> there's an intent? ;-)
[0:04] <dirty_d> gordonDrogon, i was considering just making a kernel module and disabling interruopts and for(;;) {//do stuff}
[0:04] <gordonDrogon> teaching in schools... sort of.
[0:04] <techsurvivor> i patched a kernel for fun and it didn't build with the cross compiler, but I only made one attempt :)
[0:04] <Lartza> gordonDrogon, I don't need the capacitor right?
[0:04] <Lartza> Though I might have one somewhere...
[0:04] * SgrA (~sgra@unaffiliated/sgra) Quit (Quit: ragequit.)
[0:04] <gordonDrogon> dirty_d, the folks trying to do the logic analyser are disabling interrupts for ... long times..
[0:04] <dirty_d> do they have a website?
[0:05] <gordonDrogon> Lartza, I'm not sure what it's for - probably ok without it.
[0:05] <gordonDrogon> dirty_d, not sure - there was a long thread on the raspberrypi.org forums though.
[0:05] <Lartza> gordonDrogon, Even out flickering when latch pin pulses, don't know what that means :P
[0:05] <Lartza> Well I kind of do but
[0:06] * Timmmaaaayyy (~Timmmaaaa@ has joined #raspberrypi
[0:06] * PiBot sets mode +v Timmmaaaayyy
[0:06] <dirty_d> gordonDrogon, like how long?
[0:06] <gordonDrogon> possibly for noise on the lines.
[0:06] <dirty_d> id think they would need to be disabled altogether
[0:06] <gordonDrogon> dirty_d, seconds I think...
[0:06] <dirty_d> ahh, so disable for as long as youre expecting the signal youre analyzing to be?
[0:06] <gordonDrogon> dirty_d, http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=7696&p=102464&hilit=logic+analyser
[0:06] <gordonDrogon> I think that's what they were doing.
[0:07] <techsurvivor> if you were doing time critical data acquisitions liek that I could see that being necessary :) . I wonder how much it suffers for waiting on interrupts like that though
[0:07] <gordonDrogon> even then, there is some memory interaction I think from the GPU that was affecting the processing.
[0:08] <techsurvivor> they should just start out using a serial port tty
[0:08] <techsurvivor> anyway, sounds like a neat project, probably lot faster than one of those bus pirates
[0:08] <gordonDrogon> dirty_d, e.g. read this comment: https://projects.drogon.net/raspberry-pi/wiringpi/functions/#comment-235 he talks about the vdieo ram refersh...
[0:08] <dirty_d> ok
[0:09] <dirty_d> yea its pretty neat, like having an 800MHz avr
[0:09] <gordonDrogon> going to get myself one of those DSO quad scopes next week I think.
[0:09] * jac-macondo (~pi@static-71-252-119-248.washdc.east.verizon.net) has joined #raspberrypi
[0:09] * PiBot sets mode +v jac-macondo
[0:10] <gordonDrogon> dirty_d, sure, but if the memory refersh is non deterministic, then it's not going to be possible to get really finely grained timings at all.
[0:10] <dirty_d> gordonDrogon, i guess youd have to use assembly and make sure you keep everything in registers
[0:10] <dirty_d> hmm, well kinda impossible for this task
[0:11] * jprvita is now known as jprvita|afk
[0:11] * Delboy_ (~Delboy@245-192.dsl.iskon.hr) Quit (Ping timeout: 265 seconds)
[0:11] <gordonDrogon> dirty_d, even then, I think the memory controller/gpu can noodle with your memory timings.
[0:12] <Slippern> some devs has got a android port to work, a lot of work to has to be done, but it can be downloaded from: http://mirror.hjemmeserver.info
[0:12] <gordonDrogon> Slippern, good luck to them.
[0:12] <gordonDrogon> I have a phone that runs android...
[0:13] <techsurvivor> sounds like we need a cpld board with some buffering to handle those latencies and make it a better realtime system ;)
[0:14] * Delboy (~Delboy@245-192.dsl.iskon.hr) has joined #raspberrypi
[0:14] * PiBot sets mode +v Delboy
[0:14] * warddr (~warddr@Wikipedia/Warddr) Quit (Quit: Ik ga weg)
[0:14] * jac-macondo (~pi@static-71-252-119-248.washdc.east.verizon.net) Quit (Quit: leaving)
[0:14] <dirty_d> i think id just stick to xmega for realtime type stuff
[0:14] <techsurvivor> and yes i've done such a critter, but it worked pretty well for the linux system I was on, however it only works if the sampling (or whatever else you're doing) is somewhat predictable
[0:15] <dirty_d> although you lose out on that 800MHz for processing stuff
[0:15] <dirty_d> having 80MHz and an fpu would have made my quadcopter controller a lot easier
[0:15] <dirty_d> 800*
[0:16] <thrawed> Slippern: are they planning cm9 or cm10?
[0:16] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspberrypi
[0:16] * PiBot sets mode +v andypiper
[0:17] <gordonDrogon> dirty_d, quadcopter control at 8-bit 16MHz is not difficult to do.
[0:17] * sirspazzolot (~Matt@c-68-61-150-222.hsd1.mi.comcast.net) has joined #raspberrypi
[0:17] * PiBot sets mode +v sirspazzolot
[0:17] <dirty_d> gordonDrogon, i had 32MHz :/
[0:18] * jac-macondo (~pi@static-71-252-119-248.washdc.east.verizon.net) has joined #raspberrypi
[0:18] * PiBot sets mode +v jac-macondo
[0:18] <dirty_d> i had to do all integer math and i still had barely any time left
[0:18] <gordonDrogon> dirty_d, really? I was doing 300K cosines a second in my initial controller on an aTmega.
[0:18] <dirty_d> but i was using 16 and 32 bits for all my calculations for better precision
[0:19] <gordonDrogon> dirty_d, 4-byte floating point...
[0:19] <dirty_d> 300K?
[0:19] <gordonDrogon> about that. it dropped when I had all the sensors running, but not by much.
[0:19] <dirty_d> i didnt have to do any cosines, jsut a lot of multiplication and a sqrt
[0:20] <gordonDrogon> I was doing DCTs.
[0:20] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Client Quit)
[0:20] <dirty_d> this was for a quadcopter?
[0:20] <gordonDrogon> yes.
[0:20] <gordonDrogon> well, octo ultimately.
[0:20] * datagutt (~datagutt@unaffiliated/datagutt) Quit (Quit: Computer has gone to sleep.)
[0:20] <dirty_d> did you finish it?
[0:20] <gordonDrogon> the project never got the funding...
[0:21] <dirty_d> yea it hurt the bank
[0:21] <dirty_d> proabbly amlost $600
[0:21] <techsurvivor> maybe you could help him out with your algorithms :)
[0:21] <gordonDrogon> so I bought some hardware, did a lot of coding for it, then ran out of money.
[0:21] * fatpudding (~fatpuddin@ has joined #raspberrypi
[0:21] * PiBot sets mode +v fatpudding
[0:21] <dirty_d> i still havent actually flown it
[0:21] <gordonDrogon> I bought all the ardu pilot mega kit and wrote all my own software for it.
[0:21] <dirty_d> ive had it hovering for a few seconds, but i always wimp out and land it
[0:22] <gordonDrogon> never bought the flight hardware, just the processor and sensors.
[0:22] <dirty_d> i cant tell if its not stable or im just to scared to fly it
[0:22] * markamber (~anonymous@pdpc/supporter/student/markamber) Quit (Quit: markamber)
[0:22] <dirty_d> if it crashes its gonna be bad
[0:22] <gordonDrogon> get the computer to fly it - that's what my aim was.
[0:22] <dirty_d> it weighs like 15 pounds
[0:22] <gordonDrogon> Turn it on, push a button, it takes off. No more stick twiddling.
[0:22] * ebswift (kvirc@ Quit (Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/)
[0:22] <dirty_d> yeait has to be very well calibrated for that
[0:22] * ebswift (kvirc@ has joined #raspberrypi
[0:22] * PiBot sets mode +v ebswift
[0:23] <IT_Sean> Isn't the stick twiddling the fun part?
[0:23] <dirty_d> mines not at all
[0:23] <thrawed> gordonDrogon: what if it develops ai and starts attacking people?
[0:23] <gordonDrogon> IT_Sean, if you're an enthusiast, yes, if you want to concentrate on taking high quality pictures/videos, no.
[0:23] * Nemo7 (nemo@nemo.org.org) has joined #raspberrypi
[0:23] * PiBot sets mode +v Nemo7
[0:23] <dirty_d> mine is terrifying
[0:23] <IT_Sean> Ahh
[0:23] <IT_Sean> I see.
[0:23] <gordonDrogon> thrawed, it would run out of battery after about 20 minutes :)
[0:23] <millette> hehe
[0:23] <thrawed> gordonDrogon: but you could be killed by then
[0:23] <dirty_d> it has 15" propellers driven by 1800W motors and it sounds like a swarm of killer bees
[0:24] <IT_Sean> O_O
[0:24] <gordonDrogon> big...
[0:24] <heathkid> my first heli sort of attacked me!
[0:24] <thrawed> 1800W sounds heavy
[0:24] <dirty_d> yea, 15 pounds lol
[0:24] <dirty_d> it lifts off at like 25% throttle though
[0:25] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspberrypi
[0:25] * PiBot sets mode +v andypiper
[0:25] <heathkid> stupid 3D switch thingy... and a bit of an oooops. full throttle straight UP and then full throttle straight DOWN! Missed me by only about a foot.
[0:25] * Beakster (~Beakster@ Quit (Ping timeout: 255 seconds)
[0:26] <Lartza> Damn I...
[0:26] <dirty_d> i have a little helocopter
[0:26] * jac-macondo (~pi@static-71-252-119-248.washdc.east.verizon.net) Quit (Quit: leaving)
[0:26] <dirty_d> blade 120sr
[0:26] <millette> where are asimov's laws of robotics when you need them!
[0:26] <Lartza> I don't get the shift register
[0:26] <Lartza> How to output stuff through it
[0:26] <dirty_d> pretty easy to fly
[0:28] <techsurvivor> you shift bits in serially latch them when you've shifted in 8
[0:28] <dirty_d> alright, time to kill some zombies
[0:28] * dirty_d (~andrew@c-76-118-112-146.hsd1.ma.comcast.net) Quit (Quit: Leaving)
[0:29] <techsurvivor> when you latch the bits you shifted in show up on the Q* pins
[0:29] <Lartza> techsurvivor, Butbut... I don't get it if I just want to make leds go on or off :)
[0:29] <techsurvivor> shift in the bits using the clock
[0:30] <techsurvivor> hmmm that's up to you
[0:30] <techsurvivor> the chip doesn't care :)
[0:30] <techsurvivor> i haven't used the wiring pi library though and since I killed my rpi maybe I'm the wrong person to talk to lol
[0:30] <Lartza> Huh? :D
[0:30] <Lartza> Mhhh
[0:30] <deebo> does the raspbian squeeze have a root password?
[0:30] <deebo> visudo managed to fuck up my sudoers file
[0:31] <techsurvivor> you understand how LED's work right ?
[0:31] <Lartza> Yes
[0:31] * IT_Sean (~IT_Sean@applefritter/IRCStaff/UltimateMacUser1) Quit (Quit: soffware updates)
[0:31] <Lartza> They get power or they don't
[0:31] <Lartza> Or something between
[0:32] <techsurvivor> well if you want them to turn on then use a 1 and hook the LED anode to the rpi and then resistor to ground, invert if you want the rpi to use negative logic
[0:32] <Lartza> But using the shift register...
[0:33] <techsurvivor> aka you can let the rpi serve as either power or ground for your LED, i'm sure you're already doing this, you said you had some pins running didn't you ? directly off the rpi
[0:33] <Lartza> Yes
[0:33] <Lartza> But now I need to power some of the leds throught the shift register chip
[0:33] <Lartza> Since I need 20 and RPi can only do 17
[0:33] <techsurvivor> well then shift in say 8bits 0100_1001 for example and if you hook LED anode that would be off-on-off-off_on-off-off-on
[0:34] * Timmmaaaayyy (~Timmmaaaa@ Quit (Quit: Timmmaaaayyy)
[0:34] <techsurvivor> use two shift registers, don't those have a shift out... ?
[0:34] <Lartza> I only have one
[0:34] <techsurvivor> heh you're screwed then
[0:34] <techsurvivor> buy another
[0:34] <Lartza> No it should work fine
[0:34] <Lartza> Maybe
[0:34] <Lartza> :P
[0:35] <techsurvivor> you need 20 bits of info and yo udon't have that
[0:35] <techsurvivor> heh
[0:35] <Lartza> I can drive the rest straight from the Pi...
[0:35] <Lartza> I can do 8+14 with this setup
[0:35] <Lartza> that is 22
[0:35] <techsurvivor> you have 8 bits on the shift register, do you have 12 on the rpi?
[0:35] <Lartza> I have 14 empty GPIO pins
[0:36] <techsurvivor> well use 12 of them
[0:36] <Lartza> Yes that is what I am planning to do
[0:36] <Lartza> :)
[0:36] <Lartza> Once I get the shift register going since that is the harder part :P
[0:36] <techsurvivor> then no problem you just have to coordinate the latch and loading with your 14 rpi pins
[0:36] <techsurvivor> yep a little harder
[0:36] <rigid> techsurvivor: i just wrote a problem for LED hardware like that for niftyled :)
[0:37] <techsurvivor> neat
[0:37] <rigid> although monochrome displays suck a bit... it's simple 24Bit RGB -> 1 Bit monochrome using a threshold... :-/
[0:37] <Mazon> is it possible to rpi to run fluidly in xbmc ? - tried openelec and although movies ran fine, the ui lagged a lot and only did ~ 40 fps
[0:38] <Lartza> techsurvivor, Okay I plugged power to the register and now all the 8 leds are on :P
[0:38] <rigid> i might add some dithering methods maybe
[0:38] <rigid> techsurvivor: s/problem/plugin/ :-X
[0:38] <techsurvivor> how is it hooked ? is the shift register the power or ground for the LED ?
[0:38] <Lartza> Umm
[0:38] <techsurvivor> i don't know if those parts come up all 1's or all 0's heh
[0:39] <Lartza> Power I think
[0:39] <rigid> oh, this should have gone to Lartza not techsurvivor :)
[0:39] * rigid needs sleep
[0:39] <techsurvivor> anode (triangle) to the shift register ?
[0:39] <Lartza> rigid, Me too :)
[0:39] <Lartza> It's the damn power :P register > resistor > led > gnd
[0:39] <techsurvivor> anode = + , cathod = -
[0:39] * dcider (~dcider@d50-92-99-84.bchsia.telus.net) has joined #raspberrypi
[0:39] * PiBot sets mode +v dcider
[0:40] <techsurvivor> yeah that's anode, it must come up all 1's heh
[0:40] <rigid> Lartza: :-P i'd always be happy about beta testers ;) is using a PC (embedded platform) to feed your LEDs an option? or should it be some MCU-only-device?
[0:40] <Lartza> What? :D
[0:41] <Lartza> Okay so...
[0:41] <Lartza> shiftOut
[0:41] <Lartza> It takes 4 values what the hell?
[0:41] <Lartza> :P
[0:41] * Milos (~Milos@pdpc/supporter/student/milos) has joined #raspberrypi
[0:41] * PiBot sets mode +v Milos
[0:41] * Delboy (~Delboy@245-192.dsl.iskon.hr) Quit (Ping timeout: 265 seconds)
[0:42] <Lartza> What's my data pin...
[0:42] * Delboy (~Delboy@141-136-220-2.dsl.iskon.hr) has joined #raspberrypi
[0:42] * PiBot sets mode +v Delboy
[0:42] <techsurvivor> serial data input, on that page you showed us :P
[0:43] * unknownbliss is now known as UKB|Sleep
[0:43] <techsurvivor> pin 14
[0:43] * agumonkey (~agu@ Quit (Read error: Operation timed out)
[0:44] <techsurvivor> i wonder if gordons library will do the work for you, have you looked at wired pi or whatever it is called ?
[0:44] <techsurvivor> wiringPi
[0:44] <Lartza> It's not workingg
[0:44] <Lartza> I am trying to use that
[0:44] <Lartza> The leds dont listen to me
[0:44] <Lartza> or the chip
[0:44] <techsurvivor> i'm used to bit bang this stuff out :)
[0:44] <Lartza> THey just keep on shiningt
[0:45] * xCP23x (~Chris@188-221-134-151.zone12.bethere.co.uk) Quit (Read error: Connection reset by peer)
[0:45] <thrawed> Lartza: you need to assert dominance
[0:45] <Lartza> I don't get the shiftout syntax
[0:45] <techsurvivor> well you're going to have to tell the library which pins are clock, data in, and latch; have you done that? sorry I haven't used his library, I can look at it if you like, might as well i'm sitting on my duff anyway
[0:46] <Lartza> Shift out takes data and clock as arguments
[0:46] <Lartza> and I used the wiringpi numbers not BCM GPIO
[0:47] <Lartza> void shiftOut (uint8_t dPin, uint8_t cPin, uint8_t order, uint8_t val)
[0:47] <techsurvivor> you'll need to latch as well, but I suppose he could have built that in, but it would have to at least know how many bits to shift... wish I hadn't killed my pi lol
[0:47] <Lartza> That is the syntax
[0:48] * [SkG] (~SkG@unaffiliated/skg/x-897332) Quit (Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com ))
[0:48] <Lartza> techsurvivor, What do I want to even shift out?
[0:49] * FrankZZ (~FrankZZ@unaffiliated/frankzz) Quit (Ping timeout: 252 seconds)
[0:49] <Lartza> oh man
[0:49] <Lartza> starting from beginning ;)
[0:49] <techsurvivor> you have to figure out the patterns youself, for a test patern it would be best to do something like A5
[0:49] * humbolt (~elias@91-113-95-211.adsl.highway.telekom.at) Quit (Quit: Leaving.)
[0:50] <techsurvivor> that will invert bits so you can see it's turning on and off, I don't know how much of this his library is hiding from you :(
[0:50] * FrankZZ (~FrankZZ@unaffiliated/frankzz) has joined #raspberrypi
[0:50] * PiBot sets mode +v FrankZZ
[0:50] <Lartza> A5?
[0:50] <Lartza> oh wow I made python shell segfault :P
[0:51] <techsurvivor> 0xA5 10100101
[0:51] <techsurvivor> or AA or 55 heh
[0:52] <Lartza> What is the third calue?
[0:52] <Lartza> order
[0:52] <gordonDrogon> wiringPi has a shiftOut function.
[0:52] <techsurvivor> i wonder if i just horrible at explaining this. I don't really have an rpi at the moment to fiddle with. so maybe gordon would do better, wherever he wandered off too, he wrote it after all
[0:52] <Lartza> gordonDrogon, I am trying that and failing :P
[0:52] * RaycisCharles (RaycisChar@cpc20-lutn10-2-0-cust20.9-3.cable.virginmedia.com) Quit ()
[0:52] <gordonDrogon> and it works with shift registers.
[0:52] * SgrA (~ashutosh@unaffiliated/sgra) has joined #raspberrypi
[0:52] * PiBot sets mode +v SgrA
[0:53] <Lartza> what do I put for the third and fourth values?
[0:53] <Lartza> order and data
[0:53] <Lartza> :S
[0:53] <gordonDrogon> order is MSB_FIRST or LSB_FIRST
[0:53] <SgrA> I built /opt/vc/src/hello_pi/hello_video/, but when I run it with test.h264, nothing happens.
[0:53] <gordonDrogon> data is the 8-bit value to be shifted out.
[0:53] <Lartza> I don't get that part :P
[0:54] <gordonDrogon> MSB = Most Significant Bit
[0:54] <gordonDrogon> that's the one you probably want to use.
[0:54] * Berglund (~Berglund@h-59-58-110.a213.priv.bahnhof.se) has joined #raspberrypi
[0:54] * PiBot sets mode +v Berglund
[0:54] <Lartza> But...
[0:54] <sirspazzolot> guys 22 is taken by my server, gimme another port to use for ssh because I can't decide
[0:55] <Lartza> 1337
[0:55] <Lartza> wiringpi.shiftOut(7,8,MSB_FIRST,?)
[0:55] <Lartza> ??
[0:55] * MrZYX is now known as mrzyx
[0:55] <Lartza> gordonDrogon, Also how does it know the latch pin :/
[0:56] <gordonDrogon> Lartza, it doesn't. you need to toggle that yourself.
[0:56] <Lartza> Weren't ware of that
[0:56] <Lartza> There is no mention og the latch
[0:56] <Lartza> *of
[0:56] <gordonDrogon> it's a general purpose shoftOut - not neccessarily designed for shift-registers.
[0:56] * jac-macondo (~pi@static-71-252-119-248.washdc.east.verizon.net) has joined #raspberrypi
[0:56] * PiBot sets mode +v jac-macondo
[0:56] * mrzyx is now known as MrZYX
[0:57] <neofutur> sirspazzolot: 2222 is cool
[0:57] <techsurvivor> i was wondering where you would feed the latch :)
[0:57] <sirspazzolot> thinking I'll go with 2222, 1337 is cliche
[0:57] <sirspazzolot> ;D
[0:57] <Lartza> Whatever it's designed for it's clearly not designed for me ;(
[0:57] <sirspazzolot> thanks
[0:57] <Lartza> ;)
[0:57] <gordonDrogon> So, the ? in your statement above is the data to send to the regsiter - e.g. 0xAA would turn ever 2nd LED on.
[0:57] * tcial (~x12@host-87-75-138-84.dslgb.com) Quit (Quit: tcial)
[0:58] <jac-macondo> playing with irssi :)
[0:58] <Lartza> All led's are already on
[0:58] <techsurvivor> Lartza: you only have to learn it once and in a day or two you'll be telling people how easy it is :D
[0:58] <gordonDrogon> so you'd execute the shoftOut, then do a digitalWrite (latch, HIGH) followed by digitalWrite (latch, LOW)
[0:58] <sirspazzolot> I wanna get better at irssi and learn emacs sometime. maybe the pi is a good excuse
[0:58] <Lartza> ahh
[0:58] * markbook (~markllama@pool-74-104-180-140.bstnma.fios.verizon.net) has joined #raspberrypi
[0:58] * PiBot sets mode +v markbook
[0:59] <gordonDrogon> so you shift 8-bits into the register, then the latch goes ka-chung and transfers the register to the output pins.
[0:59] <jac-macondo> lol its one of the things that im usimg my pi for
[0:59] <Lartza> I can't get the leds to turn off :P
[0:59] <techsurvivor> might be neat to add an extra parameter (and function) to do a latch :)
[0:59] <gordonDrogon> shiftOut a zero.
[0:59] <gordonDrogon> techsurvivor, extra function would bw trivial to add.
[1:00] <techsurvivor> yep
[1:00] <gordonDrogon> shiftOut595 (...
[1:00] <techsurvivor> you just need the pin number. but it looks like you are always doing 8 bits, might want to make it n bits :)
[1:00] <jac-macondo> that and bettering my linux command line skills better
[1:00] <techsurvivor> if I had an rpi i'd help out with that heh
[1:00] <gordonDrogon> however I'm off to bed now.
[1:01] <gordonDrogon> laters...
[1:01] <techsurvivor> okie doke, take care! thanks!
[1:01] <Lartza> gordonDrogon, All led's stil on :(
[1:01] <Lartza> Damn this :P
[1:01] <techsurvivor> don't want to hear it, i've waited weeks on projects to see an LED turn on.
[1:01] <techsurvivor> heh
[1:02] <SgrA> I built /opt/vc/src/hello_pi/hello_video/, but when I run it with test.h264, nothing happens.
[1:02] <techsurvivor> you need to do something like shoftout (dataPin#, clockPin#, MSBFIRST, 0xAA)
[1:03] <techsurvivor> and then you need to probably toggle the latch pin (do it the same way you turned your LED pins on)
[1:03] <techsurvivor> go from 0->1->0
[1:03] <techsurvivor> that shoudl be all it takes
[1:03] <techsurvivor> i looked at his library.
[1:04] * IT_Sean (~sean@applefritter/IRCStaff/UltimateMacUser1) has joined #raspberrypi
[1:04] * PiBot sets mode +v IT_Sean
[1:04] * ChanServ sets mode +o IT_Sean
[1:04] * ChanServ sets mode +o IT_Sean
[1:04] <Lartza> Oh wow
[1:04] * x12 (~x12@host-87-75-138-84.dslgb.com) has joined #raspberrypi
[1:04] <Lartza> Made all the leds turn off ;)
[1:04] * PiBot sets mode +v x12
[1:05] <Lartza> Now can't get them back on ;P
[1:05] <techsurvivor> what did you put in for data, 0 ?
[1:05] <Lartza> Yes
[1:05] <techsurvivor> well it worked
[1:05] <Lartza> What to turn them on?
[1:05] <IT_Sean> 1 ?
[1:05] <Lartza> Not doing anything
[1:05] <techsurvivor> do what i said use 0xAA as the data this time
[1:05] <Lartza> techsurvivor, Nope
[1:05] <Lartza> Nothing happens
[1:06] <techsurvivor> then you have to latch 0->1->0
[1:06] <jac-macondo> playimgg with irrssi on my rpi
[1:06] <Lartza> techsurvivor, Accidantally did that xD
[1:06] <Lartza> And it lit up 4 of the 8 led's now with 0xAA
[1:06] <techsurvivor> digitalWrite(pin, LOW); digitalWrite(pin, HIGH), digitalWrite(pin, LOW)
[1:06] <techsurvivor> well it's worked
[1:06] <techsurvivor> working
[1:06] * x12 is now known as TCIAL
[1:06] * TCIAL is now known as tcial
[1:07] <Lartza> Now if I only knew how to do anything with this :D
[1:07] * iMatttt (~imatttt@cpc4-farn4-0-0-cust34.6-2.cable.virginmedia.com) has joined #raspberrypi
[1:07] * PiBot sets mode +v iMatttt
[1:07] <jac-macondo> sory bout repeating my self.... still getting the hang of screens on irssi :)
[1:07] <techsurvivor> stick those into a function called toggle_latch()
[1:07] <Lartza> techsurvivor, Yeah well I still don't know what values to shift really so :/
[1:07] <techsurvivor> so it's easy to call and cleaner looking
[1:08] * MattRichardson (~mattr@chas.mattrichardson.net) has joined #raspberrypi
[1:08] * PiBot sets mode +v MattRichardson
[1:08] <techsurvivor> well that's what you have to figure out, it's your clock
[1:08] <techsurvivor> heh
[1:08] <Lartza> Aww damn
[1:08] <Lartza> Huh
[1:08] <techsurvivor> you have the hard part worked out
[1:08] <Lartza> You mean...
[1:08] <Lartza> Well kind of
[1:08] * Meatballs is now known as Meatballs|Away
[1:08] <techsurvivor> draw a grid and figure out what you have to turn on and off
[1:09] <Lartza> techsurvivor, It's different every second :/
[1:09] <techsurvivor> and then figure out what the binary in hex is, if you need to do that I can help explain that a little bit
[1:09] <Lartza> what binary in hex? :D
[1:09] <techsurvivor> do you know hwo to do binary to hex ?
[1:09] <Lartza> Yes
[1:09] <SgrA> ./hello_triangle2.bin
[1:09] <SgrA> hello_triangle2.bin: triangle2.c:185: init_ogl: Assertion `state->surface != ((EGLSurface)0)' failed.
[1:09] <Lartza> No actually can't remember but I know it ;)
[1:10] <techsurvivor> not sure what your problem is then?
[1:10] <Lartza> I have no idea how the shiftOut works still :P
[1:10] <Lartza> I just keep on toggling random led's
[1:10] <techsurvivor> well it's easy, look up 0000 to 1111 that's 0 to F
[1:11] * Lisa_Fox (~w5fox``@c-69-243-155-12.hsd1.il.comcast.net) has joined #raspberrypi
[1:11] * PiBot sets mode +v Lisa_Fox
[1:11] <techsurvivor> google it and then if you say need on-off-on-off then that is 1010, and then that is decimal 10 or A in hex
[1:11] * wiiguy (~fake@unaffiliated/wiiguy) Quit (Quit: I just broke my connection, but no worries, we can rebuild it. We have the technology.)
[1:11] <rigid> Lartza: with niftyled, you don't have to care :-P just write a plugin that shifts out the values (look at the arduino-MAX72xx plugin if you wanna try)
[1:11] <millette> a -> 1010 - nice little number
[1:11] <millette> for chasers
[1:11] <rigid> Lartza: you create a "map" afterwards and niftyled will map x/y pixels to the LEDs
[1:12] <techsurvivor> rigit, that sounds like a nice library
[1:12] <techsurvivor> rigid*
[1:12] <Lartza> Why doesn't Rpi have 20 gpio outputs :P
[1:12] <techsurvivor> i figured he wanted something lower level, so I was helping :)
[1:12] <techsurvivor> at least I hope I'm helping
[1:12] <Lartza> just gpio.out(pin, 1) :/
[1:12] <Lartza> *output
[1:12] <techsurvivor> haven't heard a thanks yet, so I might just be babbling
[1:13] <Lartza> I am not sure if I want to thank you yet or not ;)
[1:13] <techsurvivor> and lartza that's why God made shift registers
[1:13] <techsurvivor> or some electrical engineer ;)
[1:13] <Lartza> So you are saying, I have to find the random hex value for every kind of formation I want to light my led's?
[1:14] <Lartza> oh or...
[1:14] <techsurvivor> yes, or maybe you can do what rigid suggests, sounds like he might have done some heavy liftin already on that, but you would have in the shift stuff
[1:14] <techsurvivor> to "work in the shift stuff"
[1:14] <techsurvivor> haven't looked at that library yet
[1:15] <Lartza> Why isn't it even...
[1:15] <Lartza> I tried to see if it would be just
[1:15] <Lartza> pin 0 is the first digit in something
[1:15] <Lartza> like 10000000
[1:15] <Lartza> that binary > hex
[1:15] <Lartza> turns out it lit up three leds all over the place :D
[1:16] <techsurvivor> this is where it comes in handy to know 0-F just split that up into 1000_0000 and now 1000->8, bottom half is 0 so it's 0x80
[1:16] <Lartza> And I didn't even connect the leds in order to the shift register :S
[1:17] <Lartza> techsurvivor, How did you know that!?
[1:17] <sirspazzolot> is there a standard place people point to for electronics like leds or little motors?
[1:17] <Lartza> ;)
[1:17] <Lartza> sirspazzolot, Ebay
[1:17] <techsurvivor> purchasing or help with ?
[1:17] <sirspazzolot> purchasing
[1:17] <techsurvivor> jameco, digikey, mouser, adafruit are some
[1:17] <techsurvivor> sparkfun of course :)
[1:17] <rigid> techsurvivor: most people want standalone MCU operation only... that's what niftyled can't do (yet.. in theory you can compile everything for an MCU)
[1:17] <techsurvivor> i like sparkfun a lot
[1:17] <Lartza> techsurvivor, Oh I messed it up!
[1:17] <sirspazzolot> alrighty, thanks
[1:18] <rigid> techsurvivor: Lartza: if you want to give it a shot -> query... i'd be happy to give support
[1:18] <Lartza> It is like that you have a 8 digit value that you turn into hex
[1:18] <Lartza> techsurvivor, Thanks!
[1:18] <sirspazzolot> and is the pi a good device for learning lower level things or is there something better?
[1:18] <sirspazzolot> I don't have any specific lower level things in mind haha
[1:18] <rigid> i hope I can release the GUI in the next weeks :-/
[1:18] <Lartza> I accidantally had an 9 digit number that became 100 and not 80 in hex :P
[1:18] <rigid> Lartza: do you use windows?
[1:18] <techsurvivor> it's easy if you know what 0000-1111 are in hex, just split it up to 4 bits at a time and convert
[1:19] <techsurvivor> rigid is your library on pc or soemthing? I think I missed that
[1:19] <Lartza> rigid, Yes? Are you using .NET? :S
[1:19] <Lartza> ;)
[1:20] <rigid> techsurvivor: it's been tested on linux... mac should be easy to cross compile (untested) and windows crosscompile using (mingw32) works but the libusb stuff is not ported and might need a bit of love... no trouble if the plugin uses a serial port, tho i guess...
[1:20] <Lartza> techsurvivor, Seriously... where the hell did I miss the part when someone said it's an 8 digit value converted to the hex and just the pins in order :P
[1:20] <rigid> Lartza: no :( atm *nix ... libbabl to do colorspace conversion
[1:21] <rigid> techsurvivor: it runs nice on a raspberry pi for sure, tho ;)
[1:21] <rigid> that's why I wanna get one... atm. i use a sheeva plug
[1:21] <techsurvivor> i don't know, i've been doing it for so long that I guess i took it for granted
[1:22] <Lartza> I'll post some pictures or a video of the clock working tomorrow, but now I am off to bed
[1:22] <Lartza> it's like... 2 in the morning already :D
[1:22] <techsurvivor> cool, night
[1:22] * jac-macondo (~pi@static-71-252-119-248.washdc.east.verizon.net) Quit (Quit: leaving)
[1:22] <Lartza> rigid, Hang on... there is libusb for Windows
[1:22] <techsurvivor> rigid: what is the output device?
[1:23] <techsurvivor> there is, i've used it
[1:23] * vjacob (~vjacob@94-195-174-165.zone9.bethere.co.uk) has joined #raspberrypi
[1:23] * PiBot sets mode +v vjacob
[1:23] * IT_Sean (~sean@applefritter/IRCStaff/UltimateMacUser1) has left #raspberrypi
[1:23] <Lartza> also cross-platform flashing utility for Samsung phones uses WinUSB on windows and libusb on Linux
[1:23] <techsurvivor> libusb works on windows too
[1:23] * vjacob (~vjacob@94-195-174-165.zone9.bethere.co.uk) has left #raspberrypi
[1:23] <NullMoogleCable> oh hai
[1:24] <techsurvivor> i haven't used it in years but it seemed fine at the time, and was actually a little faster than the jungo driver they were using before I took over the project :)
[1:24] <Lartza> Oh but rigid's libusb stuff isn't... whatever, night :D
[1:24] <techsurvivor> hai
[1:24] * cerberos (~cerberos@host81-131-181-180.range81-131.btcentralplus.com) Quit (Quit: cerberos)
[1:27] * tcial (~x12@host-87-75-138-84.dslgb.com) Quit (Quit: tcial)
[1:27] <NullMoogleCable> so im thinking on getting a second pi :)
[1:28] * markamber (~anonymous@pdpc/supporter/student/markamber) has joined #raspberrypi
[1:28] * PiBot sets mode +v markamber
[1:28] <ReggieUK> will you build a pidjhi?
[1:29] <NullMoogleCable> :D workign on it
[1:29] <NullMoogleCable> breakout board with power and such
[1:30] <ReggieUK> it needs a codec chip
[1:30] * victhor (~victhor@ has joined #raspberrypi
[1:30] * PiBot sets mode +v victhor
[1:30] <ReggieUK> audio codec that is
[1:31] * techsurvivor (~techsurvi@ Quit (Read error: Connection reset by peer)
[1:33] <rigid> Lartza: i didn't say it doesn't work, it just needs some love to get it running ;) but i guess you'd use a VCOM anyway so the effort should be bareable
[1:33] <rigid> (i don't use windows, so i don't try porting it. But users have done it before. Just not the libusb part)
[1:36] <NullMoogleCable> ReggieUK whats wrong with the pi's codec?
[1:36] <ReggieUK> if you don't use hdmi, then you're stuck with teh pwm audio
[1:37] <ReggieUK> but the pi does have i2s
[1:37] <NullMoogleCable> true
[1:37] <ReggieUK> a couple of pins are not exposed via gpio
[1:37] <ReggieUK> but they are available on the board :)
[1:37] <ReggieUK> no sweat for you at all :)
[1:37] <NullMoogleCable> just tie it to your didj
[1:37] <ReggieUK> HA
[1:38] <ReggieUK> I did wonder if anyone had a spare cirrus chip knocking around
[1:38] <ReggieUK> I wonder if nirvous has one?
[1:43] * Commander1024 (~Commander@Commander1024-2-pt.tunnel.tserv6.fra1.ipv6.he.net) Quit (Ping timeout: 248 seconds)
[1:43] <sirspazzolot> hm, updating bash and it's asking if it can update .bashrc. does raspbian have anything special in there? because I haven't touched it.
[1:44] <Maior> eee, my edimax wireless thing has arrived
[1:44] * SSilver2k2 (~Adium@50-89-241-213.res.bhn.net) has joined #raspberrypi
[1:44] * PiBot sets mode +v SSilver2k2
[1:44] <ReggieUK> you could look inside it and see if there's anything specific in there sirspazzolot
[1:44] <ReggieUK> hi SSilver2k2
[1:44] <SSilver2k2> jpefu
[1:44] <SSilver2k2> howdy even
[1:44] <sirspazzolot> yeah I guess I could open another ssh session... but that's not as easy as making people feed me answers :D
[1:45] <ziltro> or make a copy of .bashrc and do a diff afterwards
[1:45] <sirspazzolot> ooh that would be the fun way
[1:45] <ziltro> And do updates over ssh in screen. ;)
[1:46] <sirspazzolot> actually I kind of lied I have the physical device next to me
[1:46] <sirspazzolot> I just didn't wanna open another tty
[1:46] <sirspazzolot> because I don't want to switch keyboards :P
[1:46] <ziltro> Alt+F2 you mean?
[1:46] <sirspazzolot> so ssh it is
[1:46] <ziltro> That's difficult.
[1:46] <ziltro> Ah. :)
[1:47] * lupinedk is now known as Lupinedk
[1:47] <ziltro> Screen it's Ctrl+A, C
[1:47] <sirspazzolot> screen's one of those things I need to get around to learning
[1:47] <sirspazzolot> like emacs
[1:47] <sirspazzolot> and python
[1:47] <ziltro> I haven't fully learnt it.
[1:47] <ziltro> But what I do know...
[1:47] <ziltro> Load it with 'screen -RD' normally.
[1:48] <Maior> -x
[1:48] <ziltro> Ctrl+A, C loads a new session. Ctrl+A, 0..9 switches session, Ctrl+A, A switches between the last two sessions.
[1:48] <Maior> sharing ftw
[1:48] <sirspazzolot> I can't wait for my sd cards to come in the mail so I can set up a better system on a bigger one
[1:48] <sirspazzolot> I got really used to the awesome tiling wm on my gentoo box
[1:48] <ziltro> And that's pretty much all I know. ;)
[1:48] <sirspazzolot> lol
[1:48] <ziltro> Oh, Ctrl+A, ? is help.
[1:50] * finnx (~sheppards@99-39-251-198.lightspeed.tukrga.sbcglobal.net) has joined #raspberrypi
[1:50] * PiBot sets mode +v finnx
[1:51] <SSilver2k2> my second pi arrived today
[1:51] <SSilver2k2> now i have one from rs and element 14
[1:51] <ziltro> Only need another 1.1415...
[1:51] <SSilver2k2> nah, i got my 1.141 today. the rs one seemed to not be cut great
[1:52] <SSilver2k2> the side of the PCB was MUCH rougher than my element14 version
[1:52] <ziltro> Oh, were they meant to be smooth?
[1:52] <ziltro> Would be nice I guess
[1:52] <SSilver2k2> not smooth
[1:52] <ziltro> Smoothish.
[1:52] <SSilver2k2> but maybe the pcb cutter bit needed to be changed soon
[1:53] <WASDx> Should i free variables in C before reassinging them if I'm not intending to use the data again that it previously held?
[1:53] <WASDx> My program is leaking about one byte per second
[1:53] <hermanhermitage> free anything you create with malloc once there is no need for it
[1:54] <WASDx> I never even use malloc
[1:54] <hermanhermitage> no need for free
[1:54] <hermanhermitage> well or calloc
[1:54] <WASDx> I'm wondering why it eats one byte per second
[1:54] <hermanhermitage> curious
[1:54] <WASDx> at that rate, it will use the total about of 36kb if the computer is one for 10 hours
[1:55] <hermanhermitage> are you using strdup?
[1:55] <WASDx> yes
[1:55] <WASDx> strndup
[1:55] <hermanhermitage> there are other ways of calling malloc i forgot about
[1:55] <hermanhermitage> ok that is like calling malloc
[1:55] <WASDx> I see
[1:55] <hermanhermitage> when you are done with the dup'ed string, call free() on it
[1:56] <WASDx> Ok
[1:56] <hermanhermitage> internally it measures the length of the string, calls malloc(), calls strncpy to copy into place and returns the new string
[1:56] <WASDx> I come from java so memory management is new for me
[1:57] <hermanhermitage> yes its also a little obtuse with some C api
[1:57] <ziltro> I like not having to manage memory.
[1:58] <hermanhermitage> yes its nice not to for most things
[1:58] * chandoo (~chandoo@ool-ad032250.dyn.optonline.net) Quit (Quit: Leaving)
[1:58] <hermanhermitage> sometimes you have to in java as well
[1:58] * Commander1024 (~Commander@Commander1024-2-pt.tunnel.tserv6.fra1.ipv6.he.net) has joined #raspberrypi
[1:58] * PiBot sets mode +v Commander1024
[1:58] <hermanhermitage> large memory usage, or dangling references when you implement some data structures
[1:58] * phire (~phire@ Quit (Ping timeout: 260 seconds)
[1:59] <WASDx> This program running for 100 hours in C would still take less ram then Hello World in java
[1:59] <hermanhermitage> hehe
[1:59] * phire (~phire@ has joined #raspberrypi
[1:59] * PiBot sets mode +v phire
[2:00] <WASDx> The program is a client I've written to send my CPU usage to the RPi which has a server that displayes the percentage on my two 7-segment displays
[2:01] <hermanhermitage> that sounds cool
[2:01] <WASDx> here is the source (warning, ugly code) http://pastebin.com/ELPqP8gS
[2:02] <WASDx> I got some strndup's in there
[2:03] <hermanhermitage> how hard is it going from java to C?
[2:03] <WASDx> So if I've understood it correctly: free() frees the memory that a variable is pointing at, and the variable can still be used?
[2:03] <hermanhermitage> yes
[2:03] <WASDx> good
[2:04] <WASDx> The syntax is very similar to java. I've just had to google for every little thing I do
[2:04] <WASDx> That's my most advanced program so far so I havn't done structs and stuff
[2:04] <hermanhermitage> i went the other way C -> Java, and it was a nightmare for me :)
[2:04] <WASDx> haha
[2:04] * chris_99 (~chris_99@unaffiliated/chris-99/x-3062929) Quit (Quit: Leaving)
[2:04] <WASDx> that sounds easier to me
[2:05] <WASDx> I had to rewrite String.split() for my code here
[2:05] <hermanhermitage> you know string handling in C is one of the "trickiest" things you can do
[2:05] <hermanhermitage> in a fiddly sense
[2:05] <WASDx> It seems like that yes
[2:06] <hermanhermitage> alot of it is to do with lack of search/split operators and also of course no automatic string memory management
[2:06] * Berglund (~Berglund@h-59-58-110.a213.priv.bahnhof.se) Quit (Quit: Computer died.)
[2:06] <WASDx> On line 53 I use strndup to get the substring stored in the same variable. Should i perhaps use a temp-variable there to be able to free the old data?
[2:07] <SwK> string handling with pointer magic ftw
[2:08] <hermanhermitage> the trick in C is usually to avoid any copying
[2:08] * Syliss (~Syliss@adsl-99-23-241-61.dsl.chi2ca.sbcglobal.net) has joined #raspberrypi
[2:08] * PiBot sets mode +v Syliss
[2:08] <hermanhermitage> its common to use pointers/length to keep track of the original strings
[2:09] <hermanhermitage> as SwK says pointer magic.
[2:09] <SwK> WASDx: you know if you have a pointer to a long string, soemthing like char *buf = "foo;bar"; char *buf2 = null; you can do something like buf + 4 = "\0"; buf2 = buf + 5;
[2:09] * yggdrasil (~yggdrasil@unaffiliated/yggdrasil) has joined #raspberrypi
[2:09] * PiBot sets mode +v yggdrasil
[2:09] <yggdrasil> sweet, my new usb sound card just arrived :)
[2:09] * pjm (~pjm@uhfsatcom.plus.com) Quit (Ping timeout: 276 seconds)
[2:09] <hermanhermitage> WASDx: just looking now
[2:09] <millette> by string, you mean 8 byte encoded string
[2:10] <ziltro> Is it me or does a solid state relay which can switch 230V AC @ 16 A look very much like an opti-triac with a 'power' triac in one package?
[2:10] <SwK> ziltro: its not just you
[2:10] * MrZYX is now known as MrZYX|off
[2:10] <ziltro> That's good. I think ??5 is a bit much for one though.
[2:10] <WASDx> SwK: That was cool
[2:11] <NullMoogleCable> so where is the best place to get a pi yet?
[2:11] <yggdrasil> hey, i see theres a new image for wheezy, if im running wheezy can I just do an apt-get update ?
[2:11] <yggdrasil> uhm upgrade?
[2:11] <hermanhermitage> WASDx: you can eliminate those strdups with a little tweak
[2:11] <WASDx> SwK: but what about the bytes I leave out? Don't I have to free them?
[2:11] <hermanhermitage> WASDx: you are reading 8 numbers separated by spaces right? n0 n1 .. n7
[2:12] <WASDx> hermanhermitage: exactly
[2:12] <ziltro> Or is ??5 about right for an SSR which can switch around 10 A AC?
[2:12] <hermanhermitage> WASDx: so you can work on the original string without copying.
[2:12] <WASDx> actually 7 numbers
[2:12] * iMatttt (~imatttt@cpc4-farn4-0-0-cust34.6-2.cable.virginmedia.com) Quit (Read error: Connection reset by peer)
[2:12] <hermanhermitage> WASDx: this is the trick in C. you have pointers
[2:12] * iMatttt (~imatttt@cpc4-farn4-0-0-cust34.6-2.cable.virginmedia.com) has joined #raspberrypi
[2:12] * PiBot sets mode +v iMatttt
[2:12] <hermanhermitage> WASDx: pointers cant point "inside" part of an object, so you dont need to make a new object
[2:12] <SwK> WASDx: are they stack allocated or mallloc'd?
[2:13] * Syliss (~Syliss@adsl-99-23-241-61.dsl.chi2ca.sbcglobal.net) Quit (Client Quit)
[2:13] <WASDx> SwK: I'm not entierly sure what that means, I just spoke out of your example
[2:14] <WASDx> stack allocated = inside a single function that will disappear when the function is done?
[2:14] <SwK> stack allocated means on the applications stack
[2:14] <WASDx> I havn't read about stacks, just heard the term
[2:14] <WASDx> and gotten stack overflows
[2:14] <hermanhermitage> WASDx: all local variables go on the stack
[2:14] <SwK> yep
[2:15] <hermanhermitage> WASDx: so char mystring[100]; inside a function is a stack variable as it were
[2:15] <WASDx> I think I get it then
[2:15] <SwK> what hermanhermitage just said
[2:15] <SwK> I'm the worst as explaining this crap
[2:15] <hermanhermitage> WASDx: where as char *mystring = malloc(100); is a stack variable mystring, and a block of memory [mystring, mystring+100)
[2:16] <hermanhermitage> the block of meomry being dynamic.
[2:16] <yggdrasil> hi, is an apt-get update / upgrade the same as the new image download from downloads section?>
[2:16] <ReggieUK> no
[2:16] <yggdrasil> ok
[2:16] <hermanhermitage> WASDx: anyway this is a distraction, the key point is you dont need the strdup in the loop
[2:16] <yggdrasil> whats the best way to upgrade it then ?
[2:16] <yggdrasil> or should i just wipey
[2:16] <ReggieUK> apt-get update/upgrade will give you newer files than are on teh image
[2:16] <WASDx> hermanhermitage: I thought so. That was just what google gave me on "c substring"
[2:17] <yggdrasil> ahh
[2:17] <yggdrasil> ok
[2:17] <hermanhermitage> WASDx: but in small steps, you can do this first
[2:17] <yggdrasil> so im fine then.
[2:17] <ReggieUK> yes
[2:17] <yggdrasil> ReggieUK: got my usb sound cards today:)
[2:17] <hermanhermitage> WASDx: free(tmp); after the atoi(tmp)
[2:17] <yggdrasil> like 3 bucks each.
[2:17] <hermanhermitage> WASDx: free(buf) before the buf=strndup(...
[2:17] <ReggieUK> don't forget to rpi-update too
[2:17] <WASDx> thanks
[2:17] * Milos|Netbook (~Milos@pdpc/supporter/student/milos) has joined #raspberrypi
[2:17] * PiBot sets mode +v Milos|Netbook
[2:18] <hermanhermitage> WASDx: also the final bit "sprintf()... return buf" is a possible error
[2:18] <yggdrasil> ReggieUK: not familiar with that, where can I find more information?
[2:19] <WASDx> hermanhermitage: I want to convert the int to a string
[2:19] <WASDx> itoa didn't work for some reason and some people seemed to complain at it
[2:20] <WASDx> so I went with that
[2:20] <hermanhermitage> WASDx: itoa or printf are find. its "buf"
[2:20] <NullMoogleCable> I want another pi :(
[2:20] <hermanhermitage> WASDx: whenever you use a string pointer you need to ensure it has enough space in it
[2:20] <NullMoogleCable> *Please note that the estimated delivery time will be 12 weeks.
[2:20] <millette> NullMoogleCable, 2pi is rad!
[2:20] <NullMoogleCable> stock expected to ship 24 Aug, 2012
[2:21] <ziltro> ??5.00 for an SSR, ??0.60 for a relay. Hmm.
[2:21] <NullMoogleCable> where can i get another pi?
[2:21] <WASDx> hermanhermitage: yes I'm very unsure about that part. Initializing string as char[256] or char*
[2:22] <NullMoogleCable> i want one i can abuse
[2:22] <hermanhermitage> WASDx: quite a bit of convention comes into it. whether get_cpu() returns a new dynamic memory block or not
[2:22] * iMatttt (~imatttt@cpc4-farn4-0-0-cust34.6-2.cable.virginmedia.com) Quit (Quit: TLS packet ect messages)
[2:23] <hermanhermitage> WASDx: you need to free() the string after write()
[2:23] <WASDx> yes I did that myself already :)
[2:23] <hermanhermitage> WASDx: as get_cpu() is returning a pointer to dynamically allocated memory, that needs to be freed
[2:23] <hermanhermitage> ok great
[2:23] <hermanhermitage> WASDx: then you need to allocate the string before you exit
[2:24] <WASDx> with malloc?
[2:24] <hermanhermitage> WASDx: right now you were relying on some memory left around from the for() loops
[2:24] <WASDx> heh
[2:24] <hermanhermitage> WASDx: technically its a little clearer if after the for loops you free() the buf
[2:24] <WASDx> Well it will work in this case sincethe cpu-percentage is never more than 3 characters
[2:25] <hermanhermitage> WASDx: and then before itoa or sprintf you allocate the return string
[2:25] <WASDx> great, I will try that
[2:25] <NullMoogleCable> why is there such a small supply of pi's?
[2:25] <hermanhermitage> or change to void get_cpu(char *result);
[2:25] <hermanhermitage> WASDx: and let the caller provide the buffer
[2:26] <WASDx> Ok
[2:26] <WASDx> that's odd from a java perspective but I understand it
[2:26] <hermanhermitage> welcome to caller versus callee managed memory etc
[2:26] <SwK> hermanhermitage: lol you're gonna screw with him having him pass a pointer in as an arg :P
[2:26] <hermanhermitage> WASDx: in C the onus is on the caller to take ownership of memory lifetime
[2:27] <WASDx> SwK: Should I pass in &varname?
[2:27] * markbook feels so old.
[2:27] <hermanhermitage> WASDx: where as in java, get_cpu() has delegated its cleanup responsibility to the Garbage Collector. in C its the callers responsibility to pick up the pieces
[2:27] <WASDx> okay
[2:28] <hermanhermitage> so GC is great for decoupling stuff
[2:28] <hermanhermitage> its just GC has complex O() time usage for large N
[2:28] <millette> gc is tricky with pseudo real-time stuff
[2:28] <hermanhermitage> yes and large memory models
[2:28] <hermanhermitage> usually collapse
[2:28] <WASDx> char* tmp = (char*) malloc(3*sizeof(char));
[2:28] <hermanhermitage> maybe +1
[2:29] <WASDx> for the \0 ?
[2:29] <millette> middle ground is c++ with its autopointers
[2:29] <hermanhermitage> yes a rule of thumb in C is always throw a +1 in :)
[2:29] <WASDx> since 3 characters is the longest string it will return
[2:29] <millette> WASDx, you generally want a \0 at the end
[2:29] <hermanhermitage> WASDx: there is a GC and a CORD library for C to help with strings, but its pretty advanced usage.
[2:29] * D34TH (D34TH@unaffiliated/d34th) has left #raspberrypi
[2:29] * blkhawk is now known as blkaway
[2:30] <WASDx> hermanhermitage: Now I would just like a better way to substring than "buf = strndup(buf+pos+1, strlen(buf)-pos);" then I'm ready to compile to see all the errors I will get from mistakes
[2:30] <hermanhermitage> WASDx: yes all of that isnt really needed.
[2:30] <hermanhermitage> WASDx: atoi() will stop at the space
[2:31] * rvalles (~rvalles@unaffiliated/rvalles) Quit (Ping timeout: 265 seconds)
[2:31] <WASDx> that would work for the first int in the string then
[2:31] <hermanhermitage> WASDx: so you can make a loop like for()... {atoi(), scantospace}
[2:31] <WASDx> what about the other ones after the spaces?
[2:32] * rvalles (~rvalles@unaffiliated/rvalles) has joined #raspberrypi
[2:32] * PiBot sets mode +v rvalles
[2:33] <hermanhermitage> WASDx: for (char *p=input; i<7 & *p; p=strchr(p, ' ');) data[i++]=atoi(p);
[2:33] <hermanhermitage> or something like that
[2:33] <WASDx> havinga memory leak in a big software must be really annoying
[2:33] <Hexxeh> it really is.
[2:34] <Hexxeh> just ask a firefox dev :)
[2:34] <hermanhermitage> not really :). you just restart the program and hit the junior programmer over the head with a fryingpan
[2:34] <millette> leaks are one thing, null pointers another hazard
[2:34] <Hexxeh> and buffer overflows
[2:34] <millette> or simply pointing to random memory
[2:34] <hermanhermitage> low abstraction another problem
[2:34] <WASDx> Nullpointers have always been the easiest exception for me to fix in java
[2:34] <millette> I sort of miss those days
[2:34] <hermanhermitage> when you cant write your build system or your debugger inside your own program you have a language problem.
[2:34] <WASDx> just see what's null and why
[2:35] * mentar (~mentar@94-195-22-204.zone9.bethere.co.uk) Quit (Quit: Leaving.)
[2:36] * millette (~millette@cogitateurs-agitateurs/oqp) Quit (Quit: Coyote finally caught me)
[2:37] <yggdrasil> awesome, the usb sound card works with no mods in weezy :)
[2:37] <WASDx> yay it's working
[2:37] <yggdrasil> ive got mic input now :)
[2:39] <hermanhermitage> WASDx: good!
[2:40] <WASDx> hermanhermitage: does atoi also works with spaces before the number?
[2:40] * katom (~tom@p4FC9625C.dip.t-dialin.net) has joined #raspberrypi
[2:40] * PiBot sets mode +v katom
[2:40] <hermanhermitage> yes it skips all whitespace
[2:40] <WASDx> ok
[2:41] <hermanhermitage> then looks for a + or - and digits
[2:41] <hermanhermitage> you could also use scanf
[2:41] <WASDx> so it can parse math?
[2:42] <hermanhermitage> sscanf(input, "%d %d %d %d %d %d %d", &data[0], &data[1], ...)
[2:42] <WASDx> whoops *** glibc detected *** ./a.out: free(): invalid pointer: 0x000000000164b443 ***
[2:44] * harish (~harish@cm108.zeta234.maxonline.com.sg) Quit (Ping timeout: 246 seconds)
[2:44] * markamber (~anonymous@pdpc/supporter/student/markamber) has left #raspberrypi
[2:44] * aaa801 (~a@host-92-14-185-172.as43234.net) Quit (Quit: Leaving)
[2:44] <rigid> WASDx: used "int data[7];" ?
[2:44] <WASDx> yes
[2:45] <rigid> also alsways check output of sscanf()
[2:45] <rigid> hm
[2:45] <yggdrasil> can somone fill me in on what it is to optimize an application ?
[2:45] * likarish (~tlikarish@c-67-169-92-82.hsd1.ca.comcast.net) Quit (Quit: likarish)
[2:45] <rigid> yggdrasil: make it faster or using less power... "optimize" in general is make it better
[2:45] <yggdrasil> im working on a simple audio visualizer setup for my band. and i wonder if some of the off the shelf stuff will work.
[2:46] <yggdrasil> rigid: i understand that but what is the process ?
[2:46] <rigid> yggdrasil: it depends... for example compilers do automatic optimization... gcc uses the -O0, -Os etc. flags
[2:46] <yggdrasil> mhmm.
[2:46] <hermanhermitage> WASDx: make sure you only every call free() on 0, or a result from malloc() (which includes strdup, strndup, calloc, etc)
[2:46] <yggdrasil> so its jsut compiled .. specifically
[2:47] <hermanhermitage> WASDx: every=ever
[2:47] <yggdrasil> hmm intersting.
[2:47] * birdontophat (~a@cpc1-aztw5-0-0-cust528.18-1.cable.virginmedia.com) has joined #raspberrypi
[2:47] * PiBot sets mode +v birdontophat
[2:47] <rigid> yggdrasil: but most of the time it's clever design that optimizes stuff... check what portion of your app uses the most time and make that portion faster
[2:47] <WASDx> I fixed it I think
[2:47] * ebarch (~ebarch@ Quit (Ping timeout: 260 seconds)
[2:47] <yggdrasil> i see, so its actual recoding
[2:47] <yggdrasil> generally
[2:48] <rigid> yggdrasil: handling audio data? then buffering probably is also a matter
[2:48] <yggdrasil> it doesnt have to be anything fancy
[2:48] <yggdrasil> but i found this cool package
[2:48] <SgrA> victhor, :>
[2:48] <rigid> audio recording is quite fancy :)
[2:48] <yggdrasil> project m. it runs under x
[2:48] <yggdrasil> its not recording
[2:48] <victhor> SgrA: no deraling for you.
[2:48] <yggdrasil> so much a s vizualization
[2:48] <yggdrasil> visualization
[2:49] <SgrA> deraling?
[2:49] <rigid> yggdrasil: so you want to make it recording? or optimize it?
[2:49] <rigid> project m already is quite well optimized afaik
[2:49] <yggdrasil> i want the pi, to take a microphone input and make a visual representation on the tv.
[2:49] * IT_Sean (~IT_Sean@applefritter/IRCStaff/UltimateMacUser1) has joined #raspberrypi
[2:49] * PiBot sets mode +v IT_Sean
[2:49] <rigid> yggdrasil: did you choose the right recording channel? recording volume all cranked up? recording channel unmuted? check with a mixer
[2:50] <yggdrasil> i havent even tried anything tyet
[2:50] <yggdrasil> :)
[2:50] <yggdrasil> i have confirmed that the usb sound card works.
[2:50] <yggdrasil> and on my laptop i have tested a software
[2:50] * ChanServ sets mode +o IT_Sean
[2:50] <yggdrasil> but .. i dont want to run it in x
[2:50] <rigid> there's a good chance that it will work if you setup everything correctly
[2:50] <rigid> yggdrasil: why?
[2:50] <yggdrasil> i thought there may be a better way
[2:50] <yggdrasil> running upgrade now.
[2:51] <rigid> i guess you have to since project m uses GL stuff... maybe you can use framebuffer for that but I doubt GL works then
[2:51] <yggdrasil> right.
[2:51] <yggdrasil> your saying i have to what ?
[2:51] <rigid> i guess X is quite efficient on the raspi (?)
[2:52] <rigid> yggdrasil: you have to use X... (i'd bet)
[2:52] <yggdrasil> x is not quite that efficient
[2:52] <yggdrasil> ahh yes
[2:52] <yggdrasil> im gonna play with it once my upgrade is done.
[2:52] <yggdrasil> but i got the soundcard for like 3 bucks
[2:52] <yggdrasil> bought 3 of them.
[2:52] <rigid> well, it depends what you have as alternative... X is _way_ faster than framebuffer+software GL
[2:52] * Siph0n (~Siph0n@ip98-177-157-174.ph.ph.cox.net) has joined #raspberrypi
[2:52] * PiBot sets mode +v Siph0n
[2:53] <yggdrasil> really ?
[2:53] <yggdrasil> i thought framebuffer was fast
[2:53] <yggdrasil> fastest
[2:53] <yggdrasil> oh i see + software gl.
[2:54] <yggdrasil> well even if it gets close.
[2:54] <yggdrasil> its fine.
[2:54] <yggdrasil> but im gonna work on this project.
[2:54] <yggdrasil> for when my band plays out. we can have live response on screen.
[2:54] <yggdrasil> and then i was going to cron up some jobs that switch beetween random slide show and .. audo reactive visualization.
[2:55] * geordie (~geordie@ has joined #raspberrypi
[2:55] * PiBot sets mode +v geordie
[2:58] <WASDx> hermanhermitage: I have now done some free's but I didn't manage to fix the substringing which I will do some other time
[2:58] <WASDx> and the memory-leaking seem to have been lowered to about half the rate :)
[2:58] * victrola` (~decadance@ has joined #raspberrypi
[2:58] * PiBot sets mode +v victrola`
[2:58] * birdontophat (~a@cpc1-aztw5-0-0-cust528.18-1.cable.virginmedia.com) Quit (Remote host closed the connection)
[2:58] <yggdrasil> ugh i have to uninstall all this wifi ap stuff i installed.
[3:03] * kwerk (~pi@c-98-220-131-179.hsd1.in.comcast.net) has joined #raspberrypi
[3:03] * PiBot sets mode +v kwerk
[3:04] * roivas (~scott@97-83-0-56.dhcp.aldl.mi.charter.com) Quit (Remote host closed the connection)
[3:04] <kwerk> hmm
[3:04] * Milos|Netbook (~Milos@pdpc/supporter/student/milos) Quit (Ping timeout: 260 seconds)
[3:06] <hermanhermitage> WASDx: thats an improvement
[3:06] <hermanhermitage> WASDx: i suspect its kilobytes of leakage and not bytes as well
[3:07] * Siph0n (~Siph0n@ip98-177-157-174.ph.ph.cox.net) Quit (Read error: Connection reset by peer)
[3:08] * Siph0n (~Siph0n@ip98-177-157-174.ph.ph.cox.net) has joined #raspberrypi
[3:08] * PiBot sets mode +v Siph0n
[3:08] * Milos|Netbook (~Milos@pdpc/supporter/student/milos) has joined #raspberrypi
[3:08] * PiBot sets mode +v Milos|Netbook
[3:09] <Hexxeh> 240MB memory split ahoy
[3:09] <hermanhermitage> threadx still stable?
[3:09] <WASDx> hermanhermitage: that's probably right. I'm looking at htop's "RES"
[3:10] <WASDx> It says M to largers apps and no suffix to smaller so it must be K
[3:10] <hermanhermitage> Hexxeh: i'm running 256MB/0MB split but the other way
[3:10] <Hexxeh> hermanhermitage: all to the GPU?
[3:10] * kwerk (~pi@c-98-220-131-179.hsd1.in.comcast.net) Quit (Quit: leaving)
[3:10] * Billiard (~jordan@CPE-24-166-151-228.new.res.rr.com) has joined #raspberrypi
[3:10] * PiBot sets mode +v Billiard
[3:11] <hermanhermitage> Hexxeh: yup
[3:11] <Hexxeh> nice
[3:11] * IT_Sean (~IT_Sean@applefritter/IRCStaff/UltimateMacUser1) Quit (Quit: Linkinus - http://linkinus.com)
[3:11] <hermanhermitage> (ie i havent worked out how to wake up the arm yet)
[3:11] <WASDx> I added "//TODO fix this crap" and now I'm going to bed
[3:11] <WASDx> goodnight
[3:11] <hermanhermitage> WASDx: ok have a good one
[3:11] <Hexxeh> hermanhermitage: are you the guy reverse engineering all the boot blob stuff?
[3:11] <hermanhermitage> i think thats a group
[3:11] <SwK> rageface
[3:11] <hermanhermitage> i mainly focus on the instruction set
[3:12] <SwK> anyone in here versed in manually calibrating touchscreens? lol
[3:16] * fatpudding (~fatpuddin@ Quit (Quit: Leaving)
[3:21] * Inoperable (~USER_0@89-67-87-100.dynamic.chello.pl) has joined #raspberrypi
[3:21] * PiBot sets mode +v Inoperable
[3:25] * Siph0n (~Siph0n@ip98-177-157-174.ph.ph.cox.net) Quit (Read error: Connection reset by peer)
[3:25] * Siph0n| (~Siph0n@ip98-177-157-174.ph.ph.cox.net) has joined #raspberrypi
[3:25] * PiBot sets mode +v Siph0n|
[3:25] <Hexxeh> i love how X still runs with the GPU only allocated 16MB :D
[3:27] <hermanhermitage> i wonder if the arm has access to all resources needed
[3:27] <hermanhermitage> so u could run with gpu off and arm hitting the registers
[3:28] <phire> X doesn't use anything from the gpu except for the gramebuffer
[3:29] <hermanhermitage> yes but how much house keeping is the gpu doing to keep things alive
[3:29] <hermanhermitage> or is the hdmi detection etc limited to early start.elf
[3:29] <hermanhermitage> that said X without the gpu is dire
[3:30] <phire> There are a lot of strings for hdmi stuff in loader.bin
[3:30] <hermanhermitage> ok so loader does the config parsing etc
[3:30] <phire> its possibly hdmi has been setup before start.elf has even been setup
[3:30] <hermanhermitage> my assumption was start.elf because i would expect a video service as a threadx task/process
[3:31] <SwK> phire: yes... see the documentation for config.txt
[3:38] <ziltro> 16 MB is huge for video isn't it?
[3:39] * Nemo7 (nemo@nemo.org.org) Quit (Ping timeout: 248 seconds)
[3:39] <ziltro> 1920??1080??32bpp ~= 8MB
[3:40] <ziltro> so in effect 8MB wasted.
[3:43] <SwK> depends on how much layering etc is going on
[3:43] * Gallomimia (~Gallo@ has joined #raspberrypi
[3:43] * PiBot sets mode +v Gallomimia
[3:44] <phire> no layering, thats all done by x in arm space
[3:44] <phire> which is why x is so slow
[3:45] * Nemo7 (nemo@nemo.org.org) has joined #raspberrypi
[3:45] * PiBot sets mode +v Nemo7
[3:45] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Quit: Computer has gone to sleep.)
[3:45] * smw (~smw@unaffiliated/smw) Quit (Remote host closed the connection)
[3:52] * NinjAPT (~NinjAPT@bl6-39-202.dsl.telepac.pt) has joined #raspberrypi
[3:52] * PiBot sets mode +v NinjAPT
[3:52] * NinjAPT (~NinjAPT@bl6-39-202.dsl.telepac.pt) Quit (Client Quit)
[3:54] * Siph0n| (~Siph0n@ip98-177-157-174.ph.ph.cox.net) Quit (Quit: Bye)
[3:54] * Joe_KD2AKU (~Joe@ool-45708bc4.dyn.optonline.net) has joined #raspberrypi
[3:54] * PiBot sets mode +v Joe_KD2AKU
[3:56] * satellit (~satellit@bc106151.bendcable.com) Quit (Quit: Leaving)
[3:57] * EricAndrews (~EricAndre@ Quit (Ping timeout: 244 seconds)
[3:59] * gerrynjr (~gerrynjr@gentoo/user/gerrynjr) has joined #raspberrypi
[3:59] * PiBot sets mode +v gerrynjr
[3:59] * damjan (~damjan@unaffiliated/damjan) has joined #raspberrypi
[3:59] * PiBot sets mode +v damjan
[3:59] * Milos|Netbook (~Milos@pdpc/supporter/student/milos) Quit (Ping timeout: 260 seconds)
[3:59] <SwK> anyone using rasbian with audio over hdmi?
[3:59] <gerrynjr> I am...
[4:00] <gerrynjr> made a rpi laptop using an atrix lapdock
[4:00] <damjan> anyone knows if I can track the status of my order with rs-online?
[4:00] <gerrynjr> way before the hackaday people heard of it
[4:00] <damjan> or after they said "(Despatch expected within 12 week(s))" there's nothing to check for?
[4:00] <gerrynjr> pissed me off when they stole my thunder 8-)
[4:02] <SwK> gerrynjr: grrr I'm trying to get linphone working... any hints on which audiodriver i should be looking at?
[4:03] <gerrynjr> how are you using a mic?
[4:03] <gerrynjr> the pi audio driver is snd-bcm2835
[4:03] <gerrynjr> and with a config switch you can force hdmi audio out
[4:04] <gerrynjr> in /boot/config.txt
[4:04] <gerrynjr> set hdmi_drive=2
[4:04] <gerrynjr> forces hdmi mode, and with it, audio
[4:04] <SwK> yeah I've got that in config.txt
[4:05] <SwK> but when I try to play an audiofile I seem to get a hang and the program trying to play the audio dies
[4:05] <SwK> mic input I'm waiting on a USB sound adapter to get here
[4:05] <SwK> (UPS needs to hurry up)
[4:06] * Milos|Netbook (~Milos@pdpc/supporter/student/milos) has joined #raspberrypi
[4:06] * PiBot sets mode +v Milos|Netbook
[4:06] <gerrynjr> I used to get hangs when the usb supply wasnt supplying enough current
[4:06] <gerrynjr> not anymore though
[4:08] * markbook (~markllama@pool-74-104-180-140.bstnma.fios.verizon.net) Quit (Quit: Leaving.)
[4:10] * Gallomimia (~Gallo@ Quit (Read error: No route to host)
[4:11] * Milos|Netbook_ (~Milos@pdpc/supporter/student/milos) has joined #raspberrypi
[4:11] * PiBot sets mode +v Milos|Netbook_
[4:13] * Obsys (dcda9f82@gateway/web/freenode/ip. has joined #raspberrypi
[4:13] * PiBot sets mode +v Obsys
[4:13] * Milos|Netbook__ (~Milos@pdpc/supporter/student/milos) has joined #raspberrypi
[4:13] * PiBot sets mode +v Milos|Netbook__
[4:14] * Milos|Netbook (~Milos@pdpc/supporter/student/milos) Quit (Ping timeout: 260 seconds)
[4:16] * Milos|Netbook_ (~Milos@pdpc/supporter/student/milos) Quit (Ping timeout: 260 seconds)
[4:19] * Obsys (dcda9f82@gateway/web/freenode/ip. Quit (Quit: Page closed)
[4:19] * Obsys (dcda9f82@gateway/web/freenode/ip. has joined #raspberrypi
[4:19] * PiBot sets mode +v Obsys
[4:21] * birdontophat (~a@cpc1-aztw5-0-0-cust528.18-1.cable.virginmedia.com) has joined #raspberrypi
[4:21] * PiBot sets mode +v birdontophat
[4:32] * birdontophat (~a@cpc1-aztw5-0-0-cust528.18-1.cable.virginmedia.com) Quit (Remote host closed the connection)
[4:33] * JMichaelX (~james@ has joined #raspberrypi
[4:33] * PiBot sets mode +v JMichaelX
[4:36] * Davespice (~quassel@cpc13-haye17-2-0-cust146.haye.cable.virginmedia.com) Quit (Ping timeout: 246 seconds)
[4:37] * Inoperable (~USER_0@89-67-87-100.dynamic.chello.pl) Quit (Quit: Kernel Panic)
[4:39] * VICODAN (VICODAN@bitchx/fedora/vicodan) has joined #raspberrypi
[4:39] * PiBot sets mode +v VICODAN
[4:39] <VICODAN> hiya
[4:44] * dcider (~dcider@d50-92-99-84.bchsia.telus.net) Quit (Quit: Leaving)
[4:44] * dcider (~dcider@d50-92-99-84.bchsia.telus.net) has joined #raspberrypi
[4:44] * PiBot sets mode +v dcider
[4:45] * Wendo (~Wendo@203-97-119-38.cable.telstraclear.net) has joined #raspberrypi
[4:45] * PiBot sets mode +v Wendo
[4:49] * Milos|Netbook__ (~Milos@pdpc/supporter/student/milos) Quit (Ping timeout: 260 seconds)
[4:51] * bryankemp (~bryankemp@cpe-72-182-44-150.austin.res.rr.com) has joined #raspberrypi
[4:51] * PiBot sets mode +v bryankemp
[4:54] * Davespice (~quassel@cpc13-haye17-2-0-cust146.haye.cable.virginmedia.com) has joined #raspberrypi
[4:54] * PiBot sets mode +v Davespice
[4:57] * bryankemp (~bryankemp@cpe-72-182-44-150.austin.res.rr.com) Quit (Remote host closed the connection)
[5:10] * UnderSampled (~UnderSamp@cpe-174-097-224-178.nc.res.rr.com) Quit (Ping timeout: 252 seconds)
[5:11] * Ricksl (~ricksl@c-68-39-89-64.hsd1.nj.comcast.net) Quit (Remote host closed the connection)
[5:12] * UnderSampled (~UnderSamp@cpe-174-097-224-178.nc.res.rr.com) has joined #raspberrypi
[5:12] * PiBot sets mode +v UnderSampled
[5:19] * Big-Al (~TcpSynAck@unaffiliated/big-al) has left #raspberrypi
[5:21] * katom (~tom@p4FC9625C.dip.t-dialin.net) Quit (Ping timeout: 276 seconds)
[5:22] * finnx (~sheppards@99-39-251-198.lightspeed.tukrga.sbcglobal.net) Quit (Read error: Operation timed out)
[5:30] <yggdrasil> http://www.geek.com/articles/chips/odroid-x-is-like-a-quad-core-raspberry-pi-for-129-20120712/
[5:30] <yggdrasil> wow
[5:30] <yggdrasil> bbl
[5:30] * JMichaelX (~james@ Quit (Quit: Konversation terminated!)
[5:35] <sirspazzolot> a pi is safe to run overnight right
[5:35] <sirspazzolot> I'm not gonna burn it out? because I'm too lazy to get up to unplug it
[5:36] <Scepterr> youre fine
[5:36] <heathkid> nice... 11 days from order to shipping/tracking info! Now we're talking!
[5:37] <Scepterr> assuming its not tucked away in asweater drawer
[5:37] <Scepterr> heathkid: where did you order from ?
[5:37] <heathkid> first one took "forever"... second was less than a month... now it's awesome!
[5:37] <heathkid> Newark
[5:38] <Scepterr> i need to get one or two more
[5:38] <heathkid> if you're in the US... Newark is the place!
[5:38] <Scepterr> got an allwinner a10 box coming
[5:39] <Scepterr> yah i ordered my first rpi from newark
[5:39] <DaQatz> What brand
[5:39] <DaQatz> ?
[5:39] <heathkid> once these arrive I'll have four
[5:39] * hermanhermitage (~hermanher@203-206-211-67.perm.iinet.net.au) Quit (Ping timeout: 240 seconds)
[5:40] <heathkid> working on a board that adds a four channel 18-bit ADC
[5:40] <heathkid> that's what I use on my Teensy's
[5:40] <Scepterr> DaQatz: http://www.dealextreme.com/p/h24-mini-android-4-1-network-media-player-w-wi-fi-hdmi-usb-tf-av-black-4gb-143255
[5:40] <DaQatz> Scepterr: Easy to reflash?
[5:41] <Scepterr> yah
[5:41] <DaQatz> Hmm
[5:41] <DaQatz> Not bd price too.
[5:41] <DaQatz> bad*
[5:41] <Scepterr> yep
[5:42] <heathkid> what does that do???
[5:42] * Xark (~K@cpe-50-113-123-229.san.res.rr.com) has joined #raspberrypi
[5:42] * PiBot sets mode +v Xark
[5:42] <Scepterr> runs android 4.0 (ics)
[5:43] <DaQatz> That would be great for testing.
[5:43] <heathkid> nice!
[5:43] <Mr_Sheesh> Scepterr - It will do what, record off cable tv or ? and replay later?
[5:43] <Scepterr> nothing to do with tv watching
[5:44] <Scepterr> just an android box
[5:44] <DaQatz> A10's are nice and cheap
[5:44] <DaQatz> Too bad they are not $25 cheap.
[5:44] <Scepterr> SoC info http://rhombus-tech.net/allwinner_a10/
[5:44] <Scepterr> its got plenty of extras to make up for the cost
[5:44] <DaQatz> Yeah seems so.
[5:45] <Scepterr> cpu/gpu much more robust
[5:45] <DaQatz> But the price point is a killer for education.
[5:46] <Scepterr> same gpu as galaxy s 2
[5:46] <Mr_Sheesh> Scepterr - Just trying to figure out what it DOES do instead of what it doesn't do
[5:46] <Scepterr> its an arm chipset
[5:46] <Scepterr> runs arm based oses
[5:46] <Xark> Scepterr: More robust? But not as fast an RPi GPU, right?
[5:46] <Scepterr> faster
[5:46] <Scepterr> much
[5:46] * heathkid is confused
[5:46] <Scepterr> mali400
[5:46] <Xark> Scepterr: Benchmark link?
[5:47] <heathkid> faster?
[5:47] <SwK> i got my rpi from newark...
[5:47] <Xark> Scepterr: Yeah, from my understanding that is not faster than the GPU in the RPi.
[5:47] <heathkid> Newark ships FAST
[5:47] <SwK> lol
[5:47] <Xark> Scepterr: The CPU is no doubt.
[5:47] <SwK> heathkid: i had a crappy experience with them
[5:47] <heathkid> :( sorry to hear that
[5:48] <SwK> heathkid: when the whole CE thing popped up they were totally useless in getting information
[5:48] <VICODAN> does it run JB?
[5:48] <heathkid> I've bought a LOT of parts from Newark and never had a bad experience
[5:48] <SwK> now mouser those guys rock out
[5:49] <heathkid> is Mouser carrying the rpi now???
[5:49] <SwK> no i wish
[5:49] <heathkid> only Newark in the US.... right?
[5:49] <VICODAN> rpi is out of stock everywhere
[5:49] * Xark had no issues with Element 14 (got two RPis from them).
[5:49] <SwK> Neward is just Element14 in the US
[5:49] * victhor (~victhor@ Quit (Quit: Saindo)
[5:49] <heathkid> Element 14 is Newark
[5:50] <Xark> SwK: Right, and I had no problems with them. :)
[5:50] <heathkid> I've got two already from them and two more on the way with a tracking number
[5:50] <VICODAN> Availability: 0
[5:50] <heathkid> right
[5:50] <Xark> VICODAN: Stock? Just order one and they will send one to you.
[5:50] <VICODAN> word
[5:50] <Xark> (eventually)
[5:50] <VICODAN> i might actually get one for free from Fedora
[5:50] <heathkid> but that was the same when I ordered my last two and they shipped in 11 days
[5:51] <VICODAN> https://fedoraproject.org/openhw2012/details
[5:51] <heathkid> of course they aren't in stock... just place an order
[5:51] <VICODAN> err wrong link
[5:51] <heathkid> you should have it in about 2 weeks
[5:51] <VICODAN> https://fedoraproject.org/openhw2012
[5:52] <SwK> heathkid: is newwark finally caught up?
[5:52] <VICODAN> i put in for a rpi
[5:52] <VICODAN> we'll see if i get one.
[5:52] <heathkid> or 4 or 6 or 8 or 10.... but they are supposed to be caught up now.
[5:52] * SgrA (~ashutosh@unaffiliated/sgra) Quit (Ping timeout: 276 seconds)
[5:52] <heathkid> SwK: they seem to be
[5:53] <heathkid> but expect about 2 weeks
[5:53] <heathkid> or pay $150 on eBay
[5:53] <heathkid> hhe
[5:53] <heathkid> heh
[5:53] <heathkid> hopefully with this last shipment that crap has stopped
[5:54] <SwK> now that I got my display and touch screen issues worked out hopefully I can get the sound input worked out ina day or 2 and i'll be happy
[5:55] <heathkid> what touch screen are you using?
[5:55] <SwK> lilliput 867
[5:55] <heathkid> rpi friendly?
[5:56] <SwK> yeah
[5:56] <heathkid> link?
[5:56] <heathkid> please don't make me google at almost midnight.... :)
[5:56] <SwK> digging up the amazon link
[5:56] <SwK> lol thats where I got it
[5:56] <heathkid> awesome
[5:56] <SwK> http://www.amazon.com/gp/product/B003H34O22/ref=oh_details_o00_s00_i00
[5:56] <heathkid> THANK YOU!
[5:57] * theos (~theos@unaffiliated/theos) has joined #raspberrypi
[5:57] * PiBot sets mode +v theos
[5:57] <theos> o/
[5:57] <heathkid> OUCH!
[5:57] <heathkid> $$$$
[5:57] <theos> ?
[5:57] <SwK> its gotta resistive touch screen, USB for that part... you need to make a few adjustments but it works outta the box (i didnt have to load anything special on either the debian or the rasbian images)
[5:57] <SwK> yeah its $200 heh
[5:58] <SwK> thats cause of the touch screen tho
[5:58] <SwK> touch screens add $$$$
[5:58] <SwK> the base LCD w/out the touch array is probably 1/2 the price lol
[5:58] <heathkid> why when you can buy a $89 GPS with a touch screen
[5:58] <SwK> you know i dont get that either
[5:58] <heathkid> oh, it's an 8"
[5:58] <SwK> yeah its 8"
[5:59] <heathkid> HUGE
[5:59] <SwK> i'm using it on a phone project heh
[5:59] <heathkid> might as well buy a tablet
[5:59] <SwK> nah
[6:00] <heathkid> I don't need an 8" screen for anything I'm doing
[6:00] <heathkid> 3.5" would be fine
[6:00] <SwK> this is for a video phone project
[6:00] <heathkid> ah
[6:01] <heathkid> a $200+ screen and a $30 processor?
[6:01] <SwK> and a western electric 2500 phone :P
[6:01] <heathkid> :P
[6:01] <SwK> http://www.provantage.com/cortelco-250044-voe-20mc~7CTLC02Q.htm <--- that
[6:02] <SwK> turning one of those into a video phone
[6:02] * Joe_KD2AKU (~Joe@ool-45708bc4.dyn.optonline.net) Quit (Quit: Leaving)
[6:02] <heathkid> go for the porcelain phone
[6:02] <SwK> i've already done audio conferencing on rpi with freeswitch
[6:05] <Jungle-Boogie> SwK, what distro did you use with fs?
[6:05] <Jungle-Boogie> what codec was it running? how many concurrent calls?
[6:06] <SwK> Jungle-Boogie: debian, G711u and I only did like 3 people
[6:06] <SwK> I havent tried rasbian yet
[6:07] <Jungle-Boogie> i'm wanting to run fs on fedora without X
[6:07] <SwK> you dont need X to run fs on fedora
[6:07] * theos (~theos@unaffiliated/theos) has left #raspberrypi
[6:07] <Jungle-Boogie> but its not stable enough yet
[6:07] <SwK> freeswitch has 0 dependancies on X
[6:07] <Jungle-Boogie> yes, that's right
[6:07] <SwK> check my host mask :P
[6:08] <SwK> if I can get this 2500/rpi project dont in the next week or so I'm going to present it at the annual FS Dev con
[6:08] <Jungle-Boogie> dev in the house!
[6:09] <Jungle-Boogie> awesome!
[6:09] <Jungle-Boogie> i love telephony stuff
[6:14] <sirspazzolot> golly gee I wish I had fun ideas for things to do with my pi
[6:15] <sirspazzolot> I was thinking of gutting an old gameboy and replacing the innards with an rpi
[6:15] <sirspazzolot> since they can both be powered by 4 AAs
[6:15] <sirspazzolot> but replacing the screen wouldn't be practical
[6:16] <Jungle-Boogie> i don't know enough about games to try that out
[6:16] <Xark> sirspazzolot: Perhaps not practical, but doable -> http://www.adafruit.com/products/910 :)
[6:16] <sirspazzolot> I don't know much about games either, that's why I still play an original gameboy ._.
[6:17] * dcider (~dcider@d50-92-99-84.bchsia.telus.net) Quit (Quit: Leaving)
[6:17] <Jungle-Boogie> maybe you could get a bluetooth dongle thing and install bluelog on the pi to learn about bluetooth devices near the pi
[6:17] <Jungle-Boogie> http://www.digifail.com/software/bluelog.shtml
[6:20] <sirspazzolot> doesn't everyone hate bluetooth or something
[6:20] <sirspazzolot> I hear people make fun of it
[6:20] <sirspazzolot> anyway, I have a bt dongle so maybe I'll do that
[6:20] <sirspazzolot> I heard someone was making a pentesting distro for rpi lolz. maybe I could check that out
[6:21] <Jungle-Boogie> http://pwnieexpress.com/blogs/news/6156890-raspberry-pwn-a-pentesting-release-for-the-raspberry-pi
[6:21] <sirspazzolot> also, the original gameboy's screen was 2.6" diagonally but there's a link to a 2.5" screen that might work :D
[6:21] * VICODAN is now known as dan408
[6:22] <heathkid> link?
[6:22] <heathkid> adafruit?
[6:22] <Xark> sirspazzolot: Hehe, yes, several sizes. I guessed (I have a GB that I bought used with Tetris, but I never really used it).
[6:22] <Xark> heathkid: Yes -> http://www.adafruit.com/category/105
[6:22] <sirspazzolot> yes adafruit. it was a related product thing http://www.adafruit.com/products/912
[6:23] <sirspazzolot> xark haha I play pokemon yellow on mine during downtime at work (ice cream shops can get slow)
[6:23] <Xark> sirspazzolot: Cool. I believe the emulators work nicely for GB.
[6:24] * Syliss (~Syliss@adsl-99-23-241-61.dsl.chi2ca.sbcglobal.net) has joined #raspberrypi
[6:24] * PiBot sets mode +v Syliss
[6:24] <sirspazzolot> in my head where things magically work perfectly I'd be able to use both the built-in battery port and the game reader
[6:25] <sirspazzolot> and then have an option for roms or (s)nes emulation too since they have the same number of buttons
[6:25] <sirspazzolot> oh wait snes didn't
[6:25] <sirspazzolot> D: maybe I could work around that
[6:26] * Syliss (~Syliss@adsl-99-23-241-61.dsl.chi2ca.sbcglobal.net) Quit (Client Quit)
[6:27] <sirspazzolot> well I guess I'm gonna sleep. g'night all
[6:27] * sirspazzolot (~Matt@c-68-61-150-222.hsd1.mi.comcast.net) Quit (Quit: Life beckons)
[6:27] <SwK> so... speaking of hax... for power input to the rpi other then the micro-usb... wiring 5vdc to TP1 & TP2 acceptable? or is that behind any regulation on board?
[6:28] * oldtopman (~oldtopman@unaffiliated/oldtopman) Quit (Quit: *pouf*)
[6:29] <Xark> SwK: From what I have read there is a bit of debate about that. Specifically if you need to remove the currently regulator to do that properly.
[6:29] <Xark> SwK: Also, I think the GPIO pins are easier than TP1/TP2.
[6:29] <SwK> yeah I was trying to find any threads on that
[6:30] <SwK> i would prefer to leave the GPIO pins open for other things...
[6:31] * ReggieUK (~ReggieUK@5aca5630.bb.sky.com) Quit ()
[6:31] <Xark> SwK: You might be interested in http://hackaday.com/2012/06/30/raspberry-pi-power-regulator-transplant-reduces-power-consumption/ or http://hackaday.com/2012/07/07/another-switch-mode-regulator-swap-for-the-raspberry-pi/
[6:31] * Milos|Netbook (~Milos@pdpc/supporter/student/milos) has joined #raspberrypi
[6:31] * PiBot sets mode +v Milos|Netbook
[6:33] <SwK> thats interesting
[6:35] <phire> There is a large power accross the the microusb power input (labled c2)
[6:35] <phire> apparently its best to connect power as close to that as possible
[6:36] <SwK> yeah thats probably before the regulator
[6:36] <SwK> i guess I should dig out the schematics they have published and look at that
[6:38] <SwK> i have a requirement for 12vdc and 5vdc on the project i am working on so losing one of the wall warts would be a good thing
[6:39] <SwK> I dont have so tight of power requirements as the hackaday guys are looking to achieve tho
[6:40] <phire> might be best to just add a 5v switching regulator to the mix
[6:41] <SwK> hey a simple voltage divider between the 12vdc and the 5v input on RG2 might just work
[6:42] <phire> stay away from voltage deviders
[6:42] <phire> *dividers
[6:42] <SwK> you know
[6:42] <SwK> i might have osmething here that will already work
[6:42] <SwK> lol
[6:43] <phire> at the very least go for a voltage regulator
[6:43] <SwK> i have a old external HDD that takes 110v s
[6:43] <SwK> that should have a 12vdc and 5vdc output for the hdd drive
[6:43] * thrawed (t@unaffiliated/thrawed) Quit (Read error: Connection reset by peer)
[6:44] <SwK> i would have to check the current handling on it tho
[6:44] <phire> something like a 7805
[6:44] <phire> http://en.wikipedia.org/wiki/78xx
[6:44] <SwK> 7805 is pretty much overkill here
[6:45] <SwK> RG2 is a linear regulator ala 78xx series
[6:46] <Mr_Sheesh> They do make switchers that're pin-compatible with a 7805 - Unsolder and drop one in
[6:47] * pretty_function (~iHackiOS@ has joined #raspberrypi
[6:47] * PiBot sets mode +v pretty_function
[6:50] <SwK> true that, but you cant feed 110vac into a 78xx heh
[6:50] <Xark> SwK: I think 7805 may not be a good idea dropping from 12v to 5v as it would get hot (and waste power).
[6:51] <phire> switching regulators all the way
[6:51] <Mr_Sheesh> Xark, the 7805 switcher modules work well tho :)
[6:52] * pretty_function (~iHackiOS@ Quit (Remote host closed the connection)
[6:52] <SwK> Xark: I was thinking of snatching the switching psu outta an old external hdd case
[6:52] <Xark> Mr_Sheesh: Hmm. Yes, that may be just what you need for this.
[6:52] <SwK> one of those that has the 12vdc and 5vdc outs... should provide sufficient current to both the rpi and the lcr
[6:52] <Mr_Sheesh> I'd bet mouser has those; I know digikey does
[6:53] <SwK> yeah just finding the right partno
[6:53] <SwK> i gotta dig in the junk closet in the AM
[6:53] * pretty_function (~iHackiOS@ has joined #raspberrypi
[6:53] * PiBot sets mode +v pretty_function
[6:53] <SwK> I'm just sure my GF would love it if I woke up my lil boy just to find that thing lol
[6:55] <Stoob> lol
[6:57] <SwK> here we go
[6:57] <SwK> something like this would work
[6:57] <SwK> http://www.mouser.com/ProductDetail/Mean-Well/PD-25A/?qs=V9a8iPeg90y%2fro8Ct3iczlVOpjevFvvs542Zpgo9J30%3d
[6:57] <SwK> still a little pricy I think tho
[6:58] <SwK> lol and that was the cheapest one from mouser
[6:58] <GriffenJBS> need more power? http://www.seeedstudio.com/depot/cptc5-power-converter-12v24v-switch-to-5v-p-1066.html
[6:59] <Mr_Sheesh> SwK - Look at http://www.mouser.com/Power/DC-DC-Converters/_/N-5gc7?Keyword=7805&FS=True
[6:59] <Mr_Sheesh> Under $10 7805 drop-in switcher
[6:59] <Mr_Sheesh> er switchers
[6:59] <GriffenJBS> 5V @ 5A, 25W output for your pi
[7:00] <SwK> I dont thing I really need that much power for the pi
[7:00] <SwK> i think the LCD probably draws more
[7:00] <GriffenJBS> more power and cowbell
[7:00] <SwK> THIS ONE GOES TO 11!!
[7:00] <SwK> oh wow
[7:00] <GriffenJBS> think 1 pi, plus 9 high power usb devices
[7:01] <SwK> this LCD has less power consumption then I thought
[7:01] <SwK> 8W @ 12vdc
[7:01] <SwK> thats what ~700mA
[7:01] <GriffenJBS> 666mA
[7:02] <Mr_Sheesh> There're ones that'll handle 1A@5V, just not seeing them tonight; Maybe digikey
[7:02] <SwK> the one i linked from mouser would probably fill the bill 2 outputs 5vdc @ 2.1A and 12vdc @ 1.2A
[7:03] <SwK> thats pretty good I think
[7:04] <SwK> and its about the same footprint as the rpi
[7:08] * yehnan (~yehnan@114-42-71-246.dynamic.hinet.net) has joined #raspberrypi
[7:08] * PiBot sets mode +v yehnan
[7:09] * MauveGnome (~MauveGnom@host-92-21-153-119.as13285.net) has left #raspberrypi
[7:23] * cccyRegeaneAway is now known as cccyRegeaneWolfe
[7:23] * Weaselweb (~quassel@2001:6f8:9e4:123:21a:92ff:fe5a:1409) has joined #raspberrypi
[7:23] * PiBot sets mode +v Weaselweb
[7:25] * DrLuke (~Im@p57926571.dip.t-dialin.net) Quit (Ping timeout: 265 seconds)
[7:31] * yehnan (~yehnan@114-42-71-246.dynamic.hinet.net) Quit (Quit: Leaving)
[7:41] * ruzarzh (~ruzarzh@bearstech/ayeuu) Quit (Read error: Connection reset by peer)
[7:41] * bluefirecorp (~bluefirec@cpe-98-30-233-211.woh.res.rr.com) Quit (Ping timeout: 246 seconds)
[7:45] <SwK> so linphone will work
[7:45] <SwK> audio in and out w/out to bad of a delay G711u on rasbian using linphone installed from the repo
[7:46] <SwK> I'm guessing the build of it couple probably be better as it was using about 80% of the CPU for one call lol
[7:59] * ruzarzh (~ruzarzh@bearstech/ayeuu) has joined #raspberrypi
[7:59] * PiBot sets mode +v ruzarzh
[7:59] * ruzarzh (~ruzarzh@bearstech/ayeuu) Quit (Read error: Connection reset by peer)
[8:00] * the_real_crimper (the_real_c@cpe-98-154-91-166.socal.res.rr.com) has joined #raspberrypi
[8:00] * PiBot sets mode +v the_real_crimper
[8:04] * Milos|Netbook (~Milos@pdpc/supporter/student/milos) Quit (Ping timeout: 260 seconds)
[8:05] * reider59 (~reider59@cpc4-warr5-0-0-cust657.1-1.cable.virginmedia.com) has joined #raspberrypi
[8:05] * PiBot sets mode +v reider59
[8:12] * ebswift (kvirc@ Quit (Ping timeout: 252 seconds)
[8:17] * UnderSampled (~UnderSamp@cpe-174-097-224-178.nc.res.rr.com) Quit (Read error: Connection reset by peer)
[8:24] * the_cuckoo (~charlie@d54C51FD6.access.telenet.be) Quit (Ping timeout: 255 seconds)
[8:25] <magnus_> anyone know why all lines on freenode are prefixed with a + sign?
[8:25] <sam> all lines of what?
[8:25] <sheppard> because everyone has voice?
[8:25] <magnus_> sam, all spoken chat
[8:25] <sheppard> 00:23 <+magnus_> anyone know why all lines on freenode are prefixed with a + sign?
[8:25] <sam> ah, what sheppard says then
[8:25] <sheppard> like that?
[8:26] <magnus_> <sam> +all lines of what?
[8:26] <SwK> it means if they +m the channel you can still talk
[8:26] <SwK> this is useful for censoring trolls
[8:26] <magnus_> it's very annoying, because it makes my irc client not being able to detect URLs so i can click them. for example +http://someurl/ is not clickable
[8:27] <reider59> Don`t know if I turned mine off or if they just don`t show, but I don`t see them now in XChat
[8:27] <sam> that's your client's fault then, because my lines appear like what sheppard pasted
[8:27] <sam> 08:24 <+magnus_> it's very annoying
[8:27] <magnus_> i only see it on the freenode network
[8:27] <sheppard> are you using a bnc?
[8:27] <magnus_> yes, i am.. however, im using the same bnc for all networks
[8:27] <sam> magnus_: it's not freenode, it's what the ops decide on each specific channel
[8:28] <sheppard> is your prefix set differently for freenode?
[8:28] <magnus_> sheppard, i was not aware that you could configure prefixes?
[8:29] <magnus_> so i guess no, unless freenode defaults to a unusual prefix
[8:32] <SwK> the + infront of nicks is an IRC standard thing
[8:32] <SwK> +nick means voiced, @nick means op'd
[8:32] <magnus_> yeah, but this isn't + infront of nicks, it's + infront of chats
[8:33] * ruzarzh (~ruzarzh@bearstech/ayeuu) has joined #raspberrypi
[8:33] * PiBot sets mode +v ruzarzh
[8:33] * ruzarzh (~ruzarzh@bearstech/ayeuu) Quit (Read error: Connection reset by peer)
[8:35] * Lupinedk is now known as lupinedk
[8:38] * cccyRegeaneWolfe is now known as cccyRegeaneAway
[8:40] <sam> magnus_: your client does that
[8:41] <SwK> thats a screwed up client
[8:41] <SwK> what client are you using?
[8:41] <magnus_> xchat 2.8.8
[8:44] * Sakyl (~Sakyl@95-91-160-158-dynip.superkabel.de) has joined #raspberrypi
[8:44] * PiBot sets mode +v Sakyl
[8:45] * tech2077 (~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net) has joined #raspberrypi
[8:45] * PiBot sets mode +v tech2077
[8:47] * Sakyl (~Sakyl@95-91-160-158-dynip.superkabel.de) Quit (Client Quit)
[8:47] * Sakyl (~Sakyl@95-91-160-158-dynip.superkabel.de) has joined #raspberrypi
[8:47] * PiBot sets mode +v Sakyl
[8:47] <Simon-> magnus_: don't turn on the identify-message capability
[8:48] <Simon-> https://tools.ietf.org/html/draft-mitchell-irc-capabilities-01
[8:48] <Simon-> reider59: does your keyboard not have a ' key?
[8:48] <reider59> ???
[8:50] * ruzarzh (~ruzarzh@bearstech/ayeuu) has joined #raspberrypi
[8:50] * PiBot sets mode +v ruzarzh
[8:52] * Tuxuser is now known as XeCrypt
[8:57] * corewillem (~corewille@ip-62-235-179-198.dsl.scarlet.be) has joined #raspberrypi
[8:57] * PiBot sets mode +v corewillem
[8:57] <corewillem> hello
[8:57] <corewillem> someone knows good things to do with my pi ?
[8:57] <corewillem> (no mediacenter)
[8:58] <magnus_> corewillem, good things?
[8:58] * jzu (~jzu@ has joined #raspberrypi
[8:58] <corewillem> nice things :)
[8:58] * PiBot sets mode +v jzu
[8:58] <corewillem> some ideas what i can do with ith .....;
[8:58] * ruzarzh (~ruzarzh@bearstech/ayeuu) Quit (Read error: Connection reset by peer)
[8:58] <corewillem> (sorry for bad english)
[8:59] <magnus_> you could turn it into a PirateBox: http://wiki.daviddarts.com/PirateBox
[8:59] <corewillem> i wil take a look
[9:00] <corewillem> i dont have wifi for that
[9:02] <corewillem> other ideas
[9:02] <magnus_> well, why did you get a rpi if you have no use for it? :)
[9:03] <corewillem> i wanted to do a media center
[9:03] <corewillem> but that doesn't work
[9:03] <magnus_> why not?
[9:03] <corewillem> i dont know
[9:03] <corewillem> debian works great
[9:03] <corewillem> but openelec and raspbmc noth
[9:05] * x12 (~x12@host-87-75-138-84.dslgb.com) has joined #raspberrypi
[9:05] * PiBot sets mode +v x12
[9:05] <x12> What is the best debian to put on the rPi
[9:05] <x12> Can someone direct me?
[9:05] * x12 is now known as tcial
[9:06] * tcial (~x12@host-87-75-138-84.dslgb.com) Quit (Client Quit)
[9:06] * tcial (~x12@host-87-75-138-84.dslgb.com) has joined #raspberrypi
[9:06] * PiBot sets mode +v tcial
[9:06] <SwK> x12 raspberrypi.org follow the download link... rasbian is a custom debian based build just for raspberrypi and yes apt-get still works
[9:06] <tcial> Nice!
[9:06] <tcial> Thanks
[9:07] * gabriel9|work (~quassel@ has joined #raspberrypi
[9:07] * PiBot sets mode +v gabriel9|work
[9:08] * tcial (~x12@host-87-75-138-84.dslgb.com) Quit (Client Quit)
[9:12] * humbolt (~elias@178-191-245-38.adsl.highway.telekom.at) has joined #raspberrypi
[9:12] * PiBot sets mode +v humbolt
[9:12] * deam (~deam@houseagent/owner/deam) Quit (Ping timeout: 265 seconds)
[9:13] * Aldasa (~Aldasa@unaffiliated/aldasa) has joined #raspberrypi
[9:13] * PiBot sets mode +v Aldasa
[9:15] * [SLB] (~slabua@unaffiliated/slabua) Quit (Quit: Close the world, Open the nExt)
[9:17] * ruzarzh (~ruzarzh@bearstech/ayeuu) has joined #raspberrypi
[9:17] * PiBot sets mode +v ruzarzh
[9:18] * ruzarzh (~ruzarzh@bearstech/ayeuu) Quit (Read error: Connection reset by peer)
[9:25] * NullMoogleCable (~NullMoogl@cpe-66-66-112-9.rochester.res.rr.com) Quit (Ping timeout: 248 seconds)
[9:37] * ivan`` (~ivan@unaffiliated/ivan/x-000001) Quit (Ping timeout: 265 seconds)
[9:39] * bluefirecorp (~bluefirec@cpe-98-30-233-211.woh.res.rr.com) has joined #raspberrypi
[9:39] * PiBot sets mode +v bluefirecorp
[9:40] * ivan`` (~ivan@unaffiliated/ivan/x-000001) has joined #raspberrypi
[9:40] * PiBot sets mode +v ivan``
[9:40] * bluefirecorp (~bluefirec@cpe-98-30-233-211.woh.res.rr.com) Quit (Read error: Connection reset by peer)
[9:40] * Xuu (core@2001:470:bcb9:0:254a:69e7:c88f:195e) Quit (Quit: No Ping reply in 180 seconds.)
[9:41] * bluefirecorp (~bluefirec@cpe-98-30-233-211.woh.res.rr.com) has joined #raspberrypi
[9:41] * PiBot sets mode +v bluefirecorp
[9:41] * Novae|Zzz is now known as Novae
[9:42] * SIFTU (~SIFTU@unaffiliated/siftu) Quit (Ping timeout: 250 seconds)
[9:43] * stealth`` (~diego@HSI-KBW-134-3-145-166.hsi14.kabel-badenwuerttemberg.de) has joined #raspberrypi
[9:43] * PiBot sets mode +v stealth``
[9:44] * Holden (~holden@unaffiliated/holdenc) has joined #raspberrypi
[9:44] * PiBot sets mode +v Holden
[9:44] * Obsys (dcda9f82@gateway/web/freenode/ip. has left #raspberrypi
[9:46] * NullMoogleCable (NullMoogle@cpe-66-66-112-9.rochester.res.rr.com) has joined #raspberrypi
[9:46] * PiBot sets mode +v NullMoogleCable
[9:47] * SIFTU (~SIFTU@unaffiliated/siftu) has joined #raspberrypi
[9:47] * PiBot sets mode +v SIFTU
[9:48] * Meatballs|Away is now known as Meatballs
[9:48] * mingdao (~mingdao@unaffiliated/mingdao) Quit (Ping timeout: 250 seconds)
[9:49] * mingdao (~mingdao@unaffiliated/mingdao) has joined #raspberrypi
[9:49] * PiBot sets mode +v mingdao
[9:52] * ruzarzh (~ruzarzh@bearstech/ayeuu) has joined #raspberrypi
[9:52] * PiBot sets mode +v ruzarzh
[9:54] * ruzarzh (~ruzarzh@bearstech/ayeuu) Quit (Read error: Connection reset by peer)
[9:54] * Meatballs (~Meatballs@unaffiliated/meatballs) Quit (Read error: Connection reset by peer)
[9:54] * kvarley (~kevin@unaffiliated/kvarley) has joined #raspberrypi
[9:54] * PiBot sets mode +v kvarley
[9:55] * Meatballs (~Meatballs@unaffiliated/meatballs) has joined #raspberrypi
[9:55] * PiBot sets mode +v Meatballs
[10:03] * namfonos (~boris@108-194-22-242.lightspeed.cicril.sbcglobal.net) Quit (Read error: Connection reset by peer)
[10:03] * _deXter_ (~dexter@125-237-88-246.jetstream.xtra.co.nz) has joined #raspberrypi
[10:03] * PiBot sets mode +v _deXter_
[10:05] * namfonos (~boris@108-194-22-242.lightspeed.cicril.sbcglobal.net) has joined #raspberrypi
[10:05] * PiBot sets mode +v namfonos
[10:07] * lupinedk is now known as Lupinedk
[10:08] * WillDuckworth (c2498332@gateway/web/freenode/ip. has joined #raspberrypi
[10:08] * PiBot sets mode +v WillDuckworth
[10:12] * ruzarzh (~ruzarzh@bearstech/ayeuu) has joined #raspberrypi
[10:12] * PiBot sets mode +v ruzarzh
[10:12] * ruzarzh (~ruzarzh@bearstech/ayeuu) Quit (Read error: Connection reset by peer)
[10:16] * tcial (~tcial@ has joined #raspberrypi
[10:16] * PiBot sets mode +v tcial
[10:17] * corewillem (~corewille@ip-62-235-179-198.dsl.scarlet.be) Quit (Read error: Operation timed out)
[10:19] * ksx4system (~ksx4syste@ Quit (Remote host closed the connection)
[10:27] * mikep (c2498332@gateway/web/freenode/ip. has joined #raspberrypi
[10:27] * PiBot sets mode +v mikep
[10:29] * shellac (~pldms@cpc6-aztw25-2-0-cust83.aztw.cable.virginmedia.com) has joined #raspberrypi
[10:29] * PiBot sets mode +v shellac
[10:31] * ruzarzh (~ruzarzh@bearstech/ayeuu) has joined #raspberrypi
[10:31] * PiBot sets mode +v ruzarzh
[10:31] * ruzarzh (~ruzarzh@bearstech/ayeuu) Quit (Read error: Connection reset by peer)
[10:34] * Holden (~holden@unaffiliated/holdenc) Quit (Quit: Ex-Chat)
[10:39] * [SLB] (~slabua@unaffiliated/slabua) has joined #raspberrypi
[10:39] * PiBot sets mode +v [SLB]
[10:40] * C-M (~c_m@wikimedia/C-M) has joined #raspberrypi
[10:40] * PiBot sets mode +v C-M
[10:44] * wiiguy (~fake@unaffiliated/wiiguy) has joined #raspberrypi
[10:44] * PiBot sets mode +v wiiguy
[10:49] * ruzarzh (~ruzarzh@bearstech/ayeuu) has joined #raspberrypi
[10:49] * PiBot sets mode +v ruzarzh
[10:49] * ruzarzh (~ruzarzh@bearstech/ayeuu) Quit (Read error: Connection reset by peer)
[10:54] <booyaa> greetings
[10:55] * phantoxe (~destroy@a95-92-89-24.cpe.netcabo.pt) has joined #raspberrypi
[10:55] * PiBot sets mode +v phantoxe
[10:56] <booyaa> i wonder how long before we'll see 2nd rpi on ebay that aren't for silly prices
[10:57] <booyaa> i think there's a lot of people who bought them because they liked the idea, but don't really know what to do with them
[10:58] <buZz> hehe
[10:58] <buZz> i saw someone who was selling both an RS and a farnell ordered raspi
[10:58] <buZz> unused
[10:58] <buZz> for 200% markup
[11:00] <booyaa> give it time, the rarity value will drop
[11:00] * booyaa will be there to pick up all the cheap cheap rpis
[11:00] <booyaa> then my plan to take over the world will commence
[11:04] * rabbidrabbit (~rabbidrab@unaffiliated/rabbidrabbit) has joined #raspberrypi
[11:04] * PiBot sets mode +v rabbidrabbit
[11:09] * ruzarzh (~ruzarzh@bearstech/ayeuu) has joined #raspberrypi
[11:09] * PiBot sets mode +v ruzarzh
[11:09] * ruzarzh (~ruzarzh@bearstech/ayeuu) Quit (Read error: Connection reset by peer)
[11:15] * mentar (~mentar@94-195-22-204.zone9.bethere.co.uk) has joined #raspberrypi
[11:15] * PiBot sets mode +v mentar
[11:17] * Lord_DeathMatch (Lord_Death@CPE-60-229-178-247.lns10.ken.bigpond.net.au) has joined #raspberrypi
[11:17] * PiBot sets mode +v Lord_DeathMatch
[11:23] <booyaa> mikma++ thanks again for your wlan writeup haven't uploaded to the wiki yet, but it works like a treat :D
[11:23] <Habbie> does anybody know when the book is coming out?
[11:23] <booyaa> which one?
[11:24] <Habbie> http://www.amazon.co.uk/Raspberry-User-Guide-Eben-Upton/dp/111846446X/ref=sr_1_1?ie=UTF8&qid=1343294527&sr=8-1
[11:24] <Habbie> that one
[11:24] <booyaa> september?
[11:24] <Habbie> foundation has said the date there is wrong
[11:24] <booyaa> i know the ??4 cut down version is out :)
[11:25] <Habbie> as an ebook, right
[11:30] <Habbie> 'soon' http://freelance.halfacree.co.uk/2012/07/meet-the-raspberry-pi/
[11:30] <Habbie> blogpost is from yesterday
[11:31] <buZz> 114 pages about putting linux on SD? O_o
[11:32] <TheBrayn> who in his right mind would buy this?
[11:33] <Habbie> lots of stuff about soldering in there too, presumably
[11:33] <Habbie> in the user guide, not in 'meet the'
[11:33] <Habbie> 114 pages for 'meet the' sounds a bit steep, yes ;)
[11:34] * XeCrypt is now known as Tuxuser
[11:39] <buZz> ;)
[11:40] * mythos (~mythos@unaffiliated/mythos) Quit (Read error: Operation timed out)
[11:43] * ruzarzh (~ruzarzh@bearstech/ayeuu) has joined #raspberrypi
[11:43] * PiBot sets mode +v ruzarzh
[11:45] <Lartza> Gosh... why
[11:45] * tcial (~tcial@ Quit (Read error: Connection reset by peer)
[11:45] <Lartza> TypeError: in method 'shiftOut', argument 4 of type 'uint8_t'
[11:46] <zarac> What's a good image viewer? Perhaps one that utilizes the GPU? (i've tried feh, fbi and fim).
[11:46] <zarac> (raspbian package preferred)
[11:47] <Lartza> I can't seem to shiftOut a variable
[11:47] <muep> use of GPU seems to somewhat hog the whole display for a single application
[11:47] <booyaa> mikma: http://elinux.org/RPi_Ralink_WLAN_devices
[11:48] <booyaa> mikma: i only tweaked the title slightly to make it a bit more generic
[11:49] <friggle> Habbie: it could really do with at least a TOC so you can see what's in it
[11:49] <Habbie> friggle, agreed!
[11:54] <Lartza> Getting TypeError: in method 'shiftOut', argument 4 of type 'uint8_t'
[11:54] <Lartza> http://paste.pound-python.org/show/24308/
[11:57] * tombaugh (~pieter@ has joined #raspberrypi
[11:57] * PiBot sets mode +v tombaugh
[11:59] <sam> is anyone cross-building for the rPi from a Debian host? I'm wondering if there is a way to use dpkg's multiarch features to cross-install and cross-build software for the rPi
[11:59] <tombaugh> Hi all... I'm trying to SSH to my pi but I get "read from socket failed, connection reset by peer". Any thoughts? sshd is running
[11:59] <gordonDrogon> morning chaps.
[12:00] <sam> tombaugh: "ssh -v" will give more information
[12:00] <gordonDrogon> Lartza, can't you just say Pins = 2 ?
[12:01] <Lartza> gordonDrogon, ?
[12:01] <gordonDrogon> Lartza, instead of Pins = hex (int(pins, 2))
[12:01] <gordonDrogon> pins is a variable, I guess - you want to set it to 2, so pins = 2 ... ?
[12:01] <Lartza> pins = "01000000" before that
[12:01] <Lartza> or any 8 digit binary actually
[12:01] <gordonDrogon> so pins = 0b01000000
[12:01] <Lartza> But...
[12:02] <gordonDrogon> if python supports that, if not, try pins = 0x40
[12:02] <Lartza> It's anything between 0 to 60
[12:02] <gordonDrogon> Lartza, ah, your converting decimal to binary.
[12:02] <Lartza> That is inside a fucntion that receives the binary of the leds that should be lit
[12:02] <Lartza> Trying to convert the binary to hex but the shiftOut fucntion doesn't take a string
[12:02] <gordonDrogon> just write the number - so if you write 1, then it will clock out 00000001
[12:03] <gordonDrogon> if the time is 32, then it will clock out 00100000
[12:03] <gordonDrogon> and so on.
[12:03] <gordonDrogon> just send the decimal number to the shift register.
[12:03] <Lartza> Really? :O
[12:03] <gordonDrogon> why not ...
[12:03] <Lartza> But it ...
[12:03] <Lartza> hexadecimal?
[12:03] <Lartza> 1 = 80 in hex now I think
[12:03] <Lartza> Oh wait no
[12:03] <gordonDrogon> the shiftOut operation will convert it into binary - that's what it does.
[12:04] <gordonDrogon> try it an see..
[12:04] <gordonDrogon> if you shiftOut 42, then it will will set the 8 LEDs as: 00101010
[12:05] <gordonDrogon> although you only need 6 for a 0-59 indicator, however...
[12:05] <Lartza> It di dnot work
[12:05] <Lartza> *did not
[12:05] <gordonDrogon> just write a program that shifts out 0, then waits, then 1, then waits, then 2, etc. to make sure it's working.
[12:05] <Lartza> I fed it the seconds as decimal, no led's light up at all
[12:06] <gordonDrogon> Lartza, sounds like there is a basic interfacing issue then.
[12:06] <Lartza> I can ry it out on the itneractive python shell
[12:06] <gordonDrogon> ok
[12:07] <tombaugh> sam: not really, I think. http://pastebin.com/94Evfrhq
[12:07] <gordonDrogon> I've got some work that's going to keep me away from my desk for a bit so I might not be online, but email me if you need to.
[12:07] * MrZYX|off is now known as MrZYX
[12:07] <gordonDrogon> gordon @ pi0: uptime
[12:07] <gordonDrogon> 11:05:38 up 7 days, 17:05, 3 users, load average: 0.00, 0.01, 0.05
[12:07] <gordonDrogon> longest yet :)
[12:07] <Lartza> gordonDrogon, Shifting out 15, no led's light up
[12:08] <gordonDrogon> Lartza, ok - that ought to light up 00001111
[12:08] <gordonDrogon> Lartza, so work on the hardware interface...
[12:08] <Lartza> Oh hang on
[12:08] <sam> tombaugh: it at least indicates that the server has time to send its version information and supported features
[12:09] <gordonDrogon> Lartza, what initialiser of wiringPi are you using? (wiringPiSetup, wiringPiSetupGpoi or wiringPiSetupSys) ?
[12:09] <Lartza> wiringPiSetup
[12:09] <gordonDrogon> ok. make sure you're running it as root too.
[12:09] <gordonDrogon> sudo ...
[12:09] <Lartza> Yeah
[12:09] <Lartza> No matter what I shift out in decimal it lights up the same three led's
[12:09] <gordonDrogon> did you do the pinMode() calls?
[12:10] <Lartza> Yes? I set every pin to oputut that I need
[12:10] <gordonDrogon> ok
[12:11] <gordonDrogon> and are you using the right pin mapping? you're using wiringPi pins, so they are different from the GPIO pin numbers..
[12:11] <gordonDrogon> e.g. wiringPi pin 0 is gpio pin 17 ... and so on.
[12:11] <Lartza> Yes
[12:11] <gordonDrogon> ok
[12:11] <Lartza> I just think the decimal doesnt work
[12:11] <Lartza> I need to shiftout a hexadecimal
[12:11] <gordonDrogon> you need to shift out a number
[12:12] <gordonDrogon> jus a number - the shiftOut code will turn it into binary.
[12:12] <Lartza> Well decimals are not cutting it, maybe because I have leds like 01111111
[12:12] <Lartza> Or...
[12:12] <Lartza> mhh
[12:12] <gordonDrogon> it's just a number.
[12:12] <tombaugh> sam, any ideas on how to proceed?
[12:12] <Lartza> But some leds shoudl light up anyway so
[12:12] <gordonDrogon> python may well have internal representations, but really, it's just a number.
[12:12] * Tuxuser is now known as XeCrypt
[12:13] <gordonDrogon> yes, some should like up ,ad they should change for differnt numbers.
[12:13] <Lartza> gordonDrogon, I know the hardware interfacing works since I can manually shift out AA or 0 and it works but
[12:13] <gordonDrogon> Lartza, ok - that's a good start.
[12:13] <gordonDrogon> Lartza, you could have a look at the code for shiftOut and write your own in Python then...
[12:13] <gordonDrogon> anyway, I need to go now - my garden awaits..
[12:14] * mythos (~mythos@unaffiliated/mythos) has joined #raspberrypi
[12:14] * PiBot sets mode +v mythos
[12:14] <sam> tombaugh: not really, sorry; when this happens I usually reboot, it magically works again, and I go see what's in the logs
[12:14] <sam> tombaugh: do you have keyboard access?
[12:16] <tombaugh> sam, yes I do
[12:16] * Xark (~K@cpe-50-113-123-229.san.res.rr.com) Quit (Remote host closed the connection)
[12:17] <NucWin> sam your better compiling on the rpi its self and using distcc to speed it up a little
[12:17] * mentar (~mentar@94-195-22-204.zone9.bethere.co.uk) Quit (Ping timeout: 276 seconds)
[12:19] * the_real_crimper (the_real_c@cpe-98-154-91-166.socal.res.rr.com) Quit (Ping timeout: 276 seconds)
[12:26] <NucWin> takes about 24h for a rpi to compile gcc
[12:26] * mythos (~mythos@unaffiliated/mythos) Quit (Ping timeout: 252 seconds)
[12:26] <sam> NucWin: but the rPi is even slower than qemu
[12:27] <NucWin> i would say not. did only give qemu a quick try but it sucked
[12:28] <buZz> lol
[12:28] <buZz> qemu is pretty awesome
[12:28] <sam> NucWin: reality disagrees with you :)
[12:28] <NucWin> oooh i do have sata hdd on the usb with the os and swap on ;)
[12:28] * squimmy (tim1@mussel.ucc.gu.uwa.edu.au) Quit (Ping timeout: 240 seconds)
[12:31] * MasterGeek (~GobShite@cpc34-dudl11-2-0-cust230.16-1.cable.virginmedia.com) has joined #raspberrypi
[12:31] * PiBot sets mode +v MasterGeek
[12:31] * tcial (~tcial@ has joined #raspberrypi
[12:31] * PiBot sets mode +v tcial
[12:33] * smw (~smw@unaffiliated/smw) has joined #raspberrypi
[12:33] * PiBot sets mode +v smw
[12:33] * bubu (~Flexa@gateway/tor-sasl/flexa) has joined #raspberrypi
[12:33] * PiBot sets mode +v bubu
[12:36] * tcial (~tcial@ Quit (Remote host closed the connection)
[12:39] * mythos (~mythos@unaffiliated/mythos) has joined #raspberrypi
[12:39] * PiBot sets mode +v mythos
[12:40] * _deXter_ (~dexter@125-237-88-246.jetstream.xtra.co.nz) Quit (Read error: Connection reset by peer)
[12:43] * nizeguy (~methusela@po-217-129-154-42.netvisao.pt) Quit (Remote host closed the connection)
[12:44] * datagutt (~datagutt@unaffiliated/datagutt) has joined #raspberrypi
[12:44] * PiBot sets mode +v datagutt
[12:48] * MaxLeMilian (~MaxLeMili@koln-4db4d47b.pool.mediaWays.net) has joined #raspberrypi
[12:48] * PiBot sets mode +v MaxLeMilian
[12:50] <MaxLeMilian> Sup. One question: Is it possible to buy a display (e.g. from a notebook or navigation device) and use it as a monitor for my raspberry pi?
[12:52] * thrawed (t@unaffiliated/thrawed) has joined #raspberrypi
[12:52] * PiBot sets mode +v thrawed
[12:53] * oddie (~pi@ has joined #raspberrypi
[12:53] * PiBot sets mode +v oddie
[12:54] <MaxLeMilian> Okay, nevermind. Just found out, that I am completely untaught about monitors.. :D
[12:55] <thrawed> what what
[12:56] <MaxLeMilian> thrawed: I though I can plug a display component to a hdmi cable and use it as a monitor for my rasp..
[12:56] <bubu> anyone have any tried and tested USB powered hubs in UK??
[12:57] <buZz> bubu: why are UK USB hubs different from other countries?
[12:58] <GriffenJBS> bubu: yeah, that's where the pi was developed
[12:58] <bubu> buZz, sorry should rephrase, looking for a UK seller with a tried and tested hub
[12:58] <bubu> want my hub quick! :)
[12:58] <buZz> hrhr
[12:59] <buZz> let me ask you something
[12:59] <buZz> did you read about any USB hub that did not work???
[12:59] <bubu> yup
[12:59] <bubu> several
[12:59] <buZz> ah ok
[12:59] <buZz> i hadnt heard any
[12:59] <bubu> fault ports/ not pushing out 1mA power like they said it should etc
[12:59] <buZz> i would assume all powered usb2 hubs just work
[13:00] <buZz> 1mA?
[13:00] <buZz> eh
[13:00] <buZz> are you talking about usb hubs to _power_ the raspi?
[13:00] <buZz> or usb hub to be a usb hub?:
[13:00] <bubu> pref one for both but mainly to be a usb hub usb hub :)
[13:01] <bubu> 1000mA****
[13:01] * pretty_function (~iHackiOS@ Quit (Read error: Connection reset by peer)
[13:01] <Dyskette> buZz, SO MANY usb hubs don't work right
[13:02] <GriffenJBS> buZz: most do, but people don't read the fine print, and then whine "why won't it work!?"
[13:02] <Dyskette> Loads of them feed power back into the host, which tends to upset the RPi
[13:02] <thrawed> buZz: there's a list of verified peripherals on the elinux wiki
[13:03] <thrawed> Dyskette: you could always make a data only usb cable
[13:03] <GriffenJBS> Dyskette: strange, I've read of a few people backfeeding like that to power thier pi
[13:03] <Dyskette> thrawed, or cut the relevant power line inside the hub, so it won't work at all unpowered.
[13:04] <Dyskette> GriffenJBS, there's a good chance it'll trip the polyfuse.
[13:04] <Dyskette> I guess it's a YMMV thing.
[13:04] <GriffenJBS> ..? I'd have to double check the schematic, but that's shouldn't matter
[13:04] * jolo2 (~jolo2@ has joined #raspberrypi
[13:04] * PiBot sets mode +v jolo2
[13:04] <Dyskette> However, if you're not expecting backfeed, and you've got another power source to the board also, it's definitely a problem.
[13:05] * XeCrypt is now known as Tuxuser
[13:05] <Lartza> How...
[13:05] <Lartza> If my leds are not connected to ground how do they light up??
[13:05] <Lartza> With the GPIO connection only
[13:06] <thrawed> magic?
[13:06] <Lartza> Exactly
[13:06] <Lartza> There is no ground seriously :/
[13:07] <Lartza> and the gpio is not shorting itself
[13:07] <Lartza> or anythin
[13:07] <Lartza> when I connet the ground the leds become brighter
[13:07] * chris_99 (~chris_99@unaffiliated/chris-99/x-3062929) has joined #raspberrypi
[13:07] * PiBot sets mode +v chris_99
[13:07] <thrawed> must be magic then
[13:09] * [Phaedrus] (3d0b5068@gateway/web/freenode/ip. has joined #raspberrypi
[13:09] * PiBot sets mode +v [Phaedrus]
[13:09] <[Phaedrus]> does anyone notice any significant performance boost in using a Class 4 SD card, vs a Class 10 SD Card
[13:10] <thrawed> class 6 is better than 10 for smaller files
[13:10] <bubu> not tried multiple with my pi [Phaedrus] but with other things I have noticed a difference
[13:10] <[Phaedrus]> thrawed: that is rather strange. but interesting.
[13:11] <thrawed> class 10 is designed for high performance with media like video, not with the millions of tiny files an OS has
[13:11] <buZz> thrawed: then just make your filesystem 1 big file , mount -o loop :)
[13:11] <[Phaedrus]> thrawed: you think it wouldnt make much of a difference running raspbian out of a class 10?
[13:11] <[Phaedrus]> buZz: :)
[13:11] <buZz> i run my raspi on a class10
[13:12] <Lartza> Class 2 > Class 10 is faster by miles
[13:12] <Lartza> ;)
[13:12] <Lartza> Tried that
[13:12] <Lartza> Also class 2 was micro with an adapter and 10 is full sized
[13:12] <thrawed> Lartza: smaller sd cards tend to be faster aswell
[13:12] * buZz sells 16MB SD cards for 150 euro a piece
[13:12] <buZz> you want one? :)
[13:12] <buZz> class 10000000
[13:12] <buZz> :P
[13:12] <buZz> hahaha
[13:13] * mentar (~mentar@ has joined #raspberrypi
[13:13] * PiBot sets mode +v mentar
[13:13] <buZz> Lartza: yeah, still havent found class 10 microSD cards :((
[13:13] * gerrynjr (~gerrynjr@gentoo/user/gerrynjr) Quit (Quit: Bye!)
[13:13] <thrawed> buZz: really?
[13:14] <Lartza> buZz, How come not? :S
[13:14] <thrawed> buZz: took me 10 seconds, http://www.amazon.co.uk/dp/B005FY61EK
[13:14] <thrawed> buZz: I don't think you've really been looking
[13:16] <Vibe> do you have idea how long will those sd-cards (non hc) last with raspbian on rpi?
[13:17] <thrawed> a
[13:17] <thrawed> depends on whether you're using a swap
[13:17] * MaxLeMilian (~MaxLeMili@koln-4db4d47b.pool.mediaWays.net) Quit (Quit: MaxLeMilian)
[13:17] <GriffenJBS> even with swap they should last a few years
[13:17] <Vibe> raspbian uses swap file by default, thats bad for sd yes
[13:17] <thrawed> yes
[13:18] <GriffenJBS> unless your doing 100's of gigs of swap a day, that might kill it faster
[13:18] <thrawed> flash memory doesn't have wear leveling like ssd's do, so if this swap partition is constantly being written to in the same place it's going to kill the memory quicker
[13:19] <thrawed> I'd say a year with swap, maybe two
[13:19] <GriffenJBS> it's on a filesystem, if a few cells die, it gets written around
[13:19] <thrawed> much longer without
[13:19] <humbolt> is there any other openmax enables video player available for raspi?
[13:19] * UKB|Sleep is now known as unknownbliss
[13:19] <thrawed> as far as I know there's only omxplayer
[13:20] <thrawed> which provides gpu acceleration for certain codecs
[13:20] * tombaugh (~pieter@ Quit (Ping timeout: 255 seconds)
[13:20] <GriffenJBS> I looked over the schematic, and the polyfuse shouldn't affect backfed power
[13:20] <MasterGeek> So, I just finished my first project, "The Pi Phone" a Quad band hardware development module & SDK for edcuators.
[13:20] <MasterGeek> works nice
[13:20] <Lartza> MasterGeek, Grats, I just finished making my binary clock ;)
[13:20] <Lartza> My first project :P
[13:20] <GriffenJBS> MasterGeek: url, and pics or it didn't happen ;-P
[13:20] <thrawed> must be a pretty chunky phone
[13:20] <MasterGeek> nice
[13:21] <booyaa> MasterGeek: yeah would like to see this
[13:21] <thrawed> MasterGeek: got a blog?
[13:21] <MasterGeek> well its not about being a phone, its about teaching kids how to build one
[13:22] * leighbb (~leigh@2002:5167:5ea6:ac10:3ed9:2bff:fe08:ecb4) has joined #raspberrypi
[13:22] * PiBot sets mode +v leighbb
[13:23] <GriffenJBS> huh, the 5V->3V3 is rated for pd of 800mW
[13:23] <MasterGeek> well not a blog, im just setting up a hub for local Pi User Groups, to host there own PUG's gratis, im just in the process of getting some vids & pics up so peeps can see it working
[13:24] * tcial (~tcial@ has joined #raspberrypi
[13:24] * PiBot sets mode +v tcial
[13:24] <humbolt> do you guys have any idea, how I could solve this. I need to play a number of videos after each other. now I use omxplayer and need to start a new player for each video. I would already be happy, the screen were black between videos, but what we see is console text. how can I get rid of this_
[13:24] <MasterGeek> hang on gime a few to up the pics n vid to "ThePiFactory.org" < shamefull plug my bad
[13:24] <GriffenJBS> FYI the polyfuse is rated at 6V, 1A1
[13:24] <thrawed> humbolt: bash script?
[13:24] <GriffenJBS> humbolt: use >/dev/null
[13:25] <GriffenJBS> 2>&1 >/dev/null"
[13:25] <GriffenJBS> "2>&1 >/dev/null" if things are stull ugly
[13:25] <GriffenJBS> *still
[13:26] * habstinat (~habs@pool-71-183-233-216.nycmny.fios.verizon.net) Quit (Quit: leaving)
[13:26] <humbolt> thrawed: what's the question? I use a bash script, yes. and I have that in place already, still you will see the console in between like this: pi@raspberrypi .... and all the shit, which went on during system bootup. even if I disable terminals altogether and start the player as a service!
[13:26] <GriffenJBS> humbolt: keep an eye on omxplayer, they're looking to add support for playlist, which may fix most of your problems
[13:27] <humbolt> GriffenJBS: yes, that it would. gap-less playback would be needed as well!
[13:27] <humbolt> and the ability to load new playlists, while the player is running or to append to the list
[13:27] <GriffenJBS> yeah, that's part of the playlist request being worked on
[13:27] * hotwings (hd@secksy.net) Quit (Read error: Connection reset by peer)
[13:28] <GriffenJBS> appending to the list may be possible, loading a new one during playback not so likely
[13:28] <GriffenJBS> ...? how are you running a bash script and still getting a prompt?
[13:28] * kokakoda (kokakoda@gateway/shell/blinkenshell.org/x-holvxyxsmwtztzxf) Quit (Ping timeout: 255 seconds)
[13:29] <GriffenJBS> could you pastebin your script?
[13:29] * tcial (~tcial@ Quit (Quit: tcial)
[13:29] <humbolt> GriffenJBS: sure
[13:29] <[Phaedrus]> i asked my Pi to dist-upgrade and it looks like its going on and on for 12 hours straight. reminds of those olden days...
[13:30] <rm> should have prefixed that with "eatmydata"
[13:30] <rm> you are killing your SD card
[13:32] <GriffenJBS> rm do you have an actual idea of the bandwith for his card? I'm sure it's higher than casual use, but it could still be very light
[13:32] <Lartza> So here's my binary clock :) http://youtu.be/ggCTxrzMAy8
[13:33] <humbolt> GriffenJBS: https://gist.github.com/3181569
[13:33] <[Phaedrus]> rm: you serious?
[13:33] <Lartza> First time ever using breadboards, shift register, raspberry pi really :)
[13:33] <rm> GriffenJBS, what bandwidth has to do with this
[13:33] <humbolt> GriffenJBS: I see the console, since I do not switch to another terminal or anything after boot. so the boot messages are still there!
[13:34] <GriffenJBS> rm throughput, nice catch
[13:34] <rm> without reducing fsyncs (which eatmydata does) what it does is overwrites FS-related stuff again and again
[13:34] <rm> throughput is irrelevant too
[13:34] <GriffenJBS> ok, I know what I mean, I'm not sure the term you want to use
[13:35] <[Phaedrus]> rm: what did i miss?
[13:35] <sam> I really don't think eatmydata helps with a dist-upgrade
[13:35] <rm> it does
[13:35] <sam> it mostly helps when you compile
[13:35] <rm> I know from btrfs
[13:35] <rm> many hours without, flies through with it
[13:36] <sam> oh sure, it may help with speed; but that "killing your SD card" part is bullshit IMHO
[13:36] <GriffenJBS> I agree
[13:36] <[Phaedrus]> okay. i could use speed :) not worried about the SD Card, the new class 10 is arriving tomorrow.
[13:36] <[Phaedrus]> what do i ask it to do, where?
[13:37] <GriffenJBS> maybe a "slow death by 1000 lashes" kind of killing
[13:37] * hotwings (hd@secksy.net) has joined #raspberrypi
[13:37] * PiBot sets mode +v hotwings
[13:37] <[Phaedrus]> GriffenJBS: you are set on your ways, arent you? ;)
[13:38] <GriffenJBS> [Phaedrus]: .. ? no, how so?
[13:38] <rm> sam, the 'killing' part comes from all the I/O
[13:38] <rm> because of which it's actually slow
[13:38] <rm> writing to the SD card again and again, basically the same stuff over and over
[13:38] <rm> (FS structures)
[13:38] <rm> whereas with eatmydata it's buffered in RAM for longer periods
[13:39] <rm> and written out much less often
[13:39] <GriffenJBS> rm still written in the same order? I'm wondering about consistancy
[13:39] <sam> I know; I'm just saying dist-upgrade is benign in this regard compared to eg. compiling some software
[13:40] <rm> GriffenJBS, in the same order, but as its name suggests, if you pull the power you could end up with damaged data
[13:40] <rm> sam, I don't dare to imagine someone actually compiles software on SD
[13:40] <rm> more than a trivial 1-5 source files stuff, anyways
[13:40] <GriffenJBS> umm eatmydata just seems to break fsync() and sync()
[13:41] <[Phaedrus]> yay, it seems to be moving faster now. maybe it will get done in a few
[13:41] <GriffenJBS> nice if your IO bound, I fail to see how it increases buffering
[13:41] <sam> rm: well I compile in qemu but I was recommended building on the raspi a few hours ago
[13:42] <rm> GriffenJBS, open file; write file; sync; delete file; sync <- could never even leave RAM with eatmydata
[13:43] * squimmy (tim1@mussel.ucc.gu.uwa.edu.au) has joined #raspberrypi
[13:43] * PiBot sets mode +v squimmy
[13:44] <GriffenJBS> humbolt: why are you using wait and bagrounding omxplayer?
[13:45] <GriffenJBS> rm: true, but how often do you think that's actually in the code?
[13:45] * piksel (~piksel@c-2ec2db87-74736162.cust.telenor.se) Quit (Quit: Lost terminal)
[13:46] <GriffenJBS> rm: maybe I misunderstood you, is the point in using eatmydata to speed up the upgrade, or save the SD?
[13:47] <sam> GriffenJBS: that's in the dpkg code for about every file
[13:47] <rm> GriffenJBS, both
[13:47] <rm> and yes dpkg does these kinds of things
[13:47] <GriffenJBS> rm, sam: really?! wtf for?
[13:48] <GriffenJBS> I've never looking in dpkg, but what's the point of that pattern?
[13:49] * oddie (~pi@ Quit (Quit: leaving)
[13:49] <sam> GriffenJBS: because nothing is more important than the system's consistency
[13:50] <GriffenJBS> sam: understood, but why open, write, and sync a file, only to delete and resync?
[13:51] <sam> GriffenJBS: it's the old file that gets deleted
[13:52] * [Phaedrus] (3d0b5068@gateway/web/freenode/ip. Quit (Ping timeout: 245 seconds)
[13:53] <GriffenJBS> ..? why not write to tmp file, then unlink(oldfile), rename(newfile, oldfile)?
[13:55] * Sakyl (~Sakyl@95-91-160-158-dynip.superkabel.de) Quit (Quit: Leaving.)
[13:55] <drazyl> surely eatmydata should sync on close()
[13:57] * victhor (~victhor@ has joined #raspberrypi
[13:57] * PiBot sets mode +v victhor
[13:57] <reider59> woo hoo! Postie is late, thought I had no mail. My Arduino LCD shield with buttons on just arrived!
[13:58] <GriffenJBS> humbolt: you need to move LD_LIBRARY_PATH out of that loop
[13:58] * tinti (~tinti@maxtrack-F4-0-3-gacc04.bhe.embratel.net.br) has joined #raspberrypi
[13:58] * PiBot sets mode +v tinti
[14:00] * iMatttt (~imatttt@cpc4-farn4-0-0-cust34.6-2.cable.virginmedia.com) has joined #raspberrypi
[14:00] * PiBot sets mode +v iMatttt
[14:00] <GriffenJBS> rm: doesn't a fs journal meet the goals of most sync calls?
[14:01] <reider59> lol, the Arduino LCD shield had styrofoam protector on. I just cut one side to shape and it fits the breakout board I`ve been soldering up this morning
[14:08] * SSilver2k2 (~Adium@50-89-241-213.res.bhn.net) Quit (Quit: Leaving.)
[14:09] * tinti (~tinti@maxtrack-F4-0-3-gacc04.bhe.embratel.net.br) Quit (Quit: Leaving)
[14:09] <booyaa> reider59: you going to use it on the pi?
[14:09] <reider59> oh yes
[14:10] <booyaa> reider59: which one did you get and from where?
[14:10] * jaeckel (~jaeckel@unaffiliated/jaeckel) Quit (Ping timeout: 245 seconds)
[14:10] * Neonkoala (~quassel@neptune.dawson.be) Quit (Quit: No Ping reply in 180 seconds.)
[14:11] * MidnighToker (~Toker@unaffiliated/midnightoker) Quit (Ping timeout: 246 seconds)
[14:12] * Treibholz (~treibholz@io.uxix.de) Quit (Ping timeout: 250 seconds)
[14:13] <reider59> It's a 16x2 Arduino LCD Shield with 6 buttons from DTECH via EBAY for ?12.50. My other one is wired direct to the Pi GPIO pins and that's a 20x4 LCD from Proto-Pic
[14:14] <booyaa> thanks!
[14:14] * MidnighToker (~Toker@unaffiliated/midnightoker) has joined #raspberrypi
[14:14] * PiBot sets mode +v MidnighToker
[14:14] <reider59> Proto Pic one is ?13.99 http://proto-pic.co.uk/basic-20x4-character-lcd-black-on-green-5v/
[14:15] <reider59> Arduino LCD Shield is this one http://compare.ebay.co.uk/like/280924587696?var=lv&ltyp=AllFixedPriceItemTypes&var=sbar&adtype=pla
[14:16] * Milos (~Milos@pdpc/supporter/student/milos) Quit (Read error: Connection reset by peer)
[14:16] * katom (~tom@p4FC97E4D.dip.t-dialin.net) has joined #raspberrypi
[14:16] * PiBot sets mode +v katom
[14:17] * spirytusick (~spirytusi@cpc4-croy17-2-0-cust884.croy.cable.virginmedia.com) has joined #raspberrypi
[14:17] * PiBot sets mode +v spirytusick
[14:17] <spirytusick> lo
[14:18] <booyaa> -- snip 13:07
[14:18] <booyaa> reider59: did you use a logic convert to get the proto pic work on the pi?
[14:19] * Milos (~Milos@pdpc/supporter/student/milos) has joined #raspberrypi
[14:19] * PiBot sets mode +v Milos
[14:20] <reider59> Wired via a breadboard only with R/W wired to GND so it never reads from the LCD, keeping it to 3.3V. But it's going on a breakout board next. The only attachment other than the cables is the Pot
[14:23] <reider59> Details are here.....http://wraspi.freeforums.org/lcd-module-to-pi-4-bit-operation-t77.html
[14:30] * markllama (mlamouri@nat/redhat/x-kmczhhqaonkdiabq) has joined #raspberrypi
[14:30] * PiBot sets mode +v markllama
[14:30] * SpeedEvil (~quassel@tor/regular/SpeedEvil) Quit (Ping timeout: 252 seconds)
[14:31] <GriffenJBS> humbolt: is that script working for you?
[14:31] * jaeckel (~jaeckel@unaffiliated/jaeckel) has joined #raspberrypi
[14:31] * PiBot sets mode +v jaeckel
[14:37] * SpeedEvil (~quassel@tor/regular/SpeedEvil) has joined #raspberrypi
[14:37] * PiBot sets mode +v SpeedEvil
[14:38] * cccyRegeaneAway is now known as cccyRegeaneWolfe
[14:42] * SpeedEvil (~quassel@tor/regular/SpeedEvil) Quit (Ping timeout: 264 seconds)
[14:42] * Lord_DeathMatch (Lord_Death@CPE-60-229-178-247.lns10.ken.bigpond.net.au) Quit (Read error: Connection reset by peer)
[14:42] * tinti (~tinti@maxtrack-F4-0-3-gacc04.bhe.embratel.net.br) has joined #raspberrypi
[14:42] * PiBot sets mode +v tinti
[14:42] * Civil|2 (~kvirc@2a02:6b8:0:401:227:eff:fe04:2c48) has joined #raspberrypi
[14:42] * PiBot sets mode +v Civil|2
[14:43] <MasterGeek> hers the pics, http://www.thepifactory.org/index.php/pi-phone-pics
[14:43] * [Phaedrus] (3d0b5068@gateway/web/freenode/ip. has joined #raspberrypi
[14:43] * PiBot sets mode +v [Phaedrus]
[14:44] * tinti (~tinti@maxtrack-F4-0-3-gacc04.bhe.embratel.net.br) Quit (Quit: Leaving)
[14:44] * cccyRegeaneWolfe is now known as cccyRegeaneAway
[14:46] * iMatttt (~imatttt@cpc4-farn4-0-0-cust34.6-2.cable.virginmedia.com) Quit (Remote host closed the connection)
[14:47] * iMatttt (~imatttt@cpc4-farn4-0-0-cust34.6-2.cable.virginmedia.com) has joined #raspberrypi
[14:47] * PiBot sets mode +v iMatttt
[14:47] <thrawed> MasterGeek: cool, what does the display show?
[14:47] <thrawed> signal strength?
[14:47] * iMatttt (~imatttt@cpc4-farn4-0-0-cust34.6-2.cable.virginmedia.com) Quit (Remote host closed the connection)
[14:47] * iMatttt (~imatttt@cpc4-farn4-0-0-cust34.6-2.cable.virginmedia.com) has joined #raspberrypi
[14:47] * PiBot sets mode +v iMatttt
[14:50] <GriffenJBS> MasterGeek: thanks for the hardware porn
[14:51] <MasterGeek> iv built a number of open source tools, dialer, fax, phonebook, revamped a number of old opensource projects, nothing fancy, but im not realy a coder, But if you want to throw a set of tools at me, :D Just enough to teach kids how it works. The rest would be up to the community that built around the board, much like Pi realy
[14:51] <GriffenJBS> MasterGeek: the front page of the pi factory, look at your name at the bottom
[14:51] * iMatttt (~imatttt@cpc4-farn4-0-0-cust34.6-2.cable.virginmedia.com) Quit (Remote host closed the connection)
[14:51] * humbolt (~elias@178-191-245-38.adsl.highway.telekom.at) Quit (Quit: Leaving.)
[14:52] <MasterGeek> powered by ?
[14:52] * cccyRegeaneAway is now known as cccyRegeaneWolfe
[14:52] <MasterGeek> GriffenJBS ya lost me ?
[14:52] <GriffenJBS> ..? several pages are signed "MasteGeek"
[14:52] * Lord_DeathMatch (Lord_Death@CPE-60-229-178-247.lns10.ken.bigpond.net.au) has joined #raspberrypi
[14:52] * PiBot sets mode +v Lord_DeathMatch
[14:52] <MasterGeek> oh yeh lol thanks
[14:52] <GriffenJBS> like the "PUGS near you" page as well
[14:54] * Lord_DeathMatch (Lord_Death@CPE-60-229-178-247.lns10.ken.bigpond.net.au) Quit (Read error: Connection reset by peer)
[14:54] * Lord_DeathMatch (Lord_Death@CPE-60-229-178-247.lns10.ken.bigpond.net.au) has joined #raspberrypi
[14:54] * PiBot sets mode +v Lord_DeathMatch
[14:54] <MasterGeek> yer, well , i seen in the boards, thers a lot of people wanting to join a Pug , but noone seems to be kicking them off, abet there are more starting to form, but yer, if there are small goups around than need free hosting space, i can cover it up to 100G per day :(
[14:55] <MasterGeek> same with the Pug Hub, open source, anyone can opt to have a go.
[14:56] * thrawed (t@unaffiliated/thrawed) Quit (Ping timeout: 255 seconds)
[14:57] * ReggieUK (~ReggieUK@5aca5630.bb.sky.com) has joined #raspberrypi
[14:57] * PiBot sets mode +v ReggieUK
[14:57] * ChanServ sets mode +o ReggieUK
[14:57] * SpeedEvil (~quassel@tor/regular/SpeedEvil) has joined #raspberrypi
[14:57] * PiBot sets mode +v SpeedEvil
[15:03] * Lord_DeathMatch (Lord_Death@CPE-60-229-178-247.lns10.ken.bigpond.net.au) Quit (Read error: Connection reset by peer)
[15:03] * Lord_DeathMatch (Lord_Death@CPE-60-229-178-247.lns10.ken.bigpond.net.au) has joined #raspberrypi
[15:03] * PiBot sets mode +v Lord_DeathMatch
[15:12] * SpeedEvil (~quassel@tor/regular/SpeedEvil) Quit (Ping timeout: 246 seconds)
[15:14] * warddr (~warddr@Wikipedia/Warddr) has joined #raspberrypi
[15:14] * PiBot sets mode +v warddr
[15:14] * [Phaedrus] (3d0b5068@gateway/web/freenode/ip. Quit (Ping timeout: 245 seconds)
[15:14] * kushal (~kdas@fedora/kushal) has joined #raspberrypi
[15:14] * PiBot sets mode +v kushal
[15:15] * johnthebear (~Johnthebe@13-167-147.client.wireless.msu.edu) has joined #raspberrypi
[15:15] * PiBot sets mode +v johnthebear
[15:15] <kushal> is there any way to check if the device is ok or not ?
[15:16] * protozoa (~protozoa@198-101-198-118.static.cloud-ips.com) Quit (Ping timeout: 276 seconds)
[15:16] <Dyskette> kushal, you're going to have to be a little more specific than that...
[15:16] <kushal> received the board few hours back , connected to the tv after putting a Fedora image
[15:16] <kushal> Dyskette, getting a blank screen
[15:16] * humbolt (~elias@chello080109031110.15.14.vie.surfer.at) has joined #raspberrypi
[15:16] * PiBot sets mode +v humbolt
[15:16] <kushal> nothing is coming to the tv (connected through HDMI)
[15:17] <Dyskette> Are the LEDs on the board lighting up?
[15:17] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) has joined #raspberrypi
[15:17] * PiBot sets mode +v andypiper
[15:18] <kushal> Dyskette, i can see PWR LED on
[15:18] * Fivesprites (~fivesprit@cpc5-alde4-2-0-cust310.6-2.cable.virginmedia.com) has joined #raspberrypi
[15:18] * PiBot sets mode +v Fivesprites
[15:18] <kushal> and a very small green is OK
[15:18] <kushal> I mean, OK LED is showing very small green dot
[15:19] <mikma> booyaa: nice :)
[15:19] <booyaa> mikma: it's all your work dude!
[15:19] <mikma> booyaa: yeah but i hate editing wiki's lol
[15:19] <Dyskette> kushal, there's every chance it's the SD card - do you have another one you could try?
[15:19] <booyaa> although i've managed to disconnect myself from my pi (was ssh'd in via ethernet and did ifup wlan0, it lasted for a short while)
[15:19] <kushal> Dyskette, yes, let me try
[15:19] <booyaa> i'll get my other half to disco the ethernet and reboot
[15:20] * booyaa bought a pack of lcd and segmented displays from craplin
[15:20] <booyaa> heh will be fun to see if i can get any of them to display
[15:20] * Lord_DeathMatch (Lord_Death@CPE-60-229-178-247.lns10.ken.bigpond.net.au) Quit (Quit: adi??s, amigos!)
[15:20] <kushal> Dyskette, one question, without the SD card, can it show any message to the screen ?
[15:20] <booyaa> also brought myself a bigger bread board, is planning on assembling a breakboard in the hackspace tonight
[15:20] <booyaa> my other breadboard is too small
[15:21] <Dyskette> kushal, I have no idea what it does over HDMI, as I don't own any fancy new displays.
[15:21] <kushal> Dyskette, ok
[15:21] <booyaa> mikma: ping me if you revise it, happy to look after the wiki page for you
[15:22] * tcial (~tcial@ has joined #raspberrypi
[15:22] * PiBot sets mode +v tcial
[15:23] * C-M (~c_m@wikimedia/C-M) Quit (Quit: Computer has gone to sleep.)
[15:23] <mikma> booyaa: sure
[15:23] * SpeedEvil (~quassel@tor/regular/SpeedEvil) has joined #raspberrypi
[15:23] * PiBot sets mode +v SpeedEvil
[15:24] * bluefirecorp (~bluefirec@cpe-98-30-233-211.woh.res.rr.com) Quit (Read error: Connection reset by peer)
[15:24] * bluefirecorp (~bluefirec@cpe-98-30-233-211.woh.res.rr.com) has joined #raspberrypi
[15:24] * PiBot sets mode +v bluefirecorp
[15:25] <GriffenJBS> kushal: with no SD you'll get nothing from the pi 'cept a red light on power
[15:28] * SpeedEvil (~quassel@tor/regular/SpeedEvil) Quit (Ping timeout: 272 seconds)
[15:29] <kushal> GriffenJBS, ok
[15:29] <booyaa> i think we may have covered this already, but what would i need to make a reset switch for the pi?
[15:29] <booyaa> i'll take one that issues sudo reboot, but would prefer something electrical (if that makes sense)
[15:29] <kushal> GriffenJBS, Dyskette even with the second SD card, nothing is happening :(
[15:29] <kushal> can it be anything with power adapter ?
[15:29] <booyaa> sudo reboot might not be possible if the pi's a stuck
[15:30] * ksx4system (~ksx4syste@ has joined #raspberrypi
[15:30] * PiBot sets mode +v ksx4system
[15:30] <Dyskette> It could be if it's not getting enough current - what are using to power it?
[15:32] * Timmmaaaayyy (~Timmmaaaa@fwpat.freshdirect.com) has joined #raspberrypi
[15:32] * PiBot sets mode +v Timmmaaaayyy
[15:33] <Timmmaaaayyy> anyone know if you can install vncserver if there's already a startx session running??
[15:33] * tcial is now known as any1
[15:33] * any1 is now known as taa
[15:33] * taa is now known as tcial
[15:34] <Fivesprites> Timmmaaaayyy: Yes, it will by default start on the next display available - usually :1
[15:35] <Timmmaaaayyy> i get an error :no connection could be made becasue the target machine actively refused it
[15:36] <Timmmaaaayyy> im using this custom debian squeeze image: http://rpitc.blogspot.com/
[15:37] <Timmmaaaayyy> doesn't seem to be running iptables or anything. no idea why i'm being refused
[15:37] <booyaa> Timmmaaaayyy: netstat -an | grep -i tcp
[15:37] <booyaa> is 5901 listed?
[15:37] <booyaa> are any 59xx ports open?
[15:38] <Timmmaaaayyy> yes
[15:38] <booyaa> which one?
[15:38] <Timmmaaaayyy> 5901, 6001, 22
[15:38] <booyaa> okay on the vnc client what are you putting for server and port? i know some clients just want display number i.e. 1
[15:38] <booyaa> :1 even
[15:39] <Timmmaaaayyy> i was wasn't putting a port....just IP address
[15:39] <Timmmaaaayyy> i'll try with a :1
[15:39] <Fivesprites> need to put ipaddress:1
[15:39] <booyaa> i wonder if it's being daft and listening only locally i.e. instead of on all interfaces?
[15:39] <Timmmaaaayyy> PERFECT!!
[15:39] <booyaa> ^5
[15:39] <Timmmaaaayyy> YOU ARE AWESOME!
[15:40] <Fivesprites> Wish my issue was as simple!
[15:40] * SpeedEvil (~quassel@tor/regular/SpeedEvil) has joined #raspberrypi
[15:40] * PiBot sets mode +v SpeedEvil
[15:40] <Fivesprites> hateful EGL
[15:40] <booyaa> egl?
[15:40] <Timmmaaaayyy> well my next issue definitely won't be as simple
[15:40] <Fivesprites> used to create en OpenGL ES display context
[15:41] <Fivesprites> test program works great when compiled on the RPi
[15:41] <Fivesprites> but fails to perform a glClear operation properly when cross-compiled from windows
[15:41] <Fivesprites> absolutely no idea why
[15:41] <Fivesprites> happily renders a white square, but won't clear the background
[15:44] <Fivesprites> is anybody running the original debian release on their Pi that could try something for me?
[15:44] <mikma> when i crash, i crash in style, http://pics.kuvaton.com/kuvei/accident53.jpg . yes, quite.
[15:45] * SpeedEvil (~quassel@tor/regular/SpeedEvil) Quit (Ping timeout: 252 seconds)
[15:45] <Fivesprites> Would be grateful if somebody could try running this: https://dl.dropbox.com/u/32204670/squaredemo on their pi
[15:45] <Fivesprites> just download, copy over and run
[15:46] <Fivesprites> Would expect to see a large red rectangle with a filled white rectangle inside it
[15:47] <Fivesprites> should also show through to your desktop or console
[15:47] * SpeedEvil (~quassel@tor/regular/SpeedEvil) has joined #raspberrypi
[15:47] * PiBot sets mode +v SpeedEvil
[15:47] <Fivesprites> if I run that I get the white square only =/
[15:47] <kushal> finally booting, stupid me :(
[15:49] <mikma> http://i.imgur.com/GCrxm.jpg
[15:51] <ReggieUK> mmmmmn, bacon.....
[15:51] <buZz> omnomnom
[15:56] <mikma> http://youtu.be/Hcmz74AaXHs?hd=1
[15:59] * djuggler (~djuggler@doug.ws.utk.edu) Quit (Read error: Connection reset by peer)
[15:59] * nio (~niobird@dslb-178-002-136-252.pools.arcor-ip.net) has joined #raspberrypi
[15:59] * PiBot sets mode +v nio
[16:04] * rabbidrabbit (~rabbidrab@unaffiliated/rabbidrabbit) Quit (Ping timeout: 246 seconds)
[16:05] <TheBrayn> mikma: I would have to eat ~1.1*10??? stripes of bacon to be born in 1732
[16:05] <TheBrayn> If my calculations are correct
[16:06] <TheBrayn> ehm a bit less
[16:07] <drazyl> I make it about 16 million
[16:07] <TheBrayn> and I'd have to eat a bacon strip every 9 minutes
[16:07] <mikma> sounds doable
[16:09] * andypiper (~andypiper@pdpc/supporter/professional/andypiper) Quit (Quit: ["Textual IRC Client: www.textualapp.com"])
[16:10] <ReggieUK> was there enough bacon available in 1732?
[16:11] * affix (~affix@fedora/Affix) has joined #raspberrypi
[16:11] * PiBot sets mode +v affix
[16:11] <Draylor> no, we only invented pigs in 1876
[16:11] <ReggieUK> timewarp fail
[16:14] <MasterGeek> yer i just let the pi compile it :P
[16:17] <markllama> eating bacon makes you retroactively older?
[16:19] * auska (~joel@unaffiliated/auska) has joined #raspberrypi
[16:19] * PiBot sets mode +v auska
[16:19] <drazyl> no, not eating bacon makes your life seem to stretch on forever with no meaning
[16:22] <w0m> agreed.
[16:23] <buZz> lol
[16:23] <buZz> drazyl++
[16:27] * rabbidrabbit (~rabbidrab@unaffiliated/rabbidrabbit) has joined #raspberrypi
[16:27] * PiBot sets mode +v rabbidrabbit
[16:27] * stealth`` (~diego@HSI-KBW-134-3-145-166.hsi14.kabel-badenwuerttemberg.de) Quit (Quit: Leaving)
[16:28] * stealth`` (~diego@HSI-KBW-134-3-145-166.hsi14.kabel-badenwuerttemberg.de) has joined #raspberrypi
[16:28] * PiBot sets mode +v stealth``
[16:29] * aaa801 (~a@host-92-14-185-172.as43234.net) has joined #raspberrypi
[16:29] * PiBot sets mode +v aaa801
[16:29] <aaa801> http://www.ebay.co.uk/itm/271022314399?ssPageName=STRK:MESELX:IT&_trksid=p3984.m1555.l2649
[16:29] <aaa801> :3
[16:33] <Vibe> expensive
[16:35] <Vibe> you can buy cheaper e.g. from farnell
[16:35] * hotwings (hd@secksy.net) has left #raspberrypi
[16:35] <Vibe> ohh thats for two :p
[16:36] * tcial (~tcial@ Quit (Quit: tcial)
[16:37] * warddr (~warddr@Wikipedia/Warddr) Quit (Quit: Ik ga weg)
[16:37] * hotwings (hd@secksy.net) has joined #raspberrypi
[16:37] * PiBot sets mode +v hotwings
[16:41] * Bensa (u2327@gateway/web/irccloud.com/x-kcwugtugpkovjsgp) Quit (Quit: Connection closed for inactivity)
[16:42] * stealth`` (~diego@HSI-KBW-134-3-145-166.hsi14.kabel-badenwuerttemberg.de) Quit (Quit: Leaving)
[16:43] * UnderSampled (~UnderSamp@cpe-174-097-224-178.nc.res.rr.com) has joined #raspberrypi
[16:43] * tech2077 (~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net) Quit (Ping timeout: 252 seconds)
[16:43] * PiBot sets mode +v UnderSampled
[16:43] * lowsider (~lowsider@173-14-110-121-nashville.hfc.comcastbusiness.net) has joined #raspberrypi
[16:43] * PiBot sets mode +v lowsider
[16:44] * stealth`` (~diego@HSI-KBW-134-3-145-166.hsi14.kabel-badenwuerttemberg.de) has joined #raspberrypi
[16:44] * PiBot sets mode +v stealth``
[16:54] * auska (~joel@unaffiliated/auska) Quit (Quit: Leaving)
[16:54] * lowsider (~lowsider@173-14-110-121-nashville.hfc.comcastbusiness.net) has left #raspberrypi
[16:54] * kcj (~casey@unaffiliated/kcj) Quit (Ping timeout: 252 seconds)
[16:57] * Milos (~Milos@pdpc/supporter/student/milos) Quit (Read error: Connection reset by peer)
[16:58] * brougham (brougham@wintermute.brougham.info) Quit (Ping timeout: 248 seconds)
[16:59] * rvl (john.doe@d54C2B7B3.access.telenet.be) has joined #raspberrypi
[16:59] * PiBot sets mode +v rvl
[17:01] <MasterGeek> Does anyone know how if someone hits a web site from an android phone, the server offers an app for download ?
[17:02] <Lartza> market:// uri
[17:02] <PhotoJim> is the audio port on the Pi just plain analog, or is it Mac-esque TOSlink + analog? I assume just analog.
[17:02] <Lartza> I think
[17:02] <humbolt> GriffenJBS: sorry, have been away. I am using backgrounding and wait, so I can retrieve the pid of omxplayer and kill it, when this parent script, with the loop in it is killed.
[17:02] <Lartza> MasterGeek, http://support.google.com/admob/bin/answer.py?hl=en&answer=1620109
[17:02] <GriffenJBS> humbolt: yeah, I noticed, doesn't work well on my pi
[17:03] <MasterGeek> thanks Lar
[17:03] * stealth`` (~diego@HSI-KBW-134-3-145-166.hsi14.kabel-badenwuerttemberg.de) Quit (Read error: Connection reset by peer)
[17:03] <humbolt> GriffenJBS: the script or the killing in general?
[17:04] <MasterGeek> the app isnt on market place, i host
[17:05] <phire> PhotoJim, just analong I think. But digital sound is connected to one of the gpio pins
[17:05] <phire> http://elinux.org/RPi_Low-level_peripherals
[17:05] <reider59> Hit up a page that has an app in it then look at the source code
[17:05] <Lartza> MasterGeek, If you are hosting the apk off marketplace you can jsut link to it but they have to download it, allow unknown sources from settings and then install it with a file manager
[17:05] <ziltro> It arrived. :) So Farnell took 1 week, 3 days.
[17:05] * bradparbs (~bradparbs@rrcs-98-103-253-202.central.biz.rr.com) has joined #raspberrypi
[17:05] * PiBot sets mode +v bradparbs
[17:05] <reider59> well done ziltro, enjoy
[17:06] <ziltro> So soon I'll be able to pretend I really know what I'm talking about. ;)
[17:06] <ziltro> reider59: Thanks. Shame I have no power supply... ;)
[17:06] <reider59> like the rest of us ;-)
[17:06] <humbolt> GriffenJBS: Something like that trap/wait sequence should be put in the omxplayer wrapper as well. Since when you kill it, omxplayer.bin keeps running!
[17:06] <Lartza> ziltro, Who DOESN*t have a microUSB charger nowadays for their phone? :P
[17:07] <humbolt> Maybe this is my first chance to contribute something other than a bug report to an opensource project.
[17:07] <ziltro> Lartza: Me. Who does? I've never seen one.
[17:07] <KameSense> Lartza: iPhone users
[17:07] * stealth`` (~diego@HSI-KBW-134-3-145-166.hsi14.kabel-badenwuerttemberg.de) has joined #raspberrypi
[17:07] * PiBot sets mode +v stealth``
[17:07] <Lartza> KameSense, Ouch yeah :/
[17:07] <Lartza> Damn Apple
[17:07] <KameSense> +1
[17:07] <reider59> I've been lucky from the start with my ZTE android phone charger. I never use it anyway, I always charge the phone using the USB lead
[17:07] <Lartza> ziltro, Everyone I know does unless they still haven't gotten away from Nokia (I live in Finland)
[17:08] <PhotoJim> phire: thanks. analog is fine for the application I have in mind.
[17:08] <ziltro> Lartza: Ah, I have a Nokia ??24 phone, which is great.
[17:09] <KameSense> Not any of my microUSB chargers did power my RasPi enough anyway
[17:09] * tcial (~tcial@ has joined #raspberrypi
[17:09] * PiBot sets mode +v tcial
[17:09] * oldtopman (~oldtopman@unaffiliated/oldtopman) has joined #raspberrypi
[17:09] * PiBot sets mode +v oldtopman
[17:09] <ziltro> And I don't live in Finland, but I like their cheap phones.
[17:09] <KameSense> the only way I found was to use an old USB 1.1 powered hub with an Y cable
[17:09] <Lartza> KameSense, My samsung one is 700mA
[17:09] <Lartza> I use that
[17:10] <mikma> my samsung charger is also 700mA but bought the TinyPlug micro-usb charger from verkkokauppa.com
[17:10] <mikma> wife's nokia charger is 1200mA and i use that now on my raspi
[17:10] <KameSense> Lartza: I tried a 850mA Motorola, a 850mA Sony-ericsson, and a 1A HTC, and I never had more than 4.75V between TP1 and TP2
[17:10] <Lartza> Also samsung tablet chargers tend to be 1A and that is more than plenty for the RPi
[17:10] <MasterGeek> yer i got that click on a link, working, But i visited some place like the times, or indipendent, and this pop up says we see your using an android, heres a great app want to down load it... so on, <<< how do i get the server to see its an android and launch a pop or a download dialog ?
[17:10] <KameSense> and I had freezes
[17:10] <Lartza> KameSense, I haven't measured anything, but it works
[17:10] <ziltro> I assumed Farnell would take longer as they didn't say how long it would take for delivery, and ordered PSUs from RS.
[17:11] <KameSense> Lartza: lucky you
[17:11] * stealth`` (~diego@HSI-KBW-134-3-145-166.hsi14.kabel-badenwuerttemberg.de) Quit (Remote host closed the connection)
[17:11] <Lartza> MasterGeek, I hate those tapatalk ad's...
[17:11] <MasterGeek> yer me too
[17:11] <MasterGeek> but i dl it
[17:11] <Lartza> MasterGeek, For that you need some html/php trickery, you just check what browser/os the user is using
[17:12] <Lartza> Then launch the pop-up somehow with HTML
[17:12] <Lartza> I am not sure if...
[17:12] <Lartza> Javascript to check the OS then do a pop-up? Not really advanced on these areas
[17:12] <ziltro> Hmm, the 'warnings' say I should connect it to a % V PSU with a /maximum/ current of 700-1200mA
[17:12] <ziltro> Shouldn't that be minimum?
[17:12] <rvl> when booting archlinux I immediately receive a kernel panic error, could this be due to a bad sd card?
[17:12] <rvl> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[17:13] <Lartza> rvl, How big is your card?
[17:13] <mikma> good idea. panic!
[17:13] <GriffenJBS> ziltro: that does sound backwards
[17:13] <rvl> only 500mb so this seems to be not enough to mount it. Could that be correct
[17:13] <Lartza> rvl, If it's 2GB it might not fit the card, I had that problem
[17:13] <KameSense> but after all, I like the idea of powering my RasPi with a powered USB hub, because I need it anyway to plug the other power-consuming USB devices like my USB to parallel adapter...
[17:13] <Lartza> rvl, The image is for a 2GB card you can't even get the image on a 500MB one :/ think again
[17:13] <rvl> I only had an oldskool 500mb in house
[17:14] <Lartza> It wouldn't fit even by cutting the empty space in the end
[17:14] <Lartza> I think
[17:14] <GriffenJBS> raspian is like 1.7G
[17:14] <Lartza> Yeah
[17:14] <rvl> I created the image with a mac app and that said "succeeded" but I already was thinking this could be wrong
[17:14] * Fivesprites (~fivesprit@cpc5-alde4-2-0-cust310.6-2.cable.virginmedia.com) has left #raspberrypi
[17:14] <rvl> i have arch
[17:14] <rvl> should be less i think
[17:15] <Lartza> rvl, Created? You mean flashed
[17:15] <rvl> jeps
[17:15] <GriffenJBS> there should be a busybox version to like a 256M image
[17:15] <Lartza> rvl, It said success in error then, it ran out of space but that kind of is a success for dd
[17:15] <GriffenJBS> lots of people have old SD cards, and it's only needed to boot
[17:16] <Lartza> rvl, If you don't have a bigger SD card now and want to get your RPi booting use a USB stick or HDD
[17:16] <Lartza> Otherwise order/buy an SD card
[17:16] <rvl> well I will get one in the weekend, thanks for the info
[17:16] <phire> only the kernel and firmware stuff needs to be on the sdcard
[17:17] <GriffenJBS> phire: and a shell
[17:17] <phire> depends on how the kernel was compiled
[17:17] <GriffenJBS> not required, but the flexability is very useful
[17:17] <phire> it should be able to mount a usb drive
[17:17] * mythos (~mythos@unaffiliated/mythos) Quit (Ping timeout: 240 seconds)
[17:17] * stealth`` (~diego@HSI-KBW-134-3-145-166.hsi14.kabel-badenwuerttemberg.de) has joined #raspberrypi
[17:17] * PiBot sets mode +v stealth``
[17:17] <phire> well, kernel + firmware is only about 6mb
[17:17] * fatpudding (~fatpuddin@ has joined #raspberrypi
[17:17] * PiBot sets mode +v fatpudding
[17:18] <phire> plenty of space for busybox
[17:18] * UnderSampled1 (~UnderSamp@cpe-174-097-224-178.nc.res.rr.com) has joined #raspberrypi
[17:18] * PiBot sets mode +v UnderSampled1
[17:18] <Lartza> phire, No need for a shell
[17:18] <Lartza> phire, Just the kernel and bootloader stuff
[17:19] <Lartza> Then just kernel commandline the usb drive as root
[17:19] * VeryHF (~huff@50-79-71-153-static.hfc.comcastbusiness.net) has joined #raspberrypi
[17:19] * PiBot sets mode +v VeryHF
[17:19] <Lartza> I did it like that, worked perfectly
[17:19] <GriffenJBS> a shell is very handy to have, for the size, put a basic cli distro on
[17:19] * ebarch (~ebarch@ has joined #raspberrypi
[17:19] * PiBot sets mode +v ebarch
[17:19] * UnderSampled (~UnderSamp@cpe-174-097-224-178.nc.res.rr.com) Quit (Ping timeout: 255 seconds)
[17:19] <Lartza> Sorry yeah it was GriffenJBS who said sell not you phire!
[17:19] <Lartza> *shell
[17:20] <GriffenJBS> Lartza: I know it's not required, but for the size, very handy to have
[17:20] <GriffenJBS> the point is make a basic small image for the pi, that fits in 64/128/256M range
[17:25] <Civil|2> GriffenJBS: gentoo stage3 for armv6 hardfp can be used as small image :)
[17:26] * pretty_function (~sigBART@ has joined #raspberrypi
[17:26] * PiBot sets mode +v pretty_function
[17:26] <VeryHF> I have an extra pi and would appreciate suggestions!
[17:26] <humbolt> I am having this problem with my video player script: http://www.youtube.com/watch?v=nt1HHwcIY5M . The script, which is started and stopped by an rc script based on the skeleton file, is here: https://gist.github.com/3181569
[17:27] <humbolt> See the old boot messages and the logo in the background?
[17:28] <humbolt> when I switch to another terminal, I get a blinking cursor, where the logo usually is. BTW, I turned off all tty in inittab.
[17:28] <humbolt> When I could get this to flash to a black screen between the videos I would be happy already!
[17:28] <Chetic> is there a program that prints which key is pressed on the keyboard? I bought this really weird keyboard that I need to figure out how to do ctrl+alt+f1 etc
[17:29] <markllama> if you have an x session xkeycaps may do what you want.
[17:29] * FREDR1K (~gaahl@h252n3-aepv-a31.ias.bredband.telia.com) has joined #raspberrypi
[17:29] * PiBot sets mode +v FREDR1K
[17:31] * FREDR1K (~gaahl@h252n3-aepv-a31.ias.bredband.telia.com) Quit (Client Quit)
[17:32] <mikey_w> test
[17:32] <mikey_w> ok
[17:32] <GriffenJBS> humbolt: would "clear" at the beginning work?
[17:32] * humbolt (~elias@chello080109031110.15.14.vie.surfer.at) Quit (Read error: Operation timed out)
[17:32] * gabriel9|work (~quassel@ Quit (Read error: Connection reset by peer)
[17:33] * mythos (~mythos@unaffiliated/mythos) has joined #raspberrypi
[17:33] * PiBot sets mode +v mythos
[17:33] * tombaugh (~pieter@ has joined #raspberrypi
[17:33] * PiBot sets mode +v tombaugh
[17:35] * FREDR1K (~gaahl@h252n3-aepv-a31.ias.bredband.telia.com) has joined #raspberrypi
[17:35] * PiBot sets mode +v FREDR1K
[17:35] <Chetic> can I change ctrl+alt+f1 to something without involving an f-key?
[17:36] <GriffenJBS> Chetic: may I ask why?
[17:36] <Chetic> can't find an f-key on my keyboard :p
[17:36] <ziltro> There is a command line probram for switching ttys isn't there?
[17:36] <tombaugh> is there a way to download all necessary debs on my Mint system, so I can install openjdk offline on the Pi?
[17:36] <GriffenJBS> chvt I think
[17:37] <Chetic> http://2.bp.blogspot.com/-bJhaEAILyvE/TbYKo-aCJwI/AAAAAAAAAKo/H0BsGRQUe-k/s1600/IMAG0241.jpg
[17:37] <GriffenJBS> Chetic: no function keys at the top?
[17:37] <GriffenJBS> I see
[17:37] <ziltro> GriffenJBS: That does it. :) 'sudo chvt 1'
[17:37] <GriffenJBS> yes they can be redefined, trying to remember where, inittab I hink
[17:37] <GriffenJBS> *think
[17:37] <Chetic> none that seem to do it
[17:38] <hotwings> tombaugh - sure, just find the dependencies and download the debs from the repository on your desktop or something
[17:39] * cccyRegeaneWolfe is now known as cccyRegeaneAway
[17:42] <GriffenJBS> Chetic: also use Alt+Left and Alt+Right
[17:43] <hotwings> hmm, is gmail working for anyone else by chance?
[17:43] <swecide> works fine for me, I've read that gtalk is having trouble though
[17:44] * aknewhope (~aknewhope@mail.calmation.com) has joined #raspberrypi
[17:44] * PiBot sets mode +v aknewhope
[17:44] <zgreg> wait, there's a 240 MB start.elf now? that should be cool for some people.
[17:44] <GriffenJBS> nice
[17:44] <zgreg> I wonder what the restrictions of this memory split are
[17:44] <GriffenJBS> 240/16
[17:45] <GriffenJBS> some of us are using no vram
[17:45] <zgreg> probably it'll only do SDTV or even just run headless
[17:45] <ziltro> 8MB VRAM is enough for a full frame of HDTV.
[17:46] <zgreg> ziltro: yes, but the "GPU" part of the memory isn't just used for VRAM
[17:46] <GriffenJBS> as I understand lots of IO goes through the video chip
[17:47] <GriffenJBS> I forgot about the audio going that way
[17:47] <zgreg> yes, and the GPU also contains L2 cache and does various bookkeeping tasks
[17:47] <zgreg> e.g. memory refresh
[17:47] <GriffenJBS> what a strange little pi, I mean computer
[17:48] <ziltro> I keep forgetting that the CPU and GPU are basically the other way around from normal.
[17:48] <zgreg> that's why I put "GPU" in quotes, it's quite a bit more than a GPU
[17:48] <ziltro> ie. the GPU is the main thing, and the CPU has to do everything through it
[17:49] <ziltro> I wonder if I could power this thing using a floppy drive cable on the GPIO pins connected to a PC PSU
[17:50] <ziltro> Need to find the pinout first. :)
[17:50] <phire> it does a bit more than bookkeeping
[17:50] <phire> Have a png, the gpu can decode that for you
[17:51] <ziltro> I do have an HDMI > DVI cable, and ethernet, and a USB keyboard and even an SD card, although it will mean not having Bring It On on my laptop...
[17:51] <phire> mpg, it can decode that too
[17:51] <ziltro> Hmm so libpng could be told to use the GPU?
[17:51] <tombaugh> hotwings: there's a list of packages at http://www.chrisnewland.com/install-java-on-the-raspberry-pi-238 but I don't really feel like getting them all manually...
[17:52] <phire> oggs, jpegs, gifs, bmps (don't ask me why you need a gpu to load bmps)
[17:52] <phire> They compiled libpng for the gpu
[17:52] <ziltro> Oh. PNG is the important one.
[17:52] <ziltro> GIf... yeah that's worth it... ;)
[17:52] <GriffenJBS> why way to make the vram/ram split a runtime param? ie it could go in the config.txt file?
[17:53] <ziltro> Perhaps it has to go pre-RAM-init and config.txt needs RAM?
[17:53] <ziltro> I say pretending I know what the heck I'm talking about.
[17:53] <phire> Start.elf (which actually is a full on multi tasking realtime os) is statically linked
[17:54] <phire> so sadly it needs to know how much ram its going to use at compile time
[17:54] * pi-bursar (~Bursar@mail.aminocom.com) has joined #raspberrypi
[17:54] * PiBot sets mode +v pi-bursar
[17:54] <ziltro> If only the root FS could be something supporting symlinks.
[17:55] <ziltro> Or do I mean boot FS? Preboot FS?
[17:55] <phire> its just fat16
[17:55] <phire> and its called renaming files
[17:55] <ziltro> Not FAT12 or FAT32?
[17:55] <GriffenJBS> phire: even statically linked doesn't remove the possibility
[17:55] <GriffenJBS> but I have an idea of the troubles
[17:56] * jprvita|afk is now known as jprvita
[17:57] <phire> GriffenJBS, yeah. And due to the instruction set 99.9% of the code is fully position interdependent.
[17:58] * cccyRegeaneAway is now known as cccyRegeaneWolfe
[17:59] <phire> like arm
[17:59] <GriffenJBS> so where is this arm240_start.elf?
[18:00] <phire> github
[18:00] <GriffenJBS> ll
[18:00] <GriffenJBS> opps, wrong term
[18:00] <Draylor> arm256_start.elf please
[18:00] <GriffenJBS> Draylor: you just missed that convo
[18:00] <GriffenJBS> 240/16 is about as close as you'll get
[18:00] <phire> https://github.com/raspberrypi/firmware/tree/master/boot
[18:00] <Draylor> prob, heh. and yeah, i figured that wasnt likely to work :)
[18:01] <GriffenJBS> although it would be interesting to see what would be needed to strip out
[18:01] <phire> I have some 0/256 images
[18:02] <GriffenJBS> some need no video, no audio, and only usb, so start.elf could be stripped down a bit
[18:02] <phire> where arm gets absolutely no ram
[18:02] <booyaa> wow nice
[18:03] <GriffenJBS> phire: I don't know the vcore, and no chance of a toolchain right?
[18:03] * SuperSonicSound (~SuperSoni@gateway/tor-sasl/supersonicsound) has joined #raspberrypi
[18:03] * PiBot sets mode +v SuperSonicSound
[18:04] <booyaa> i those arm start elf images were the closed source bit
[18:04] * mentar (~mentar@ has left #raspberrypi
[18:04] <booyaa> phire: can you upload your 256mb images somewhere?
[18:04] <phire> Cheery, ctrl+alt+left/right arrows will let you navigate between ttys, but if you are in X you are a bit stuck
[18:05] <GriffenJBS> booyaa: they'll be little use to any of us
[18:05] * cccyRegeaneWolfe is now known as cccyRegeaneAway
[18:05] <booyaa> GriffenJBS: orly?
[18:05] <GriffenJBS> phire: try Ctrl+Alt+Backspace >;)
[18:05] <phire> The videocore gets 256mb and then does absolutely nothing with it
[18:06] <GriffenJBS> booyaa: how would that help you?
[18:06] <Civil|2> ????
[18:07] <phire> and most of the time we run it as bootcode.bin, so you actually get 256kb of cache, pretending to be ram
[18:07] <GriffenJBS> phire: you seen to know a bit of the hardware, what is the limit of the chip for ram? could we see a 512/1024 if the POP exist?
[18:07] <booyaa> GriffenJBS: what's not to like about 16mb more?
[18:07] <booyaa> bbiaf headin got hack space
[18:08] <mikma> oh, 240 image. is that for ie. servers?
[18:08] * jonnyATroot (~jonny@ has joined #raspberrypi
[18:08] * PiBot sets mode +v jonnyATroot
[18:08] <Civil|2> GriffenJBS: there are sysrq's that can grab keyboard from X
[18:08] <phire> GriffenJBS, larger ram chips exist, but the current bootcode.bin only detects 256 and 128mb chips
[18:08] <Civil|2> and sysrq that can kill X
[18:08] <Civil|2> *all apps on current tty
[18:09] <phire> anything that isn't 256mb it assumes is 128mb
[18:09] <ziltro> Wow, that's lazy
[18:10] <GriffenJBS> booyaa: you need that 16M to operate video,audio, general IO, and more
[18:10] <Civil|2> Is 16M minimal VRAM?
[18:11] <nid0> ziltro, why would they bother doing it any other way?
[18:11] <ziltro> But then it seems that RAMinit is more complex than brain surgery.
[18:11] <zgreg> it wouldn't surprise me if the 240 MB image does not support opengl es or video decoding at all
[18:11] <GriffenJBS> Civil|2: yes Alt+SysRq+R ... ? I think
[18:11] <phire> and due to a bug, unless you use hynix, micron, samsung or elpida ram, it will misdetect the chip and assume 128mb
[18:11] <Civil|2> GriffenJBS: yup
[18:11] <zgreg> phire: how do you know that?
[18:12] <zgreg> working at broadcom?
[18:12] <phire> no
[18:12] <ziltro> Reverse engineering the binaries?
[18:12] <phire> maybe
[18:13] <zgreg> well, someone started to reverse engineer the ISA of the VC4 cpu
[18:13] <ziltro> Or perhaps you are a deity.
[18:13] <phire> possibly
[18:13] <GriffenJBS> phire: I'm asking about the hardware, any known limits on the RAM? *could* a 1024M package be used? (basically how many address lines)
[18:14] <ziltro> If so, could you provide me with a PSU for my RPi until the ones I've ordered arrive please?
[18:14] * WillDuckworth (c2498332@gateway/web/freenode/ip. Quit (Quit: Page closed)
[18:14] * ziltro holds out hand
[18:14] <zgreg> GriffenJBS: PoP memory is standardized
[18:14] <GriffenJBS> ok, so what would the upper limits be?
[18:15] <phire> GriffenJBS, there might be some address space issues
[18:15] * pretty_function (~sigBART@ Quit (Remote host closed the connection)
[18:16] * dougsko (~doug@unaffiliated/dougsko) has joined #raspberrypi
[18:16] * PiBot sets mode +v dougsko
[18:16] <mikma> phire: raspi developer? ;)
[18:16] <phire> there are 4 shadows of ram, at 0x00000000, 0x400000000, 0x80000000, 0xc0000000
[18:17] <phire> so that susgests you might have problems going over 1gb
[18:18] * warddr (~warddr@Wikipedia/Warddr) has joined #raspberrypi
[18:18] * PiBot sets mode +v warddr
[18:18] * rabbidrabbit (~rabbidrab@unaffiliated/rabbidrabbit) Quit (Ping timeout: 246 seconds)
[18:18] <phire> and then there is mmio at 0x3e000000, 0x7e000000, 0xbe000000 and 0xfe000000
[18:19] <phire> and some weird extra memory at 0x60008000
[18:19] * tombaugh (~pieter@ Quit (Quit: Leaving)
[18:19] <phire> (and possibly shadowed at the other 4 locations)
[18:19] <phire> this susgests that going over 512mb might be an issue
[18:20] <phire> mikma, no
[18:21] * pi-bursar (~Bursar@mail.aminocom.com) Quit ()
[18:21] * Syliss (~Syliss@adsl-99-23-241-61.dsl.chi2ca.sbcglobal.net) has joined #raspberrypi
[18:21] * PiBot sets mode +v Syliss
[18:22] <zgreg> I also doubt that much memory are useful on the pi
[18:22] <zgreg> s/are/is/
[18:22] * curfont (~q@ Quit (Remote host closed the connection)
[18:22] <mikma> pretty decent when you look at the mhz's
[18:22] <GriffenJBS> phire: my math is off ...? the mmio shows a 1G limit right?
[18:24] <GriffenJBS> possibly less, but no more than 1G
[18:25] <ziltro> Apparently you can connect to this IRC server via Tor.
[18:25] <ziltro> Which is nice.
[18:26] * rvl (john.doe@d54C2B7B3.access.telenet.be) Quit ()
[18:26] <phire> GriffenJBS, either there is a 512mb limit, or above that you get some memory holes
[18:26] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) has joined #raspberrypi
[18:26] * PiBot sets mode +v nils_2
[18:27] * [SkG] (~SkG@unaffiliated/skg/x-897332) has joined #raspberrypi
[18:27] * PiBot sets mode +v [SkG]
[18:27] <GriffenJBS> I understand possible memory holes, I don't understand how you calculated 512, I got 1024
[18:27] <GriffenJBS> Do you know something you can't share?
[18:28] <phire> its just that bootloader.bin is using some kind of memory just about 512 mb
[18:29] * Holden (~holden@unaffiliated/holdenc) has joined #raspberrypi
[18:29] * PiBot sets mode +v Holden
[18:29] <GriffenJBS> I see
[18:29] * Mogwai (~mogwai@206-248-185-20.dsl.teksavvy.com) has joined #raspberrypi
[18:29] * PiBot sets mode +v Mogwai
[18:29] <mikey_w> sram on the SOC?
[18:29] <phire> makes me nervous that there might be a hard limitation above 512mb
[18:30] * Syliss (~Syliss@adsl-99-23-241-61.dsl.chi2ca.sbcglobal.net) Quit (Quit: Syliss)
[18:30] <phire> mikey_w, its a stacked package, soldered on top of the SOC
[18:32] <Mogwai> Do we have any fans of Linux From Scratch here? I've put up a site for you: http://www.intestinate.com/pilfs
[18:32] * mikep (c2498332@gateway/web/freenode/ip. Quit (Quit: Page closed)
[18:32] * nperry (~nperry@unaffiliated/nperry) Quit (Quit: ZNC - http://znc.in)
[18:33] <mikey_w> sram--static ram is in the SOC itself. Very small amount of ram.
[18:33] * nperry (~nperry@unaffiliated/nperry) has joined #raspberrypi
[18:33] * PiBot sets mode +v nperry
[18:34] <mikey_w> The POP ram is dynamic.
[18:35] * chaoshax (~chaoshax@cpc5-swin15-2-0-cust121.3-1.cable.virginmedia.com) Quit (Ping timeout: 260 seconds)
[18:35] <phire> oh right... sorry its 4:30am and I'm almost asleep
[18:35] <mikey_w> ok
[18:35] <phire> it uses the l2 cache for bootloader.bin in a cache as ram scheme
[18:36] <mikey_w> Not uncommon before the mmc is setup.
[18:36] <phire> but twice, it copies a function to this other section of ram and jumps to it
[18:37] <phire> where some risky stuff is done, first time is to enable the dram
[18:37] <mikey_w> To work outside of the page mapping.
[18:37] <phire> there is no page mapping at this point
[18:38] <phire> second time it looks like its enabling the 3 caches (L2, L1 instruction and L1 data) just before jumping to loader.bin in ram
[18:38] <mikey_w> yes so it has to use actually addresses.
[18:38] <ReggieUK> Mogwai, that looks fantastic :)
[18:38] <ReggieUK> well done
[18:38] <GriffenJBS> phire: working on a RE loader?
[18:38] <Mogwai> ReggieUK: Cheers :)
[18:39] <phire> GriffenJBS, thats the general plan
[18:39] <ReggieUK> I think a lot of people will find that useful
[18:39] * bradparbs (~bradparbs@rrcs-98-103-253-202.central.biz.rr.com) Quit (Quit: bradparbs)
[18:40] <GriffenJBS> phire: let me know how I can help, not much experiance with the arm hardware though
[18:41] <phire> sure
[18:41] <phire> but for now, sleep
[18:41] <phire> if I can manage it
[18:41] <GriffenJBS> lol, yeah
[18:42] <GriffenJBS> counting binary used to do it for me, unless I lost count and got annoyed
[18:43] * bakers (~bakers@bar-1.web-ster.com) has joined #raspberrypi
[18:43] * PiBot sets mode +v bakers
[18:43] <ziltro> Easier if you only count one bit.
[18:44] <bakers> Does the RPI have an IR sensor?
[18:44] <GriffenJBS> bakers: no
[18:44] <bakers> I didn't think so, but I saw this http://www.raspbmc.com/wiki/user/configuring-remotes/
[18:44] <GriffenJBS> find a usb or gpio device
[18:45] <GriffenJBS> yeah, either a network remote, or LIRC
[18:45] <GriffenJBS> lirc handles the remote/decoding
[18:45] <bakers> a network remote?
[18:45] <bakers> i.e. ethernet?
[18:46] <GriffenJBS> ip, like logging in with your smartphone
[18:46] <bakers> ya ok
[18:46] <GriffenJBS> but IR remote can be used as well, the reciever can be on another system
[18:48] * nperry (~nperry@unaffiliated/nperry) Quit (Ping timeout: 246 seconds)
[18:48] * JMichaelX (~james@ has joined #raspberrypi
[18:48] * PiBot sets mode +v JMichaelX
[18:51] * datagutt (~datagutt@unaffiliated/datagutt) Quit (Quit: Computer has gone to sleep.)
[18:53] * nullifi3d (~nullifi3d@pool-96-241-169-226.washdc.fios.verizon.net) has joined #raspberrypi
[18:53] * PiBot sets mode +v nullifi3d
[18:55] * chaoshax (~chaoshax@cpc5-swin15-2-0-cust121.3-1.cable.virginmedia.com) has joined #raspberrypi
[18:55] * PiBot sets mode +v chaoshax
[18:55] * nullifi3d is now known as Nullifi3d|Pi
[18:55] <ziltro> Hmm, RS web site delivery time for new orders is going up, Farnell is going down.
[18:55] * reider59 (~reider59@cpc4-warr5-0-0-cust657.1-1.cable.virginmedia.com) Quit (Quit: Later)
[18:55] * nperry (~nperry@unaffiliated/nperry) has joined #raspberrypi
[18:55] * PiBot sets mode +v nperry
[18:57] <yggdrasil> hi, i jsut got my case :) it has light pipes. Im wondering if theres a way to make the ethernet lights do something else >?
[18:57] <yggdrasil> any comment ?
[18:58] <MasterGeek> Mogwai You mind is if ifram your site into the hardware section of "thePiFactory.org" ?
[18:58] <MasterGeek> iframe
[18:58] * mythos (~mythos@unaffiliated/mythos) Quit (Read error: Operation timed out)
[19:00] <Mogwai> MasterGeek: Where is the hardware section exactly?
[19:02] <MasterGeek> im builind the site as we speak, web stuff isnt my main tool in the box, im getting there
[19:02] <Mogwai> MasterGeek: But sure go ahead, spread the word :)
[19:02] <MasterGeek> :)
[19:02] <MasterGeek> ill add that right away thanks
[19:04] * warddr (~warddr@Wikipedia/Warddr) Quit (Remote host closed the connection)
[19:04] <GriffenJBS> yggdrasil: I'm not sure you have access to those lights at all
[19:05] <MasterGeek> http://www.thepifactory.org/index.php/pilfs
[19:06] * zabomber (~zabomber@gateway/tor-sasl/zabomber) Quit (Ping timeout: 276 seconds)
[19:06] <GriffenJBS> yggdrasil: the network lites connect to the LAN9512 chip
[19:07] <GriffenJBS> the power led is wired to power, the OK led is the only one that seems "free" and it has other puposes
[19:10] * M0TRN_th1 (~th@pdpc/supporter/professional/th1) has joined #raspberrypi
[19:10] * PiBot sets mode +v M0TRN_th1
[19:12] <yggdrasil> GriffenJBS: interesting
[19:13] <yggdrasil> aside from snipping leds on the board and wiring them into the gpio then.
[19:13] <yggdrasil> just seems like a waste of leds.
[19:13] <M0TRN_th1> is there any way to emulate a raspberry pi on a x86 linux machine with reasonable speed for compiling stuff etc.?
[19:13] * tcial (~tcial@ Quit (Read error: Connection reset by peer)
[19:14] <yggdrasil> M0TRN_th1: rr theres an image and everything.
[19:14] <yggdrasil> i think it works.
[19:14] <yggdrasil> mostly.
[19:14] <M0TRN_th1> nice where?
[19:14] <Civil|2> M0TRN_th1: afaik qemu-user + lxc should work faster then native rpi
[19:15] * iBooyaa (~booyaa@2001:470:92f1:0:226:8ff:fedc:f227) has joined #raspberrypi
[19:15] * PiBot sets mode +v iBooyaa
[19:15] <M0TRN_th1> ok, I'll have a look
[19:15] <iBooyaa> lo chaps, any idea i can use this lcd? i've noticed it's lacking the pcb gubbins that you normally see for lcd kits from sparkfun http://www.mobypicture.com/user/booyaa/view/13378690
[19:18] <JMichaelX> i ordered some cables from china (on ebay) needed to get a lapdock going with the pi. those items have now been sitting in NYC for longer than it took them to make it to NYC from shanghai... what in the world is the deal with the USPS
[19:18] <ReggieUK> ha
[19:19] <ReggieUK> that lcd looks like the 'pcb gubbins' is printed onto the clear bit at the bottom
[19:19] <ReggieUK> and then that is pressed against a rubberised doohicky that carries teh traces down to a pcb elsewhere
[19:20] <ziltro> I love those invisible wires on LCDs.
[19:20] <M0TRN_th1> what are they made of
[19:20] <ziltro> They are like magic.
[19:20] <ReggieUK> pixie dust
[19:20] <GriffenJBS> what is pixie dust made of?
[19:20] <ziltro> Ground up pixies.
[19:20] <ReggieUK> ^^ what he said
[19:20] <GriffenJBS> and why do you never see baby pixie
[19:20] <GriffenJBS> !!
[19:20] <ziltro> Too small?
[19:21] <GriffenJBS> ground too small?
[19:21] <GriffenJBS> so where did the display come from iBooyaa
[19:22] <iBooyaa> GriffenJBS: from a ??5 fun pack (led/lcd displays) from maplins
[19:22] <iBooyaa> found the part numbers and also saw this arduino post: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1290783190
[19:23] * kvarley (~kevin@unaffiliated/kvarley) Quit (Ping timeout: 255 seconds)
[19:24] * datagutt (~datagutt@unaffiliated/datagutt) has joined #raspberrypi
[19:24] * PiBot sets mode +v datagutt
[19:25] <Timmmaaaayyy> can more than one person connect to a vnc session?
[19:25] <ziltro> Timmmaaaayyy: Yes. There's a shared option somewhere, which might be on by default.
[19:27] <Timmmaaaayyy> hmmm
[19:27] <Timmmaaaayyy> ok thanks
[19:27] * leighbb (~leigh@2002:5167:5ea6:ac10:3ed9:2bff:fe08:ecb4) Quit (Quit: Leaving.)
[19:29] * [Phaedrus] (3d0b5068@gateway/web/freenode/ip. has joined #raspberrypi
[19:29] * PiBot sets mode +v [Phaedrus]
[19:29] * datagutt (~datagutt@unaffiliated/datagutt) Quit (Quit: Computer has gone to sleep.)
[19:29] <[Phaedrus]> phew. so midori seems to crash repeatedly throwing segmentation fault errors. any other alternatives?
[19:30] * datagutt (~datagutt@unaffiliated/datagutt) has joined #raspberrypi
[19:30] * PiBot sets mode +v datagutt
[19:31] * prpplague (~danders@ has joined #raspberrypi
[19:31] * PiBot sets mode +v prpplague
[19:34] * SphericalCow (user@unaffiliated/sphericalcow) has joined #raspberrypi
[19:34] * PiBot sets mode +v SphericalCow
[19:37] * aaa801 (~a@host-92-14-185-172.as43234.net) Quit (Ping timeout: 272 seconds)
[19:41] * tcial (~tcial@host-87-75-138-84.dslgb.com) has joined #raspberrypi
[19:41] * PiBot sets mode +v tcial
[19:42] * RaspDD (RaspDD@g227000233.adsl.alicedsl.de) has joined #raspberrypi
[19:42] * PiBot sets mode +v RaspDD
[19:43] <RaspDD> can someone help in case of internet connection problems?
[19:44] * _rp (romprod@5e09b91b.bb.sky.com) has joined #raspberrypi
[19:44] * PiBot sets mode +v _rp
[19:46] * hndrk (~hendrik@178-82-219-45.dynamic.hispeed.ch) has joined #raspberrypi
[19:46] * PiBot sets mode +v hndrk
[19:47] * peba (~peba@91-119-132-62.dynamic.xdsl-line.inode.at) has joined #raspberrypi
[19:47] * PiBot sets mode +v peba
[19:47] <peba> hi from vienna
[19:48] * uen (~uen@p5DCB33C5.dip.t-dialin.net) has joined #raspberrypi
[19:48] * PiBot sets mode +v uen
[19:48] * [Phaedrus] (3d0b5068@gateway/web/freenode/ip. Quit (Ping timeout: 245 seconds)
[19:50] <SpeedEvil> Hello from the sofa.
[19:50] <peba> hdparm pated -l
[19:56] * RoyK just got his pi \o/
[19:57] * phantoxe (~destroy@a95-92-89-24.cpe.netcabo.pt) Quit ()
[19:57] <RaspDD> anyone here?
[19:59] <Dyskette> RaspDD, well, it's hard to volunteer to solve a problem we don't know what is :)
[20:00] <Dyskette> RaspDD, if you ask, someone might be able to answer.
[20:01] <PhotoJim> I've had mine up and running since Saturday. Rock solid so far (Raspbian).
[20:01] <RaspDD> OK :)
[20:02] <iBooyaa> anyone familar with breadboards that power points? got black/red and then yellow, blue and green terminals?
[20:02] <RaspDD> DHCPdiscover on eth0 to => thats all i get
[20:02] <iBooyaa> i've got powers v1/2/3/4 trying to work out which one red points to which vX
[20:03] <ziltro> Is the network cable plugged in? Does your network have a DHCP server? Is it configured to give out IP addresses for that MAC address? Is it turned on? ;)
[20:03] <Dyskette> RaspDD, what's at the other end of the network cable?
[20:03] <RaspDD> my router
[20:03] <RaspDD> sphairon turbolink IAD
[20:03] <Dyskette> Is it set up to pass out IPs via DHCP?
[20:03] <ziltro> Do the LAN lights come on (both ends presumably) when you plug the LAN cable in?
[20:04] <RaspDD> dont know, i think YES
[20:04] <RaspDD> tried to access already => failed
[20:04] <ziltro> Is anything else plugged in to the router?
[20:04] <RaspDD> 2 cables
[20:04] <Dyskette> RaspDD, okay, if you run 'ifconfig' from console, what does it return?
[20:04] <ziltro> We had a problem where a client was using the wireless side of a router fine, then don't normally use wires, and someone had plugged a cable in between two of the ethernet sockets.
[20:04] <RaspDD> one directly to my pc, the other one was WLAN but is now pluggend into Raspy. Tried already the "main cable" => doesnt work too
[20:04] <ziltro> This didn't affect wireless, but stopped the wired connections working at all.
[20:04] <M0TRN_th1> ok I have Debian raspberry pi and everything seems slowish, when I look in top its like Xoreg is using 5-10% CPU time when its doing nothing other than showing top, is that normal??
[20:05] * Siph0n (~Siph0n@239.sub-174-235-193.myvzw.com) has joined #raspberrypi
[20:05] * PiBot sets mode +v Siph0n
[20:05] <PhotoJim> ziltro: I've had that happen. hard reset fixes for me.
[20:05] <Dyskette> M0TRN_th1, yeah, that's not that abnormal. This is straight Debian, not Raspbian?
[20:05] <PhotoJim> ziltro: I only use my router as an AP, but I have my printer plugged into it via wire for convenience. if the printer loses its mind, that's the answer.
[20:05] <ziltro> PhotoJim: Ah we were lucky in that all they had to do was unplug the cable. Once we convinced them that it wasn't connected to their till...
[20:05] <M0TRN_th1> it's Raspbian as downloaded from the Raspberry Pi website
[20:06] <RaspDD> orange light (10M) is lit btw
[20:06] <friggle> M0TRN_th1: afraid that's fairly normal
[20:06] <Dyskette> Ah, okay. But yeah, X is still a bit of a hog.
[20:06] <M0TRN_th1> why is Xorg using so much CPU time on its own?
[20:07] <friggle> M0TRN_th1: it has to render the updates to your top output
[20:07] <Dyskette> As well as the fancy CPU graph in the corner.
[20:07] <Dyskette> It's also not taking advantage of the GPU at all.
[20:07] * Holden (~holden@unaffiliated/holdenc) Quit (Quit: Ex-Chat)
[20:08] <M0TRN_th1> Dyskette, removing that actually helped a small bit
[20:08] <RaspDD> IFCONFIG brings many infos - 0 errors
[20:08] <Dyskette> M0TRN_th1, yeah, they're surprisingly resource-hungry.
[20:08] <Dyskette> RaspDD, any chance of putting the output on pastebin.com or something?
[20:09] <RaspDD> how?
[20:09] <RaspDD> ah, understood. NO.
[20:09] <RaspDD> what should i look for?
[20:09] <yggdrasil> how is the user in weezy automatically logged in?
[20:09] <ziltro> RaspDD: Perhaps your wireless access point is the DHCP server, which you've now unplugged?
[20:09] <yggdrasil> id like to stop that.
[20:09] * ReggieUK (~ReggieUK@5aca5630.bb.sky.com) Quit ()
[20:10] <ziltro> yggdrasil: /etc/inittab at a guess. Someone else might know for sure.
[20:10] <ziltro> Unless it is an X login.
[20:10] <RaspDD> no, i bought it later. I tried the "main" Cable too, no success
[20:10] <yggdrasil> its not an x
[20:10] * ekselkiu (~ekselkiu@89-168-186-164.dynamic.dsl.as9105.com) has joined #raspberrypi
[20:10] * PiBot sets mode +v ekselkiu
[20:10] <yggdrasil> wow, my pi looks awesome with my new case :) and light tubes
[20:11] * mentar (~mentar@94-195-22-204.zone9.bethere.co.uk) has joined #raspberrypi
[20:11] * PiBot sets mode +v mentar
[20:11] * mythos (~mythos@unaffiliated/mythos) has joined #raspberrypi
[20:11] * PiBot sets mode +v mythos
[20:11] <JMichaelX> yggdrasil: did you purchase a case, or make one?
[20:11] * aykut (~aykut@unaffiliated/aykut) Quit (Read error: Connection reset by peer)
[20:12] * [SLB] (~slabua@unaffiliated/slabua) Quit (Quit: Close the world, Open the nExt)
[20:12] <yggdrasil> i purchased one
[20:12] <yggdrasil> i had been running the paper print out one
[20:12] <yggdrasil> http://www.thingiverse.com/thing:25100
[20:13] * plugwash (~plugwash@2001:5c0:1400:a::6e1) has joined #raspberrypi
[20:13] * PiBot sets mode +v plugwash
[20:14] <ekselkiu> Can't find it on the wiki: what are the two ribbon cable connectors for?
[20:14] * lowsider (~lowsider@173-14-110-121-nashville.hfc.comcastbusiness.net) has joined #raspberrypi
[20:14] * PiBot sets mode +v lowsider
[20:15] * [SLB] (~slabua@unaffiliated/slabua) has joined #raspberrypi
[20:15] * PiBot sets mode +v [SLB]
[20:16] * Snuffeluffegus (~john@ip-64-134-180-57.public.wayport.net) has joined #raspberrypi
[20:16] * PiBot sets mode +v Snuffeluffegus
[20:17] * sirspazzolot (~Matt@c-68-61-150-222.hsd1.mi.comcast.net) has joined #raspberrypi
[20:17] * PiBot sets mode +v sirspazzolot
[20:18] * kvarley (~kevin@unaffiliated/kvarley) has joined #raspberrypi
[20:18] * PiBot sets mode +v kvarley
[20:18] * kvarley (~kevin@unaffiliated/kvarley) Quit (Client Quit)
[20:19] <ekselkiu> Or are they not ribbon cable connectors?
[20:20] <ziltro> One is for GPIOs
[20:20] <victhor> ekselkiu: one is for camera and the other for a display..
[20:20] <ziltro> Oh, the smaller ones?
[20:20] <ziltro> Okay. Ignore me. :)
[20:21] <ekselkiu> Ahh.
[20:21] <ekselkiu> Labelled S2 and S5, I think.
[20:21] <ekselkiu> Not sure what "S" means there.
[20:21] <ekselkiu> victhor: Go away, lol
[20:22] <ekselkiu> It's weird seeing you appear in here :D
[20:22] <victhor> it's for camera and display. I don't know which is which, as they look exactly the same...
[20:22] <ekselkiu> And presumably nobody knows how to use them either.
[20:24] * Meatballs is now known as Meatballs|Away
[20:24] <RoyK> hrmf... I have my pi running raspbian with an hdmi monitor, powered by a usb charger, but the keyboard doesn't seem to work - do I really need a usb hub for it to be powered?
[20:25] <RoyK> same keyboard works well with a pandaboard
[20:27] * aykut (~aykut@unaffiliated/aykut) has joined #raspberrypi
[20:27] * PiBot sets mode +v aykut
[20:27] * rabbidrabbit (~rabbidrab@unaffiliated/rabbidrabbit) has joined #raspberrypi
[20:27] * PiBot sets mode +v rabbidrabbit
[20:28] * mentar (~mentar@94-195-22-204.zone9.bethere.co.uk) Quit (Ping timeout: 272 seconds)
[20:29] <ekselkiu> The two USB ports on the pi should be powered, shouldn't they?
[20:29] <ziltro> They can't provice 500mA. I forget what the limit is.
[20:29] <plugwash> the polyfuses will trip out at arround 150mA
[20:30] <plugwash> but long before that they will be introducing unacceptable volt drop
[20:30] <sirspazzolot> woo 8gb and 16gb sd cards came in
[20:30] <plugwash> you probablly don't want to draw more than about 50ma from each port if you want the voltage to stay in spec
[20:30] <RoyK> well, it's a keyboard, shouldn't draw too much
[20:30] * plugwash would just solder wires across said polyfuses as a first troubleshooting step
[20:31] <sirspazzolot> has anybody done something like a bootloader that can load multiple oses on the same card/
[20:31] <ekselkiu> If they haven't, I was going to try something like that with Linux and kexec.
[20:31] <ekselkiu> Might be a bit easier than porting U-boot.
[20:33] * Maccer (~Maccer@ Quit (Ping timeout: 244 seconds)
[20:33] <plugwash> Last I heard someone had done it with kexec but kexec didn't seem to get on with the videocore stuff
[20:33] <ekselkiu> Oh dear.
[20:33] <plugwash> IIRC someone has also been working on porting u-boot
[20:34] <RoyK> just tried another keyboard - no luck
[20:34] * iBooyaa (~booyaa@2001:470:92f1:0:226:8ff:fedc:f227) Quit (Remote host closed the connection)
[20:35] <Dyskette> RoyK, what's the current rating of your power source?
[20:36] * alexj|google (alexandruj@pdpc/supporter/student/alexj) has joined #raspberrypi
[20:36] * PiBot sets mode +v alexj|google
[20:37] <ziltro> Is there any reason they can't do 500mA? Is it more than just thicker traces on the board?
[20:37] <sirspazzolot> ziltro, who the pi team?
[20:37] <alexj|google> hello! I read that a class 4 sd card is recommended.. but is that the minimum or maximum speed?
[20:38] <Sm0ke0ut> no
[20:38] <ziltro> Oh, I mean the USB ports.
[20:38] <Sm0ke0ut> all limits are "set" by the medium itself
[20:38] * djuggler (~djuggler@doug.ws.utk.edu) has joined #raspberrypi
[20:38] * PiBot sets mode +v djuggler
[20:38] <sirspazzolot> class 4 is the minimum recommended. not sure if slower works
[20:38] <Sm0ke0ut> class 10 cards usually works fine as well though
[20:38] <markllama> now.
[20:38] <RoyK> Dyskette: it says 5V 1A
[20:38] <ziltro> I thought the class was the minimum sustained write speed?
[20:39] <Sm0ke0ut> read spead afaik
[20:39] <RoyK> Dyskette: what is the minimum needed?
[20:39] <alexj|google> can the pi actually rended full hd movies to a tv?
[20:39] <Sm0ke0ut> yes @ alexj|google
[20:39] <Dyskette> RoyK, that's one potential issue ruled out :P The Pi is rated at 700mA, so 1A should be grand.
[20:39] <Sm0ke0ut> at least, from network shares..
[20:39] <Sm0ke0ut> didn't try form a local flash drive
[20:39] <alexj|google> I can't wait to get it :)
[20:39] <RoyK> Dyskette: not quite - I've seen some issues with that PSU - let me try another...
[20:39] <ziltro> I thought it was write speed because that's important when recording.
[20:39] <plugwash> alexj|google, it can IF and ONLY if the video is being decoded by the GPU
[20:40] <plugwash> and currently only H.264 is available for the GPU
[20:40] <sirspazzolot> I thought read because it's a storage medium
[20:40] <Sm0ke0ut> mkv containers are being parsed just fine (up to ~9GB)
[20:40] <sirspazzolot> and you read things from storage mediums
[20:40] <plugwash> so whether the Pi is a practical media center depends entirely on whether your media collection is pure H.264
[20:41] <[SLB]> does that mean no x264?
[20:41] <sirspazzolot> h.264 master race
[20:42] <Billiard> [SLB]: x264 is an encoder for h264
[20:42] <[SLB]> yes, wasn't sure what "pure" meant
[20:43] <RoyK> port hub status failed err -19
[20:43] <RoyK> and something about "usb port 1 cannot be enabled - maybe cable is bad?"
[20:44] * aditsu (~aditsu@183178080020.ctinets.com) Quit (Quit: ChatZilla [SeaMonkey 2.10.1/20120630222344])
[20:44] <RoyK> tried with another adapter rated at 550mA, the wouldn't even boot
[20:45] <[SLB]> the psu sold my modmypi and tested with the raspi is rated 5V/2A so i guess between 1 and 2 is reasonably good
[20:45] <Lartza> Anyone tried these http://dx.com/p/virtual-5-1-surround-usb-2-0-external-sound-card-22475?item=3 to get a microphone jack
[20:45] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) Quit (Read error: Operation timed out)
[20:45] <[SLB]> i think below 700mA may not be enough, just imho
[20:45] * Snuffeluffegus (~john@ip-64-134-180-57.public.wayport.net) Quit (Ping timeout: 246 seconds)
[20:46] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) has joined #raspberrypi
[20:46] * PiBot sets mode +v nils_2
[20:47] <Dyskette> [SLB], not just in your opinion, that's what the Pi is officially rated at!
[20:51] <GriffenJBS> you can't have too high of A for a power supply 5V 200A will work
[20:51] <GriffenJBS> but 5V 1A-2A is typical
[20:51] <GriffenJBS> if you have a volt meter check the test points RoyK
[20:52] * plugwash would take all the information in the bits of paper RS/farnell supply with a massive grain of salt but yeah their power requirement figures seem vaugely in the right ballpark
[20:52] <GriffenJBS> many power supplies are rather junky
[20:52] <plugwash> GriffenJBS, while a 5V 200A supply may work you should not hook it up to the Pi without additional protection
[20:52] <RoyK> GriffenJBS: test points?
[20:52] <GriffenJBS> TP1 and TP2 on the Pi
[20:53] <GriffenJBS> TP2 is beside the RCA plug
[20:53] <GriffenJBS> TP1 is almost in the middle between SD and HDMI
[20:53] <GriffenJBS> if should show 5V, if it's below 4.75V there is a problem
[20:53] <GriffenJBS> with your power supply
[20:54] <RoyK> got any graphic showing that?
[20:55] <GriffenJBS> RoyK: working on it
[20:56] <RoyK> what about something like this? http://www.ebay.com/itm/1Pcs-AC-100-240V-DC-5V-2A-USB-Charger-Adapter-Supply-Wall-Home-Office-EU-/190688034768?pt=Battery_Chargers&hash=item2c65e47fd0
[20:56] <GriffenJBS> RoyK: http://elinux.org/RPi_Hardware#How_Can_I_tell_if_the_power_supply_is_inadequate.3F
[20:58] <RoyK> GriffenJBS: thanks a bunch - 4.14V - not good...
[20:59] * Timmmaaaayyy (~Timmmaaaa@fwpat.freshdirect.com) Quit (Quit: Not that there is anything wrong with that)
[21:00] <mikma> teepee, bunghole
[21:00] * thrawed (t@unaffiliated/thrawed) has joined #raspberrypi
[21:00] * PiBot sets mode +v thrawed
[21:01] <[SLB]> i use the charger of my htc legend which is 5V/1A, so i'm good with it eheh
[21:01] * P4R4N01D (~johndoe@189-83-209-118.user.veloxzone.com.br) has joined #raspberrypi
[21:01] * PiBot sets mode +v P4R4N01D
[21:02] * Lupinedk is now known as lupinedk
[21:03] <ziltro> Is D17 (underneath) a reverse polarity protection diode?
[21:03] <GriffenJBS> RoyK: so your power supply needs to be better
[21:04] <GriffenJBS> many supplies say 5V 700mA, but when you plug them in, they aren't up to par
[21:04] * Maccer (~Maccer@ has joined #raspberrypi
[21:04] * PiBot sets mode +v Maccer
[21:04] <GriffenJBS> and the voltage drops below 4.75, then the pi doesn't work
[21:04] <ziltro> They can do 5V and they can do 700 mA. But not at the same time?
[21:04] <GriffenJBS> ziltro: pretty much, some can't even do that
[21:04] <plugwash> looks like it's an overvoltage protection diode
[21:04] <ziltro> Then they are made by liars, who should be shot.
[21:05] <GriffenJBS> ziltro: it's sales, seems to work that way the world over
[21:05] <plugwash> unfortunately at least according to the scheamtic it's a symetrical unit (e.g. it actually has two diodes inside) so it won't give reverse polarity protection
[21:05] <GriffenJBS> but I agree, I don't like it
[21:05] <thrawed> Someone here said before that even though the main fuse on the pi is only 700mA you should still go as high as possible with mA for the power supply because they tend to get sketchy as they reach max power and the voltage goes wierd
[21:05] <Dyskette> A device won't draw more power than it needs in normal operation.
[21:05] <plugwash> yeah USB PSUs like PC PSUs are often fraudulently marketed because the suppliers know they can get away with it
[21:05] <GriffenJBS> 700mA fuse means nothing, you can use 3000mA, it won't hurt the pi
[21:06] <Dyskette> You can't really have too many amps.
[21:06] <GriffenJBS> do NOT go over 5.25V, the voltage will quickly hurt it
[21:06] <tcial> How long would an rPi last at 6v?
[21:06] <ziltro> In miliseconds?
[21:07] <[SLB]> lol
[21:07] <plugwash> Dyskette, I wouldn't agree there, too much current available without adequate protection can seriously increase the damage in the event of a fault, I wouldn't go over 3A or so without additional protection.
[21:07] <thrawed> would it fizzle or go smoke?
[21:07] <thrawed> Or would it juse die?
[21:07] <Dyskette> plugwash, in the event of a fault, aye.
[21:07] <tcial> thrawed: at 6v? xD
[21:07] <Dyskette> plugwash, but it isn't an inherent problem in the same way that overvolting is.
[21:07] <GriffenJBS> depends on the pi, may last a while, but it's out of specs for the voltage regulators
[21:08] <Dyskette> (Having an excess of available current, I mean)
[21:08] <ziltro> The over-voltage protection diode might eat some of the volts and conver them into heat?
[21:08] <ziltro> But I wouldn't want to rely on it.
[21:08] <GriffenJBS> Dyskette: plugwash means if you drop a coin or keys on your pi, the higher the amps, the more damage is done
[21:09] <Dyskette> GriffenJBS, aye, I realise.
[21:09] <GriffenJBS> low amp supply may drop voltage and cause no perm. damage
[21:09] <Dyskette> Or, it may kill it just as dead.
[21:09] <ziltro> It could melt a track.
[21:09] <Dyskette> Ideally you'd not really be dropping keys on your Pi.
[21:10] <thrawed> what sort of keys?
[21:10] <ziltro> Piano keys, with piano attached?
[21:10] <Streakfury> lol
[21:11] <thrawed> I think that might hurt your pi
[21:11] <Dyskette> I'd liken that to filling up beyond what you need - yes, it does create a potentially bigger fire hazard in the event of a crash compared to a nearly empty tank (or just sufficiently full) but it's not like having an excess of fuel is generally a problem in normal operation.
[21:12] <ziltro> Isn't a full tank less likely to explode/burn as it has less air in it?
[21:12] <Dyskette> Depends on the crash.
[21:12] <Dyskette> If the tank is punctured, it's not that relevant.
[21:12] <ziltro> Well then the fuel would leak out and cause a mess.
[21:13] <Dyskette> Most fires start with the fuel leaking out and finding an ignition source that way.
[21:13] <ziltro> Possibly a mess of flamage.
[21:13] * plugwash would liken hooking a 5V 200A supply up to a Pi with no extra protection and being like driving arround with a full tank and several oildrums full of petrol in the boot
[21:14] <ziltro> Americans don't seem to like overcurrent protection.
[21:14] <ziltro> Like, there doesn't seem to be any 'twixt a mains transformer and a building.
[21:14] <Dyskette> plugwash, yeah.
[21:14] <ziltro> Or in a 12 V 'cigarette lighter' plug.
[21:14] * iBooyaa (~iBooyaa@ has joined #raspberrypi
[21:14] * PiBot sets mode +v iBooyaa
[21:14] <Dyskette> plugwash, but in the context of microUSB chargers, "you can't have too many amps" is pretty much true in practice.
[21:15] <iBooyaa> hihi
[21:15] <GriffenJBS> ziltro: depends on the fuel/air ratio
[21:15] <GriffenJBS> wow, I'm behind the convo, nvm
[21:16] * SgrA (~ashutosh@unaffiliated/sgra) has joined #raspberrypi
[21:16] * PiBot sets mode +v SgrA
[21:16] <GriffenJBS> plugwash: your right, 200A can wield your pi to something, and is too much, but under normal operation it's fine
[21:17] <GriffenJBS> the point is all these 200mA sources don't cut it, and the voltage is the limit people need to watch
[21:17] <GriffenJBS> I've found a few supplies that are way beyond 5.25V with no load
[21:17] <SgrA> Hi, I'm on Arch, I built omxplayer-git, but when I try to play a .flv, it omxplayer just clears screen and sits.
[21:17] <victhor> SgrA: Arch is the problem
[21:18] <GriffenJBS> victhor: do you have more details?
[21:18] <victhor> oops.
[21:18] * spirytusick (~spirytusi@cpc4-croy17-2-0-cust884.croy.cable.virginmedia.com) Quit (Quit: connection reset by sznurr)
[21:18] <ziltro> Hmm, I want to use Arch, but I want to use the FPU.
[21:20] <plugwash> then start a project to rebuild it, it will only suck up your life for a few months ;)
[21:20] <friggle> I believe arch are going to produce a hardfp build
[21:21] <mikma> let's put it this way
[21:21] <ziltro> I would hope they are.
[21:21] <ziltro> Although I probably don't need speed increase for any of my current ideas.
[21:21] <mikma> if some distribution is not modded to raspi, it's an awful distro and should burned with fire
[21:21] <iBooyaa> are ppl using arch because packages get updated more freq?
[21:21] <ziltro> That's why I like the idea of Arch.
[21:22] <ziltro> And the rolling release thing.
[21:22] <iBooyaa> I'm happy with the official raspian based deb
[21:22] <iBooyaa> \m/
[21:22] <ziltro> Raspbian would probably do me pretty well.
[21:22] <thrawed> mikma: of course, if we're all running the exactly same hardware, you might as well optimize as much as possible the stock build right?
[21:22] <iBooyaa> o was using arch and then some libs broke
[21:22] * bnmorgan- (4179f208@gateway/web/freenode/ip. has joined #raspberrypi
[21:22] * PiBot sets mode +v bnmorgan-
[21:22] <thrawed> duct tape can fix that
[21:23] * lowsider (~lowsider@173-14-110-121-nashville.hfc.comcastbusiness.net) has left #raspberrypi
[21:23] <mikma> thrawed: yeap
[21:23] <bnmorgan-> could someone tell me how to set the time on raspbmc
[21:24] <mikma> ntpdate server
[21:24] <ziltro> I don't know the exact answer, so I'm going to say install NTPD.
[21:24] <iBooyaa> I tried and failed to light an led tonight using just bread board, resistor and psu
[21:24] <thrawed> mikma: apt-get install ntpdate
[21:24] <thrawed> mikma: ntpdate uk.pool.ntp.org
[21:24] <iBooyaa> I will try again with a battery pack at home but nt sure why that would
[21:25] <iBooyaa> make a diff
[21:25] <mikma> thrawed: no no, he just asked how to set the time! ;O
[21:25] <thrawed> I mean bnmorgan
[21:25] <bnmorgan-> don't know how to get to term in raspbmc
[21:25] <thrawed> ctrl alt f1
[21:26] <bnmorgan-> negative result
[21:26] <thrawed> ctrl alt f2
[21:26] <bnmorgan-> negative result
[21:26] <SgrA> f3 actually.
[21:26] <thrawed> I thought that was a universal linux thing
[21:26] <SgrA> It is. Start with f3 though. :P
[21:26] <ziltro> It is configured in /etc/inittab
[21:27] <ziltro> You can have entirely serial port consoles if you wish.
[21:27] <bnmorgan-> no f3, c f3, a f3, s f3, and ca f3\
[21:27] <iBooyaa> rawesome
[21:27] <iBooyaa> non standard mapping
[21:27] <SgrA> .
[21:27] <ziltro> I even saw a USB to 4 RS232 port device the other day. Great for a RPi to connect your dumb terminals to it.
[21:27] <thrawed> bnmorgan: is ca f3 to mean you're holding down ctrl + alt + f3?
[21:27] <iBooyaa> well done raspxmbc team
[21:28] <mikma> try ssh
[21:28] <bnmorgan-> correct
[21:28] <iBooyaa> ziltro: linkie?
[21:28] <plugwash> one thing i've wondered about is a cross-admin board for use with embedded linux boards (including but not limited to the Pi)
[21:28] <bnmorgan-> clicked exit, maybe it's taking me back to whatever is under xbmc
[21:28] <plugwash> the idea is each board would have two links to the cross-admin board, a serial and a USB
[21:28] <plugwash> and then any board would be able to access the serial console of any other board
[21:29] <plugwash> so if one of your boards is having boot problems you can use another board in the set to recover it
[21:29] <iBooyaa> nice
[21:29] <iBooyaa> id just like a reset button to
[21:29] <ziltro> iBooyaa: Couldn't find it instantly, but here's an 8 port one! http://uk.farnell.com/meilhaus/usb-2com/converter-interface-usb-to-xrs232/dp/9568301
[21:30] <iBooyaa> reboot the pi and a bonus would be able up use th arduino to also reboot the rpi
[21:30] * RaspDD (RaspDD@g227000233.adsl.alicedsl.de) Quit (Ping timeout: 246 seconds)
[21:30] <mikma> ibooyaa: remote controlled powersocket :)
[21:31] <mikma> ibooyaa: http://www.amazon.co.uk/Remote-Control-Socket-Set/dp/B000H9HU70 <- like that
[21:31] * aykut (~aykut@unaffiliated/aykut) Quit (Quit: Leaving)
[21:31] <bnmorgan-> other ideas for terminal?
[21:31] <Billiard> get a clapper instead
[21:31] * aykut (~aykut@unaffiliated/aykut) has joined #raspberrypi
[21:31] * PiBot sets mode +v aykut
[21:31] <iBooyaa> yeah that's my backup where I use the remote
[21:32] <mikma> billiard: but better not applaud for anything after that... too bad they don't sell clappers here in finland :(
[21:32] <plugwash> could do but for power control of embedded boards I think i'd rather use a couple of transistors
[21:32] <iBooyaa> to trigger it or of its ir copy the right signal
[21:32] <plugwash> I don't want to have to have a seperate wall wart for every board
[21:33] * rabbidrabbit is now known as Guest16348
[21:34] * Guest16348 (~rabbidrab@unaffiliated/rabbidrabbit) Quit (Ping timeout: 250 seconds)
[21:34] * rabbidrabbit (~rabbidrab@unaffiliated/rabbidrabbit) has joined #raspberrypi
[21:34] * PiBot sets mode +v rabbidrabbit
[21:36] * kokakoda (kokakoda@gateway/shell/blinkenshell.org/x-sbxcgaklckkcfajm) has joined #raspberrypi
[21:36] * PiBot sets mode +v kokakoda
[21:36] <SwK> plugwash: you could get like a small form factor PC powersupply and have all the wattage you need
[21:37] <plugwash> SwK, exactly
[21:37] <plugwash> which is why i'd want to do the power switching on the DC side
[21:37] <SwK> then you can take like one of the 5V outs and fan it out using some off the shelf lower power switching transistors
[21:37] <plugwash> indeed
[21:38] <SwK> ok
[21:38] <plugwash> just got to make sure you think the voltages through (which if switching from a Pi probablly means using two transistors)
[21:38] <SwK> anyone... is there a sure fire way to tell if you are not getting enough current to your raspi
[21:38] <plugwash> one PNP (or PMOS) and one NPN (or NMOS)
[21:38] <plugwash> SwK, monitor the 5V line with an ossiloscope
[21:38] * Tu13es (~brandon@vervet.isomerica.net) has left #raspberrypi
[21:39] <SwK> the 5V line shouldbe good... its 1200ma feed
[21:39] <plugwash> yeah but "should be" and "is" aren't always the same thing
[21:39] <SwK> but something is getting flaky when I plug in my usb headset.. (not directly to the rpi but to a powered hub) rpi is powered seperately
[21:39] <SwK> yeah
[21:40] <thrawed> most of these powered hubs are greedy
[21:40] <SwK> and of course theres no good way to measure the current pull on this thing with what I have available
[21:40] <thrawed> they'd rather steal the pies power than use their own supply
[21:40] <SwK> really
[21:40] <SwK> hmmm
[21:40] <thrawed> sometimes
[21:40] <SwK> wonder if thats causing the problem
[21:41] <dougsko> SwK: you can pick up a multimeter for pretty cheap. then just wack the end off of a spare USB cable to measure
[21:41] * Civil|2 (~kvirc@2a02:6b8:0:401:227:eff:fe04:2c48) Quit (Read error: No route to host)
[21:42] <SwK> yeah i have a DMM, the problem is where I want to measure the current load at isnt a good spot
[21:42] <SwK> I would prefer to measure input current
[21:43] <plugwash> replace the input polyswtich with a known low value resistor
[21:43] <plugwash> that you can use as a current shunt for measurements
[21:44] <SwK> i miss my lab
[21:46] * bluefirecorp (~bluefirec@cpe-98-30-233-211.woh.res.rr.com) has left #raspberrypi
[21:47] <GriffenJBS> SwK: have you measured TP1 & TP2?
[21:47] <thrawed> yeah labradors are cool
[21:48] <GriffenJBS> I like cats, but I can't eat a whole one
[21:48] * JMichaelX (~james@ Quit (Quit: Konversation terminated!)
[21:49] * Patteh (~BOB@cpc9-hari15-2-0-cust297.20-2.cable.virginmedia.com) has joined #raspberrypi
[21:49] * PiBot sets mode +v Patteh
[21:50] * ReggieUK (~ReggieUK@5aca5630.bb.sky.com) has joined #raspberrypi
[21:50] * PiBot sets mode +v ReggieUK
[21:50] * ChanServ sets mode +o ReggieUK
[21:52] <SwK> GriffenJBS: yeah
[21:52] <SwK> you know
[21:52] <SwK> i think its this stupid f'n keyboard
[21:52] <ReggieUK> language!
[21:52] <GriffenJBS> it's english I think
[21:53] <ReggieUK> but not as we know it
[21:53] <Vibe> f'n
[21:53] <GriffenJBS> He's dead Jim!
[21:53] * ReggieUK reminds people to look at the topic
[21:53] <GriffenJBS> this isn't the mid morning smoke break?
[21:54] <SwK> what foul language? I self censored
[21:54] * ReggieUK changes topic to 'Unofficial RaspberryPi IRC channel. Logs @ http://srv.datagutt1.com <> ** No Foul Language ** No unauthorised Bots ** <> You will only be able to join #raspberrypi if you are identified w/ Nickserv. <>'
[21:54] <GriffenJBS> SwK: if TP1 & TP2 keep in spec then the voltage should be good, the current draw should be fine, and it's time to look for the problem elsewhere
[21:54] <SwK> if you translated it to something other then what I said it was your own mind drawing a conclusion to what I was saying
[21:54] <Vibe> "stupid" is bad language :p
[21:54] <ReggieUK> well, no not really, you attempted what you thought was self-censorship
[21:55] <GriffenJBS> that was considered foul language? Are you american?
[21:55] <Vibe> you should use instead -> not so intelligent :p
[21:55] <Vibe> "stupid" word is offending
[21:55] <sirspazzolot> reggie must we really be so prudish? :P
[21:55] <GriffenJBS> I wouldn't guess from the UK
[21:55] <GriffenJBS> from sirspazzolot that's rather amusing
[21:56] <sirspazzolot> how do you figure?
[21:56] <ReggieUK> must we really have this conversation every time? Considering I am never going to change my mind no matter what anyone else says :)
[21:56] <GriffenJBS> you don't see the irony of that?
[21:56] <GriffenJBS> ReggieUK: I guess so, I've never heard this conversation, that's why I'm in it
[21:57] <sirspazzolot> no?
[21:57] * iBooyaa (~iBooyaa@ Quit (Quit: doh!)
[21:57] <GriffenJBS> If it's come up before write a response and pastebin, then pass out the URL
[21:57] <SwK> so lemme get this straight... had I typed "freakin keyboard" there would not have been a problem?
[21:58] <sirspazzolot> yes
[21:58] <sirspazzolot> GriffenJBS, what's the irony?
[21:59] <GriffenJBS> people who spaz, usually not noted for being prudish, asking if we must really be so prudish. I made me giggle
[22:00] <sirspazzolot> oh I thought I somehow had a reputation here or something
[22:00] <GriffenJBS> I've never seen the name before
[22:00] <Vibe> "fn keyboard" would have been better
[22:00] <sirspazzolot> lol it's a really old handle, I wanna change it
[22:00] <ziltro> My keyboard has an 'fn' button.
[22:01] <Vibe> cos fn is button :p
[22:01] <Vibe> yeap!
[22:01] <sirspazzolot> lololol
[22:01] <ziltro> It is mostly useless. :)
[22:01] <GriffenJBS> making little keyboards?
[22:01] <sirspazzolot> I use my fn button all the time
[22:01] <markllama> Is THAT what that button's for!
[22:01] <Vibe> nope with my eee-pc
[22:01] <Vibe> I can disable wlan etc with fn-button :)
[22:01] * peba (~peba@91-119-132-62.dynamic.xdsl-line.inode.at) Quit (Ping timeout: 252 seconds)
[22:01] <sirspazzolot> you have to press fn for f1-f12 and it's so frustrating
[22:02] <sirspazzolot> this hp laptop has the dumbest fn keyboard
[22:02] <markllama> but with an eee-pc the fn button is so small.
[22:02] <SwK> my macbook has a fn key
[22:02] <sirspazzolot> it has a dedicated calculator button exactly where left ctrl is supposed to be
[22:02] <ziltro> Fantastic
[22:02] <sirspazzolot> "oh I wanna copy this text here" NOPE CALCULATOR
[22:02] <GriffenJBS> mine has the function keys, the Fn key does the extra "sleep, play, pause, wlan on/off" etc
[22:02] <ziltro> I'm glad they stopped making the impossible to use touchpads.
[22:02] <sirspazzolot> "let's save this word document" NOPE TIME FOR MATH
[22:02] <plugwash> sirspazzolot, at least on my HP there is a bios setting to fix that
[22:03] <ziltro> Sounds like an american keyboard...
[22:03] <sirspazzolot> yeah I've been told I could go into bios to do it but it's either change everything or change nothing
[22:03] * stain (~stain@stain.s11.no) has joined #raspberrypi
[22:03] * PiBot sets mode +v stain
[22:03] <sirspazzolot> and I rather like having print screen being a default key
[22:03] <sirspazzolot> and I'd like media controls to stay default
[22:04] * iMatttt (~imatttt@cpc4-farn4-0-0-cust34.6-2.cable.virginmedia.com) has joined #raspberrypi
[22:04] * PiBot sets mode +v iMatttt
[22:05] <dwatkins> some of my laptops have the 'fn' button where 'ctrl' should be, but I don't use the F1-10/12 keys often enough to need them pressable without the 'fn' key.
[22:05] <ziltro> Alt+F4?
[22:06] <dwatkins> That's a great example of an obscure key-combination, ziltro :)
[22:06] <ziltro> It isn't /very/ obscure.
[22:06] <stain> has anyone of you played with the framebuffer via Java? (I am not sure which JVM to use, anyway)
[22:06] <ziltro> It is I should think one of the most common.
[22:06] <dwatkins> ziltro: I prefer cmd+Q
[22:06] <rabbidrabbit> sirspazzolot: my hp laptop has a setting in the bios to swap the fn keys, so you only need to press fn to turn down brightness etc.
[22:06] <ziltro> Oh... MacOS?
[22:07] <GriffenJBS> stain: have you noticed the pi has java support?
[22:07] <dwatkins> ziltro: yeah, some linux apps do something similar. I've not used alt+F4 in years, and I use windows every day at work.
[22:07] <stain> mine is in the mail, so IO have not actually tried any of the distros yet :)
[22:07] <sirspazzolot> mine does too rabbit but I'd rather keep some of those keys on default since I use them. I only wanna switch f4, f5, f2, f10, and get rid of the calc button
[22:08] <SwK> whats the generally allowed min voltage across tp1 and tp2?
[22:09] * Protux (~textual@ has joined #raspberrypi
[22:09] * PiBot sets mode +v Protux
[22:09] <SwK> and how tollerant is RG2 to over voltages?
[22:09] <rabbidrabbit> sirspazzolot: You can get rid of the calc key in the registry.
[22:09] <stain> GriffenJBS: do you mean openjdk 6?
[22:09] <stain> with the Zero VM?
[22:09] <sirspazzolot> popping up calc is less annoying than not actually hitting left ctrl
[22:09] <ziltro> I'm looking forward to hacking up a floppy cable to power my RPi. :)
[22:10] <sirspazzolot> when I aim for ctrl+c I sometimes hit calc+x, ctrl+s = calc+a, that sort of thing
[22:10] <sirspazzolot> so getting rid of it through software doesn't really solve the problem
[22:10] <rabbidrabbit> there might be a way of swapping the calc for ctrl. Either way it can be changed. http://h30434.www3.hp.com/t5/TX-TM-Series-Notebooks-Reply/How-to-disable-hotkeys-amp-action-keys/td-p/328145
[22:10] * boomtakzaag (~boomtakza@ip565f4ad0.direct-adsl.nl) has joined #raspberrypi
[22:10] * PiBot sets mode +v boomtakzaag
[22:10] <GriffenJBS> stain: I mean 'cat /proc/cpuinfo' features list 'fastmult vfp java tls' among others
[22:11] <ziltro> Can't you re-map keys at a fairly low level, or is this windows?
[22:11] <GriffenJBS> hardware support for java
[22:11] <ziltro> hardware java?!
[22:11] * chris_99 (~chris_99@unaffiliated/chris-99/x-3062929) Quit (Ping timeout: 245 seconds)
[22:11] <ziltro> Might run Freenet well...
[22:11] <fragalot> ziltro: my digital tv tuner natively runs java too
[22:11] <rabbidrabbit> this is windows
[22:11] <fragalot> some java OS thing. it's terrible.
[22:12] <ziltro> Hmm...
[22:12] <ziltro> List of java programs I've used which aren't completely aweful...
[22:12] <ziltro> Freenet. JOSM. Can't think of any others at the moment.
[22:12] * Holden (~holden@unaffiliated/holdenc) has joined #raspberrypi
[22:12] * PiBot sets mode +v Holden
[22:13] <stain> GriffenJBS: In the kernel?? I suspect that just means that ./some.jar will equiv java -jar ./some.jar
[22:13] * Civil (~Civil@chb14k1kv79.static.corbina.ru) has joined #raspberrypi
[22:13] * PiBot sets mode +v Civil
[22:13] * _rp (romprod@5e09b91b.bb.sky.com) Quit (Quit: ircN 8.00 for mIRC (20100904) - www.ircN.org)
[22:13] <GriffenJBS> stain: this isn't talking about the kernel, it's listing the CPU abilities
[22:14] <dougsko> sirspazzolot: check out xmodmap for easy key remapping
[22:14] <sirspazzolot> I'm on windows on this particular computer dougsko
[22:14] <sirspazzolot> due to the stupid trackpad not working well enough in linux
[22:15] <dougsko> sirspazzolot: oh. no idea then, sorry
[22:15] <sirspazzolot> I'll keep that in mind though, thanks!
[22:15] <rabbidrabbit> sirspazzolot: you can use autohotkey to do the same thing
[22:15] <GriffenJBS> yeah, it has java support, but it's like the video codecs, it's still not avail
[22:15] <ziltro> You could hack the EC code. ;)
[22:15] <rabbidrabbit> and remap calc to control
[22:15] <sirspazzolot> like I said earlier, it's the physical presence of the button that messes me up
[22:15] <stain> I think GriffenJBS has been smoking something :) Are you suggesting the CPU can run Java bytecode natively?
[22:15] <sirspazzolot> I aim for ctrl+s and hit calc+a
[22:15] <GriffenJBS> stain: no smoking, reading datasheets
[22:15] <sirspazzolot> even if it were ctrl, it's be the wrong combo >.>
[22:15] <GriffenJBS> it has the jazelle instruction set
[22:16] <dougsko> sirspazzolot: xmodmap only works within X, it's a bit more complicated to make it work outside X. check in /usr/share/kbd/keymaps/i386/ for a doc on that and the 'loadkeys' command
[22:16] <GriffenJBS> for running java, but it's not available for use, it does exist in the hardware
[22:16] <rabbidrabbit> I'm sure calc + c would be the same as ctrl + x
[22:16] <rabbidrabbit> +c *
[22:16] <stain> GriffenJBS: you're fucking right :)
[22:16] <dougsko> sirspazzolot: but again, thats all linux :/
[22:16] <stain> obviously you would need good kernel support to load up the JRE runtime
[22:16] <GriffenJBS> wow, ReggieUK won't be happy
[22:16] <rabbidrabbit> so whats the problem>
[22:17] <sirspazzolot> lol my linux box has some key map issues too (extra euros key for some reason) so it's still handy to know
[22:17] * boomtakzaag (~boomtakza@ip565f4ad0.direct-adsl.nl) Quit (Quit: boomtakzaag)
[22:17] <sirspazzolot> thanks dougsko
[22:17] * Holden (~holden@unaffiliated/holdenc) Quit (Client Quit)
[22:18] <stain> > For the avoidance of doubt, distribution of products containing software code to exercise the BXJ instruction and enable the use of the ARM Jazelle architecture extension without [..] agreement from ARM is expressly forbidden..[5]
[22:20] <GriffenJBS> stain: oh what joy, right?
[22:21] * SphericalCow (user@unaffiliated/sphericalcow) Quit (Quit: Leaving)
[22:21] <stain> perhaps I should go talk to the designer of ARM who happens to sit next to my office and get some secrets..
[22:21] * Xuu (core@2001:470:bcb9:d42:5817:1a06:3ac9:fc14) has joined #raspberrypi
[22:21] * PiBot sets mode +v Xuu
[22:22] * hndrk (~hendrik@178-82-219-45.dynamic.hispeed.ch) Quit (Ping timeout: 244 seconds)
[22:23] <friggle> I think the main secret is that Jazelle isn't really all that great
[22:23] <friggle> not if the comparison is with a reasonable java JIT
[22:23] * mythos (~mythos@unaffiliated/mythos) Quit (Remote host closed the connection)
[22:24] * chris_99 (~chris_99@unaffiliated/chris-99/x-3062929) has joined #raspberrypi
[22:24] * PiBot sets mode +v chris_99
[22:24] <plugwash> mmm, iirc the openjdk guys have said that the new JIT in openjdk probablly could be ported to armv6 relatively easiilly if someone with appropriate experiance was prepared to put the work in
[22:25] <plugwash> mainly I think it just needs reworking to spit out arm mode code rather than thumb2ee code
[22:25] <friggle> plugwash: yes, I spke to Andrew...something about it and that's was his belief
[22:25] <friggle> yep
[22:26] * thrawed (t@unaffiliated/thrawed) Quit (Ping timeout: 246 seconds)
[22:26] * LWK_mac (~LWK@pdpc/supporter/student/lwk) has joined #raspberrypi
[22:27] * PiBot sets mode +v LWK_mac
[22:28] <WASDx> Are sockets the same throughout programming languages? Like a server written in C using sockets can be connected to from a client written in Java
[22:28] <plugwash> yes
[22:28] <WASDx> as i guessed then
[22:28] * Xuu (core@2001:470:bcb9:d42:5817:1a06:3ac9:fc14) Quit (Quit: Reset by Peer.)
[22:29] <stain> friggle: yeah, seems they dumped it for a more general ThumbEE for ARMv7
[22:29] <Civil> WASDx: there are different type of sockets, but each type can be implemented in any language
[22:29] <WASDx> ok
[22:29] * Xuu (core@2001:470:bcb9:0:ace5:39f7:90a8:c02c) has joined #raspberrypi
[22:29] * PiBot sets mode +v Xuu
[22:29] <Civil> WASDx: (in fact it'll be syscall to kernel in linux any way)
[22:30] <ziltro> How do you know what language your web/dns/time/ftp/gopher/ssh server was written in?
[22:30] <stain> you look at the source code
[22:30] <ziltro> I mean one on the internets.
[22:30] <stain> you look at their fingerprints
[22:30] <stain> for instance a web server will tell you in the headers in theresponse
[22:31] * tcial (~tcial@host-87-75-138-84.dslgb.com) Quit (Quit: tcial)
[22:32] <ziltro> But you can't tell for all of them.
[22:32] <stain> for some like dns/time/ftp/gopher it is probably a bit trickier
[22:32] <stain> if it is transparant enough you would have to do very detailed things like try illegal values and see how the different software would fail, or even down to timing
[22:33] <stain> but if I wrote my own implementation of FTP in Ruby, I don't think you would be able to tell it was Ruby
[22:33] <stain> you could probably tell it was someone who did not know FTP well
[22:33] <ziltro> What I mean is if there were a problem with connecting from a different language you'd find it all over the internets.
[22:34] <Civil> stain: and if you do HEAD on http server and it return's something like "MySuperPuperServer/1.0" ?
[22:34] <stain> so youa re responding to WASDx that protocols remove the need to worry too much about programming languages
[22:34] <stain> Civil, then you would do le Google on "MySuperPuperServer/1.0" of course!
[22:34] <Civil> And google says nothing?
[22:35] <stain> then you email webmaster@domainname and see what he says
[22:35] <stain> or she, from the name of the server..
[22:35] <stain> are there any Pony-related programming languages?
[22:35] * hadifarnoud (~hadifarno@cpc5-glfd6-2-0-cust61.6-2.cable.virginmedia.com) has joined #raspberrypi
[22:35] * PiBot sets mode +v hadifarnoud
[22:35] <hadifarnoud> I get "E: Internal Error, No file name for libdb5.1" when apt-get -f install
[22:35] <Civil> stain: for example, what language web-server on "mc.yandex.ru" written? (It's identifies itself as Phantom/0.0.0)
[22:36] <hadifarnoud> I did apt-get upgrade
[22:36] * jonnyATroot (~jonny@ Quit (Quit: Leaving)
[22:36] <plugwash> hadifarnoud, what distro are you running?
[22:36] <hadifarnoud> raspbian
[22:36] <hadifarnoud> raspbian plugwash
[22:37] * thrawed (~t@unaffiliated/thrawed) has joined #raspberrypi
[22:37] * PiBot sets mode +v thrawed
[22:38] <stain> Civil: that does not look very cooperative.. perhaps a first try would be an nmap -O to determine the operating system. Note that port scanning can be seen as intrusion attempt and get you in trouble
[22:38] <stain> in particular with the russians..
[22:38] <Civil> stain: it's opensource :)
[22:38] <plugwash> hadifarnoud, what does ls /var/cache/apt/archives/db* show?
[22:39] <hadifarnoud> no such file plugwash
[22:39] <Civil> stain: it's source code avaliable under lgpl2.1 on github :)
[22:39] * iMatttt (~imatttt@cpc4-farn4-0-0-cust34.6-2.cable.virginmedia.com) Quit (Ping timeout: 272 seconds)
[22:39] * kushal (~kdas@fedora/kushal) Quit (Ping timeout: 272 seconds)
[22:39] <stain> http://www.knjaz.ru/ - looks like Russian mafia to me!
[22:40] <stain> I thought I was the only one using LGPL 2.1
[22:40] <plugwash> ok try doing 'wget http://archive.raspbian.org/raspbian/pool/main/d/db/libdb5.1_5.1.29-5_armhf.deb' followed by 'dpkg -i libdb5.1_5.1.29-5_armhf.deb'
[22:40] <Civil> stain: https://github.com/mamchits/phantom/blob/master/phantom/io_stream/proto_http/proto_http.C
[22:41] <stain> so C++
[22:42] <Civil> stain: yup, but it can't be googled if you don't know anything about it, except Header string
[22:42] <Civil> stain: and in fact it's C++ + x86 assembler
[22:42] <stain> you could google for error messages as well.
[22:43] <Civil> stain: m... for 404 it returns just "not found" with header 404
[22:43] <hadifarnoud> looks like it worked plugwash
[22:43] <hadifarnoud> thanks plugwash
[22:44] * johnthebear (~Johnthebe@13-167-147.client.wireless.msu.edu) Quit (Remote host closed the connection)
[22:44] * tcial (~tcial@host-87-75-138-84.dslgb.com) has joined #raspberrypi
[22:44] * PiBot sets mode +v tcial
[22:44] <stain> Civil: I fail to see how this has anything to do with Raspberry Pi.. is this running on such?
[22:44] <Civil> stain: https://github.com/kmeaw/phantom this fork can :)
[22:45] <Civil> stain: and can produce around 350 rps for empty page :) (more then 20k on x86 though)
[22:48] <stain> there are web frameworks for interpreted languages that would struggle to do 350 rps on a regular machine without optimizations
[22:48] * VeryHF (~huff@50-79-71-153-static.hfc.comcastbusiness.net) Quit (Quit: Leaving.)
[22:49] <Civil> stain: it's just empty answer... and on x86 you'll get more then 20000 rps on same thing
[22:50] <stain> yeah, but if the original has some assembly in it you would need to do that the ARM way, which I guess is a bit different - perhaps diferent bits needs to be optimized. How does other web servers on the pi perform?
[22:50] * bnmorgan- (4179f208@gateway/web/freenode/ip. Quit (Quit: Page closed)
[22:51] <Civil> stain: I haven't tested yet. Assembly is used for coroutines, stack switches
[22:52] <Civil> stain: if you look at patches (there are only 2 of them), they are pretty simple: https://github.com/kmeaw/phantom/commit/528f3f8b6b18455926e963bdabd6313b182875ed
[22:52] <Civil> https://github.com/kmeaw/phantom/commit/bbb3659a59f47666b7bd57f29ba3c3db3eee3420
[22:54] * Maccer (~Maccer@ Quit (Excess Flood)
[22:57] <Civil> stain: it's just armv6 vs x86 core... armv7 is 20 times faster
[22:57] <Civil> then rpi
[22:59] <Vibe> nokia n900 has arm7 :)
[22:59] <Civil> stain: bottleneck is performance of loopback, anyway
[22:59] <Vibe> but maemo 5 is armel
[23:02] * markllama (mlamouri@nat/redhat/x-kmczhhqaonkdiabq) Quit (Quit: Leaving.)
[23:02] * _rp (romprod@5e09b91b.bb.sky.com) has joined #raspberrypi
[23:02] * PiBot sets mode +v _rp
[23:05] * SonicSam_ (~SonicSam@206-248-185-217.dsl.teksavvy.com) has joined #raspberrypi
[23:05] * PiBot sets mode +v SonicSam_
[23:07] * chris_99 (~chris_99@unaffiliated/chris-99/x-3062929) Quit (Ping timeout: 250 seconds)
[23:08] * SonicSam_ is now known as SonicSam
[23:08] * JMichael|work (~JamesWhit@jmcooper.goshen.edu) has joined #raspberrypi
[23:08] * PiBot sets mode +v JMichael|work
[23:13] <simcop2387> aside from the fact that one is Arch and one is Debian, is there any other difference between the arch arm images and raspbian stuff?
[23:14] * RaycisCharles (~epidural@cpc20-lutn10-2-0-cust20.9-3.cable.virginmedia.com) has joined #raspberrypi
[23:14] * PiBot sets mode +v RaycisCharles
[23:14] * SonicSam (~SonicSam@206-248-185-217.dsl.teksavvy.com) has left #raspberrypi
[23:14] <WASDx> simcop2387: I've heard something about "hard floats" which someone else has to explain
[23:14] <WASDx> so I think there are some differences
[23:16] <ziltro> It means the code is compiled to use the hardware floiting point processing (presumably in the GPU)
[23:16] * chris_99 (~chris_99@unaffiliated/chris-99/x-3062929) has joined #raspberrypi
[23:16] * PiBot sets mode +v chris_99
[23:16] <ziltro> Took me a while to work out what it meant.
[23:17] <ziltro> "hard float" isn't really very descriptive.
[23:17] <WASDx> I don't know what it means either
[23:17] * roivas (~scott@97-83-0-56.dhcp.aldl.mi.charter.com) has joined #raspberrypi
[23:17] * PiBot sets mode +v roivas
[23:17] <simcop2387> hard float usually means that there's hardware doing the floating point math, soft float means it's all done in software
[23:17] <WASDx> and yeah
[23:17] <ziltro> It does some maths faster. ;)
[23:17] <Civil> float point math
[23:18] <ziltro> Why not call it "hardware float" instead, to make it more obvious?
[23:18] <simcop2387> after 40 years people get lazy? :)
[23:18] <ziltro> To type four letters and not have to explain it so much?
[23:18] <Civil> ziltro: hard = hardware :)
[23:19] <plugwash> simcop2387, however things are a little more complicated than that
[23:19] <ziltro> hard also means difficult.
[23:19] * jprvita is now known as jprvita|afk
[23:19] <plugwash> because using hardware floating point and using the hard-float ABI are too different things
[23:19] <nid0> there's also the point here that if you dont know what it means, you probably dont particularly need to
[23:19] <Civil> http://wiki.debian.org/ArmHardFloatPort/
[23:19] <simcop2387> plugwash: yea arm has been a bit of a mess with the ABIs that have been aroudn i've gathered
[23:19] <ziltro> I do know the difference between hardware and software floating point processing, but I didn't know that's what 'hard float' meant.
[23:20] * MauveGnome (~MauveGnom@host-92-21-185-205.as13285.net) has joined #raspberrypi
[23:20] * PiBot sets mode +v MauveGnome
[23:20] <simcop2387> there was 3 different incompatible ones that i know of, and now gcc only supports one or two (i think depending on if there's hardfloat or not)
[23:21] <plugwash> I have no idea if gcc still supports oldabi
[23:21] * SuperSonicSound (~SuperSoni@gateway/tor-sasl/supersonicsound) Quit (Ping timeout: 276 seconds)
[23:21] <plugwash> I know it supports both the baseline and vfp variants of eabi
[23:21] <plugwash> oldabi is basically dead though
[23:21] <Civil> plugwash: afaik gcc < 4.7 supports
[23:22] <Civil> but it was dropped in 4.7.0
[23:22] * MaxLeMilian (~MaxLeMili@koln-4db4d47b.pool.mediaways.net) has joined #raspberrypi
[23:22] * PiBot sets mode +v MaxLeMilian
[23:22] * Behold (~behold@unaffiliated/beholdmyglory) has joined #raspberrypi
[23:22] * PiBot sets mode +v Behold
[23:23] * Tuxuser is now known as XeCrypt
[23:24] * MaxLeMilian (~MaxLeMili@koln-4db4d47b.pool.mediaways.net) Quit (Client Quit)
[23:26] <hadifarnoud> I don't have enough space for apt-get upgrade, what should I do?
[23:26] <simcop2387> ok now i need an SD card... why didn't i get one when i got the shipping notification?
[23:26] <ziltro> Because you didn't believe it was really shipped?
[23:26] * BeholdMyGlory (~behold@unaffiliated/beholdmyglory) Quit (Ping timeout: 276 seconds)
[23:29] * rabbidrabbit is now known as Guest9603
[23:30] * rabbidrabbit (~rabbidrab@unaffiliated/rabbidrabbit) has joined #raspberrypi
[23:30] * PiBot sets mode +v rabbidrabbit
[23:30] * Guest9603 (~rabbidrab@unaffiliated/rabbidrabbit) Quit (Ping timeout: 250 seconds)
[23:31] * Tired_ (603642ef@gateway/web/freenode/ip. has joined #raspberrypi
[23:31] * PiBot sets mode +v Tired_
[23:31] * rabbidrabbit (~rabbidrab@unaffiliated/rabbidrabbit) Quit (Remote host closed the connection)
[23:35] * patchie (~sdf@136.81-167-201.customer.lyse.net) has joined #raspberrypi
[23:35] * PiBot sets mode +v patchie
[23:35] <patchie> i got my first RPI :D
[23:35] * kcj (~casey@unaffiliated/kcj) has joined #raspberrypi
[23:35] * PiBot sets mode +v kcj
[23:35] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) Quit (Quit: WeeChat 0.3.9-dev)
[23:36] * BeholdMyGlory (~behold@unaffiliated/beholdmyglory) has joined #raspberrypi
[23:36] * PiBot sets mode +v BeholdMyGlory
[23:37] * Qalthos (~nate@acd413018688.wireless.rit.edu) has joined #raspberrypi
[23:37] * PiBot sets mode +v Qalthos
[23:38] * Behold (~behold@unaffiliated/beholdmyglory) Quit (Ping timeout: 246 seconds)
[23:39] * Behold (~behold@unaffiliated/beholdmyglory) has joined #raspberrypi
[23:39] * PiBot sets mode +v Behold
[23:39] * mentar (~mentar@94-195-22-204.zone9.bethere.co.uk) has joined #raspberrypi
[23:39] * PiBot sets mode +v mentar
[23:40] * BeholdMyGlory (~behold@unaffiliated/beholdmyglory) Quit (Ping timeout: 246 seconds)
[23:40] * Aldasa (~Aldasa@unaffiliated/aldasa) Quit (Quit: Ex-Chat)
[23:41] <sirspazzolot> y'know now that they've come in the mail, transcend brand sd cards have a negative feeling attached in my brain
[23:41] <sirspazzolot> do they not work with the pi
[23:42] * wiiguy (~fake@unaffiliated/wiiguy) Quit (Quit: I just broke my connection, but no worries, we can rebuild it. We have the technology.)
[23:42] * Maccer (~Maccer@ has joined #raspberrypi
[23:42] * PiBot sets mode +v Maccer
[23:44] * rabbidrabbit (~rabbidrab@unaffiliated/rabbidrabbit) has joined #raspberrypi
[23:44] * PiBot sets mode +v rabbidrabbit
[23:44] * rsc (~robert@fedora/rsc) has joined #raspberrypi
[23:44] * PiBot sets mode +v rsc
[23:45] <rsc> Is it possible to deliver only a static image via the both graphic ports? And if so, how? I would like to avoid running X there...
[23:46] <rabbidrabbit> you could try fbi
[23:47] * shellac (~pldms@cpc6-aztw25-2-0-cust83.aztw.cable.virginmedia.com) Quit (Quit: Bye!)
[23:48] * jprvita|afk (~jprvita@las-gw.ic.unicamp.br) Quit (Ping timeout: 252 seconds)
[23:48] <rsc> rabbidrabbit: okay...but that requires also RAM, not just GPU memory, right?
[23:49] <rabbidrabbit> I'm not sure exactly how fbi works, but it's very light
[23:49] <rabbidrabbit> no idea really
[23:50] <rabbidrabbit> I'm pretty sure thats what you want though
[23:50] * wiiguy (~fake@unaffiliated/wiiguy) has joined #raspberrypi
[23:50] * PiBot sets mode +v wiiguy
[23:50] <simcop2387> does raspbian have the gpu drivers and all that stuff on it?
[23:50] <rsc> rabbidrabbit: I'm especially focussed to not waste any RAM ;)
[23:51] * bluefirecorp (~bluefirec@cpe-98-30-233-211.woh.res.rr.com) has joined #raspberrypi
[23:51] * PiBot sets mode +v bluefirecorp
[23:52] <rabbidrabbit> simcop2387: yes
[23:52] <simcop2387> thanks, i figured it would but wanted to be sure.
[23:53] * zabomber (~zabomber@gateway/tor-sasl/zabomber) has joined #raspberrypi
[23:53] * PiBot sets mode +v zabomber
[23:54] <_rp> is it possible to run webmin on a Rpi?
[23:55] * Weaselweb (~quassel@2001:6f8:9e4:123:21a:92ff:fe5a:1409) Quit (Remote host closed the connection)
[23:55] * prpplague (~danders@ Quit (Quit: Leaving)
[23:55] * markbook (~markllama@pool-74-104-180-140.bstnma.fios.verizon.net) has joined #raspberrypi
[23:55] * PiBot sets mode +v markbook
[23:57] * IT_Sean (~IT_Sean@applefritter/IRCStaff/UltimateMacUser1) has joined #raspberrypi
[23:57] * PiBot sets mode +v IT_Sean
[23:57] * Tired_ (603642ef@gateway/web/freenode/ip. Quit (Quit: Page closed)

These logs were automatically created by RaspberryPiBot on irc.freenode.net using the Java IRC LogBot.