#raspberrypi IRC Log


IRC Log for 2014-01-30

Timestamps are in GMT/BST.

[0:00] <shiftplusone> Snowball... meh. Not sure what the point of paying extra for unnecessary features is.
[0:00] <plugwash> BTW where are you finding it for that price
[0:00] <rikkib> Where to buy
[0:00] * [Saint] honestly wouldn;t be touting this thing if he didn't think it was anything but a good idea
[0:01] * hyperair (~hyperair@ubuntu/member/hyperair) Quit (Ping timeout: 272 seconds)
[0:01] <trickyhero> yeah there's lots of good dev boards out there
[0:01] <rikkib> I found stuff on the web but still scanning for the shop
[0:01] <shiftplusone> And does that price include the kidney they normally charge for shipping?
[0:01] <tobiasBora> Ok, so thant you for your help !
[0:01] * nitdega (nitdega@2602:306:2421:8b51:81d9:7f4b:eabe:a5f2) Quit (Ping timeout: 245 seconds)
[0:02] * ShorTie (~Idiot@unaffiliated/shortie) has joined #raspberrypi
[0:03] <plugwash> http://www.calao-store.com/epages/61428605.sf/en_GB/?ViewObjectPath=%2FShops%2F61428605 seems to be the place
[0:03] <shiftplusone> Good luck, tobiasBora
[0:03] <[Saint]> plugwash: rikkib: http://www.calao-store.com/epages/61428605.sf/en_GB/?ObjectPath=/Shops/61428605/Categories/CALEMB
[0:03] <[Saint]> sorry, had to dig through 2 days of logs on mobile
[0:03] <rikkib> Ahh thanks the link to that site that I followed did not work
[0:03] * [Saint] senses some mild interest
[0:04] <shiftplusone> "shipping costs not included"
[0:04] <[Saint]> The list of features is rather insane for the price.
[0:04] <[Saint]> Even if it is a dead project.
[0:04] <basti> i want to call a tool with "tool argument" and than compare the argument as a string in an if statement. i tried this http://nopaste.info/5312758564.html but it does not work. anyone can help?
[0:05] <[Saint]> shiftplusone: I seem to recall that rings true for the pi as well...so, not sure where that was going.
[0:06] * trickyhero (~trickyher@d4-50-215-4.try.wideopenwest.com) Quit (Read error: Connection reset by peer)
[0:06] * owen_ (~owen@ Quit (Quit: Konversation terminated!)
[0:06] <shiftplusone> [Saint], I tend to think of the pi as being in the $50 range, so if the snowball was actually there as well, that would be interesting.
[0:06] <[Saint]> Don't get me wrong, guys, I'm by NO means dissing the pi.
[0:06] <[Saint]> But, for features and price, there;s really no competitino here.
[0:06] * Vialas_Air (~Vialas_Ai@ has joined #raspberrypi
[0:06] <[Saint]> And I just wanted to point some peple at it before the numbers dwindle.
[0:06] * trickyhero (~trickyher@d4-50-215-4.try.wideopenwest.com) has joined #raspberrypi
[0:07] <[Saint]> The raspi is great, for what it is. The Snowball and the raspi are two totally different markets.
[0:07] * plugwash isn't sure what he would use midrange arm boards for
[0:07] <shiftplusone> nobody is objecting... always good to know when there are interesting boards around
[0:07] <[Saint]> But I was guessing that some people here might enjoy a VERY cheap, feature stacked dev board.
[0:08] * petersaints (~quassel@a79-168-91-231.cpe.netcabo.pt) has joined #raspberrypi
[0:08] <[Saint]> I don;t want it to seem like I'm running out on the pi because I've found a new object of affection.
[0:08] * mpking (~mpking@ Quit (Quit: stage left)
[0:09] <[Saint]> My pi (pis?) {piseses...es?}, are still getting used, and used well.
[0:09] * mgottschlag (~quassel@reactos/tester/phoenix64) Quit (Ping timeout: 264 seconds)
[0:09] * [Saint] wonders what the proper plural of raspberry pi is
[0:09] <[Saint]> "raspberries pi"?
[0:09] <shiftplusone> It's not a religion, you're allowed to like and use multiple boards O_o
[0:10] <basti> yeah. 240€ in germany http://www.ehitex.de/evaluation-boards/calao-systems/439/sky-s9500-ulp-c22-snowball-sdk-lite-without-wlan/bt/gps
[0:10] * m8 (~m@unaffiliated/m8) Quit (Quit: Sto andando via)
[0:11] <[Saint]> I suspect that is simply an old vendor that hasn't updated pricing to reflect how badly this thing flopped.
[0:11] <tobiasBora> But the GPIO4 cannot read analog data ? It's possible to plug a thermometer, so why not an headphone ?
[0:11] * Vialas_Air (~Vialas_Ai@ Quit (Client Quit)
[0:11] * Datalink (Datalink@unaffiliated/datalink) has joined #raspberrypi
[0:11] <plugwash> yeah at full price it doesn't seem a good deal at all
[0:11] <[Saint]> It didn;t flop because it sucks, it flopped because it was prohibitively expensive, and no one knew what to do with it.
[0:11] <[Saint]> Then, raspberry pi...and, BAM!
[0:11] <[Saint]> All of a sudden people want picoATX-isx form factor dev boards.
[0:12] <[Saint]> *ish
[0:12] <shiftplusone> tobiasBora, those temp readers are not analogue.
[0:12] <basti> and since no one has it, no one develops, i guess
[0:12] <rikkib> [Saint], Thanks for the info... Do not think this is for me... The ideas I have require a bit or flexabli
[0:12] <rikkib> oppps
[0:12] <rikkib> lity
[0:13] <plugwash> Before the Pi I got the impression arm boards were stuck in a rut high prices -> low sales -> high prices
[0:13] <[Saint]> Yeah, not a problem. I'm not trying to convert anyone to "see the light", I just wanted to point people in the direction of a relatively unknown (and incredibly cheap) player in this market.
[0:13] <tobiasBora> shiftplusone: oh... So what's the name ?
[0:13] <[Saint]> Buy it, or buy not. There is not try.
[0:14] <[Saint]> :)
[0:14] <plugwash> Then the Pi came along followed by a number of other good value (more expensive but sufficiently more powerful to justify the higher price) boards
[0:14] <[Saint]> For me personally, the 4GB of rather fast onboard storage sealed the deal.
[0:14] <[Saint]> Plus the plethora of onboard sensors.
[0:14] * nitdega_ (nitdega@2602:306:2421:8b51:81d9:7f4b:eabe:a5f2) Quit (Quit: Leaving)
[0:15] * nitdega (nitdega@2602:306:2421:8b51:81d9:7f4b:eabe:a5f2) has joined #raspberrypi
[0:15] <[Saint]> But, like you say, if this thing was still $300 USD, I would tell ST-E where they could cram it.
[0:15] <tobiasBora> Oh it's digital too...
[0:15] <tobiasBora> So thank you ;-)
[0:15] <[Saint]> As many did upon its release.
[0:15] * TheWarden (~chatzilla@S0106e0469a3d83ef.ss.shawcable.net) Quit (Quit: ChatZilla [Firefox 26.0/20131205075310])
[0:16] * dleedev (~anonymous@c-24-7-78-122.hsd1.ca.comcast.net) has joined #raspberrypi
[0:16] * tobiasBora (~leo@2a01:e35:2eb9:70e0:555c:f20d:2483:af85) Quit (Quit: Konversation terminated!)
[0:16] <shiftplusone> basti, did you figure out your strcmp issue?
[0:17] <basti> nope
[0:18] <shiftplusone> basti, look up the return values
[0:18] <shiftplusone> basti, if (!strcmp(input,"links")) {
[0:18] <shiftplusone> that will work as you expect
[0:19] * trickyhero (~trickyher@d4-50-215-4.try.wideopenwest.com) Quit (Ping timeout: 252 seconds)
[0:19] <[Saint]> Oh, another thing I noticed, sadly one purchase too late - *all* variants are the same price.
[0:19] <[Saint]> 4GB/8GB/SDK variant...all $50 USD
[0:20] <[Saint]> So I kinda conned myself out of 4GB storage, but, meh.
[0:21] <basti> shiftplusone, i want the if clause to be true.
[0:21] <shiftplusone> basti, why?
[0:22] <basti> becuase i want to execute x if a is entered and y if b is entered
[0:22] <basti> enterd?
[0:22] <basti> enterted?
[0:22] <[Saint]> had it right the first time.
[0:22] * spooq (~spooq@ Quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
[0:22] * RaycisCharles (~RaycisCha@cpc5-lutn10-2-0-cust681.9-3.cable.virginm.net) Quit ()
[0:22] <shiftplusone> basti, again, check the return values of strcmp
[0:23] <shiftplusone> "The strcmp() and strncmp() functions return an integer less than, equal to, or greater than zero if s1 (or the first n bytes thereof) is found, respectively, to be less than, to match, or be greater than s2. "
[0:23] <shiftplusone> so, if strcmp return false (0)... the strings are identical
[0:24] <shiftplusone> in your test case, klack is visible if anything but links is typed
[0:24] <basti> shiftplusone, i am sorry. i did not the the "klacks" because of the missing \n...
[0:25] <basti> you are right. thanks alot
[0:25] <shiftplusone> np
[0:25] * CoolApps (~CoolApps@cpc3-pool12-2-0-cust193.15-1.cable.virginm.net) has joined #raspberrypi
[0:25] * heathkid|2 (~heathkid@unaffiliated/heathkid) has joined #raspberrypi
[0:25] * heathkid (~heathkid@unaffiliated/heathkid) Quit (Disconnected by services)
[0:25] <CoolApps> Quick question, where is the binary located at such as reboot, shutdown...
[0:25] * heathkid|2 is now known as heathkid
[0:26] <shiftplusone> /sbin I am guessing, but you can use 'which' to find out
[0:26] <basti> or whereis
[0:27] <CoolApps> Just checked with "ls /sbin/reboot"
[0:27] <CoolApps> It's there, thanks.
[0:28] * sphenxes (~sphenxes@91-119-68-208.dynamic.xdsl-line.inode.at) Quit (Remote host closed the connection)
[0:28] <shiftplusone> np
[0:29] * amigojapan (~amigojapa@p2012-ipbf802souka.saitama.ocn.ne.jp) has joined #raspberrypi
[0:29] * Chetic (~Chetic@c83-250-75-148.bredband.comhem.se) Quit ()
[0:29] * CoolApps (~CoolApps@cpc3-pool12-2-0-cust193.15-1.cable.virginm.net) Quit (Client Quit)
[0:29] * redsoup (~redsups@h-36-10.a336.priv.bahnhof.se) Quit (Remote host closed the connection)
[0:31] * jorge_lo (~anonymous@cpe-74-71-0-246.nyc.res.rr.com) Quit (Quit: jorge_lo)
[0:32] <basti> so, can this be shortened? http://nopaste.info/0fba8c31fa.html
[0:32] <basti> just out of curiosity....
[0:33] <shiftplusone> do you need the input variable at all?
[0:33] * Apocope (~apocope@S01060023bee90320.gv.shawcable.net) Quit (Read error: Operation timed out)
[0:34] * hybr1d8 (~cjd@ Quit (Quit: Leaving.)
[0:34] <basti> i tried to compare argv[1] but it did not work. i guess i should read a c book some time...
[0:34] * trickyhero (~trickyher@d4-50-215-4.try.wideopenwest.com) has joined #raspberrypi
[0:36] <shiftplusone> works here
[0:37] <basti> if (!strcmp(argv[1],"links_an")) { ?
[0:37] * FredNick (~fred@desktop-fred.richmond.archive.org) has joined #raspberrypi
[0:37] * jbaanus (~jbaanus@ has joined #raspberrypi
[0:37] <shiftplusone> http://nopaste.info/ef2a9b5deb.html
[0:38] <shiftplusone> Also, I recommend using strncmp instead of strcmp.
[0:38] <shiftplusone> (where applicable)
[0:38] * thesheff17 (~thesheff1@ Quit (Ping timeout: 272 seconds)
[0:39] <shiftplusone> the nopaste thing seems to have cut out the \ in \n for some reason, but you get the idea
[0:39] <basti> i really should check what i am looking for... i first tried it just with "links" and this was in my bash history. than i changed it to links_an but just used the arrow up as usual
[0:39] <basti> this way it can not really work
[0:40] <plugwash> hmm, /me is not sure when he would use strncmp
[0:40] <plugwash> at least most of the time in c interfaces define that strings should be null terminated and don't define a length
[0:42] * jbaanus (~jbaanus@ Quit (Ping timeout: 252 seconds)
[0:42] <shiftplusone> should
[0:42] <basti> i dont understand what you are saying, but since it works for me. hey, good for me :-)
[0:42] * fl_0 is now known as fl_0|afk
[0:42] <shiftplusone> basti, what's the issue right now? everything working as you expect?
[0:43] <basti> yes. no issue. i just was being a bit dumb, as stated above
[0:43] * Apocope (~apocope@S01060023bee90320.gv.shawcable.net) has joined #raspberrypi
[0:43] <shiftplusone> plugwash, but yeah, it was just a side note, not something directly applicable to the code in this case.
[0:50] * SiC- (Simon@host-92-29-245-205.as13285.net) Quit (Remote host closed the connection)
[0:54] * hybr1d8 (~cjd@ has joined #raspberrypi
[0:58] * wiiguy (~fake@unaffiliated/wiiguy) Quit (Quit: I just broke my connection, but no worries, we can rebuild it. We have the technology.)
[0:58] * odin_ (~Odin@93-97-168-38.zone5.bethere.co.uk) has joined #raspberrypi
[0:59] * aMoniker (~amoniker@cpe-108-176-129-156.nyc.res.rr.com) has joined #raspberrypi
[1:00] * hyperair (~hyperair@ubuntu/member/hyperair) has joined #raspberrypi
[1:00] <aMoniker> I'm trying to set up an EDIMAX wifi usb dongle, and have added the config to /etc/network/interfaces but I get "ioctl[SIOCSIWAP]: Operation not permitted" when running ifdown wlan0, ifup wlan0
[1:03] * Gethiox (~gethiox@acte224.neoplus.adsl.tpnet.pl) Quit (Ping timeout: 260 seconds)
[1:03] <aMoniker> oh... seems to be working now that I deleted it from DHCP on the router
[1:03] <aMoniker> strange
[1:08] <monkers> aMoniker that error is a permissions issue, you'd have to run it as root
[1:08] <aMoniker> monkers: hmm.. was running with sudo
[1:08] * [SkG] (~sconde@unaffiliated/skg/x-897332) Quit (Remote host closed the connection)
[1:08] <monkers> oh
[1:12] * taza (~zap@unaffiliated/taza) Quit ()
[1:12] * JMichaelX is now known as GregorSamsa
[1:22] * pukkapi (~pukkapi@titch515.plus.com) Quit (Quit: Leaving)
[1:22] * trickyhero (~trickyher@d4-50-215-4.try.wideopenwest.com) Quit (Ping timeout: 248 seconds)
[1:23] * hyperair (~hyperair@ubuntu/member/hyperair) Quit (Ping timeout: 252 seconds)
[1:27] * chris_99 (~chris_99@unaffiliated/chris-99/x-3062929) Quit (Quit: Leaving)
[1:27] * Orion__ (~Orion_@ Quit (Quit: ~ Trillian Astra - www.trillian.im ~)
[1:29] * aMoniker (~amoniker@cpe-108-176-129-156.nyc.res.rr.com) Quit (Remote host closed the connection)
[1:31] * AndrevS (~andrevs@2001:980:55e0:1:2e44:fdff:fe65:84ee) Quit (Quit: Leaving)
[1:35] * trickyhero (~trickyher@d4-50-215-4.try.wideopenwest.com) has joined #raspberrypi
[1:38] * Visage (~visage@pdpc/supporter/active/visage) Quit (Quit: 御仕舞い)
[1:39] * MidnighToker (~Toker@unaffiliated/midnightoker) Quit (Ping timeout: 272 seconds)
[1:40] * hyperair (~hyperair@ubuntu/member/hyperair) has joined #raspberrypi
[1:41] * Nenor (~Nenor@ip4-95-82-183-100.cust.nbox.cz) Quit ()
[1:45] * crucl0 (~alekzp@ Quit (Quit: Leaving.)
[1:50] * cccy_RegeaneWolf is now known as cccyRegeaneWolfe
[1:51] * hyperair (~hyperair@ubuntu/member/hyperair) Quit (Ping timeout: 245 seconds)
[1:54] * harish (~harish@ Quit (Ping timeout: 272 seconds)
[1:58] * basti (~IceChat9@xdsl-89-0-163-116.netcologne.de) Quit (Ping timeout: 252 seconds)
[2:03] * azeam (~azeam@unaffiliated/azeam) Quit (Ping timeout: 245 seconds)
[2:03] * MProg (~MProg@unaffiliated/mprog) Quit (Quit: HydraIRC -> http://www.hydrairc.com <- Wibbly Wobbly IRC)
[2:03] * Viper7 (~viper7@ppp121-44-18-114.lns20.syd6.internode.on.net) has joined #raspberrypi
[2:06] * azeam (~azeam@unaffiliated/azeam) has joined #raspberrypi
[2:08] * Armand (~martin@ Quit (Quit: Leaving)
[2:11] * hououina (~Hououina@c-71-60-244-180.hsd1.pa.comcast.net) has joined #raspberrypi
[2:14] * rtlong (~rtlong@2001:4800:7810:512:24e6:44b4:ff04:9e19) has left #raspberrypi
[2:14] * rtlong (~rtlong@2001:4800:7810:512:24e6:44b4:ff04:9e19) has joined #raspberrypi
[2:18] * randomshop (~Random@220-244-125-22.static.tpgi.com.au) has joined #raspberrypi
[2:20] * YamakasY (~yamakasy@g9179.upc-g.chello.nl) has joined #raspberrypi
[2:25] * YamakasY (~yamakasy@g9179.upc-g.chello.nl) Quit (Ping timeout: 265 seconds)
[2:26] * jbaanus (~jbaanus@ has joined #raspberrypi
[2:30] * nplus (~chatzilla@unaffiliated/simont) has joined #raspberrypi
[2:30] * ozzzy (~ozzzy@unaffiliated/ozzzy) has joined #raspberrypi
[2:31] * jbaanus (~jbaanus@ Quit (Ping timeout: 264 seconds)
[2:32] * AbouEmre (~Thunderbi@cable-178-148-67-164.dynamic.sbb.rs) Quit (Ping timeout: 264 seconds)
[2:38] * STLBrian (brian@ip4-198-52-200-16.dal0.bnc.im) has joined #raspberrypi
[2:41] * Simon- (simon@proxima.lp0.eu) Quit (Ping timeout: 252 seconds)
[2:45] * sjs205 (~sjs205@host81-151-248-166.range81-151.btcentralplus.com) has joined #raspberrypi
[2:48] * rotozip (~rotozip@99-163-26-17.lightspeed.kscymo.sbcglobal.net) has joined #raspberrypi
[2:49] * Datalink (Datalink@unaffiliated/datalink) Quit (Quit: Leaving)
[2:50] * Somniac (~Somniac@27-33-82-114.static.tpgi.com.au) has joined #raspberrypi
[2:51] * plugwash (~plugwash@97e03ff4.skybroadband.com) Quit (Ping timeout: 248 seconds)
[2:51] * plugwash (~plugwash@97e03ff4.skybroadband.com) has joined #raspberrypi
[2:53] * dj_pi (~dj@c-107-5-25-243.hsd1.mi.comcast.net) has joined #raspberrypi
[2:55] * aykut (~aykut@unaffiliated/aykut) Quit (Read error: Connection reset by peer)
[2:56] * aykut (~aykut@unaffiliated/aykut) has joined #raspberrypi
[2:57] * applegekko (~applegekk@gateway/tor-sasl/applegekko) Quit (Remote host closed the connection)
[2:58] * sco` (~ross@unaffiliated/sco/x-3425046) has joined #raspberrypi
[3:02] * Datalink (Datalink@unaffiliated/datalink) has joined #raspberrypi
[3:02] * hyperair (~hyperair@ubuntu/member/hyperair) has joined #raspberrypi
[3:08] * michael_lee (~michael_l@ has joined #raspberrypi
[3:08] * badass_ (~badass@unaffiliated/badass) Quit (Remote host closed the connection)
[3:11] * x_pathOgen (~x_pathOge@static-108-13-189-137.lsanca.fios.verizon.net) Quit (Remote host closed the connection)
[3:13] * zoktar (~zoktar@unaffiliated/zoktar) Quit (Ping timeout: 245 seconds)
[3:14] * g2nightmare (~matt@ has joined #raspberrypi
[3:16] * g2nightmare (~matt@ has left #raspberrypi
[3:20] * djoot (~djoot@unaffiliated/djoot) Quit (Ping timeout: 264 seconds)
[3:21] * Syliss (~Home2@dpncorp1.digitalpath.net) Quit (Quit: Syliss)
[3:23] * hyperair (~hyperair@ubuntu/member/hyperair) Quit (Ping timeout: 252 seconds)
[3:23] * XpineX (~XpineX@93-160-241-114-dynamic.dk.customer.tdc.net) Quit (Ping timeout: 252 seconds)
[3:24] * zoktar (~zoktar@unaffiliated/zoktar) has joined #raspberrypi
[3:26] * sjs205 (~sjs205@host81-151-248-166.range81-151.btcentralplus.com) Quit (Ping timeout: 252 seconds)
[3:27] * S0-2 (~sgra@unaffiliated/sgra) has joined #raspberrypi
[3:28] * thesheff17 (~thesheff1@24-148-57-183.c3-0.lem-ubr1.chi-lem.il.cable.rcn.com) has joined #raspberrypi
[3:28] * jlf (~user@pdpc/supporter/active/jlf) Quit (Ping timeout: 248 seconds)
[3:28] * thesheff17 (~thesheff1@24-148-57-183.c3-0.lem-ubr1.chi-lem.il.cable.rcn.com) Quit (Client Quit)
[3:29] * thesheff17 (~thesheff1@24-148-57-183.c3-0.lem-ubr1.chi-lem.il.cable.rcn.com) has joined #raspberrypi
[3:29] * EastLight (n@ Quit ()
[3:29] * SgrA (~sgra@unaffiliated/sgra) Quit (Ping timeout: 240 seconds)
[3:30] * darkbasic (~quassel@niko.linuxsystems.it) Quit (Remote host closed the connection)
[3:30] * felixjet_ (~felixjet@95.Red-81-39-91.dynamicIP.rima-tde.net) Quit (Quit: Leaving)
[3:30] * felixjet_ (~felixjet@95.Red-81-39-91.dynamicIP.rima-tde.net) has joined #raspberrypi
[3:30] * darkbasic (~quassel@niko.linuxsystems.it) has joined #raspberrypi
[3:35] * jlf (~user@pdpc/supporter/active/jlf) has joined #raspberrypi
[3:36] * pksato (~PEBKAC@unaffiliated/pksato) Quit (Quit: Problem Exists Between Keyboard And Chair)
[3:37] * mdorenka (~mdorenka@unaffiliated/mdorenka) Quit (Read error: Operation timed out)
[3:38] * hououina (~Hououina@c-71-60-244-180.hsd1.pa.comcast.net) Quit (Ping timeout: 265 seconds)
[3:44] * Turingi (~devon@unaffiliated/devon-hillard/x-7250961) Quit (Read error: Connection reset by peer)
[3:44] * mdorenka (~mdorenka@unaffiliated/mdorenka) has joined #raspberrypi
[3:57] * nx5 is now known as nx5_off
[4:04] * twikz_ (~twikz@client-e959b8a3431ab04d.pool.twikz.com) has joined #raspberrypi
[4:07] * twikz (~twikz@manz-5f74886c.pool.mediaWays.net) Quit (Ping timeout: 252 seconds)
[4:08] * MatStace (~MatStace@2001:470:1f14:1015::b00:b1e5) Quit (Ping timeout: 264 seconds)
[4:09] * MatStace (~MatStace@2001:470:1f14:1015::b00:b1e5) has joined #raspberrypi
[4:11] * intothev01d (~intothev0@unaffiliated/intothev01d) Quit ()
[4:12] * bizarro_1 (~bizarro_1@105.Red-83-49-227.dynamicIP.rima-tde.net) Quit (Quit: Leaving)
[4:15] * jbaanus (~jbaanus@ has joined #raspberrypi
[4:20] * jbaanus (~jbaanus@ Quit (Ping timeout: 265 seconds)
[4:21] * tdy_ is now known as tdy
[4:21] * YamakasY (~yamakasy@g9179.upc-g.chello.nl) has joined #raspberrypi
[4:23] * trickyhero (~trickyher@d4-50-215-4.try.wideopenwest.com) Quit (Quit: Leaving)
[4:27] * YamakasY (~yamakasy@g9179.upc-g.chello.nl) Quit (Ping timeout: 272 seconds)
[4:27] * Jeebiss (~Jeebiss@2602:306:bc31:5920:6178:ec4e:ba:fc0e) has joined #raspberrypi
[4:27] * michael_lee (~michael_l@ Quit (Ping timeout: 240 seconds)
[4:31] * flexo_ (~flexo@p15142144.pureserver.info) has joined #raspberrypi
[4:34] <timmmaaaayyy> anyone have a lightpack working with their pi?
[4:35] <timmmaaaayyy> i followed this: http://ajpawelski.wordpress.com/how-to-raspberry-pi-raspbmc-and-a-lightpack/ and i get no lights at all......crap!
[4:36] <sirderpalot> what is a lightpack? is that like a jetpack?
[4:37] * reZo (~gareth@202-180-86-196.callplus.net.nz) has joined #raspberrypi
[4:37] <flexo_> hey. i'm desperately trying to get initrd to work... i did a rpi-update to NEXT, i do have CONFIG_BLK_DEV_INITRD and the appropriate compression flags, i set ramfsfile and ramfsaddr in config.txt and added initrd to cmdline.txt ..
[4:37] <flexo_> anything i am missing here?
[4:38] <flexo_> (and how do i debug from here?)
[4:38] <flexo_> (i suppose jtag?)
[4:38] * mattwj2002 (~matt@wikisource/pdpc.active.mattwj2002) has joined #raspberrypi
[4:38] <mattwj2002> hi all
[4:38] <shiftplusone> flexo_, you've done too much there.
[4:39] <mattwj2002> remember those got milk t-shirts?
[4:39] * zwergnjkl (~Public@c-76-118-65-239.hsd1.ma.comcast.net) Quit (Quit: Leaving)
[4:39] <flexo_> shiftplusone: could you elaborate on that? :)
[4:39] <mattwj2002> why doesn't someone make one that say got pi?
[4:39] <mattwj2002> :)
[4:39] <shiftplusone> flexo_, you only had to add a single line to config.txt
[4:39] <shiftplusone> initrd whatever
[4:39] <flexo_> didn't work - black screen..
[4:40] <flexo_> (by the way, my Transcend 32gb Wifi card works fine inside the pi - the ARM inside and the wifi adapter is working fine in both AP, client and adhoc mode :-)
[4:40] <shiftplusone> tried with a known working initrd and without untested firmware?
[4:41] <flexo_> shiftplusone: ... no.. because i can't have a known working initrd as i never got it it working :)
[4:41] <sirderpalot> ...
[4:41] <flexo_> seriously though - where can i get debug messages here?
[4:41] <shiftplusone> not YOUR known working initrd, but something off the internet. Like hifi's netinstall inird, for example.
[4:41] <flexo_> hm
[4:41] <sirderpalot> derp.
[4:42] * michael_lee (~michael_l@ has joined #raspberrypi
[4:42] <sirderpalot> does my nick make me look stupid?
[4:42] <flexo_> shiftplusone: quick google didn't find it. absolute noob. could you redirect me?
[4:42] * plugwash has always used "initramfs <initrd name> followkernel" in config.txt to load initrds
[4:42] <flexo_> followkernel works?
[4:42] <shiftplusone> initramfs installer.cpio
[4:42] <mattwj2002> has anyone heard of pimame?
[4:42] <mattwj2002> :)
[4:42] <shiftplusone> yeah, sorry that should've been initramfs, not initrd in config.txt
[4:42] <flexo_> i've read that .. it doesn't
[4:43] <shiftplusone> the initrd from the raspbian kernel (not installed by default) can also be used.
[4:43] * plugwash thought it did but I guess I didn't check if the initrd was actually being loaded.........
[4:43] <shiftplusone> (that's how my pi boots)
[4:43] <shiftplusone> what does followkernel do anyway?
[4:44] <shiftplusone> google is not helpful on that one
[4:44] <flexo_> shiftplusone: forward the address and size to cmdline i suppose?
[4:44] <flexo_> in any case - could you direct me to a working initrd?
[4:44] <flexo_> i apologize for being unable to find one.. i'm trying..
[4:44] * plugwash guessed that followkernel made it load the initrd into memory immediately after the kernel image
[4:44] <shiftplusone> you can steal installer.cpio from here http://hifi.iki.fi/raspbian-ua-netinst/raspbian-ua-netinst-latest.zip
[4:45] <shiftplusone> but don't actually let it run!
[4:45] <flexo_> thanks
[4:45] <flexo_> why not?
[4:45] <flexo_> will i get screen output?
[4:45] <shiftplusone> unplug the ethernet cable
[4:45] <flexo_> okay
[4:45] <shiftplusone> it will reinstall a minimal version of raspbian
[4:45] <shiftplusone> meaning you will lose everything... so don't let it do that
[4:45] <flexo_> yea. i guessed so.
[4:45] <flexo_> thanks; will try now.
[4:46] <shiftplusone> if you see it's booting, just unplug the power
[4:46] <flexo_> yea
[4:46] <flexo_> and i don't need to touch cmdline?
[4:46] <shiftplusone> nope
[4:46] <flexo_> (but i do need followkernel, don't i?)
[4:46] <shiftplusone> just config.txt
[4:46] <shiftplusone> no, check the supplied config.txt
[4:46] <flexo_> okay
[4:47] * tdy (~tim@c-98-212-152-9.hsd1.il.comcast.net) Quit (Quit: WeeChat 0.4.2)
[4:47] <flexo_> okay...
[4:47] <shiftplusone> ...okay
[4:47] <flexo_> this means either my initrd is broken, or my firmware is broken
[4:47] <flexo_> or for some reason gz doesn't work
[4:48] <flexo_> (although it should)
[4:48] <flexo_> in case it works now of couse
[4:48] <shiftplusone> I wouldn't assume that it should
[4:48] <shiftplusone> well, actually that .cpio file is gzped, I am pretty sure... so yeah
[4:48] <shiftplusone> or xzed... I don't remember
[4:49] <flexo_> probably my initrd i guess
[4:49] * dj_pi (~dj@c-107-5-25-243.hsd1.mi.comcast.net) Quit (Ping timeout: 252 seconds)
[4:49] <shiftplusone> how are you making it?
[4:49] <flexo_> update-initramfs?
[4:50] <flexo_> after adding a module to /modules ?
[4:50] <shiftplusone> that's a debian thing, isn't it?
[4:50] <flexo_> yea
[4:50] <shiftplusone> not too familiar with all of that, but I assume it should work. plugwash's initrd works and I am guessing he uses the same tools.
[4:51] <shiftplusone> or rather the tools that generate that inird are the same
[4:51] * plugwash just let the debian kernel packaging do it's thing
[4:51] <flexo_> okay. that cpio works
[4:51] <flexo_> so it's my initrd thats bad
[4:51] <flexo_> but this is a place to start, thanks
[4:52] <shiftplusone> plugwash, is your kernel build automated fully or is there a lot of fiddling between versions?
[4:52] <flexo_> (my goal is to build the zfs module and to a zfs root-boot in the end :)
[4:53] <flexo_> (by the way)
[4:53] <plugwash> There is a script debian/update-rpi-patches that I use to regenerate the patches from the raspberry pi foundation repo
[4:53] * tdy (~tim@unaffiliated/tdy) has joined #raspberrypi
[4:53] <plugwash> but things frequently fail to build after running it......................
[4:53] * tdy (~tim@unaffiliated/tdy) Quit (Client Quit)
[4:54] * tdy (~tim@unaffiliated/tdy) has joined #raspberrypi
[4:54] <flexo_> seriously though - again: what would be the proper way to get debugging messages at this level?
[4:54] <shiftplusone> flexo_, serial is pretty good
[4:54] <flexo_> (i'm aware that i'd need probably need hardware support here)
[4:55] <flexo_> shiftplusone: what options are there for serial?
[4:55] <flexo_> GPIO?
[4:55] <shiftplusone> yeah
[4:55] * mattwj2002 (~matt@wikisource/pdpc.active.mattwj2002) Quit (Quit: Leaving.)
[4:55] <flexo_> would need a new case then :(
[4:55] <shiftplusone> a straight forward 3.3v UART to USB adapter (ebay) and you can get everything the kernel spits out
[4:55] <plugwash> by the time the initrd is loaded the framebuffer should already be working anyway
[4:55] <flexo_> shiftplusone: sure, from there it's easy
[4:56] <shiftplusone> yeah, I forgot to mention that as well.
[4:56] <shiftplusone> well, wasn't sure enough to
[4:56] <shiftplusone> what happens to the LEDs when you power it up with your initrd?
[4:56] * psilocide (~unknown@ip72-213-139-175.ok.ok.cox.net) has joined #raspberrypi
[4:56] <psilocide> hello
[4:56] <shiftplusone> you again?
[4:56] <flexo_> no clue. i don't want to debug on that level. i need serial. :)
[4:57] <shiftplusone> *welcome
[4:57] <shiftplusone> flexo_, it's very straight forward. The leds will tell you if the kernel was loaded
[4:57] <flexo_> shiftplusone: well. a black screen will also tell me that it was not loaded :)
[4:57] <shiftplusone> which it should, regardless of your initrd... so it would be a good data point to have
[4:58] * Taylor (~Taylor@unaffiliated/taylor) Quit (Ping timeout: 248 seconds)
[4:58] <shiftplusone> if that's the case, you won't get anything over serial either
[4:59] <flexo_> cpio: Malformed number
[4:59] <flexo_> i suppose i should checked that before rebooting the first time..
[4:59] <flexo_> no wait
[5:00] <flexo_> still encrypted
[5:00] <flexo_> (and installer.cpio is not encrypted)
[5:00] <shiftplusone> wth is a malformed number? like elebenty or something? O_o
[5:00] <flexo_> hm
[5:01] <flexo_> could it be that cpio does extract to global paths?
[5:01] <flexo_> -bash: /usr/bin/sudo: No such file or directory
[5:01] <flexo_> no ssh either
[5:02] <shiftplusone> sounds like an inird alright
[5:02] * badass (~badass@unaffiliated/badass) has joined #raspberrypi
[5:02] * plugwash (~plugwash@97e03ff4.skybroadband.com) has left #raspberrypi
[5:02] <flexo_> which i used to somehow destroy my rootfs :)
[5:03] <flexo_> hm
[5:03] <flexo_> everything still works after a reboot
[5:03] <shiftplusone> maybe you booted into the emergency kernel
[5:03] <flexo_> what does cpio do o.O
[5:03] <flexo_> no
[5:03] * DDave (~DDave@unaffiliated/ddave) Quit (Ping timeout: 264 seconds)
[5:03] <flexo_> everything broke after i tried to unpack my (gzipped) initrd using cpio
[5:04] <flexo_> well
[5:04] <flexo_> stuff works again o.o
[5:05] <flexo_> hm
[5:05] <flexo_> my initrd looks fine in principle
[5:05] * DDave (~DDave@unaffiliated/ddave) has joined #raspberrypi
[5:05] <flexo_> i'll try without the gz
[5:05] <flexo_> which seems to be the only difference i can see from the file lists
[5:05] <shiftplusone> the initrd from raspbian is gzped
[5:05] <flexo_> no it's not
[5:05] <shiftplusone> ..yes.. yes it is
[5:05] <flexo_> root@raspberrypi:/boot# file installer.cpio
[5:05] <flexo_> installer.cpio: ASCII cpio archive (SVR4 with no CRC)
[5:05] <shiftplusone> that's not the initrd from raspbian
[5:06] <flexo_> it's from the link you gave me
[5:06] <shiftplusone> /boot/initrd.img-3.10-3-rpi: gzip compressed data, from Unix, last modified: Thu Jan 30 14:49:55 2014
[5:06] * Portugol9 (Portugol9@unaffiliated/portugol9) Quit (Read error: Connection reset by peer)
[5:06] <flexo_> i don't know that initrd
[5:06] <shiftplusone> yes... installer.cpio is a third party installed for raspbian
[5:06] <flexo_> does pi have a default initrd by now?
[5:06] <flexo_> at some new current version?
[5:06] <shiftplusone> not by default
[5:06] * badass (~badass@unaffiliated/badass) Quit (Ping timeout: 252 seconds)
[5:07] <flexo_> how do i get it? (sheesh. i'm so sorry for my stupid questions...)
[5:07] <flexo_> but i spent about 2 hours googeling..
[5:07] * Portugol9 (Portugol9@unaffiliated/portugol9) has joined #raspberrypi
[5:07] <shiftplusone> it comes from linux-image-rpi-rpfv
[5:07] <flexo_> thanks
[5:07] <flexo_> hm
[5:07] <flexo_> maybe i should have done an apt-get update/upgrade :)
[5:07] <shiftplusone> the questions aren't stupid. There's very little information about this out there
[5:08] <flexo_> (thanks)
[5:08] <flexo_> time for some ... stuff..
[5:08] <flexo_> which will .. wake me up ..
[5:09] * Taylor (~Taylor@unaffiliated/taylor) has joined #raspberrypi
[5:09] <shiftplusone> O_o I don't want to know
[5:09] <flexo_> yea you don't :)
[5:09] <flexo_> the weekend i spent watching the colors in my apartment change colors
[5:10] <flexo_> and had fun with glsl shaders
[5:10] <shiftplusone> >_<
[5:10] <flexo_> everything was fine
[5:10] <flexo_> i only couldn't handle my phon
[5:10] <flexo_> e
[5:10] <flexo_> i could easily unlock with my 8-digit pin
[5:10] <flexo_> but after that..
[5:10] <flexo_> my nexus 5 is so.. shiny..
[5:11] <flexo_> everything.. moves...
[5:11] <flexo_> and it's so.. colorful..
[5:11] <shiftplusone> meh
[5:11] <flexo_> i was completely unable to perform any tasks after unlocking :D
[5:11] <flexo_> si
[5:11] <flexo_> so
[5:11] <shiftplusone> shaders will do that
[5:11] <flexo_> yea...
[5:11] <flexo_> shaders will do tha too
[5:12] <flexo_> but shaders can't move the lights out of the display
[5:12] <flexo_> and around the room
[5:12] <flexo_> i had a nice weekend :)
[5:12] * mike_t (~mike@pluto.dd.vaz.ru) has joined #raspberrypi
[5:13] <flexo_> missing my straw o.o
[5:15] <flexo_> alright. back to work.
[5:15] <flexo_> update-initramfs is now part of the process
[5:15] <flexo_> gzip: stdout: No space left on device
[5:15] <flexo_> E: mkinitramfs failure cpio 141 gzip 1
[5:15] <flexo_> update-initramfs: failed for /boot/initrd.img-3.10-3-rpi with 1.
[5:15] <flexo_> yuck
[5:16] <flexo_> well. i should delete my decompressed stuff there.
[5:16] * LWK (~LWK@pdpc/supporter/student/lwk) Quit (Ping timeout: 265 seconds)
[5:17] * [7] (~quassel@rockbox/developer/TheSeven) Quit (Disconnected by services)
[5:17] * TheSeven (~quassel@rockbox/developer/TheSeven) has joined #raspberrypi
[5:18] <flexo_> by the way
[5:18] <flexo_> i'm thinking
[5:19] <flexo_> of using my trascend cart to run a tftp/dhcp server
[5:19] * LWK (~LWK@pdpc/supporter/student/lwk) has joined #raspberrypi
[5:19] <flexo_> which can netboot the pi into which it is attached
[5:19] <shiftplusone> a what cart now?
[5:19] <flexo_> (using wifi to get to an AP, and from there through ethernet back into the pi)
[5:20] * kwrazi (~kwrazi@220-245-146-175.static.tpgi.com.au) has joined #raspberrypi
[5:20] <shiftplusone> isn't an NFS root simpler?
[5:20] <flexo_> the transcend 32gb wifi sd card which happens to have an 500mhz ARM5 running linux inside, with a wifi adapter?
[5:20] <flexo_> i've always run into trouble with NFS
[5:21] * kcj (~casey@unaffiliated/kcj) has joined #raspberrypi
[5:21] <flexo_> i want iscsi with zfs
[5:21] <shiftplusone> ah, one of those
[5:22] <flexo_> well.. i've installed the package
[5:22] <flexo_> and it included my btrfs package
[5:22] <flexo_> (which is a testrun for the zfs module i will build)
[5:22] <flexo_> so... let's see if it boots?
[5:23] <shiftplusone> might be worth copying /vmlinuz to /boot/kernel-raspbian.img and adding "kernel raspbian-kernel.img" to config.txt
[5:23] <flexo_> vmlinuz-3.10-3-rpi you man?
[5:23] <flexo_> *mean
[5:23] <shiftplusone> just vmlinuz, it should be symlinked correctly
[5:24] <flexo_> it's not
[5:24] <flexo_> i can manually set if of course.. but the debian tools should really take care of that..
[5:24] <shiftplusone> yeah, they should've.... that's how it worked on my pi
[5:24] <flexo_> well. i'll just set it. can't hurt.
[5:25] <shiftplusone> won't do anything at all, really
[5:25] <flexo_> eh
[5:25] <flexo_> this is FAT
[5:25] <flexo_> there are no symlinks there
[5:25] <shiftplusone> you looked in /boot
[5:25] <shiftplusone> instead of /
[5:25] <flexo_> ah
[5:26] <flexo_> right
[5:26] <flexo_> it's there
[5:26] * Demon_Jester (465e54dd@gateway/web/freenode/ip. has joined #raspberrypi
[5:26] <flexo_> where is the kernel image to load configured?
[5:26] <flexo_> hardcoded in the bootloader?
[5:27] <shiftplusone> config.txt
[5:27] <Demon_Jester> Hey guys quick question can you have the raspberry pi act as a wireless client mode similiar how openwrt routers can connect to routers and act as a client.
[5:27] <shiftplusone> that's why I said ass "kernel raspbian-kernel.img" to config.txt
[5:27] <flexo_> no entry yet. will check the docs
[5:27] <flexo_> ... too late. thanks :=
[5:27] <shiftplusone> said >_<
[5:27] <shiftplusone> *add
[5:27] <shiftplusone> yeah, that's what that was meant to be
[5:27] <flexo_> kernel raspbian-kernel.img
[5:27] <flexo_> initramfs initrd.img-3.10-3-rpi
[5:27] <flexo_> root@raspberrypi:/boot# file initrd.img-3.10-3-rpi
[5:27] <flexo_> initrd.img-3.10-3-rpi: gzip compressed data, from Unix, last modified: Thu Jan 30 04:18:20 2014
[5:28] <flexo_> lsinitramfs shows me my btrfs module
[5:28] <flexo_> and the initrd was generated by your .deb
[5:28] <flexo_> so i guess i should be fine?
[5:28] <shiftplusone> didn't even know of that command O_o
[5:28] <shiftplusone> give it a go
[5:29] <flexo_> nope :(
[5:29] <flexo_> i suppose by now the initrd is actually important for the boot process?
[5:29] <shiftplusone> nuh, not really
[5:30] <flexo_> what it's there for then? o.o
[5:30] <shiftplusone> everything required to boot is compiled in
[5:30] <shiftplusone> you can run just fine without it. I guess it's there for fancy filesystems and whatnot
[5:31] <flexo_> why am i actually swapping the sc card all the time o.o
[5:31] <flexo_> i can access the FAT system through WIFI...
[5:31] <flexo_> i should root the damn card and just ssh in..
[5:32] * gsdias (~gsdias@ Quit (Ping timeout: 246 seconds)
[5:32] <flexo_> maybe i could even edit the files through the webinterface
[5:32] <flexo_> then i just would need a way to cause the card to cause the pi to reset :)
[5:32] <flexo_> ... which should be easy when i finally get raw access to the sd port..
[5:33] * Demon_Jester (465e54dd@gateway/web/freenode/ip. Quit (Quit: Page closed)
[5:33] <flexo_> i also ordered one of those wifi cards with are actually a micro-sd adapter
[5:33] <flexo_> i plan to put a sram micro-sd in there
[5:33] <flexo_> and boot from there... let's hope that i can that to work :)
[5:34] <flexo_> okay, this looks bad
[5:34] <flexo_> the kernel itself doesn't boot anymore
[5:34] * twikz_ (~twikz@client-e959b8a3431ab04d.pool.twikz.com) Quit (Remote host closed the connection)
[5:35] <flexo_> lets see if that netintaller thing works :)
[5:35] * cccyRegeaneWolfe is now known as cccy_RegeaneWolf
[5:35] * redrocket (~redrocket@unaffiliated/redrocket) has joined #raspberrypi
[5:37] * ReggieUK (ReggieUK@ Quit ()
[5:37] <flexo_> looks good
[5:37] <flexo_> i guess i'll root the wifi card while it's installing
[5:39] <flexo_> hm..
[5:39] <flexo_> "eror while initilizing sd card"
[5:39] <flexo_> :(
[5:39] <flexo_> (the netintaller)
[5:39] <shiftplusone> did you have an sd card inserted?
[5:40] <flexo_> sure
[5:40] <shiftplusone> fun
[5:40] <flexo_> i suppose it's just having problem with the "special" sd card
[5:40] <flexo_> the controller is somewhat fancy
[5:40] <flexo_> actually there are two flash controllers in there
[5:40] <flexo_> which try to avoid data corruption
[5:40] <flexo_> when both sides try to access the filesystem
[5:41] <flexo_> yes. i still need to do some serious work on that card.
[5:41] <flexo_> there is some AVR in there
[5:41] <flexo_> people are making progress hacking the thing :)
[5:41] <flexo_> well. i have to install using the normal image write thingie
[5:42] * kcj (~casey@unaffiliated/kcj) Quit (Ping timeout: 245 seconds)
[5:42] <flexo_> which, due to the damn controller issue works at 1 mb/s...
[5:42] <flexo_> is there a minimal installation?
[5:42] <flexo_> not like a netinstall
[5:42] <shiftplusone> http://www.raspberrypi.org/phpBB3/viewtopic.php?p=343120
[5:43] * kcj (~casey@unaffiliated/kcj) has joined #raspberrypi
[5:43] <flexo_> can i installed raspbian packages as i see fit if i use this?
[5:43] <shiftplusone> huh?
[5:43] <flexo_> i mean
[5:44] <shiftplusone> need moar words
[5:44] <flexo_> is this just a normal rapsbian with lots of packages missing
[5:44] <flexo_> or is this thing somewhat "special"
[5:44] <shiftplusone> no idea if it can be classified as special O_o
[5:45] <flexo_> hm.
[5:45] <flexo_> okay. i'll just install the norml image then
[5:45] <flexo_> 2014-01-07-wheezy-raspbian.img is "current"?
[5:45] <shiftplusone> uhu
[5:45] <flexo_> and by the way
[5:46] <flexo_> _THANKS_ for all the information
[5:46] <shiftplusone> you're welcome
[5:46] <flexo_> the raspberry information on the net is very incomplete, very fragmented and partially plain wrong..
[5:46] <flexo_> so thanks for helping out here
[5:46] <flexo_> and yes, they are stupid questions
[5:47] <flexo_> but i can't find smart answers by myself :)
[5:47] <shiftplusone> *"information on the net is very incomplete, very fragmented and partially plain wrong" >.>
[5:47] <flexo_> just google for initrd on rasperry pi.
[5:47] <flexo_> you'll find 50% posts of people who can't get it to work and find no solution
[5:48] <flexo_> some people who suddenly claim to get it working without explaining how
[5:48] <shiftplusone> heh
[5:48] <flexo_> all the stuff i put into config.txt and cmdline.txt ... i just followed stuff i found on the net
[5:48] <flexo_> .. and what i just should have done is install that damn .deb of yours
[5:48] <shiftplusone> outdated information, that's all
[5:49] <flexo_> which was mentioned _nowhere_
[5:49] <flexo_> not trying to offend anyone
[5:50] <flexo_> it's just unfortunate that the bootloader can't turn the ethernet port into serial emulation :(
[5:50] <flexo_> that would be a very nice feature.
[5:51] <flexo_> could even send it out as udp
[5:51] <flexo_> broadcast maybe
[5:51] <flexo_> and you could provide a tool which displays the stuff
[5:52] <flexo_> (along with a unique id in case you have multiple pis in your net)
[5:52] <flexo_> and it should of course only be active through a config setting.
[5:52] <flexo_> that would be ... nice.
[5:52] <shiftplusone> but instead, the jerks decided to focus on things people actually need =P
[5:52] * thesheff17 (~thesheff1@24-148-57-183.c3-0.lem-ubr1.chi-lem.il.cable.rcn.com) Quit (Ping timeout: 245 seconds)
[5:52] <flexo_> shiftplusone: being able to see the boot process is something i consider to be something one needs..
[5:53] <flexo_> without buying extra GPIO hardware
[5:53] <flexo_> heck. even JTAG pins on the outside would be helpful for this
[5:53] <shiftplusone> It's the sort of thing you'd already have if you mess around with such boards on that level
[5:53] <flexo_> shiftplusone: on that level ...... booting a kernel?
[5:54] * Portugol9 (Portugol9@unaffiliated/portugol9) Quit (Ping timeout: 252 seconds)
[5:54] <shiftplusone> yeah, high tech stuff >.>
[5:54] <flexo_> sorry, i really disagree here. a serial interface should be builtin in some way.
[5:54] <flexo_> and it could be, as you have ethernt.
[5:54] <flexo_> or you could log the output to a file on FAT
[5:54] * Portugol9 (Portugol9@unaffiliated/portugol9) has joined #raspberrypi
[5:54] <flexo_> the bootloader definietely knows FAT
[5:55] <flexo_> should be easy to do.
[5:55] <flexo_> (ethernet would be much nicer though)
[5:55] <flexo_> given the fact that etherboot is possible
[5:55] <flexo_> what i'm suggesting _is_ possible
[5:56] <flexo_> the code is there somewher.
[5:56] <flexo_> and yea. i could probably just do it.
[5:56] <flexo_> maybe i will.
[5:56] <shiftplusone> How will you debug your bootloader? >.>
[5:56] <Triffid_Hunter> flexo_: feel free to suggest this to broadcom
[5:56] <Triffid_Hunter> they tend to be pretty hostile unless you're buying a million of something though
[5:57] <flexo_> shiftplusone: well, you can't debug the first stage - but at some stage etherboot becomes possible
[5:57] <flexo_> and thats before the kernel loads
[5:57] <shiftplusone> flexo_, does uboot do what you want?
[5:57] <flexo_> and at that point an ehternet driver and a tcp/ip stack is available
[5:57] <flexo_> shiftplusone: huh... don't know.. have to check that
[5:58] <flexo_> Triffid_Hunter: i'm not suggesting anything really
[5:58] <shiftplusone> but keep in the the actual bootloader actually runs on the GPU
[5:58] <flexo_> i'm becoming interested in just coding this, in case uboot doesn't alrealy provide it.
[5:58] <flexo_> shiftplusone: yes - but what about ehterboot?
[5:58] <flexo_> you can simple add another stage between the bootloader and the kernel
[5:59] <shiftplusone> yeah, that's how uboot works on the pi
[5:59] <flexo_> hm
[5:59] <flexo_> uboot does ehterboot?
[5:59] <shiftplusone> don't know what this etherboot thing is about, but it does boot via tftp
[5:59] <flexo_> yes
[6:00] <flexo_> that implies that tcp/ip is there - before the kernel is there
[6:00] <flexo_> i.e. there is a possibility to forward the console to tcp/ip
[6:00] <Triffid_Hunter> well not tcp, tftp is stateless, runs over udp
[6:00] <flexo_> Triffid_Hunter: as i said - udp would be fine too
[6:00] <Triffid_Hunter> and yes you could theoretically emit text via udp packets
[6:00] <Triffid_Hunter> linux's netconsole can be configured to do this
[6:01] <flexo_> yes. so? :)
[6:01] <shiftplusone> netconsole? how early can that start?
[6:01] <Triffid_Hunter> flexo_: uboot authors await your patch request ;)
[6:01] <Triffid_Hunter> shiftplusone: quite early in linux startup process, basically as soon as the ethernet driver is started
[6:02] <shiftplusone> hmm
[6:02] <Triffid_Hunter> the kernel can do dhcp all by itself if necessary
[6:02] <shiftplusone> Think I'll get that going on my pi, thanks.
[6:02] * cccy_RegeaneWolf is now known as cccyRegeaneWolfe
[6:02] <Triffid_Hunter> then it emits the cached log of startup messages, and emits following ones live
[6:02] <flexo_> Triffid_Hunter: i might just do that. i've got a ligament rupture and am having sick says (correct term?) for two weeks ;)
[6:03] <Triffid_Hunter> it's most useful for capturing panics because the kernel has no qualms about writing to network devices when it's got reason to believe its internal state is corrupt
[6:03] * [Saint] (~saint@rockbox/staff/saint) Quit (Remote host closed the connection)
[6:03] <Triffid_Hunter> whereas writing to disk could be terribad
[6:03] <shiftplusone> sounds useful
[6:04] * [Saint] (~saint@rockbox/staff/saint) has joined #raspberrypi
[6:04] <flexo_> every small mini-computer-thingie i had had _some_ way for serial access
[6:04] * Mikelevel (~MoVeWoRk@unaffiliated/mikelevel) Quit (Ping timeout: 252 seconds)
[6:04] <flexo_> either a direct serial port
[6:04] <flexo_> or serial over rj45
[6:05] <flexo_> or jtag
[6:05] <flexo_> i think this is a must-have feature..
[6:05] <shiftplusone> no idea why you think UART doesn't count
[6:06] <flexo_> of course it counts
[6:06] <sirderpalot> because there's no counter?
[6:06] <flexo_> but there is no connector.
[6:06] <flexo_> i shouldn't have to buy extra hardware for this.
[6:06] <shiftplusone> the gpio header is enough of a connector O_o
[6:06] <flexo_> GPIO is for _interesting_ stuff
[6:06] <sirderpalot> it has pins... what more could you ask for?
[6:06] <flexo_> this is basic debugging
[6:06] <shiftplusone> Do you have 1 pi or 2?
[6:07] <flexo_> 1
[6:07] <flexo_> for now
[6:07] <shiftplusone> k
[6:07] <sirderpalot> i use my pi as a wireless serial adapter for my other arm devices :]
[6:07] <flexo_> seriously. i want that ethernet feature.
[6:08] <sirderpalot> netconsole?
[6:08] * sirderpalot is computer illiterate and doesn't know the terms
[6:08] <shiftplusone> googling uboot netconsole gives some interesting results, flexo
[6:08] <shiftplusone> I think it's already a feature
[6:08] <sirderpalot> it had always been a feature
[6:09] * flexo_ nods
[6:09] <flexo_> now the question is if that feature is compiled in by default :)
[6:09] <sirderpalot> no need for compilation
[6:09] <shiftplusone> I think you'll need to compile uboot from source
[6:09] <flexo_> To add NetConsole support to U-Boot, just add the following like to the board config.h file:
[6:09] <flexo_> #define CONFIG_NETCONSOLE 1
[6:09] <sirderpalot> ^
[6:09] <sirderpalot> ohwot
[6:10] <sirderpalot> i thought it was already in it
[6:10] <flexo_> maybe it is
[6:10] <flexo_> i'm just saying... it might not
[6:10] <flexo_> have to configure pi after reinstall for a sec.. afk..
[6:11] <flexo_> and why doesn't the auto-configure thing auto-detect my keyboard layout from the usb id o.o
[6:12] <flexo_> i honestly don't know how many keys i have :)
[6:12] <sirderpalot> because keyboard layout isn't in usb id
[6:13] * CJD14 (~cjd@c-76-122-154-66.hsd1.mi.comcast.net) has joined #raspberrypi
[6:13] <flexo_> sirderpalot: are you sure about that?
[6:14] <Triffid_Hunter> that's a pretty daft oversight on the part of the usbhid spec
[6:14] <sirderpalot> no clue. i'm computer illiterate
[6:14] <flexo_> Triffid_Hunter: well yea.. but i'm pretty sure the product id gives you the layout if you have a database..
[6:15] <Triffid_Hunter> flexo_: feel free to maintain such a thing
[6:15] <flexo_> debian obviously does..
[6:15] * cwesterfield is now known as cwesterfield-awa
[6:18] <flexo_> but i really don't want to rant here
[6:18] <flexo_> i'm pretty happy with my two-machine cluster
[6:18] <flexo_> composed of a pi and an SD card :)
[6:18] <flexo_> with builtin wifi
[6:19] <flexo_> i just need to hack around the damn SD firmware/software to move data along the SD bus
[6:19] <flexo_> then i#
[6:19] <flexo_> then i'm very happy :)
[6:20] * Jeebiss (~Jeebiss@2602:306:bc31:5920:6178:ec4e:ba:fc0e) Quit (Ping timeout: 272 seconds)
[6:20] <flexo_> okay. reconfigure done.
[6:21] <flexo_> let's update, install your package, check the symlinks, set the kernel and see.
[6:21] <flexo_> and if i get a black screen i'll look into uboot/netconsole
[6:21] * ozatomic (~ozatomic@2001:41d0:2:b035::2) has joined #raspberrypi
[6:26] * GregorSamsa (~james@unaffiliated/jmichaelx) Quit (Quit: í gegnum göngin, finn ég ró)
[6:28] * cccyRegeaneWolfe is now known as cccy_RegeaneWolf
[6:33] * hybr1d8 (~cjd@ has left #raspberrypi
[6:37] * hyperair (~hyperair@ubuntu/member/hyperair) has joined #raspberrypi
[6:38] * Engen (~Engen@unaffiliated/engen) Quit (Ping timeout: 256 seconds)
[6:47] * Cy-Gor (~Brian@cpe-70-124-70-140.austin.res.rr.com) Quit (Quit: Leaving)
[6:50] * hyperair (~hyperair@ubuntu/member/hyperair) Quit (Ping timeout: 264 seconds)
[6:53] * zoba (~zoba@c-76-103-91-231.hsd1.ca.comcast.net) has joined #raspberrypi
[6:55] * ponA (Miranda@HSI-KBW-095-208-008-139.hsi5.kabel-badenwuerttemberg.de) Quit (Read error: Connection reset by peer)
[6:57] <flexo_> looks like either boot.scr or netconsole is deactivated..
[6:57] <flexo_> no wait
[7:10] * kamdard (~kamdard@pool-71-170-199-182.dllstx.fios.verizon.net) Quit (Ping timeout: 272 seconds)
[7:10] * leucos (~leucos@81-65-119-172.rev.numericable.fr) has joined #raspberrypi
[7:13] * snuffeluffegus (~snuffeluf@cpe-071-077-227-151.ec.res.rr.com) has joined #raspberrypi
[7:15] * Engen (~Engen@unaffiliated/engen) has joined #raspberrypi
[7:16] * amigojapan (~amigojapa@p2012-ipbf802souka.saitama.ocn.ne.jp) Quit (Ping timeout: 248 seconds)
[7:19] * Lupinedk is now known as lupinedk
[7:20] * snuffeluffegus (~snuffeluf@cpe-071-077-227-151.ec.res.rr.com) Quit (Read error: Connection reset by peer)
[7:21] * [Saint] assumes this mammal is close enough to a kitty to be on topic
[7:21] <[Saint]> Raspberry Pi community, meet Lionel:
[7:21] <[Saint]> http://imgur.com/a/5JJDS
[7:21] <[Saint]> My new adopted hedgefriend.
[7:22] * chunkyhead (~kromo@unaffiliated/chunkyhead) has joined #raspberrypi
[7:22] <chunkyhead> can i share my laptop's ram with rpi?
[7:22] <chunkyhead> over a network
[7:22] <[Saint]> Not in any way that wouldn't make it useless, no.
[7:23] <[Saint]> Share RAM over a network, and, it may as well be a disk.
[7:23] <[Saint]> You'd be removing the critical element of RAM, access time.
[7:23] <chunkyhead> network is pretty fast?
[7:23] <[Saint]> Nowhere near as fast as RAM is.
[7:24] * v0lt_ (~textual@unaffiliated/v0lt/x-7782577) Quit (Quit: gone)
[7:24] <chunkyhead> well faster than sd card?
[7:24] <chunkyhead> or swap
[7:24] <[Saint]> Yes. Definitely. But, so is your HDD.
[7:24] <[Saint]> Making a RAMdisk for this is just needlessly complicating a simple task.
[7:25] <chunkyhead> that's the easy part
[7:25] <chunkyhead> i just wanted to know how to share a partition over the network
[7:25] <chunkyhead> which i can swap on rpi
[7:26] * monkers (~monkers@unaffiliated/monkeypaws) Quit (Ping timeout: 252 seconds)
[7:26] <[Saint]> If you're swapping on the raspi, you probably need to reevaluate your uage case.
[7:26] <[Saint]> *usage
[7:26] <chunkyhead> this is just for testing
[7:26] <chunkyhead> no hardcore use
[7:26] <chunkyhead> testing transfer speeds.
[7:27] <[Saint]> Do you have a flash USB stick floating around?
[7:27] <[Saint]> Use that.
[7:27] <chunkyhead> on rpi directly?
[7:27] <chunkyhead> ie the usb slot it provides?
[7:27] <[Saint]> Waaaaaaaay easier to set up, and won;t steal RAM of your desktop that could go to better use.
[7:27] <[Saint]> Yes.
[7:27] <[Saint]> Or via a hub, whatever.
[7:28] <chunkyhead> that would gimme like 4-8 mb/s
[7:28] * harish (~harish@ has joined #raspberrypi
[7:28] <chunkyhead> tops
[7:28] <chunkyhead> mB*/s
[7:28] <[Saint]> a network mounted RAMdisk isn;t going to give you considerably more.
[7:28] <[Saint]> At the cost of much additional hassle.
[7:28] <chunkyhead> network transfers are in GBs?
[7:28] <[Saint]> Throughput on the raspi is *very* crippled.
[7:29] <chunkyhead> ah
[7:29] <[Saint]> Yeah, you'll NEVER get that kind of throughput.
[7:29] <[Saint]> Not even close.
[7:29] <chunkyhead> i get your point
[7:29] <[Saint]> All IO on the system shares a single USB bus.
[7:29] <[Saint]> So, throughput isn't the pi's specialty.
[7:30] <chunkyhead> ah alright.
[7:30] <[Saint]> A Class 10 sdcard would probably be faster than the pi could pipe to it.
[7:30] <chunkyhead> how much is the size of data bus on the rpi?
[7:30] * monkers (~monkers@unaffiliated/monkeypaws) has joined #raspberrypi
[7:30] * PasNox (~pasnox@2a01:e35:8b61:9b30:214:d1ff:fee9:bd3a) Quit (Quit: Leaving - Best cross platform IDE http://monkeystudio.org)
[7:31] <chunkyhead> [Saint]: lol, ok that's terrible :p
[7:31] <[Saint]> This device wasn't made to be performant.
[7:31] <[Saint]> Its made to be cheap.
[7:31] * woooden (~woooden@252.sub-174-239-229.myvzw.com) has joined #raspberrypi
[7:32] <chunkyhead> yea i get the point
[7:32] <[Saint]> Perhaps a BBB is more up your alley.
[7:32] <[Saint]> Or a Snowball, or Odroid U2/3
[7:32] <chunkyhead> i gave them a thought as well
[7:33] <[Saint]> (all of those have actual embedded storage)
[7:33] <chunkyhead> but then 35$ was more tempting
[7:33] <[Saint]> Snowball is only $35 Euro (or $50 USD)
[7:34] * yottanami (~yottanami@ has joined #raspberrypi
[7:34] * yottanami (~yottanami@ has left #raspberrypi
[7:34] * woooden (~woooden@252.sub-174-239-229.myvzw.com) Quit (Client Quit)
[7:34] <[Saint]> chunkyhead: feature set of Snowball
[7:34] <[Saint]> http://pastebin.com/jtJUkSrv
[7:36] <[Saint]> purchase: http://www.calao-store.com/epages/61428605.sf/en_GB/?ObjectPath=/Shops/61428605/Categories/CALEMB
[7:36] <[Saint]> Have fun, compare, and go with your gut.
[7:36] <chunkyhead> haha thank you
[7:37] * [Saint] personally thinks the added features are WELL worth the additional $15 USD
[7:37] * Psil0Cybin (~psil0cybi@unaffiliated/psil0cybin) has joined #raspberrypi
[7:37] <[Saint]> You'd spend at least $100 adding all that on to a pi, and some of it isn;t even possible.
[7:37] <chunkyhead> yea was just thinking that
[7:38] <[Saint]> Actually, getting a raspi to compare with those features would cost closer to $200 more, I'd guess.
[7:38] <chunkyhead> was thinking just* that
[7:38] <[Saint]> But, don't let me make up your mind for you, by any means.
[7:38] * AbouEmre (~Thunderbi@cable-178-148-67-164.dynamic.sbb.rs) has joined #raspberrypi
[7:38] <[Saint]> I'm just a guy on teh infowebz.
[7:38] <[Saint]> :)
[7:38] <[Saint]> Trust your gut.
[7:43] * redarrow_ (~redarrow@unaffiliated/redarrow) has joined #raspberrypi
[7:44] * bigx (~bigx@cam44-2-82-235-243-114.fbx.proxad.net) has joined #raspberrypi
[7:46] * redarrow (~redarrow@unaffiliated/redarrow) Quit (Ping timeout: 245 seconds)
[7:48] * hyperair (~hyperair@ubuntu/member/hyperair) has joined #raspberrypi
[7:52] * jbaanus (~jbaanus@ has joined #raspberrypi
[7:53] * hyperair (~hyperair@ubuntu/member/hyperair) Quit (Ping timeout: 260 seconds)
[7:54] * Onoz (~Onoz@ Quit (Ping timeout: 245 seconds)
[7:55] * amigojapan (~amigojapa@p2012-ipbf802souka.saitama.ocn.ne.jp) has joined #raspberrypi
[7:55] * amigojapan (~amigojapa@p2012-ipbf802souka.saitama.ocn.ne.jp) Quit (Client Quit)
[7:55] * ShorTie thinkz the [Saint]'s new pet is very cute and nifty
[7:57] * jbaanus (~jbaanus@ Quit (Ping timeout: 245 seconds)
[8:00] * chunkyhead (~kromo@unaffiliated/chunkyhead) Quit (Ping timeout: 248 seconds)
[8:07] * Raynerd (~pi@host86-153-62-12.range86-153.btcentralplus.com) Quit (Read error: Operation timed out)
[8:14] * _cheney (~cheney@nat.sierrabravo.net) Quit (Read error: Connection reset by peer)
[8:15] * _cheney (~cheney@nat.sierrabravo.net) has joined #raspberrypi
[8:16] <psilocide> if i have a device that has is 1 at 3.3v and 0 at 0v, can i just hook the pins directly to the GPIO?
[8:19] <[Saint]> ShorTie: nit quite what I would call a "pet" (my kitties would kill me), but that's not for lack of want. :)
[8:19] * leucos (~leucos@81-65-119-172.rev.numericable.fr) Quit (Ping timeout: 252 seconds)
[8:19] <[Saint]> He's more of semipermanent visitor.
[8:20] <[Saint]> *of a
[8:21] * DropBear (~DropBear@rrcs-74-62-215-122.west.biz.rr.com) Quit (Ping timeout: 252 seconds)
[8:22] <[Saint]> Occasionally he shows up in the middle of the day, which is odd for a wee nocturnal hedgebuddy, so I'll feed him and give him a roof until it gets dark then let him out to snuffle up the slugs and snails from my garden.
[8:28] * zoba (~zoba@c-76-103-91-231.hsd1.ca.comcast.net) Quit (Remote host closed the connection)
[8:31] * leucos (~leucos@erafw.erasme.org) has joined #raspberrypi
[8:31] <Psil0Cybin> lol psilocide
[8:32] * DropBear (~DropBear@rrcs-74-62-215-122.west.biz.rr.com) has joined #raspberrypi
[8:32] <Psil0Cybin> noice coinky dink
[8:32] * saedelaere (~quassel@unaffiliated/saedelaere) has joined #raspberrypi
[8:33] * dyeske (~dyeske@c-24-99-148-172.hsd1.ga.comcast.net) Quit (Read error: Operation timed out)
[8:35] * user1 (~user@gateway/tor-sasl/bluebonzoid) has joined #raspberrypi
[8:35] <user1> looking for an a114 esd transitor spec sheet
[8:38] * kzard (~kzard@41-134-83-186.dsl.mweb.co.za) has joined #raspberrypi
[8:40] <psilocide> thanks Psi0Cybin
[8:41] * Pitel_IPEX (~pitel@gatekeeper.bm.ipex.cz) has joined #raspberrypi
[8:41] * XpineX (~XpineX@93-160-241-114-dynamic.dk.customer.tdc.net) has joined #raspberrypi
[8:44] * Simon- (simon@proxima.lp0.eu) has joined #raspberrypi
[8:45] * JlRd (~JlRd@ip68-109-174-116.ph.ph.cox.net) has joined #raspberrypi
[8:47] * Coffe (~mrGreen@nat.basefarm.se) has joined #raspberrypi
[8:47] * CJD14 (~cjd@c-76-122-154-66.hsd1.mi.comcast.net) Quit (Ping timeout: 240 seconds)
[8:53] * user1 (~user@gateway/tor-sasl/bluebonzoid) Quit (Remote host closed the connection)
[8:53] * user1 (~user@gateway/tor-sasl/bluebonzoid) has joined #raspberrypi
[8:55] * Chetic (~Chetic@c83-250-75-148.bredband.comhem.se) has joined #raspberrypi
[8:56] * salmon_ (~salmon_@pc1-79.jsn.osi.pl) has joined #raspberrypi
[8:56] * jbaanus (~jbaanus@ has joined #raspberrypi
[8:57] * yottanami (~yottanami@ has joined #raspberrypi
[8:58] <yottanami> I use apt-get dist-upgrade that my system rebooted and then I used dpkg-reconfigure -a and now I have this errror http://dpaste.com/1576655/ How can I fix it ?
[8:59] * jbaanus (~jbaanus@ Quit (Remote host closed the connection)
[9:00] <ShorTie> nenver done dpkg-reconfigure -a before, what was the purpose of that ??
[9:00] <ShorTie> never*
[9:04] * Mogwai (~mogwai@206-248-185-50.dsl.teksavvy.com) Quit (Ping timeout: 246 seconds)
[9:04] * FredNick (~fred@desktop-fred.richmond.archive.org) Quit (Quit: leaving)
[9:04] <yottanami> ShorTie: Just for reconfiguring all packages
[9:04] * dreamon (~dreamon@unaffiliated/dreamon) Quit (Ping timeout: 272 seconds)
[9:04] * dreamon_ (~dreamon@unaffiliated/dreamon) Quit (Ping timeout: 248 seconds)
[9:04] <ShorTie> i can read the help, just don't understand the reconfigure to what/for what
[9:05] * ShorTie a wipe and re-image type of guy, so i would just re-image card and don't do that again
[9:06] * dleedev (~anonymous@c-24-7-78-122.hsd1.ca.comcast.net) Quit (Quit: dleedev)
[9:07] <ShorTie> that is not nessacary after a 'apt-get dist-upgrade'
[9:09] <yottanami> ShorTie: My Raspberrypi rebooted between configuration of dist-upgrade
[9:10] <ShorTie> well then you have power issues that caused the reboot that corrupted your file system, imho
[9:11] <ShorTie> cause dist-upgrade does not cause a reboot
[9:11] * CJD14 (~cjd@c-76-122-154-66.hsd1.mi.comcast.net) has joined #raspberrypi
[9:11] * lupinedk is now known as Lupinedk
[9:11] * sphenxes (~sphenxes@91-119-68-208.dynamic.xdsl-line.inode.at) has joined #raspberrypi
[9:11] <ShorTie> all though you should, i don't think it even tells you too...
[9:12] * tanuva (~tanuva@2a02:8071:293a:ec00:1857:720a:1d18:9447) has joined #raspberrypi
[9:21] * YamakasY (~yamakasy@ has joined #raspberrypi
[9:25] * yottanami (~yottanami@ Quit (Ping timeout: 264 seconds)
[9:30] * gsdias (~gsdias@ has joined #raspberrypi
[9:33] * jbaanus (~jbaanus@ has joined #raspberrypi
[9:34] <user1> recomend a cheap io interface?
[9:35] <ShorTie> the gertboard has all kinds of io, depending on your needs
[9:36] <ShorTie> cheapest is most likely the 'build your own' veriaty
[9:38] <user1> build out of old computers?
[9:39] <ShorTie> can't for sure tell you if your gonna find the right chips on a old pc, but i'd guess most likely not
[9:40] <ShorTie> fernel/newark/radio shack ...., is a good place for chips once you figure out what you want
[9:40] <ShorTie> or need
[9:42] <ShorTie> without actually knowing what your going to io, it's kinda hard to get more specific really
[9:43] * salmon_ (~salmon_@pc1-79.jsn.osi.pl) has left #raspberrypi
[9:43] <ShorTie> but wiringPi is a good reference for io chips for the rPi
[9:44] <user1> https://projects.drogon.net/raspberry-pi/wiringpi/ ?
[9:45] <ShorTie> Yuppers ... :)
[9:45] <ShorTie> just get the git and look thru the library
[9:45] * linuxstb (~linuxstb@unaffiliated/linuxstb) Quit (Quit: This computer has gone to sleep)
[9:46] * ninjak (~ninjak@ has joined #raspberrypi
[9:47] <ShorTie> if i can ask, what are you gonna io ??
[9:49] * FR^2 (~frquadrat@farsquare.de) has joined #raspberrypi
[9:49] * sraue (~stephan@xbmc/staff/sraue) Quit (Ping timeout: 252 seconds)
[9:50] <user1> I am not entirely certain, I really just want to assemble a toolbox
[9:51] <ShorTie> that could be an awfull big tool box, if you don't know what your gonna io then
[9:51] <ShorTie> but the gertboard might be the best option
[9:52] <ShorTie> it has most everything you might need most likely
[9:53] <ShorTie> https://www.sparkfun.com/products/11773
[9:57] <user1> so cool
[9:59] * JamesLeeds (~JamesLeed@ub1.jhitchcock.com) Quit (Excess Flood)
[9:59] * JamesLeeds (~JamesLeed@ub1.jhitchcock.com) has joined #raspberrypi
[10:03] * Psil0Cybin (~psil0cybi@unaffiliated/psil0cybin) Quit (Remote host closed the connection)
[10:03] * wiiguy (~fake@unaffiliated/wiiguy) has joined #raspberrypi
[10:03] * ryanteck (~ryan@fsf/member/Ryanteck) has joined #raspberrypi
[10:11] * fl_0|afk is now known as fl_0
[10:19] * sjs205 (~sjs205@host81-151-248-166.range81-151.btcentralplus.com) has joined #raspberrypi
[10:21] * bigx (~bigx@cam44-2-82-235-243-114.fbx.proxad.net) Quit (Read error: Connection reset by peer)
[10:21] * bigx (~bigx@cam44-2-82-235-243-114.fbx.proxad.net) has joined #raspberrypi
[10:26] * sinni800 (~hurpurdur@2a00:1ca8:2a::2a) Quit (Ping timeout: 276 seconds)
[10:26] * crucl0 (~alekzp@ has joined #raspberrypi
[10:31] * user82 (~user82@unaffiliated/user82) has joined #raspberrypi
[10:31] * monkers (~monkers@unaffiliated/monkeypaws) Quit (Ping timeout: 272 seconds)
[10:34] * dreamon_ (~dreamon@unaffiliated/dreamon) has joined #raspberrypi
[10:35] * dreamon (~dreamon@unaffiliated/dreamon) has joined #raspberrypi
[10:36] * linuxstb (~linuxstb@unaffiliated/linuxstb) has joined #raspberrypi
[10:43] * parallel21 (~paralle21@ has joined #raspberrypi
[10:43] * sjs205 (~sjs205@host81-151-248-166.range81-151.btcentralplus.com) Quit (Ping timeout: 272 seconds)
[10:45] * SirLagz (~SirLagz@ppp121-45-240-194.lns20.per2.internode.on.net) Quit (Ping timeout: 252 seconds)
[10:50] * basti (~IceChat9@xdsl-89-0-88-39.netcologne.de) has joined #raspberrypi
[10:50] * demlak (~demlak@schwarz-punk.de) has joined #raspberrypi
[10:53] * t0mab (~t0mab@stakhanov.u-strasbg.fr) Quit (Read error: Connection reset by peer)
[10:54] * t0mab (~t0mab@stakhanov.u-strasbg.fr) has joined #raspberrypi
[11:05] * wimac (~wimac@ has joined #raspberrypi
[11:06] * Ogion_ (~Ogion@97.Red-81-39-21.dynamicIP.rima-tde.net) Quit (Ping timeout: 252 seconds)
[11:06] * wimac (~wimac@ Quit (Client Quit)
[11:09] * wimac (~wimac@adsl-71-148-45-171.dsl.sfldmi.sbcglobal.net) has joined #raspberrypi
[11:09] <gordonDrogon> morning...
[11:09] <gordonDrogon> user1, feel free to ask about wiringPi...
[11:09] * wimac (~wimac@adsl-71-148-45-171.dsl.sfldmi.sbcglobal.net) Quit (Client Quit)
[11:11] * aep (~aep@libqxt/developer/aep) Quit (Ping timeout: 240 seconds)
[11:11] * murlock (~michael@2001:41d0:8:1173::62) Quit (Ping timeout: 276 seconds)
[11:14] * aep (~aep@libqxt/developer/aep) has joined #raspberrypi
[11:14] * Ogion_ (~Ogion@97.Red-81-39-21.dynamicIP.rima-tde.net) has joined #raspberrypi
[11:15] * hubutm20 (~hubutm20@ has joined #raspberrypi
[11:15] * KindOne (KindOne@colchester-lug/silly-fool/donut) Quit (Ping timeout: 265 seconds)
[11:15] <rikkib> No takers
[11:16] * murlock (~michael@2001:41d0:8:1173::62) has joined #raspberrypi
[11:17] <gordonDrogon> :)
[11:17] <rikkib> and I am going to bed soon having failed the first attempt to hook two nRF24L01+ devices together.
[11:17] * JlRd (~JlRd@ip68-109-174-116.ph.ph.cox.net) Quit (Ping timeout: 245 seconds)
[11:18] * KindOne (~KindOne@colchester-lug/silly-fool/donut) has joined #raspberrypi
[11:18] * tanuva (~tanuva@2a02:8071:293a:ec00:1857:720a:1d18:9447) Quit (Quit: Leaving.)
[11:21] <rikkib> More toys on the way... DHT22 temp/humidity, barometer, compass, accelerometer and rain sensor
[11:22] <rikkib> wiringPi loaded onto the two Rpi with relays hooked to them
[11:23] * fl_0 is now known as fl_0|afk
[11:24] <rikkib> Seen my latest picture of the five rpi and other stuff I set up on a backing board? http://www.zlham.geek.nz/images/news/rpi-sys.jpg
[11:24] * redsoup (~redsups@h-36-10.a336.priv.bahnhof.se) has joined #raspberrypi
[11:26] <rikkib> Z time...
[11:27] <gordonDrogon> bit of a slow load image..
[11:27] * sinni800 (~hurpurdur@2a00:1ca8:2a::2a) has joined #raspberrypi
[11:31] * Bhaal (~bhaal@freenode/staff-emeritus/bhaal) Quit (Read error: Connection reset by peer)
[11:31] * sinni800 (~hurpurdur@2a00:1ca8:2a::2a) Quit (Remote host closed the connection)
[11:31] * hubutm20 (~hubutm20@ Quit (Read error: Operation timed out)
[11:32] * Bhaal (~bhaal@freenode/staff-emeritus/bhaal) has joined #raspberrypi
[11:32] * hubutm20 (~hubutm20@ has joined #raspberrypi
[11:34] * SebSemmi (~SebSemmi@e178208215.adsl.alicedsl.de) has joined #raspberrypi
[11:43] * fl_0|afk is now known as fl_0
[11:44] * fl_0 is now known as fl_0|afk
[11:45] * fl_0|afk is now known as fl_0
[11:47] * fl_0 (unknown@p4FFD85D7.dip0.t-ipconnect.de) has left #raspberrypi
[11:50] <gordonDrogon> rikkib, all I can say now that that image has finally loaded: what a monster!
[11:50] * m8 (~m@unaffiliated/m8) has joined #raspberrypi
[11:52] * bigx (~bigx@cam44-2-82-235-243-114.fbx.proxad.net) Quit (Ping timeout: 264 seconds)
[11:53] * chris_99 (~chris_99@unaffiliated/chris-99/x-3062929) has joined #raspberrypi
[11:55] * zyxw (~zyx@boi59-3-82-233-182-64.fbx.proxad.net) has joined #raspberrypi
[11:57] <wsmsg> holy moly
[11:57] <wsmsg> rikkib. what are you using it for?
[11:57] <gordonDrogon> think he's gone to bed...
[12:01] * sinni800 (~hurpurdur@2a00:1ca8:2a::2a) has joined #raspberrypi
[12:06] * hyperair (~hyperair@ubuntu/member/hyperair) has joined #raspberrypi
[12:07] * sraue (~stephan@xbmc/staff/sraue) has joined #raspberrypi
[12:10] * [Saint] (~saint@rockbox/staff/saint) Quit (Remote host closed the connection)
[12:12] * Gethiox (~gethiox@acte224.neoplus.adsl.tpnet.pl) has joined #raspberrypi
[12:12] * [Saint] (~saint@rockbox/staff/saint) has joined #raspberrypi
[12:13] * zoktar (~zoktar@unaffiliated/zoktar) Quit (Ping timeout: 245 seconds)
[12:17] * CJD14 (~cjd@c-76-122-154-66.hsd1.mi.comcast.net) Quit (Ping timeout: 240 seconds)
[12:19] * KindOne- (KindOne@colchester-lug/silly-fool/donut) has joined #raspberrypi
[12:19] * KindOne (~KindOne@colchester-lug/silly-fool/donut) Quit (Ping timeout: 252 seconds)
[12:21] * KindOne- is now known as KindOne
[12:24] * nx5_off is now known as nx5
[12:27] * Turingi (~devon@unaffiliated/devon-hillard/x-7250961) has joined #raspberrypi
[12:27] * herdingcat (~huli@ has joined #raspberrypi
[12:33] * mythos (~mythos@unaffiliated/mythos) Quit (Ping timeout: 252 seconds)
[12:37] * Squarepy (~Squarepy@unaffiliated/squarepy) has joined #raspberrypi
[12:38] * SebSemmi (~SebSemmi@e178208215.adsl.alicedsl.de) Quit (Quit: brb)
[12:39] * jef79m (~jef79m@124-168-151-14.dyn.iinet.net.au) has joined #raspberrypi
[12:39] * saedelaere (~quassel@unaffiliated/saedelaere) Quit (Read error: Operation timed out)
[12:47] * ryanteck (~ryan@fsf/member/Ryanteck) Quit (Read error: Operation timed out)
[12:48] * mike_t (~mike@pluto.dd.vaz.ru) Quit (Remote host closed the connection)
[12:49] * randomshop (~Random@220-244-125-22.static.tpgi.com.au) Quit (Quit: Leaving)
[12:50] * divine (~divine@229.227-241-81.adsl-static.isp.belgacom.be) has joined #raspberrypi
[12:51] * mike_t (~mike@pluto.dd.vaz.ru) has joined #raspberrypi
[12:55] * pm0001 (~pm0001@ has joined #raspberrypi
[12:58] * ebhtura_ (~ebhtura@unaffiliated/ebhtura) Quit (Quit: .)
[12:59] * nitdega_ (~nitdega@2602:306:2421:8b51:81d9:7f4b:eabe:a5f2) has joined #raspberrypi
[13:00] * ebhtura_ (~ebhtura@unaffiliated/ebhtura) has joined #raspberrypi
[13:02] * ryanteck (~ryan@fsf/member/Ryanteck) has joined #raspberrypi
[13:02] * spooq (~spooq@ has joined #raspberrypi
[13:02] * nitdega (nitdega@2602:306:2421:8b51:81d9:7f4b:eabe:a5f2) Quit (Ping timeout: 245 seconds)
[13:04] * Benguin is now known as Benguin[ZzZ]
[13:04] * SebSemmi (~SebSemmi@p5DC5AC0E.dip0.t-ipconnect.de) has joined #raspberrypi
[13:06] * user1 (~user@gateway/tor-sasl/bluebonzoid) Quit (Remote host closed the connection)
[13:09] * gbaman (~gbaman@host86-143-98-79.range86-143.btcentralplus.com) has joined #raspberrypi
[13:11] * kcj (~casey@unaffiliated/kcj) Quit (Ping timeout: 252 seconds)
[13:13] * x62656E (~sherlock@p54871E92.dip0.t-ipconnect.de) has joined #raspberrypi
[13:14] * michael_lee (~michael_l@ Quit (Ping timeout: 252 seconds)
[13:15] * michael_lee (~michael_l@ has joined #raspberrypi
[13:17] * mythos (~mythos@unaffiliated/mythos) has joined #raspberrypi
[13:20] * NothingDone (~NothingDo@ Quit (Read error: Connection reset by peer)
[13:22] * felipealmeida (~user@ has joined #raspberrypi
[13:23] * ukgamer (~ukgamer@host81-147-26-124.range81-147.btcentralplus.com) Quit (Read error: Operation timed out)
[13:26] * SgrA (~sgra@unaffiliated/sgra) has joined #raspberrypi
[13:28] * gbaman (~gbaman@host86-143-98-79.range86-143.btcentralplus.com) Quit (Remote host closed the connection)
[13:28] * ebhtura_ (~ebhtura@unaffiliated/ebhtura) Quit (Read error: Operation timed out)
[13:29] * SebSemmi (~SebSemmi@p5DC5AC0E.dip0.t-ipconnect.de) Quit (Quit: brb)
[13:30] * S0-2 (~sgra@unaffiliated/sgra) Quit (Ping timeout: 272 seconds)
[13:31] * ukgamer (~ukgamer@host81-147-27-62.range81-147.btcentralplus.com) has joined #raspberrypi
[13:31] * JlRd (~JlRd@ip68-109-174-116.ph.ph.cox.net) has joined #raspberrypi
[13:31] * SebSemmi (~SebSemmi@p5DC5AC0E.dip0.t-ipconnect.de) has joined #raspberrypi
[13:33] * ShorTie (~Idiot@unaffiliated/shortie) Quit (Ping timeout: 252 seconds)
[13:34] * ThirdEye1urfer is now known as bart_b
[13:35] * x62656E (~sherlock@p54871E92.dip0.t-ipconnect.de) Quit (Ping timeout: 252 seconds)
[13:39] * hououina (~Hououina@c-71-60-244-180.hsd1.pa.comcast.net) has joined #raspberrypi
[13:40] * chris_99 (~chris_99@unaffiliated/chris-99/x-3062929) Quit (Quit: Leaving)
[13:41] * markit (~marco@host179-38-static.243-95-b.business.telecomitalia.it) has joined #raspberrypi
[13:43] * zyxw (~zyx@boi59-3-82-233-182-64.fbx.proxad.net) Quit (Ping timeout: 245 seconds)
[13:44] * ebhtura_ (~ebhtura@unaffiliated/ebhtura) has joined #raspberrypi
[13:44] * SebSemmi (~SebSemmi@p5DC5AC0E.dip0.t-ipconnect.de) Quit (Quit: brb)
[13:45] * SebSemmi (~SebSemmi@p5DC5AC0E.dip0.t-ipconnect.de) has joined #raspberrypi
[13:48] * sjs205 (~sjs205@host81-151-248-166.range81-151.btcentralplus.com) has joined #raspberrypi
[13:48] * ebhtura (~ebhtura@unaffiliated/ebhtura) has joined #raspberrypi
[13:50] * herdingcat (~huli@ Quit (Remote host closed the connection)
[13:50] * ebhtura_ (~ebhtura@unaffiliated/ebhtura) Quit (Ping timeout: 248 seconds)
[13:52] * hououina (~Hououina@c-71-60-244-180.hsd1.pa.comcast.net) Quit (Ping timeout: 248 seconds)
[13:53] * ryanteck (~ryan@fsf/member/Ryanteck) Quit (Read error: Connection reset by peer)
[13:53] * ryanteck (~ryan@fsf/member/Ryanteck) has joined #raspberrypi
[13:59] * bizarro_1 (~bizarro_1@ has joined #raspberrypi
[14:02] * Somniac (~Somniac@27-33-82-114.static.tpgi.com.au) Quit (Read error: Connection reset by peer)
[14:03] * ryanteck (~ryan@fsf/member/Ryanteck) Quit (Ping timeout: 264 seconds)
[14:05] * divine (~divine@229.227-241-81.adsl-static.isp.belgacom.be) Quit (Ping timeout: 264 seconds)
[14:06] * divine (~divine@229.227-241-81.adsl-static.isp.belgacom.be) has joined #raspberrypi
[14:09] * TheWarden (~chatzilla@S0106e0469a3d83ef.ss.shawcable.net) has joined #raspberrypi
[14:09] <basti> hello. i am trying measuring distance with an ultrasonic module using this code http://nopaste.info/3364caebfe.html, but i all get is "echo timed out". using this python code, it works. http://nopaste.info/f2b3017751.html. i found that every C code i did find, did not work, but all python codes.
[14:09] <basti> but since i want to use/learn C...
[14:12] * user1 (~user@gateway/tor-sasl/bluebonzoid) has joined #raspberrypi
[14:12] * intothev01d (~intothev0@unaffiliated/intothev01d) has joined #raspberrypi
[14:12] * yofel (~quassel@ubuntu/member/yofel) Quit (Ping timeout: 264 seconds)
[14:12] * RaycisCharles (~RaycisCha@cpc5-lutn10-2-0-cust681.9-3.cable.virginm.net) has joined #raspberrypi
[14:13] * herdingcat (~huli@ has joined #raspberrypi
[14:13] <basti> ok, now as i posted this hear, i did find this, which works. http://nopaste.info/808d755d65.html i guess, i will try to understand why
[14:14] <psilocide> basti: seems like the pin isn't going high.
[14:15] * mike_t (~mike@pluto.dd.vaz.ru) Quit (Remote host closed the connection)
[14:16] <basti> but why?
[14:16] * rwb (~bragg@host55.vsac.cust.sover.net) has joined #raspberrypi
[14:17] <psilocide> i am learning the hardware myself. the module you are talking about is already made or did you make it yourself?
[14:17] * Ogion__ (~Ogion@202.Red-83-38-68.dynamicIP.rima-tde.net) has joined #raspberrypi
[14:18] <basti> it is bought and it does work
[14:19] <psilocide> this C code came with it also?
[14:19] * SirLagz (~SirLagz@ppp121-45-235-5.lns20.per1.internode.on.net) has joined #raspberrypi
[14:19] * Ogion_ (~Ogion@97.Red-81-39-21.dynamicIP.rima-tde.net) Quit (Ping timeout: 240 seconds)
[14:20] <basti> no, i found it
[14:21] <basti> and as is said, the last obne i posted does work
[14:22] <gordonDrogon> basti, you're using the wring pin numbers.
[14:22] <gordonDrogon> basti, use wiringPiSetup () not wiringPiSetupGpio ()
[14:23] * reZo (~gareth@202-180-86-196.callplus.net.nz) Quit ()
[14:23] <gordonDrogon> guessing a standard HC-SR04 module.
[14:24] * felipealmeida (~user@ Quit (Ping timeout: 248 seconds)
[14:25] <basti> you are right.... (in both cases)
[14:26] <psilocide> gordonDrogon: how to know the difference between which pin numbers to use?
[14:27] <gordonDrogon> psilocide, Yes.
[14:27] <gordonDrogon> http://wiringpi.com/pins
[14:28] <gordonDrogon> psilocide, oops, missed the 'how' there.
[14:28] <gordonDrogon> basically, it's up to you, the programmer to pick a set of pin numbering and stick to it.
[14:28] <gordonDrogon> there are 3 different ways. physical P1 pin numbers, native BCM_GPIO pin numbers and wiringPi pin numbers.
[14:29] <gordonDrogon> the link above gives all 3 ways.
[14:29] <gordonDrogon> I use wiringPi pin numbers because I devised it - the important bit (to me) is that the pin numbers don't change from a Rev 1 to a Rev 2 Pi.
[14:29] <gordonDrogon> using the native BCM_GPIO pin numbers you need to know if you're on a Rev 1 or Rev 2 board as 3 of the pins changed number.
[14:30] <psilocide> cool. I have been really wanting to figure out the hardware on this device since i got, but it has proven to be the expected challenge.
[14:30] <gordonDrogon> wiringPi can be ititialised 3 ways: wiringPiSetup () - uses wiringPi pin numbers, wiringPiSetupGpio() uses the BCM_GPIO numbers and wiringPiSetupPhys () uses the P1 pin numbers.
[14:31] * PKodon (~PKodon@unaffiliated/pkodon) has joined #raspberrypi
[14:31] * jorge_lo (~anonymous@cpe-24-193-127-172.nyc.res.rr.com) has joined #raspberrypi
[14:31] * saedelaere (~quassel@unaffiliated/saedelaere) has joined #raspberrypi
[14:34] <psilocide> i have been using the python bindings for now. I will definitely give wiringPi a shot as it is C.
[14:35] * penghb (~ubuntu@ Quit (Ping timeout: 240 seconds)
[14:36] * penghb (~ubuntu@ has joined #raspberrypi
[14:37] <gordonDrogon> use the wiringPiSetupGpio() to maintain the same pin numbering in wiringPi to the RPi.GPIO librasry (unless you're using the P1 pin numbering scheme)
[14:37] * alejandroc (~alejandro@gateway.netasq.com) has joined #raspberrypi
[14:38] * alejandroc (~alejandro@gateway.netasq.com) has left #raspberrypi
[14:38] * markit (~marco@host179-38-static.243-95-b.business.telecomitalia.it) Quit (Ping timeout: 272 seconds)
[14:38] * felipealmeida (~user@ has joined #raspberrypi
[14:38] <psilocide> I am using the RPi.GPIO for now, but is I2C easy to grasp?
[14:39] <SpeedEvil> Pretty much.
[14:39] <SpeedEvil> It's a rather simple bus.
[14:39] <SpeedEvil> The electrical properties can be annoying if you want to extend it a significant distance.
[14:40] <psilocide> Could it be possible to use it as an interface for a terminal? Sending commands and receiving information?
[14:40] * zoidberg- (~zoidberg@ has joined #raspberrypi
[14:42] <zoidberg-> Hello, I have a Rasberry Pi model b 512mb version.. it was plugged in and on during multiple power cuts. Now, it boots into the operating system, you get about five minutes of use or non use and it freezes. Only way to fix it is pull power out/in. I tried changing the SD card thinking that might be damaged, same thing happens, which means its hardware issue. This brought me to my next idea, how would one go about fault finding the electrical/har
[14:42] <zoidberg-> I would like to treat this as a learning exercise, so if anyone could point me in the right direction..
[14:42] <zoidberg-> I am more of a software person so not sure where to start with this type of stuff...
[14:42] * knob (~knob@ has joined #raspberrypi
[14:43] * taza (~zap@unaffiliated/taza) has joined #raspberrypi
[14:43] * edggeek (~edggeek@ultra.edgonline.nl) Quit (Ping timeout: 272 seconds)
[14:44] <knob> Good morning!!!!!!!
[14:44] <SirLagz> evening
[14:46] * edggeek (~edggeek@ultra.edgonline.nl) has joined #raspberrypi
[14:46] <Squarepy> zoidberg- don't know if I agree it being a hardware issue for sure
[14:46] * basti (~IceChat9@xdsl-89-0-88-39.netcologne.de) Quit (Ping timeout: 265 seconds)
[14:47] * jorge_lo (~anonymous@cpe-24-193-127-172.nyc.res.rr.com) Quit (Quit: jorge_lo)
[14:47] * cwesterfield-awa is now known as cwesterfield
[14:48] * basti (~IceChat9@xdsl-89-0-169-199.netcologne.de) has joined #raspberrypi
[14:48] * jfrousval (~jfrousval@ARouen-651-1-400-48.w109-209.abo.wanadoo.fr) has joined #raspberrypi
[14:51] <zoidberg-> Squarepy: what else can it be?
[14:52] <gordonDrogon> you need to check the messages at boot time - make sure nothing is missing, or no faults reported, etc.
[14:52] <zoidberg-> let me do that quick
[14:53] <Squarepy> zoidberg-, corrupted microcode roms :)
[14:53] <Squarepy> haha
[14:53] <psilocide> what does that mean?
[14:53] <psilocide> CPU failure?
[14:55] <Squarepy> unlickly
[14:56] <Squarepy> unlikely*
[14:57] <psilocide> so is it just a bad SD card?
[14:57] <Squarepy> could also be outboard gear drivers
[14:58] * markit (~marco@host208-38-static.243-95-b.business.telecomitalia.it) has joined #raspberrypi
[14:58] <zoidberg-> Squarepy: hrm i got dmesg.. can't see anything int here
[14:58] <zoidberg-> psilocide: i said i changed the sd cards
[14:58] <zoidberg-> i have liek 20 here
[14:58] <zoidberg-> tried 3
[14:58] <zoidberg-> different operating systems, they showed same behavior
[14:59] <zoidberg-> can't see any errors on boot
[14:59] * meiskam (~meiskam@shellium/developer/meiskam) Quit (Ping timeout: 260 seconds)
[14:59] <psilocide> sorry zoidberg-.
[14:59] <gordonDrogon> oh well... bin it then!
[15:00] <gordonDrogon> hard to think why simple power cycling might have damaged it though.
[15:00] <gordonDrogon> might be an idea to leave it off for 24 hours just in-case it's a very slow resetting polyfuse though.
[15:00] <gordonDrogon> or.. then again, maybe the PSU has fried. have you tried another PSU?
[15:02] * IT_Sean (~Ult_Ubunt@applefritter/IRCStaff/UltimateMacUser1) has joined #raspberrypi
[15:02] * sinni800 (~hurpurdur@2a00:1ca8:2a::2a) Quit (Ping timeout: 252 seconds)
[15:03] * ChanServ sets mode +o IT_Sean
[15:03] <IT_Sean> Morning.
[15:03] * michael_lee (~michael_l@ Quit (Quit: Ex-Chat)
[15:04] * meiskam (~meiskam@shellium/developer/meiskam) has joined #raspberrypi
[15:04] * djoot (~djoot@unaffiliated/djoot) has joined #raspberrypi
[15:07] <markit> anyone here programming with python and QT ?
[15:08] * petersaints (~quassel@a79-168-91-231.cpe.netcabo.pt) Quit (Remote host closed the connection)
[15:08] * AbouEmre (~Thunderbi@cable-178-148-67-164.dynamic.sbb.rs) Quit (Ping timeout: 264 seconds)
[15:08] * petersaints (~quassel@a79-168-91-231.cpe.netcabo.pt) has joined #raspberrypi
[15:09] * ShorTie (~Idiot@unaffiliated/shortie) has joined #raspberrypi
[15:11] * datagutt (~datagutt@unaffiliated/datagutt) Quit (Quit: kthxbai)
[15:16] <zoidberg-> gordonDrogon: it could of had a surge, its had this issue for around 6 months, yes tried different power supplies.
[15:16] * alejandroc (~alejandro@ALille-653-1-530-252.w90-58.abo.wanadoo.fr) has joined #raspberrypi
[15:17] * alejandroc (~alejandro@ALille-653-1-530-252.w90-58.abo.wanadoo.fr) has left #raspberrypi
[15:18] * petersaints (~quassel@a79-168-91-231.cpe.netcabo.pt) Quit (Ping timeout: 252 seconds)
[15:19] * SebSemmi (~SebSemmi@p5DC5AC0E.dip0.t-ipconnect.de) Quit (Quit: brb)
[15:20] * sulky (sulky@gateway/shell/cadoth.net/x-lnzvcmtivwctbazc) Quit (Read error: Operation timed out)
[15:20] * bjorn` (bjorn@opalescent.im) Quit (Read error: Operation timed out)
[15:21] * jonas_buet (~jonas_bue@ has joined #raspberrypi
[15:22] * Xeph (~Xeph@wikipedia/Xeph) Quit (Ping timeout: 245 seconds)
[15:22] * user1 (~user@gateway/tor-sasl/bluebonzoid) Quit (Ping timeout: 240 seconds)
[15:23] * n13z (~iosick@unaffiliated/n13z) Quit (Ping timeout: 246 seconds)
[15:23] * DelphicOkami (~DelphicOk@pinky.lukos.co) Quit (Ping timeout: 252 seconds)
[15:23] * necreo (necreo@Aircrack-NG/User/necreo) Quit (Ping timeout: 264 seconds)
[15:24] * jorge_lo (~anonymous@cpe-24-193-127-172.nyc.res.rr.com) has joined #raspberrypi
[15:24] * Xeph (~Xeph@wikipedia/Xeph) has joined #raspberrypi
[15:24] * necreo (necreo@Aircrack-NG/User/necreo) has joined #raspberrypi
[15:24] * user1 (~user@gateway/tor-sasl/bluebonzoid) has joined #raspberrypi
[15:25] * sulky (sulky@gateway/shell/cadoth.net/x-mnconwenzkvifbyd) has joined #raspberrypi
[15:25] * verkgw (~verkgw@054752a1.skybroadband.com) has joined #raspberrypi
[15:25] * atouk (~kvirc@ool-457e23d5.dyn.optonline.net) has joined #raspberrypi
[15:25] * n13z (~iosick@unaffiliated/n13z) has joined #raspberrypi
[15:26] * DelphicOkami (~DelphicOk@pinky.lukos.co) has joined #raspberrypi
[15:27] * pwillard (~pwillard@adsl-98-66-249-103.asm.bellsouth.net) has joined #raspberrypi
[15:27] * twikz (~twikz@client-08c7cc5041e0b350.pool.twikz.com) has joined #raspberrypi
[15:29] * jorge_lo (~anonymous@cpe-24-193-127-172.nyc.res.rr.com) Quit (Quit: jorge_lo)
[15:29] * mike_t (~mike@ has joined #raspberrypi
[15:29] <basti> so i guess i just broke my pi. i accidentally put 5V on a pin. the pi rebooted and everthing seems to be ok, but no gpio is working. any help, or do i have to order a new one?
[15:30] <gordonDrogon> basti, oops.
[15:30] <basti> yep
[15:30] <gordonDrogon> basti, I'd power down, disconnect everything. make a cup of tea, then power it up and run the pintest script that's part of wiringPi (in the gpio directory)
[15:30] <basti> gordonDrogon, i allready did that
[15:31] <gordonDrogon> and all the gpio's are failling?
[15:31] <basti> i did not try all of them, but two
[15:31] <gordonDrogon> pintest does all the pins.
[15:31] <gordonDrogon> but you need to disconnect everything first.
[15:31] * verkgw (~verkgw@054752a1.skybroadband.com) Quit (Quit: leaving)
[15:32] * verkgw (~verkgw@054752a1.skybroadband.com) has joined #raspberrypi
[15:32] <IT_Sean> 5v on a 3.3v pin = bad juju.
[15:32] * datagutt (~datagutt@unaffiliated/datagutt) has joined #raspberrypi
[15:33] * Coffe (~mrGreen@nat.basefarm.se) Quit (Read error: Operation timed out)
[15:33] <basti> yeah, the lighting was a bit bad when i was looking at the breadboard
[15:33] * sinni800 (~hurpurdur@2a00:1ca8:2a::2a) has joined #raspberrypi
[15:33] <basti> damn small holes
[15:33] <gordonDrogon> you can sometimes get away with it... depends on what the pin was doing at the time. sometimes.
[15:33] * Coffe (~mrGreen@nat.basefarm.se) has joined #raspberrypi
[15:34] * Coffe (~mrGreen@nat.basefarm.se) Quit (Client Quit)
[15:34] <IT_Sean> Indeed.
[15:34] <basti> gordonDrogon, where do i find pintest?
[15:34] <jonas_buet> is it possible to use your laptop screen as the raspberry-pi monitor?
[15:35] <IT_Sean> You might get lucky and nothing has happened. You might get slightly less lucky and only have nuked one pin. You might be unlucky, and no more GPIO for you.
[15:35] <basti> the pin was doing nothing
[15:35] <gordonDrogon> basti, if you have wiringPi installed, then cd ~/wiringPi/gpio
[15:35] <gordonDrogon> and it's in there.
[15:36] * verkgw (~verkgw@054752a1.skybroadband.com) Quit (Client Quit)
[15:37] * sjs205 (~sjs205@host81-151-248-166.range81-151.btcentralplus.com) Quit (Ping timeout: 245 seconds)
[15:37] <bart_b> jonas_buet, ssh for command line access; vnc for graphical interface. but vnc is pretty slow when it comes to RPi.
[15:38] <bart_b> jonas_buet, or this: http://sohilpatel.org/tutorial-rasbperry-pi-desktop-on-your-laptop-screen/
[15:39] <jonas_buet> bart_b: OK thanks for the link. I'll look into it.
[15:39] <bart_b> np
[15:40] <basti> hmm. it says that everything i ok, but i get nothing when i use a pin
[15:40] <jonas_buet> I am very new to raspberry pi, and not really an expert on hardware. So this is a basic question: if I connect my raspberry pi to my 42" TV screen with an HDMI cable, how will the screen resolution be?
[15:40] <gordonDrogon> pintest can only test the input function.
[15:40] <gordonDrogon> although its unlikely the output side is damaged.
[15:40] <gordonDrogon> maybe a simple test with a resistor and LED?
[15:41] <basti> i just did this
[15:41] <bart_b> jonas_buet, you can set the resolution in the /boot/config.txt file http://elinux.org/RPiconfig also, have a read through http://elinux.org/RPi_Hub
[15:43] * tanuva (~tanuva@2a02:908:db12:8200:c0a9:87b5:19f6:969) has joined #raspberrypi
[15:44] <basti> ok, i am stupid again... i had the pi the "other way around" as i usually look at it after putting everything back together. so i tried 1 instead of 0...
[15:45] * verkgw (~verkgw@054752a1.skybroadband.com) has joined #raspberrypi
[15:45] <basti> read: seems to be ok
[15:45] <jonas_buet> bart_b: ok, i'll read through those links.
[15:45] * verkgw (~verkgw@054752a1.skybroadband.com) Quit (Client Quit)
[15:46] <bart_b> jonas_buet, do so, it'll give you an insight into RPi basics and a little bit extra
[15:46] <basti> i guess i will get myself a gertboard or something like that
[15:46] * gbaman (~gbaman@dab-crx1-h-86-10.dab.02.net) has joined #raspberrypi
[15:47] * badass (~badass@unaffiliated/badass) has joined #raspberrypi
[15:48] * JamesLeeds (~JamesLeed@ub1.jhitchcock.com) Quit (Excess Flood)
[15:48] <gordonDrogon> basti, maybe a better desk light to start with...
[15:48] * AbouEmre (~Thunderbi@cable-178-148-67-164.dynamic.sbb.rs) has joined #raspberrypi
[15:49] <basti> this too ;)
[15:49] * JamesLeeds (~JamesLeed@ub1.jhitchcock.com) has joined #raspberrypi
[15:53] * zoktar (~zoktar@unaffiliated/zoktar) has joined #raspberrypi
[15:55] * gbaman (~gbaman@dab-crx1-h-86-10.dab.02.net) Quit (Ping timeout: 245 seconds)
[15:55] * teh3ck (~teh3ck@2a00:d880:0:10::6a3e:b565) has joined #raspberrypi
[15:55] <teh3ck> hi
[15:55] <teh3ck> anyone tried raspberry + simulink ?
[15:57] * Lupinedk is now known as lupinedk
[16:02] * herdingcat (~huli@ Quit (Quit: Leaving)
[16:02] * twikz (~twikz@client-08c7cc5041e0b350.pool.twikz.com) Quit ()
[16:03] * petersaints (~quassel@a79-168-91-231.cpe.netcabo.pt) has joined #raspberrypi
[16:04] * yofel (~quassel@ubuntu/member/yofel) has joined #raspberrypi
[16:06] * petersaints (~quassel@a79-168-91-231.cpe.netcabo.pt) Quit (Read error: Connection reset by peer)
[16:06] * badass_ (~badass@unaffiliated/badass) has joined #raspberrypi
[16:07] * jorge_lo (~anonymous@cpe-74-71-0-246.nyc.res.rr.com) has joined #raspberrypi
[16:08] * badass (~badass@unaffiliated/badass) Quit (Ping timeout: 245 seconds)
[16:12] * jlf (~user@pdpc/supporter/active/jlf) Quit (Ping timeout: 245 seconds)
[16:14] * SebSemmi (~SebSemmi@p5DC5AC0E.dip0.t-ipconnect.de) has joined #raspberrypi
[16:16] * kamdard (~kamdard@pool-71-170-199-182.dllstx.fios.verizon.net) has joined #raspberrypi
[16:18] * g105b (~g105b@93-97-23-183.zone5.bethere.co.uk) has joined #raspberrypi
[16:19] <g105b> Hi can someone help me troubleshoot my first experience with GPIO, and why I can't manage read/write to pins?
[16:20] * markit (~marco@host208-38-static.243-95-b.business.telecomitalia.it) Quit (Quit: Konversation terminated!)
[16:20] <g105b> I'm using raspbian, trying both the 'long-hand' method, and using wiringPi, neither have any understandable effect on pin voltage.
[16:20] <gordonDrogon> g105b, hi.
[16:20] <g105b> Using a breadboard - checked all the pins are wired correctly using a multimeter
[16:20] <gordonDrogon> how are you measuring the output voltage? LED, meter, ?
[16:20] <g105b> gordonDrogon: hello
[16:21] <g105b> gordonDrogon: got LED in a breadboard
[16:21] <gordonDrogon> first thing to do is identify the pins - make sure you're using the right ones.
[16:21] <g105b> gordonDrogon: to LED works when between +5v and GND
[16:21] <gordonDrogon> does it work when between 3.3v and GND?
[16:21] <g105b> gordonDrogon: no it doesn't
[16:21] <gordonDrogon> because the rest of the Pi runs at 3.3v.
[16:21] <g105b> there's my problem then ...
[16:22] <IT_Sean> the 5v pin is just common to the power gazinta. The 3.3v pins aare the ones to check
[16:22] <gordonDrogon> https://projects.drogon.net/raspberry-pi/gpio-examples/tux-crossing/gpio-examples-1-a-single-led/
[16:22] <gordonDrogon> start there.
[16:22] <g105b> gordonDrogon: my meter reads 1.6v between the 3V3 and GND pins
[16:22] <gordonDrogon> you're on the wrong pins then.
[16:23] <gordonDrogon> look at that web page to identify the location of the 3.3v pin, etc.
[16:25] <g105b> Just checked the pins on the pi itself - 3.3v is fine. Looks like the connection between the pi and the breadboard is resistive or something...
[16:25] <gordonDrogon> make sure you can identify the 3.3v power pin and the 0v pin.
[16:25] <gordonDrogon> them make sure that lights up the LED.
[16:25] * ztaale (~bleh@ti0098a380-dhcp1005.bb.online.no) has joined #raspberrypi
[16:26] <gordonDrogon> then move the wire off the 3.3v pin to the first GPIO pin - wiringPi pin 0, BCM_BPIO pin 17 ot P1:11
[16:26] * MProg (~MProg@unaffiliated/mprog) has joined #raspberrypi
[16:26] * aykut (~aykut@unaffiliated/aykut) Quit (Ping timeout: 245 seconds)
[16:26] <MProg> hi _o/
[16:26] <gordonDrogon> use the commands: gpio mode 0 out ; gpio write 0 1
[16:27] <gordonDrogon> which should turn the LED on, then gpio write 0 0 to turn it off again.
[16:29] <g105b> gordonDrogon: thanks, I'll try and sort the issue with the breakout board first
[16:31] <teh3ck> anyone with matlab with simulink ?
[16:31] * jbaanus (~jbaanus@ Quit (Remote host closed the connection)
[16:37] * turtlehat (~offmode@ has joined #raspberrypi
[16:38] <TheWarden> Hi
[16:39] <TheWarden> how can I tell which build/version I have of Raspbian OS? The site downloads state the release date and kernel version but I'm not sure how to compare that to what I'm currently running for Raspbian OS.
[16:39] <TheWarden> uname -a returns the kernel version
[16:40] <gordonDrogon> raspbian is debian wheezy - cat /etc/debian_version
[16:40] <gordonDrogon> and use uname -a to see the kernel revision and build number.
[16:41] * jlf (~user@pdpc/supporter/active/jlf) has joined #raspberrypi
[16:41] <teh3ck> does anyone know which package adds to raspbian the simulink hardware support?
[16:42] * dreamon (~dreamon@unaffiliated/dreamon) Quit (Ping timeout: 245 seconds)
[16:42] * dreamon_ (~dreamon@unaffiliated/dreamon) Quit (Ping timeout: 245 seconds)
[16:42] <gordonDrogon> gordon @ dragonpi: apt-cache search simulink
[16:42] <gordonDrogon> libconqat-simulink-java - Simulink parsing library for Java
[16:42] <gordonDrogon> libconqat-simulink-java-doc - Simulink parsing library for Java
[16:42] <gordonDrogon> does that help?
[16:42] * alejandroc (~alejandro@gateway.netasq.com) has joined #raspberrypi
[16:43] * alejandroc (~alejandro@gateway.netasq.com) has left #raspberrypi
[16:43] <teh3ck> maybe yes i will try it
[16:43] <teh3ck> gordonDrogon http://www.mathworks.com/help/simulink/ug/update-firmware-on-the-raspberry-pi-hardware.html
[16:43] * ReggieUK (ReggieUK@ has joined #raspberrypi
[16:43] <teh3ck> i want to do that
[16:43] * ChanServ sets mode +o ReggieUK
[16:44] <teh3ck> but i don't have card reader in the pc that runs windows ( only windows matlab is supported )
[16:44] <teh3ck> so i want to flash the card reader with that software
[16:44] <gordonDrogon> I've no idea about simulink. never used it. don't know what it is.
[16:48] * bortzmeyer (~stephane@2a01:e35:8bd9:8bb0:21e:8cff:fe76:29b6) has joined #raspberrypi
[16:49] * dark_splinter (~dark_spli@a95-92-16-88.cpe.netcabo.pt) Quit (Quit: Konversation terminated!)
[16:50] <MProg> pfff, I'm gonna remove the flock of sheep from my pc case
[16:50] <MProg> (dust ball sheep :p)
[16:51] * MProg (~MProg@unaffiliated/mprog) Quit (Quit: HydraIRC -> http://www.hydrairc.com <- s0 d4Mn l33t |t'z 5c4rY!)
[16:51] * petersaints (~quassel@a79-168-91-231.cpe.netcabo.pt) has joined #raspberrypi
[16:52] * RaTTuS|BIG (~Rattus.bi@ Quit ()
[16:52] <TheWarden> gordonDrogon: okay but that returns the OS version, how does that relate to the release date off the download page?
[16:53] * RaTTuS|BIG (~Rattus.bi@ has joined #raspberrypi
[16:54] <TheWarden> gordonDrogon: what I'm saying is the site shows say 2014-01-07 for Raspbian OS right now, http://www.raspberrypi.org/downloads. How do I know if I have that?
[16:55] * grandie (~Grandad@p57ACC652.dip0.t-ipconnect.de) has joined #raspberrypi
[16:56] <TheWarden> when running cat /etc/debian_version I notice my one system returned 7.1 yet the other is 7.2. mmm how to get them updated.
[16:56] <g105b> gordonDrogon: just in case you're interested in why I couldn't get gpio to work: my breakout cable was on upside down :D
[16:56] <IT_Sean> herpaderp
[16:56] * githogori (~githogori@c-50-156-58-163.hsd1.ca.comcast.net) Quit (Ping timeout: 240 seconds)
[16:58] * Pitel_IPEX (~pitel@gatekeeper.bm.ipex.cz) Quit (Quit: (ノಠ益ಠ)ノ彡┻━┻)
[16:59] * Squarepy (~Squarepy@unaffiliated/squarepy) Quit (Quit: Leaving)
[17:00] * kzard (~kzard@41-134-83-186.dsl.mweb.co.za) Quit (Ping timeout: 265 seconds)
[17:02] * petersaints (~quassel@a79-168-91-231.cpe.netcabo.pt) Quit (Remote host closed the connection)
[17:06] * heday (~heday@dhcp2989.kent.ac.uk) has joined #raspberrypi
[17:10] * v0lt_ (~textual@unaffiliated/v0lt/x-7782577) has joined #raspberrypi
[17:10] * thesheff17 (~thesheff1@24-148-57-183.c3-0.lem-ubr1.chi-lem.il.cable.rcn.com) has joined #raspberrypi
[17:11] * rvalles (~rvalles@unaffiliated/rvalles) Quit (Ping timeout: 272 seconds)
[17:13] * Jeebiss (~Jeebiss@2602:306:bc31:5920:a50b:75f4:f22b:6589) has joined #raspberrypi
[17:15] * heday (~heday@dhcp2989.kent.ac.uk) Quit (Ping timeout: 272 seconds)
[17:17] * dreamon (~dreamon@unaffiliated/dreamon) has joined #raspberrypi
[17:17] * dreamon_ (~dreamon@unaffiliated/dreamon) has joined #raspberrypi
[17:22] * awwyissssss (~awwyissss@gateway/tor-sasl/awwyissssss) has joined #raspberrypi
[17:22] <gordonDrogon> g105b, a-ha...
[17:22] <g105b> yup...
[17:23] <gordonDrogon> TheWarden, it doesn't matter about release date - just update/upgrade and you get up to date with whatever the last release was.
[17:23] * grandie (~Grandad@p57ACC652.dip0.t-ipconnect.de) Quit (Remote host closed the connection)
[17:23] <gordonDrogon> TheWarden, update: sudo apt-get update ; sudo apt-get upgrade
[17:23] <gordonDrogon> TheWarden, then reboot.
[17:24] <ozzzy> hehe... my pi works perfectly... I'm not going to break everything by updating
[17:24] <gordonDrogon> seems to work fine for me.
[17:24] <gordonDrogon> I've just updated one that's not had an update for a while. rebooted fine.
[17:24] <gordonDrogon> gordon @ dragonpi: uname -a
[17:24] <gordonDrogon> Linux dragonpi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/Linux
[17:27] <awwyissssss> you'll need 'sudo apt-get dist-upgrade' if you want kernel updates too...
[17:27] <gordonDrogon> mine seems to update just fine without that.
[17:28] <gordonDrogon> then only time I had to do that was when going from testing to wheezy.
[17:28] <gordonDrogon> root@dragonpi:/home/gordon# apt-get dist-upgrade
[17:28] <gordonDrogon> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[17:30] <awwyissssss> Debian via apt will usually relegate kernel and big lib/xorg updates to dist-upgrade's.
[17:31] <awwyissssss> in one man's person and humble experiences.
[17:31] <awwyissssss> personal*
[17:32] <awwyissssss> I've read that some have had issues using HDMI->DVI adapters with the pi. Any comments from the room?
[17:32] <IT_Sean> Some pople have had issues. YMMV.
[17:33] <awwyissssss> Is it the pi, debian, or the adapters/monitors?
[17:34] * lord4163 (~lord4163@81-232-61-81-no226.tbcn.telia.com) has joined #raspberrypi
[17:35] * jlf (~user@pdpc/supporter/active/jlf) Quit (Ping timeout: 252 seconds)
[17:38] * grandie (~Grandad@p57ACC652.dip0.t-ipconnect.de) has joined #raspberrypi
[17:41] * grandie (~Grandad@p57ACC652.dip0.t-ipconnect.de) Quit (Remote host closed the connection)
[17:41] <g105b> How can I detect the state of a switch that is pressed for < 10ms ?
[17:41] <g105b> Polling the state of the GPIO seems wrong...
[17:43] * penghb (~ubuntu@ Quit (Quit: Leaving.)
[17:45] * opcode (astra@genuine.advantage.wind0ws.net) Quit (Quit: ZNC - http://znc.in)
[17:45] * x62656E (~sherlock@p54871E92.dip0.t-ipconnect.de) has joined #raspberrypi
[17:51] * linuxstb (~linuxstb@unaffiliated/linuxstb) Quit (Quit: This computer has gone to sleep)
[17:52] * linuxstb (~linuxstb@unaffiliated/linuxstb) has joined #raspberrypi
[17:54] * ninjak (~ninjak@ Quit (Remote host closed the connection)
[17:56] * alejandroc (~alejandro@ALille-653-1-530-252.w90-58.abo.wanadoo.fr) has joined #raspberrypi
[17:56] * alejandroc (~alejandro@ALille-653-1-530-252.w90-58.abo.wanadoo.fr) has left #raspberrypi
[17:57] * mythos (~mythos@unaffiliated/mythos) Quit (Ping timeout: 252 seconds)
[18:00] * zokeber (~zokeber@unaffiliated/zokeber) has joined #raspberrypi
[18:03] * NIN101 (~core@n900.quitesimple.org) has joined #raspberrypi
[18:06] * IT_Sean (~Ult_Ubunt@applefritter/IRCStaff/UltimateMacUser1) Quit (Quit: phood)
[18:07] * linuxstb (~linuxstb@unaffiliated/linuxstb) Quit (Quit: This computer has gone to sleep)
[18:07] * SebSemmi (~SebSemmi@p5DC5AC0E.dip0.t-ipconnect.de) Quit (Quit: brb)
[18:10] * YamakasY (~yamakasy@ Quit (Read error: Connection reset by peer)
[18:10] <gordonDrogon> g105b, polling might seem wrong, but its easy and if the Pi isn't doing anything else...
[18:11] <gordonDrogon> however each gpio pin can generate an interrupt and this int. can be picked up by a user program.
[18:11] <g105b> gordonDrogon: could you point me in the direction for learning more about pi's interupts?
[18:13] * NullMoogleCable (~NullMoogl@cpe-74-74-136-123.rochester.res.rr.com) Quit (Ping timeout: 245 seconds)
[18:13] <gordonDrogon> g105b, in the wiringPi examples direcyory there are a couple of examples.
[18:13] <gordonDrogon> g105b, also: http://wiringpi.com/reference/priority-interrupts-and-threads/
[18:13] * GenBurnside (~GenBurnsi@ has joined #raspberrypi
[18:15] <g105b> Thank you
[18:15] * NullMoogleCable (~NullMoogl@cpe-74-74-136-123.rochester.res.rr.com) has joined #raspberrypi
[18:16] * jorge_lo (~anonymous@cpe-74-71-0-246.nyc.res.rr.com) Quit (Quit: jorge_lo)
[18:18] * jonas_buet (~jonas_bue@ has left #raspberrypi
[18:18] <g105b> Ok, I've got output working... can write 1 to the value of pin 17 and the LED comes on.... but when I monitor it for input, the value is flickering between 0 and 1 randomly, even though nothing is connected to the pin.
[18:20] <g105b> This is the case for other pins too, just tried.
[18:21] * awwyissssss (~awwyissss@gateway/tor-sasl/awwyissssss) has left #raspberrypi
[18:21] * NIN101 (~core@n900.quitesimple.org) Quit (Remote host closed the connection)
[18:22] * XVar (~xvar@unaffiliated/xvar) has joined #raspberrypi
[18:22] <gordonDrogon> that's to be expected.
[18:22] <gordonDrogon> the pins are "floating" so they'll pick up stray electrical noise.
[18:23] <gordonDrogon> they are not biased one way or the other.
[18:23] <gordonDrogon> what were you expecting?
[18:23] <gordonDrogon> if you want to "fix" it, then the Pi has internal pull-up and pull-down resistors. You can switch these on via a software command.
[18:25] * tanuva (~tanuva@2a02:908:db12:8200:c0a9:87b5:19f6:969) Quit (Quit: Leaving.)
[18:27] * FR^2 (~frquadrat@farsquare.de) Quit (Quit: Connection reset by peer)
[18:27] * x62656E (~sherlock@p54871E92.dip0.t-ipconnect.de) Quit (Ping timeout: 252 seconds)
[18:28] * sackRELIG (~zib@24-156-81-249.npg.sta.suddenlink.net) has joined #raspberrypi
[18:29] * [SkG] (~sconde@unaffiliated/skg/x-897332) has joined #raspberrypi
[18:30] <g105b> gordonDrogon: sorry - this is my lack of electrical knowledge... I understand that it has to be grounded to show 0, but I'm still learning then how to add a switch to add the high voltage
[18:30] * lansiir (~oldtopman@unaffiliated/oldtopman) has joined #raspberrypi
[18:30] * chris_99 (~chris_99@unaffiliated/chris-99/x-3062929) has joined #raspberrypi
[18:31] * ynot (~tony@pool-173-71-110-13.cmdnnj.fios.verizon.net) Quit (Ping timeout: 260 seconds)
[18:32] * EastLight (n@ has joined #raspberrypi
[18:33] * Smrtz|Lab (~uaslab@ has joined #raspberrypi
[18:33] * zz_paskl is now known as paskl
[18:34] * NIN101 (~core@n900.quitesimple.org) has joined #raspberrypi
[18:35] * salmon_ (~salmon_@host67.bs.katowice.pl) has joined #raspberrypi
[18:35] * salmon_ (~salmon_@host67.bs.katowice.pl) has left #raspberrypi
[18:37] * timewa1ker (~timewalke@eth0.nu) Quit (Quit: zzzzz)
[18:37] * user1 (~user@gateway/tor-sasl/bluebonzoid) Quit (Remote host closed the connection)
[18:38] * user1 (~user@gateway/tor-sasl/bluebonzoid) has joined #raspberrypi
[18:39] * jlf (~user@pdpc/supporter/active/jlf) has joined #raspberrypi
[18:39] * SebSemmi (~SebSemmi@p5DC5AC0E.dip0.t-ipconnect.de) has joined #raspberrypi
[18:41] * nitdega_ (~nitdega@2602:306:2421:8b51:81d9:7f4b:eabe:a5f2) Quit (Quit: Leaving)
[18:42] * nitdega (nitdega@2602:306:2421:8b51:81d9:7f4b:eabe:a5f2) has joined #raspberrypi
[18:42] * mpmc (~mpmc@unaffiliated/mpmc) Quit (Ping timeout: 272 seconds)
[18:42] * mpmc (~mpmc@unaffiliated/mpmc) has joined #raspberrypi
[18:42] * timewa1ker (~timewalke@eth0.nu) has joined #raspberrypi
[18:42] * dreamon_ (~dreamon@unaffiliated/dreamon) Quit (Ping timeout: 272 seconds)
[18:42] * dreamon (~dreamon@unaffiliated/dreamon) Quit (Ping timeout: 272 seconds)
[18:45] * Laire (~Laire@p5DC6FF05.dip0.t-ipconnect.de) has joined #raspberrypi
[18:45] * mike_t (~mike@ Quit (Remote host closed the connection)
[18:46] <Laire> Have someone experince with pwm? How can i activate it?
[18:47] <Laire> sorry wrong channle
[18:47] <g105b> I'm guessing I need to add a resistor to ground on the pin before adding a switch ... to avoid shorting...
[18:47] * Laire (~Laire@p5DC6FF05.dip0.t-ipconnect.de) has left #raspberrypi
[18:47] * drag0nius (~drag0nius@aftu87.neoplus.adsl.tpnet.pl) has joined #raspberrypi
[18:49] <gordonDrogon> g105b, if the pin isn't connected then it will pick up stray noise, so generally you need to bias it one way or the other.
[18:50] <gordonDrogon> g105b, try this: gpio read 1 - do this a few times with nothing connected, then gpio mode 1 up - then read it a few times, then gpio mode 1 down - then read it again.
[18:50] <gordonDrogon> g105b, you can add a resistor, but the Pi also has internal ones (gpio mode 1 up, gpio mode 1 down, gpio mode 1 off) which you can use.
[18:51] * mgottschlag (~quassel@reactos/tester/phoenix64) has joined #raspberrypi
[18:51] <gordonDrogon> g105b, you can't "short" the pin while it's in input mode - you connect your switch from the pin to 0v or to 3.3v as you need - you then set the internal resistor the opposite way. just keep the pin in input mode.
[18:52] <g105b> gordonDrogon: internal resistors! very interesting. Can this be done from bash? I'm not using wiringpi
[18:53] * linuxstb (~linuxstb@unaffiliated/linuxstb) has joined #raspberrypi
[18:56] <gordonDrogon> g105b, the only way I know it being done from bash is to use wiringPi's gpio command.
[18:56] <gordonDrogon> even if you don't use wiringPi, the gpio command is very handy for testing from the command-line.
[18:56] <g105b> alright, might use that after all but I like to run on barebones debian :)
[18:56] <gordonDrogon> please run on basebones Raspbian.
[18:56] <gordonDrogon> *barebones
[18:57] * Jeebiss (~Jeebiss@2602:306:bc31:5920:a50b:75f4:f22b:6589) Quit (Ping timeout: 272 seconds)
[18:57] <gordonDrogon> wiringPi isn't GUI - it's a set of librarys and a utility program.
[18:58] <g105b> gordonDrogon: I know, but you need to install many packages to get it running. build-essential, make, sudo
[18:58] * ReggieUK (ReggieUK@ Quit ()
[18:58] <gordonDrogon> they're all installed as standard with Raspbian.
[18:59] <g105b> huh... not on my copy :/
[18:59] <gordonDrogon> you must have un-installed them then.
[18:59] <g105b> I think I went for a minimal image, just because I'm a freak that likes baselined Debian :)
[18:59] <gordonDrogon> whatever.
[19:00] <gordonDrogon> I'm a programmer, so can't live without them.
[19:00] <gordonDrogon> S card space is cheap and installed packages generally don't use resouces when you're not using them.
[19:02] * Scriven (~nevirsc@S01060026f3c70320.vc.shawcable.net) Quit (Quit: Leaving)
[19:03] <g105b> I know you are right. But what advantages does wiringpi give over reading the /sys/ files yourself?
[19:03] * SebSemmi (~SebSemmi@p5DC5AC0E.dip0.t-ipconnect.de) Quit (Quit: brb)
[19:03] <gordonDrogon> you can set the pull-up/down resistors and use PWM. It's also 10000 times faster.
[19:04] <gordonDrogon> and really... type: gpio mode 0 out instead of remembering those long echo commands to export then set the direction.... blah.
[19:04] <g105b> oh! I was under the impression that wiringpi was very slow?
[19:05] <g105b> if it is faster, then there's no reason to do it myself.
[19:05] * mythos (~mythos@unaffiliated/mythos) has joined #raspberrypi
[19:09] * intothev01d (~intothev0@unaffiliated/intothev01d) Quit ()
[19:09] <gordonDrogon> do it yourself if you like - always a learning experience :)
[19:10] <gordonDrogon> wiringPi can use the /sys/class/gpio interface if you like - it's just very slow compared to mapping the hardware directly & poking the registers...
[19:10] * spooq (~spooq@ Quit (Read error: Connection reset by peer)
[19:12] <g105b> gordonDrogon: ah, thanks for the info. I have been doing it manually just because I assumed it would be faster/better... this is my first day on the pi :)
[19:20] * picca (~picca@ has joined #raspberrypi
[19:20] * IT_Sean (~Ult_Ubunt@applefritter/IRCStaff/UltimateMacUser1) has joined #raspberrypi
[19:21] <gordonDrogon> g105b, ah ok. welcome to Pi land...
[19:21] * jorge_lo (~anonymous@cpe-74-71-0-246.nyc.res.rr.com) has joined #raspberrypi
[19:21] * rvalles (~rvalles@unaffiliated/rvalles) has joined #raspberrypi
[19:22] * ChanServ sets mode +o IT_Sean
[19:23] * [SkG] (~sconde@unaffiliated/skg/x-897332) Quit (Read error: Connection reset by peer)
[19:23] <g105b> Thanks, will be hanging out in here a lot, but for now I must go home, it's getting late.
[19:23] * [SkG] (~sconde@unaffiliated/skg/x-897332) has joined #raspberrypi
[19:26] * petersaints (~quassel@a79-168-91-231.cpe.netcabo.pt) has joined #raspberrypi
[19:27] * SebSemmi (~SebSemmi@p5DC5AC0E.dip0.t-ipconnect.de) has joined #raspberrypi
[19:28] * lansiir (~oldtopman@unaffiliated/oldtopman) Quit (Quit: *poof*)
[19:29] * Orion__ (~Orion_@ has joined #raspberrypi
[19:29] * lansiir (~oldtopman@unaffiliated/oldtopman) has joined #raspberrypi
[19:29] * leucos (~leucos@erafw.erasme.org) Quit (Read error: Connection reset by peer)
[19:30] * leucos (~leucos@erafw.erasme.org) has joined #raspberrypi
[19:30] * JMichaelX (~james@unaffiliated/jmichaelx) has joined #raspberrypi
[19:32] * g105b (~g105b@93-97-23-183.zone5.bethere.co.uk) Quit (Ping timeout: 245 seconds)
[19:33] * v0lt_ (~textual@unaffiliated/v0lt/x-7782577) Quit (Quit: gone)
[19:34] <basti> at what do i have to look at, when i want to run a subroutine in the background of a programm, that only does something if a variable reaches a specifif value? (in C)
[19:36] * user1 (~user@gateway/tor-sasl/bluebonzoid) Quit (Ping timeout: 240 seconds)
[19:39] * monkers (~monkers@unaffiliated/monkeypaws) has joined #raspberrypi
[19:41] * Hydra (~Hydra@46-65-54-87.zone16.bethere.co.uk) has joined #raspberrypi
[19:44] <basti> so i guess it was the intern soldering day: http://i.imgur.com/86YOxcp.jpg
[19:48] <rikkib> Must be hard to solder an Intern to a circuit board. Do they scream when applying the heat?
[19:49] * kcj (~casey@unaffiliated/kcj) has joined #raspberrypi
[19:49] * agrajag (~agrajag^@CAcert/Assurer/agrajag) Quit (Ping timeout: 240 seconds)
[19:50] <basti> is the sentence wrong?
[19:51] * CJD14 (~cjd@c-76-122-154-66.hsd1.mi.comcast.net) has joined #raspberrypi
[19:51] <Taylor> He's just joking lol
[19:54] * johncs (~john@ has joined #raspberrypi
[19:54] <basti> i was just asking if the syntax was wrong.
[19:55] <Taylor> it looks fine to me
[19:56] * tanuva (~tanuva@aftr-37-24-145-247.unity-media.net) has joined #raspberrypi
[19:56] <Taylor> I worry because I know many people who have used irc to strengthen their English, didn't want you thinking you said something horribly wrong
[19:56] <Taylor> :p
[19:59] <johncs> ppq: I solved the problem piping output from raspistill to ffmpeg
[19:59] <rikkib> basti, If English is your second language you have a pretty good grasp on the language.
[19:59] <johncs> ffmpeg was processing the thumbnail
[20:00] <johncs> made thumbnail vga q 80 and bingo :-)
[20:01] <gordonDrogon> basti, you probably want to look at pthreads. however I can guarantee it's a whole new world of misery if you've never done any concurrent programming before.
[20:02] * Gethiox2 (~gethiox@actf247.neoplus.adsl.tpnet.pl) has joined #raspberrypi
[20:04] * Gethiox (~gethiox@acte224.neoplus.adsl.tpnet.pl) Quit (Ping timeout: 272 seconds)
[20:05] * leucos (~leucos@erafw.erasme.org) Quit (Quit: Leaving.)
[20:10] * Enthralled (~Enthralle@ec2-54-201-125-109.us-west-2.compute.amazonaws.com) has joined #raspberrypi
[20:11] * PiZZaMaN2K (~PiZZaMaN2@unaffiliated/pizzaman2k) has joined #raspberrypi
[20:12] * agrajag (~agrajag^@CAcert/Assurer/agrajag) has joined #raspberrypi
[20:14] * _cheney (~cheney@nat.sierrabravo.net) Quit (Read error: Connection reset by peer)
[20:14] * _cheney (~cheney@nat.sierrabravo.net) has joined #raspberrypi
[20:16] * nx5 (~nap@unaffiliated/nx5off/x-000000001) Quit (Read error: Connection reset by peer)
[20:17] * nx5_off (~nap@unaffiliated/nx5off/x-000000001) has joined #raspberrypi
[20:18] <basti> gordonDrogon, i see. basicly i just want to check the distance the whole time and if it reaches a specific value x will happen. but when i would do this, nothing else can happen, or am i thinking wrong? because, at least this is what i think, if i put the measurement in a while loop nothing else cant be done, can it?
[20:20] * nx5_off is now known as nx5
[20:21] <rikkib> Put a small delay in the loop to give the other threads time to run
[20:22] <rikkib> I have to do that when using FreeRTOS which is a multi-thread OS
[20:23] * johncs (~john@ Quit (Quit: Konversation terminated!)
[20:30] * setkeh (~aldcznc@unaffiliated/setkeh) Quit (Ping timeout: 252 seconds)
[20:30] <gordonDrogon> basti, well...
[20:31] * rooftopjoe (050cd3eb@gateway/web/freenode/ip. has joined #raspberrypi
[20:31] <gordonDrogon> do you need the Pi to do other stuff?
[20:31] <gordonDrogon> if not, then its easy.
[20:31] <gordonDrogon> if you do - then you need to work out if that program does other stuff, or you can run other programs to do other stuff.
[20:31] <gordonDrogon> if the latter, then it's easy.
[20:36] * leucos (~leucos@ALyon-655-1-535-190.w92-157.abo.wanadoo.fr) has joined #raspberrypi
[20:37] * Taylor (~Taylor@unaffiliated/taylor) Quit (Quit: Be back soon)
[20:37] * picca (~picca@ Quit (Quit: Computer has gone to sleep.)
[20:38] * Benguin[ZzZ] is now known as Benguin
[20:38] * leucos (~leucos@ALyon-655-1-535-190.w92-157.abo.wanadoo.fr) Quit (Client Quit)
[20:39] * leucos (~leucos@ALyon-655-1-535-190.w92-157.abo.wanadoo.fr) has joined #raspberrypi
[20:40] * pwillard (~pwillard@adsl-98-66-249-103.asm.bellsouth.net) has left #raspberrypi
[20:40] * setkeh (~aldcznc@unaffiliated/setkeh) has joined #raspberrypi
[20:41] <basti> gordon, i will see, when i put it together. at the moment it is just a whiteboard project.
[20:41] * Taylor (~Taylor@unaffiliated/taylor) has joined #raspberrypi
[20:41] * Demon_Jester (465e54dd@gateway/web/freenode/ip. has joined #raspberrypi
[20:42] <Demon_Jester> Is anyone able to help me out? I am wanting to connect my raspberry pi to my network via wireless connection. Is it possible instead of using ethernet connection?
[20:43] <basti> as long as the wireless adapter is supported, sure
[20:44] <Gadget-Mac> Hey guys, anyone fancy voting for RasWIK in the IOTAwards http://postscapes.com/internet-of-things-award/project/raswik-raspberry-pi-wireless-inventors-kit/
[20:45] <IT_Sean> Demon_Jester: Adafruit sell a small USB WIFI dongle that works in raspbian and does not need a powered hub.
[20:48] * PiZZaMaN2K (~PiZZaMaN2@unaffiliated/pizzaman2k) Quit (Quit: Linkinus - http://linkinus.com)
[20:48] * KindOne- (KindOne@colchester-lug/silly-fool/donut) has joined #raspberrypi
[20:48] * KindOne (KindOne@colchester-lug/silly-fool/donut) Quit (Read error: Connection reset by peer)
[20:48] * Demon_Jester (465e54dd@gateway/web/freenode/ip. Quit (Ping timeout: 245 seconds)
[20:50] * leucos (~leucos@ALyon-655-1-535-190.w92-157.abo.wanadoo.fr) Quit (Ping timeout: 264 seconds)
[20:50] * KindOne- is now known as KindOne
[20:52] <gordonDrogon> I'd suggest voting only for people you actually know about and have first hand experience...
[20:53] <gordonDrogon> and if they email me personally, asking for a vote then they're not going to get one. People should be voted based on experience and ability not lobbying.
[20:53] <gordonDrogon> (they emailled me personally, so they don't get my vote)
[20:53] * teh3ck (~teh3ck@2a00:d880:0:10::6a3e:b565) has left #raspberrypi
[20:54] * po10 (~po10@unaffiliated/po10) has joined #raspberrypi
[20:54] <gordonDrogon> sadly I've seen (first hand) how these things work. he who can lobby the most wins - it's nothing do with customer base, etc. )-:
[20:56] * picca (~picca@ has joined #raspberrypi
[20:58] * Syliss (~Home2@dpncorp1.digitalpath.net) has joined #raspberrypi
[20:58] * Jevermeister (~Jevermeis@unaffiliated/jever) has joined #raspberrypi
[21:00] <rooftopjoe> does anyone here have any experience with rpi + gertduino?
[21:01] * HoloPed (Vice@nat/unlab/x-iqgtgblytzorhrli) has joined #raspberrypi
[21:01] <HoloPed> Hi all, how would I go about hooking up an AC clamp meter to a PI ? Like this one - http://www.mikesmicromania.com/2013/03/low-cost-current-clamps-for-whole-house.html
[21:01] * Turingi (~devon@unaffiliated/devon-hillard/x-7250961) Quit (Read error: Connection reset by peer)
[21:02] * pm0001 (~pm0001@ Quit ()
[21:03] <IT_Sean> you are going to need a wad of electronics between the clamp and the Pi, i would imagine.
[21:03] <IT_Sean> Or do you mean the entire meter.
[21:03] <HoloPed> I imgine so
[21:03] <IT_Sean> Does the meter have a serial port?
[21:03] * issackelly (sid18035@gateway/web/irccloud.com/x-dyyqtsexyxasyfkx) has left #raspberrypi
[21:03] <HoloPed> I want to measure AC
[21:03] <HoloPed> probably not
[21:04] * plugwash (~plugwash@97e03ff4.skybroadband.com) has joined #raspberrypi
[21:04] * ebhtura (~ebhtura@unaffiliated/ebhtura) Quit (Read error: Connection reset by peer)
[21:04] <gordonDrogon> rooftopjoe, Yes
[21:05] <rooftopjoe> gordonDrogon: i would like to know how to run a program on the gertduino board from the rpi. do i have to do it over serial? is it done over the gpio pins? i'm a totally new at this and have no idea.
[21:06] <gordonDrogon> rooftopjoe, the Gertduino is an Arduino. Have you used an Arduino before?
[21:06] <rikkib> http://www.aliexpress.com/item/5A-Current-Sensor-Module-Sensing-ACS712ELCTR-05B-Chip-Free-Shipping-Dropshipping/729112949.html
[21:06] <rooftopjoe> gordonDrogon: no, although i have played with embedded platforms and microcontrollers a bit.
[21:06] * ebhtura (~ebhtura@unaffiliated/ebhtura) has joined #raspberrypi
[21:07] <rooftopjoe> i have zero electronics experience, however
[21:07] <rooftopjoe> not that this is an electronics question
[21:07] <rooftopjoe> just letting you know what my background is
[21:07] <gordonDrogon> rooftopjoe, well the Gertudino is an Arduino that you program directly from the Pi.
[21:07] <gordonDrogon> So go lookup Arduino stuff first...
[21:07] <rooftopjoe> right but how does the pi tell the gertduino what to run?
[21:07] <gordonDrogon> You have to write the program to make it run what you want it to do.
[21:08] * MidnighToker (~Toker@unaffiliated/midnightoker) has joined #raspberrypi
[21:08] <gordonDrogon> then you can compile and upload the program to the ATmega on the Gertduino.
[21:08] <rooftopjoe> i'm asking how this upload is done
[21:09] <gordonDrogon> you use a program called avrdude - preferably a special variant that I produced for the Pi.
[21:09] <gordonDrogon> This uses the Pi's GPIO to upload to the ATmega using the ICSP mechanism.
[21:09] <rooftopjoe> so it is indeed done via the GPIO pins and not over serial or some other mechanism
[21:10] <gordonDrogon> rooftopjoe, yes, via gpio.
[21:10] <rooftopjoe> i suspect that raspbian comes with all the necessary libraries to send this program easily
[21:10] <gordonDrogon> you can connect the serial port to the Pi's serial port for debugging, and communications though.
[21:11] <gordonDrogon> you install the standard Arduino package (sudo apt-get install arduino), then install my version of avrdude.
[21:11] * trickyhero (~trickyher@d4-50-215-4.try.wideopenwest.com) has joined #raspberrypi
[21:11] * CJD14 (~cjd@c-76-122-154-66.hsd1.mi.comcast.net) Quit (Ping timeout: 248 seconds)
[21:11] <gordonDrogon> https://projects.drogon.net/raspberry-pi/gertduino/
[21:11] <rooftopjoe> i'd rather get familiar with standard tools before checking out alternatives created by one person or another
[21:11] <rooftopjoe> not that i think your tools suck or anything. but for the sake of knowing what's out there
[21:12] <gordonDrogon> you mosrly don't have a choice I'm afraid.
[21:13] <gordonDrogon> all the Arduino stuff is "normal" the only thing I've done is to patch avrdude (the program that does the uploading) so it will work using the Pi's GPIO.
[21:13] <gordonDrogon> if you want to patch it yourself, the patches are online.
[21:13] * Turingi (~devon@unaffiliated/devon-hillard/x-7250961) has joined #raspberrypi
[21:13] <gordonDrogon> but you won't get anywhere without patching avrdude (and installing updated config files) when programming either of the ATmega processors on the Gertduino.
[21:13] <rooftopjoe> err. that would mean that there exists no officially supported way of programming the gertduino from the raspberry pi.
[21:14] <gordonDrogon> You don't need my patches for ordinary Arduinos though.
[21:14] * ReggieUK (ReggieUK@ has joined #raspberrypi
[21:14] * ChanServ sets mode +o ReggieUK
[21:14] <gordonDrogon> officially, you get the sources for avrdude, get the patches for the GPIO programming method, apply them and use that.
[21:14] <gordonDrogon> or get my version. Along with the RTC code for the ATmega48p
[21:15] <mgottschlag> sometimes, providing a perfect software solution actually hinders the community to grow, because a community grows around those who write code :)
[21:15] <gordonDrogon> and if I hadn't done it, someone else would have...
[21:16] <rooftopjoe> hmm according to the gertduino manual
[21:16] <rooftopjoe> ( http://www.element14.com/community/servlet/JiveServlet/previewBody/64534-102-2-287165/User%20manual%20Gerduino%205.6.pdf )
[21:16] <edjuh> mgottschlag++
[21:17] * trickyhero (~trickyher@d4-50-215-4.try.wideopenwest.com) Quit (Ping timeout: 251 seconds)
[21:17] <rooftopjoe> i need to place those 4 jumpers and "Then run the script Program 328as described in section 8.1.Atmega-328. "
[21:17] <rooftopjoe> page 6
[21:18] <rooftopjoe> why doesn't that say anything about any patches?
[21:20] <gordonDrogon> the manual points to my code...
[21:20] <gordonDrogon> or an earlier version.
[21:20] <gordonDrogon> personally, I'd follow the guide on my site...
[21:20] <gordonDrogon> but then I wrote it :)
[21:20] * ztaale (~bleh@ti0098a380-dhcp1005.bb.online.no) Quit (Read error: Connection reset by peer)
[21:20] <rooftopjoe> cool, although i will have to investigate :)
[21:20] <rooftopjoe> i think it's normal to be a bit skeptical on irc :)
[21:21] <rooftopjoe> no offense
[21:21] <gordonDrogon> no wories.
[21:21] <rooftopjoe> one last question
[21:21] <rooftopjoe> what the heck is on page 5?
[21:21] <rooftopjoe> i can see something about serial and buffers but... is it something i need to worry about?
[21:21] <gordonDrogon> not at present.
[21:22] <gordonDrogon> it's diagrams showing how to connect the serial ports up.
[21:22] <rooftopjoe> not all those connections involve serial as far as i can tell
[21:22] <gordonDrogon> There is an on-board rs232 votlage coberter.
[21:22] <mgottschlag> rooftopjoe: you need to worry about that only if you want anything to communicate
[21:22] <gordonDrogon> also, remember that there are 2 ATmega processors on the board too.
[21:22] <rooftopjoe> e.g., there is a rpi->atmega328 connection described
[21:23] <mgottschlag> when you know which two pieces shall communicate, then you put the jumpers accordingly
[21:23] <rooftopjoe> mgottschlag: uploading programs from the rpi to atmega is a form of communication so i didn't know what kind of communication they meant
[21:23] <mgottschlag> ah, you are right, that's not it
[21:23] <mgottschlag> the atmega is programmed via SPI
[21:24] <mgottschlag> which is different and on different pins than normal serial communication
[21:24] <gordonDrogon> you can ignore the stuff about the serial jumpers to start with.
[21:24] <rooftopjoe> ok
[21:24] <rooftopjoe> can you recommend a book or something?
[21:25] <gordonDrogon> set the jumpers as on page 6 then you can program the main atmega.
[21:25] <rooftopjoe> i am not lazy but don't know where to start
[21:25] <gordonDrogon> just google arduino.
[21:25] <gordonDrogon> you should be able to get 'blink' going once you've got it setup.
[21:25] <gordonDrogon> there are several on-board LEDs and 2 buttons too.
[21:25] <rooftopjoe> yes, i noticed them
[21:25] <rooftopjoe> 3 with the reset button
[21:26] <rooftopjoe> (what does that do? clear the atmega controllers' ram?)
[21:26] <gordonDrogon> no - just resets the ATmega328.
[21:26] <gordonDrogon> which doesn't clear RAM.
[21:26] <gordonDrogon> just restarts it.
[21:26] <rooftopjoe> what does that involve?
[21:26] <mgottschlag> especially, reset does not clear flash
[21:27] <rooftopjoe> i mean
[21:27] <mgottschlag> just a restart
[21:27] <rooftopjoe> when is a reset required?
[21:27] * dreamon_ (~dreamon@unaffiliated/dreamon) has joined #raspberrypi
[21:27] <mgottschlag> oh, nvm
[21:27] <mgottschlag> I should start reading what other people write
[21:27] <gordonDrogon> no idea. don't think I've ever pushed it. you can reset it from the Pi via a little script I wrote...
[21:27] <mgottschlag> rooftopjoe: well, when you want to restart your application because it does something special on startup ^^
[21:27] <rooftopjoe> ok. why do you want to reset it that way then? :)
[21:27] <gordonDrogon> actually, you need to run that script to get it to go in the first place anyway.
[21:27] <rooftopjoe> ah
[21:27] <gordonDrogon> maybe people like having a button too...
[21:28] * JMichaelX is now known as GregorSamsa
[21:28] <rooftopjoe> ok, i see
[21:28] <gordonDrogon> it's sort of "standard" on Arduinos
[21:28] <rooftopjoe> right. so it goes to whatever the initial entry point is, right?
[21:28] <rooftopjoe> for the code
[21:28] <gordonDrogon> yes.
[21:28] <rooftopjoe> this is all very helpful to me, thanks
[21:29] * dreamon (~dreamon@unaffiliated/dreamon) has joined #raspberrypi
[21:29] <gordonDrogon> spend some time reading about Arduinos. There's billions of pages online about them.
[21:29] <rooftopjoe> i hooked up a servo to the gertduino. i gather i can use any ground pin, no matter on which side of the board
[21:29] <rooftopjoe> the ~ pins are signal pins
[21:29] <rooftopjoe> is that correct?
[21:29] <rooftopjoe> i will
[21:29] * githogori (~githogori@c-50-156-59-13.hsd1.ca.comcast.net) has joined #raspberrypi
[21:29] <gordonDrogon> starting with a servo is a bit ambitious. Make it blink and LED first.
[21:30] <rooftopjoe> why is a servo ambitious?
[21:30] <rooftopjoe> i mean ok but
[21:30] <gordonDrogon> more to go wrong.
[21:31] <gordonDrogon> just prove that you can compile and upload blink then move on to anything else.
[21:31] <gordonDrogon> path of least resistance...
[21:31] <rooftopjoe> i think this is my last question
[21:31] <gordonDrogon> it's got to me (well to me anyway - I'm off to make some supper ;-)
[21:32] * mfa298 (~mfa298@gateway.yapd.net) Quit (Ping timeout: 252 seconds)
[21:32] <rooftopjoe> if i want my rpi to make decisions about what the program on the atmega's should do
[21:32] <rooftopjoe> THEN i use serial?
[21:32] <gordonDrogon> it's the easiest way to communicate - yes.
[21:32] <rooftopjoe> makes sense
[21:32] * mfa298 (~mfa298@gateway.yapd.net) has joined #raspberrypi
[21:32] * lord4163 (~lord4163@81-232-61-81-no226.tbcn.telia.com) Quit (Quit: lord4163)
[21:32] * trickyhero (~trickyher@d4-50-215-4.try.wideopenwest.com) has joined #raspberrypi
[21:33] <rooftopjoe> thanks very much. i'll bug you again in the future, perhaps
[21:33] <gordonDrogon> perhaps :)
[21:33] <edjuh> not much of a threat ;D
[21:34] * magnulu (~magnulu@c-46-246-92-215.anonymous.at.anonine.com) Quit (Ping timeout: 248 seconds)
[21:34] <rooftopjoe> i want to build an autonomous quadcopter which is probably a bit ambitious for someone with no experience with physical computing or electronics but... what better way to learn than to challenge yourself? :)
[21:35] <gordonDrogon> get a supply of bin-liners to take the bits back home in...
[21:35] <rooftopjoe> (i have experience with things i will need like machine learning, image processing, low-level programming, etc. though)
[21:35] <gordonDrogon> and now I really must make some supper & bread ...
[21:35] <rooftopjoe> ok, see you
[21:38] * aykut (~aykut@unaffiliated/aykut) has joined #raspberrypi
[21:41] * ebhtura_ (~ebhtura@unaffiliated/ebhtura) has joined #raspberrypi
[21:42] * intothev01d (~intothev0@unaffiliated/intothev01d) has joined #raspberrypi
[21:43] * ebhtura (~ebhtura@unaffiliated/ebhtura) Quit (Ping timeout: 272 seconds)
[21:44] * yottanami (~yottanami@ has joined #raspberrypi
[21:44] * drag0nius (~drag0nius@aftu87.neoplus.adsl.tpnet.pl) Quit (Ping timeout: 248 seconds)
[21:46] * magnulu (~magnulu@c-46-246-92-215.anonymous.at.anonine.com) has joined #raspberrypi
[21:46] * knob (~knob@ Quit (Quit: Leaving)
[21:48] * v0lt_ (~textual@unaffiliated/v0lt/x-7782577) has joined #raspberrypi
[21:49] * bortzmeyer (~stephane@2a01:e35:8bd9:8bb0:21e:8cff:fe76:29b6) Quit (Quit: Leaving.)
[21:56] * Armand (~martin@cpc10-slou3-2-0-cust163.17-4.cable.virginm.net) has joined #raspberrypi
[21:57] * Jevermeister (~Jevermeis@unaffiliated/jever) Quit (Ping timeout: 252 seconds)
[21:58] * g105b (~g105b@cpc3-derb14-2-0-cust187.8-3.cable.virginm.net) has joined #raspberrypi
[21:59] * tombrough (~tom@cpc4-newt3-0-0-cust54.newt.cable.virginm.net) has joined #raspberrypi
[22:00] * dark_splinter (~dark_spli@a95-92-16-88.cpe.netcabo.pt) has joined #raspberrypi
[22:03] * ponA (Miranda@HSI-KBW-095-208-008-139.hsi5.kabel-badenwuerttemberg.de) has joined #raspberrypi
[22:03] * nitdega_ (nitdega@2602:306:2421:8b51:81d9:7f4b:eabe:a5f2) has joined #raspberrypi
[22:06] * nitdega (nitdega@2602:306:2421:8b51:81d9:7f4b:eabe:a5f2) Quit (Ping timeout: 245 seconds)
[22:08] * applegekko (~applegekk@gateway/tor-sasl/applegekko) has joined #raspberrypi
[22:10] * magnulu (~magnulu@c-46-246-92-215.anonymous.at.anonine.com) Quit (Ping timeout: 252 seconds)
[22:11] <basti> it seems, that my google skills suck, because i cant find anything about micros(). can anybody help me out? or just recommend me a site where to look up all the libs/functions?
[22:12] * MProg (~MProg@unaffiliated/mprog) has joined #raspberrypi
[22:12] <MProg> I'm back
[22:14] <mgottschlag> what is micros supposed to be?
[22:14] <mgottschlag> in general, there are some good posix references out there which are fairly usable if you are talking about C
[22:15] <mgottschlag> although those might be difficult to use if you don't know what to look for
[22:16] <mgottschlag> ah, this is arduino?
[22:16] <mgottschlag> http://arduino.cc/en/Reference/Micros
[22:19] * Scriven (~nevirsc@S01060026f3c70320.vc.shawcable.net) has joined #raspberrypi
[22:22] * rwb (~bragg@host55.vsac.cust.sover.net) has left #raspberrypi
[22:22] * NIN101 (~core@n900.quitesimple.org) Quit (Quit: Leaving)
[22:22] <basti> mgottschlag, it is used in a c programm, which only uses stdio.h, stdlib.h and wiringPi.h so i did not think of arduino
[22:23] <mgottschlag> ah, then http://wiringpi.com/reference/timing/ :)
[22:23] <mgottschlag> wiringPi probably tries to look like Arduino in some parts
[22:24] * tenmilestereo (~tnmlstr@w-244.cust-3410.ip.static.uno.uk.net) has joined #raspberrypi
[22:24] <basti> thanks
[22:25] * jorge_lo (~anonymous@cpe-74-71-0-246.nyc.res.rr.com) Quit (Quit: jorge_lo)
[22:27] * ynot (~tony@pool-173-71-110-13.cmdnnj.fios.verizon.net) has joined #raspberrypi
[22:30] * Syliss (~Home2@dpncorp1.digitalpath.net) Quit (Quit: Syliss)
[22:30] * leucos (~leucos@81-65-119-172.rev.numericable.fr) has joined #raspberrypi
[22:30] * tenmi1estereo (~tnmlstr@w-244.cust-3410.ip.static.uno.uk.net) has joined #raspberrypi
[22:32] * dreamon_ (~dreamon@unaffiliated/dreamon) Quit (Read error: Operation timed out)
[22:32] * dreamon (~dreamon@unaffiliated/dreamon) Quit (Read error: Operation timed out)
[22:32] <basti> gordonDrogon, on http://wiringpi.com/reference/timing/ in "unsigned int millis (void)" you have a little typo - jfyi
[22:33] * tenmilestereo (~tnmlstr@w-244.cust-3410.ip.static.uno.uk.net) Quit (Ping timeout: 264 seconds)
[22:35] * tenmilestereo (~tnmlstr@w-244.cust-3410.ip.static.uno.uk.net) has joined #raspberrypi
[22:36] * tenmi1estereo (~tnmlstr@w-244.cust-3410.ip.static.uno.uk.net) Quit (Ping timeout: 252 seconds)
[22:37] * tenmi1estereo (~tnmlstr@w-244.cust-3410.ip.static.uno.uk.net) has joined #raspberrypi
[22:39] * leucos1 (~leucos@81-65-119-172.rev.numericable.fr) has joined #raspberrypi
[22:39] * pksato (~PEBKAC@unaffiliated/pksato) has joined #raspberrypi
[22:39] * tenmilestereo (~tnmlstr@w-244.cust-3410.ip.static.uno.uk.net) Quit (Ping timeout: 252 seconds)
[22:39] * kcj (~casey@unaffiliated/kcj) Quit (Read error: Operation timed out)
[22:40] * leucos (~leucos@81-65-119-172.rev.numericable.fr) Quit (Ping timeout: 252 seconds)
[22:41] * salmon_ (~salmon_@pc1-79.jsn.osi.pl) has joined #raspberrypi
[22:42] * turtlehat (~offmode@ Quit ()
[22:42] <gordonDrogon> basti, micros() is wiringPi function. it returns the number of microseconds since your program started.
[22:43] <gordonDrogon> where is the typo - I can't see them (dyslezia)
[22:44] <MProg> I see one :p
[22:44] <MProg> "representing the number _if_ milliseconds"
[22:44] * jorge_lo (~anonymous@cpe-74-71-0-246.nyc.res.rr.com) has joined #raspberrypi
[22:44] * opcode (astra@genuine.advantage.wind0ws.net) has joined #raspberrypi
[22:44] <gordonDrogon> Hm. well it passed the spieling chequer.
[22:44] <MProg> :D
[22:45] <Armand> So, a dyslexic man walks into a bra...
[22:46] * Armand hides
[22:46] <MProg> :)
[22:46] * travm (~travm@hsc-user.hsc.wvu.edu) Quit ()
[22:46] <Armand> And, just because I'm an "equal opportunities" insulter...
[22:47] <Armand> Three blondes walk into a bar... You'd think one of them would have seen it.
[22:47] <MProg> lol
[22:47] * psofa (~psofa@ Quit (Quit: Leaving)
[22:47] <Armand> :P
[22:48] <MProg> glad I sorted out the noise my pc was making :)
[22:48] * jfrousval (~jfrousval@ARouen-651-1-400-48.w109-209.abo.wanadoo.fr) Quit (Quit: jfrousval se déconnecte)
[22:49] <Armand> You shut it down?
[22:49] <MProg> lol nope
[22:49] <Armand> Hehe
[22:49] <Armand> I hate fan rattles..
[22:49] <MProg> ah
[22:50] <Armand> I've heard so many weird and wonderful noises from PCs..
[22:50] <Armand> A dry/dusty fan is the most common
[22:50] <MProg> this was a horrible fan groan / rattle
[22:50] * paskl is now known as zz_paskl
[22:50] <Armand> ;)
[22:50] <monkers> sometimes the fan just needs a good punch.
[22:50] <Armand> If it's my own, I'll oil the bearing.
[22:50] <Armand> For other people, just replace the fan.
[22:51] <Armand> That means I keep the replaced fan, of course. ;)
[22:51] <MProg> I replaced the fan
[22:51] <Armand> That's the easiest option.
[22:51] <MProg> but it was the PSU fan... which isn't fun to replace
[22:52] <Armand> If they are wired directly to the board.. >_<
[22:52] <MProg> yep
[22:52] <Armand> I have 2 Tagan PSUs, both have connectors on the internal fans. :D
[22:52] <MProg> stupid "no user serviceable parts inside" things :/
[22:53] <Armand> Yarp
[22:54] <Armand> I'm so glad I don't do PC support anymore.
[22:54] * azeam (~azeam@unaffiliated/azeam) Quit (Ping timeout: 252 seconds)
[22:54] <MProg> I seem to end up doing a lot :/
[22:55] * opcode (astra@genuine.advantage.wind0ws.net) Quit (Ping timeout: 245 seconds)
[22:55] <Armand> I might have to configure someone's e-mail via TeamViewer occasionally.
[22:56] <Armand> Meh
[22:56] * IT_Sean (~Ult_Ubunt@applefritter/IRCStaff/UltimateMacUser1) Quit (Quit: off)
[22:56] * _BigWings_ (~Thunderbi@modemcable167.12-130-66.mc.videotron.ca) has joined #raspberrypi
[22:58] * salmon_ (~salmon_@pc1-79.jsn.osi.pl) has left #raspberrypi
[22:58] * MProg studies the old fan... young lin - tech co.,ltd.
[22:58] <MProg> lol...
[22:59] * v0lt_ (~textual@unaffiliated/v0lt/x-7782577) Quit (Quit: gone)
[22:59] <MProg> :o
[22:59] <MProg> http://yltc.en.alibaba.com/
[23:01] * g105b (~g105b@cpc3-derb14-2-0-cust187.8-3.cable.virginm.net) Quit (Ping timeout: 252 seconds)
[23:02] * azeam (~azeam@unaffiliated/azeam) has joined #raspberrypi
[23:03] * GregorSamsa is now known as UngeheueresUngez
[23:03] * kwrazi (~kwrazi@220-245-146-175.static.tpgi.com.au) Quit (Ping timeout: 272 seconds)
[23:04] * UngeheueresUngez is now known as GregorSamsa
[23:04] * GregorSamsa is now known as Ungeziefer
[23:04] * githogori (~githogori@c-50-156-59-13.hsd1.ca.comcast.net) Quit (Ping timeout: 252 seconds)
[23:04] * tanuva (~tanuva@aftr-37-24-145-247.unity-media.net) Quit (Quit: Leaving.)
[23:06] * teepee_ (~teepee@gateway/tor-sasl/teepee) has joined #raspberrypi
[23:09] * teepee (~teepee@gateway/tor-sasl/teepee) Quit (Ping timeout: 240 seconds)
[23:09] * teepee_ is now known as teepee
[23:09] * redsoup (~redsups@h-36-10.a336.priv.bahnhof.se) Quit (Remote host closed the connection)
[23:11] * leucos1 (~leucos@81-65-119-172.rev.numericable.fr) Quit (Ping timeout: 252 seconds)
[23:12] * picca (~picca@ Quit (Quit: Lingo - http://www.lingoirc.com)
[23:13] <basti> what do you guys think of this: https://www.kickstarter.com/projects/751733865/smartscope-reinventing-the-oscilloscope?ref=category ?
[23:14] * jbaanus (~jbaanus@ has joined #raspberrypi
[23:16] * magnulu (~magnulu@c-46-246-92-215.anonymous.at.anonine.com) has joined #raspberrypi
[23:16] * GenBurnside (~GenBurnsi@ Quit (Quit: Leaving)
[23:17] * trickyhero (~trickyher@d4-50-215-4.try.wideopenwest.com) Quit (Quit: Leaving)
[23:18] * jbaanus (~jbaanus@ Quit (Ping timeout: 252 seconds)
[23:19] <Armand> basti, I think it's an oscilloscope....
[23:21] <basti> you dont say
[23:21] * spooq (~spooq@ has joined #raspberrypi
[23:22] <Armand> That's what I think. :P
[23:24] <mgottschlag> I wonder how they want to push 200MS/s through USB
[23:24] <Armand> 200 milliseconds per second?
[23:24] <mgottschlag> megasamples
[23:24] <Armand> Humm
[23:25] <mgottschlag> although, probably they only send downsampled data except on triggers for a short burst or something
[23:25] <mgottschlag> should be usable enough
[23:25] * Redban (~ben@ool-44c36db9.dyn.optonline.net) has joined #raspberrypi
[23:25] * user1_ (~user@gateway/tor-sasl/bluebonzoid) has joined #raspberrypi
[23:26] <MProg> looks interesting :)
[23:26] <Armand> I think the USB port is only for programming the unit ?
[23:26] <mgottschlag> I don't think so, it does not have any display
[23:26] <mgottschlag> the FPGA makes it interesting, life FFT on it might be interesting
[23:27] <Armand> Huumm.. No idea. :/
[23:27] * g2nightmare (~matt@ has joined #raspberrypi
[23:27] * S0-2 (~sgra@unaffiliated/sgra) has joined #raspberrypi
[23:28] <basti> i guess it all comes down to what it will cost. *cpt obvious*
[23:29] * felipealmeida (~user@ Quit (Ping timeout: 272 seconds)
[23:30] * SgrA (~sgra@unaffiliated/sgra) Quit (Ping timeout: 264 seconds)
[23:32] <basti> if i get it for a "special price", when i allready backed with 140$...i dont know
[23:32] * lupinedk is now known as Lupinedk
[23:33] * mpmc is now known as mpmcToo
[23:33] * badass_ (~badass@unaffiliated/badass) Quit (Remote host closed the connection)
[23:34] * mpmcToo is now known as mpmc1
[23:36] * _BigWings_ (~Thunderbi@modemcable167.12-130-66.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[23:37] * tenmi1estereo (~tnmlstr@w-244.cust-3410.ip.static.uno.uk.net) Quit (Read error: Connection reset by peer)
[23:37] * [SkG] (~sconde@unaffiliated/skg/x-897332) Quit (Remote host closed the connection)
[23:37] <rikkib> Hmm. I have a dry joint in a connector
[23:37] * tenmi1estereo (~tnmlstr@w-244.cust-3410.ip.static.uno.uk.net) has joined #raspberrypi
[23:38] * wiiguy (~fake@unaffiliated/wiiguy) Quit (Quit: I just broke my connection, but no worries, we can rebuild it. We have the technology.)
[23:38] <rikkib> Or a cable issue of some sort...
[23:39] * SebSemmi (~SebSemmi@p5DC5AC0E.dip0.t-ipconnect.de) Quit ()
[23:40] * _BigWings_ (~Thunderbi@modemcable167.12-130-66.mc.videotron.ca) has joined #raspberrypi
[23:40] * tenmi1estereo (~tnmlstr@w-244.cust-3410.ip.static.uno.uk.net) Quit (Client Quit)
[23:41] * thesheff17 (~thesheff1@24-148-57-183.c3-0.lem-ubr1.chi-lem.il.cable.rcn.com) Quit (Ping timeout: 245 seconds)
[23:44] * _BigWings_ (~Thunderbi@modemcable167.12-130-66.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[23:45] <zz_Kymru> is it possible to make a USB to TTL Serial Cable using an old usb A - usb B printer cable?
[23:47] * _BigWings_ (~Thunderbi@modemcable167.12-130-66.mc.videotron.ca) has joined #raspberrypi
[23:47] * nils2 (~nils_2@unaffiliated/nils-2/x-2480262) has joined #raspberrypi
[23:48] * Jeebiss (~Jeebiss@2602:306:bc31:5920:71dc:c299:f741:a648) has joined #raspberrypi
[23:49] <basti> zz_Kymru, sure. but not just y stripping the cable.
[23:50] <basti> you need something like max232
[23:50] <zz_Kymru> just reading now i need to lower the voltage from 5 to 3.3
[23:50] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) Quit (Ping timeout: 252 seconds)
[23:50] * plugwash (~plugwash@97e03ff4.skybroadband.com) has left #raspberrypi
[23:51] <basti> not just that. somebody needs to do the talking
[23:51] * tombrough (~tom@cpc4-newt3-0-0-cust54.newt.cable.virginm.net) has left #raspberrypi
[23:53] * mpmc1 is now known as mpmc
[23:53] <basti> if you have some old mobile phone <-> pc cable around, you might allready own one
[23:53] * kirin` (telex@gateway/shell/anapnea.net/x-inczsnmlogqgclxf) Quit (Remote host closed the connection)
[23:53] * LuvLinuxOS (~elbennit@108-65-219-43.lightspeed.tukrga.sbcglobal.net) has joined #raspberrypi
[23:55] <Triffid_Hunter> zz_Kymru: you need a chip for that. usb and ttl serial are fundamentally different in every way
[23:55] <zz_Kymru> only have usb cables
[23:56] <Triffid_Hunter> zz_Kymru: then you can't do it. http://www.dfrobot.com/index.php?route=product/product&product_id=147 <-- I use this one because it has a voltage selector jumper
[23:57] <Triffid_Hunter> and the ftdi ft232 is a very nice chip
[23:57] * thesheff17 (~thesheff1@24-148-57-183.c3-0.lem-ubr1.chi-lem.il.cable.rcn.com) has joined #raspberrypi
[23:58] * nils2 is now known as nils_2
[23:59] * m8 (~m@unaffiliated/m8) Quit (Quit: Sto andando via)
[23:59] * pepijndevos (pepijndevo@2a00:dcc0:eda:3754:247:55:9194:8ed6) Quit (Ping timeout: 265 seconds)

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