#raspberrypi IRC Log


IRC Log for 2013-07-25

Timestamps are in GMT/BST.

[0:00] * Datalink (~Datalink@unaffiliated/datalink) Quit (Ping timeout: 264 seconds)
[0:00] <clever> 18:55:03 reg0:11
[0:00] <clever> the last fault appears to be in the middle of a python print statement
[0:00] * Datalink (~Datalink@unaffiliated/datalink) has joined #raspberrypi
[0:01] * VitaBushido (~avem@unaffiliated/avem) Quit (Quit: I quit)
[0:02] <Datalink> blah, why is OMXPlayer having codec issues on me lately x.x
[0:02] <Datalink> the audio was offset between left and right channel, when I restarted it, they where skewed horridly
[0:02] * user82 (~user82@unaffiliated/user82) Quit (Read error: Connection reset by peer)
[0:04] <dougiel> anyone know where I should start to look to try an configure my MS MCE remote's ir senders to control my TV and Stereo?
[0:05] <clever> Unable to handle kernel paging request at virtual address 00001028
[0:05] <clever> its all over the place! :S
[0:06] * jerng (~jerng@dslb-094-217-001-120.pools.arcor-ip.net) Quit (Ping timeout: 276 seconds)
[0:08] * soulcake (~soulcake@unaffiliated/soulcake) Quit (Read error: Connection reset by peer)
[0:09] <ozzzy> time to slide in the backup SD
[0:09] * lupinedk is now known as Lupinedk
[0:09] <clever> ozzzy: it only happens if i use a certain function in python, it feels like a software issue in the kernel
[0:10] <clever> but all the normal debug stuff doesnt work, and the error changes every time
[0:11] <clever> id blame the touch sensor for pulling the 3.3v rail down, but the scope says it never went under 3.1
[0:12] * soulcake (~soulcake@unaffiliated/soulcake) has joined #raspberrypi
[0:12] <ozzzy> ahhh
[0:14] * troulouliou_dev (~troulouli@unaffiliated/troulouliou-dev/x-4757952) Quit (Remote host closed the connection)
[0:15] * Encrypt (~Chuck-nor@AMontsouris-553-1-11-191.w92-151.abo.wanadoo.fr) Quit (Quit: Quitte)
[0:16] * mapee (~User@84-236-89-8.pool.digikabel.hu) Quit (Quit: Leaving)
[0:18] * cornflaku (~cornflaku@c-68-60-210-113.hsd1.ga.comcast.net) has joined #raspberrypi
[0:19] * Mikelevel (~MoVeWoRk@unaffiliated/mikelevel) Quit (Read error: Connection reset by peer)
[0:19] * slumberland (~Adium@c-68-46-10-248.hsd1.nj.comcast.net) has joined #raspberrypi
[0:19] * Mikelevel (~MoVeWoRk@unaffiliated/mikelevel) has joined #raspberrypi
[0:19] * moribund112 (~moribund1@cpe-66-91-14-127.hawaii.res.rr.com) Quit (Quit: OS X ALL UP IN IT.)
[0:19] * tanuva (~tanuva@HSI-KBW-046-005-002-174.hsi8.kabel-badenwuerttemberg.de) Quit (Quit: Leaving.)
[0:20] * ztaale (~bleh@ti0098a380-dhcp0133.bb.online.no) Quit (Read error: Connection reset by peer)
[0:24] * troulouliou_dev (~troulouli@unaffiliated/troulouliou-dev/x-4757952) has joined #raspberrypi
[0:24] * pecorade (~pecorade@ Quit (Read error: Connection reset by peer)
[0:25] * SgrA (~sgra@gateway/tor-sasl/sgra) Quit (Ping timeout: 240 seconds)
[0:26] * debenham (~cjd@ has joined #raspberrypi
[0:27] * bertrik (~quassel@rockbox/developer/bertrik) Quit (Remote host closed the connection)
[0:27] * LigerZero (~MarioMast@unaffiliated/machinaewolf) Quit (Quit: Come with me and you will see our future in debris, first the sun and now the stars are fading...)
[0:30] * GentileBen (RaycisChar@cpc5-lutn10-2-0-cust681.9-3.cable.virginmedia.com) Quit ()
[0:32] * heathkid (~heathkid@unaffiliated/heathkid) Quit (Disconnected by services)
[0:32] * heathkid|2 (~heathkid@unaffiliated/heathkid) has joined #raspberrypi
[0:33] * KameSense (~KameSense@AMontpellier-654-1-124-210.w90-0.abo.wanadoo.fr) Quit (Remote host closed the connection)
[0:33] * brainwash (~brainwash@unaffiliated/brainwash) Quit (Read error: Operation timed out)
[0:35] * invisiblek (~dp@unaffiliated/invisiblek) has joined #raspberrypi
[0:36] * enque (~enque@ip70-160-27-9.hr.hr.cox.net) Quit (Quit: enque)
[0:37] <clever> ozzzy: the problem only seems to happen with certain data patterns as well
[0:37] <clever> let me double check the sources....
[0:38] * SgrA (~sgra@gateway/tor-sasl/sgra) has joined #raspberrypi
[0:40] * T0ndermere (~T0ndermer@ Quit (Ping timeout: 264 seconds)
[0:40] * brainwash (~brainwash@unaffiliated/brainwash) has joined #raspberrypi
[0:41] <clever> great, and chrome is not responding again
[0:41] * reindeerflotilla (~reindeerf@d24-150-252-68.home.cgocable.net) Quit (Quit: reindeerflotilla)
[0:42] * T0ndermere (~T0ndermer@ has joined #raspberrypi
[0:45] <nmpro> how can I tell if my sd card is being corrupted?
[0:45] <taza> There's no such thing
[0:45] <nmpro> I thought overclocking can lead to SD corruption
[0:45] <taza> There's no "being corrupted", it's a binary thing
[0:46] <taza> Does your system not boot after overclocking? Your SD card's corrupted
[0:46] <nmpro> I see.. ok.. that makes it easy
[0:47] <clever> the corruption may not always be in files essential to boot
[0:47] <clever> it could hit any file
[0:47] <nmpro> I see..
[0:47] <taza> Technically, yes. The only way to be entirely sure is to make a bitwise copy of the drive, then make another, then compare them
[0:47] <taza> Or well, the files, rather.
[0:48] * heathkid|2 is now known as heathkid
[0:48] <clever> or just an md5 sum of them
[0:48] <taza> "Don't worry, when you get corruption, it'll usually wipe your hard drive, so it's easy to spot."
[0:48] <clever> md5sum can be told to review everything and look for changes
[0:48] <taza> Yeah, that'll do it
[0:48] <nmpro> ok.. thanks guys
[0:49] <nmpro> one more question. which distro do you recommend for xmbc?
[0:50] * gschoppe (gschoppe@68-112-103-204.dhcp.davl.vt.charter.com) has joined #raspberrypi
[0:50] <taza> nmpro: It helps when you know what's the problem: The problem is that it'll write garbage when overclocked sometimes. Whatever it's writing will be lost.
[0:50] <nmpro> taza: I see.. ok thanks
[0:50] <taza> If it writes your partition table full of nonsense, well.
[0:51] <nmpro> I'll look through my logs and see if anything stands out. I am sure its not a corruption issue.. but I thought I would ask ya'll
[0:51] <clever> taza: but you almost never write to the partition table during normal use
[0:51] <clever> so that winds up being the safest sector on the entire disk
[0:51] <taza> ... eh, fair enough, but updating system files is an another thing
[0:52] <nmpro> my problem is during streaming vids. no matter what the source vid is I can only stream up to 30 mins or so .. lol
[0:52] <ripzay> if your sole intention is to run xbmc, use raspbmc or openelec
[0:52] <taza> File system can also get garbled.
[0:52] <taza> nmpro: Might be an issue with caching.
[0:52] <ripzay> (i prefer openelec)
[0:52] <taza> (I also prefer openelec)
[0:53] <nmpro> taza: that's what someone else mentioned. Should I increase my cache size?
[0:54] <taza> Nah, reduce
[0:54] <ripzay> the community support for openelec is also far superior to raspbmc in my experience
[0:54] <taza> The community support for raspbmc is like pulling teeth.
[0:54] <nmpro> no shit.. they honestly are kinda pricks
[0:54] <nmpro> lol
[0:54] <nmpro> so does openelec run on top of raspbian?
[0:55] <ripzay> use openelec, any problems ask in here, #openelec or #xbmc ;P
[0:55] <ripzay> no, openelec is a distro
[0:55] * \\Mr_C\\ (mrc@adsl-98-89-23-22.mgm.bellsouth.net) has joined #raspberrypi
[0:55] <taza> When the stance by the official moderators is to just add a lmgtfy link to any question - no matter if it answers it or not...
[0:55] <ripzay> that is built purely to run xbmc
[0:55] <ripzay> and nothing else
[0:55] <nmpro> oh.. I didn't realize it's a distro.. gonna try it tonight then
[0:55] <ripzay> so it is incredibly optimised
[0:55] <nmpro> nice...
[0:56] <ripzay> also the developers of openelec are actually helpful
[0:56] <ripzay> and available
[0:56] <nmpro> sounds good to me.. I will blow away my current install of raspbmc and give it a try
[0:56] <sraue> if tonight is in 1-2 hours then you can maybe try with a fresh new version :-)
[0:57] <ripzay> hah, speak of the devil :D
[0:57] <nmpro> a new release is coming tonight?
[0:57] <taza> ripzay: Do the developers of openelec blame their own bugs on upstream when upstream never had their bug?
[0:57] <taza> 'cuz that's what made me stop using Raspbmc
[0:57] <ripzay> generally they will spend hours getting you to cat out logs and actually get to the root of the problem
[0:57] <sraue> nmpro, its planned, let me do a final test before i walk trough the release procedure
[0:57] * poli (~pi@ has joined #raspberrypi
[0:57] <ripzay> and often will give you a patched version to download within an hour if they are feeling nice :D
[0:58] * pkrnj (~pkrnj@bas2-montreal47-1279438707.dsl.bell.ca) Quit (Quit: Computer has gone to sleep.)
[0:59] <ripzay> i've never actually experienced a bug in openelec myself :o
[0:59] <ripzay> oh except my nvidia card not remembering my TV, but that was well document and not really a bug with openelec, but the nvidia drivers
[0:59] <ripzay> documented*
[0:59] <sraue> hehe we have bugs too
[1:00] <nmpro> sraue: it will be a couple hours before I'm ready ..
[1:00] <nmpro> it's nice to see the doc's on openelec are much more detailed than raspbmc .. lol
[1:01] <nmpro> ok.. good night every.. thanks for the info!!
[1:01] <nmpro> sraue: what is the build number for the new release going to be?
[1:01] <sraue> you mean the version? 3.1.4
[1:02] <nmpro> cool.. thanks
[1:02] * nmpro (~mike@50-77-43-125-static.hfc.comcastbusiness.net) Quit (Quit: Leaving)
[1:02] * KameSense (~KameSense@AMontpellier-654-1-124-210.w90-0.abo.wanadoo.fr) has joined #raspberrypi
[1:12] * pkrnj (~pkrnj@bas2-montreal47-1279438707.dsl.bell.ca) has joined #raspberrypi
[1:12] * reindeerflotilla (~reindeerf@d24-150-252-68.home.cgocable.net) has joined #raspberrypi
[1:12] * debenham (~cjd@ Quit (Ping timeout: 264 seconds)
[1:14] * Bozza (~Bozza@p57A569BA.dip0.t-ipconnect.de) has joined #raspberrypi
[1:16] * greenleaf108 (~seancarol@cpe-70-112-52-158.austin.res.rr.com) has joined #raspberrypi
[1:16] <greenleaf108> Greetings true believers.
[1:17] <greenleaf108> Who's got tips for dealing with power outages? Are there any steps that can be taken to make the RPI's storage more robust and fault tolerant?
[1:17] <greenleaf108> I've had a couple experiences where power outages corrupted the SDcard, rendering the unit un-bootable.
[1:19] <poli> How random is the random number generator in the Raspberry Pi?
[1:19] <clever> poli: /dev/random?
[1:19] <Bozza> If you're here for raspberrypi support press 1
[1:20] <poli> clever: actually u're here for raspberrypi support press 1
[1:20] <poli> clever: actually http://scruss.com/blog/2013/06/07/well-that-was-unexpected-the-raspberry-pis-hardware-random-number-generator/
[1:21] * chris_99 (~chris_99@unaffiliated/chris-99/x-3062929) Quit (Quit: Leaving)
[1:21] <clever> ah hardware random, didnt think it had kernel support
[1:22] <poli> clever: the results by the end of that article aren't really that good, just got through it.
[1:22] <Bozza> That's pretty kick ass that the pi can make "true" random data
[1:22] <Bozza> If you believe in random that is
[1:22] <poli> oh
[1:22] <poli> ok
[1:22] <poli> the article is somehow unorganized
[1:23] <poli> it says that the Pi has a good random number generator
[1:23] <clever> poli: the stripes are from an example of a broken random number generator
[1:23] <clever> but for my needs, /dev/random is plenty random, you know how that gets seeded?
[1:23] <poli> enthropy pool?
[1:24] <clever> every time an unpredictable event happens (disk io, keyboard, mouse, network), it scrambled the entire entropy pool with the current timestamp
[1:24] <clever> brb
[1:24] <clever> its near imposible to predict the exact time of every one of those events since bootup
[1:24] <ozzzy> don't mess with entropy
[1:24] <clever> and the longer its running, the more scrambled things get
[1:24] * Mothership (~Mothershi@ Quit (Read error: Connection reset by peer)
[1:25] <ozzzy> that arrow of time turns around and we'll hold you responsible
[1:25] <poli> I recall reading how linux did that ages ago, it was fairly good, except for cryptographic applications and applications that need lots of random numbers.
[1:25] <clever> yeah, in theory, if you read /dev/random a lot, you can extract patterns
[1:25] * [SkG] (~sconde@unaffiliated/skg/x-897332) Quit (Read error: Connection reset by peer)
[1:25] <clever> so it forces delays after a certain number of bytes
[1:26] <clever> to allow it to re-scramble
[1:26] <poli> actually if you read /dev/random a lot you run out of entropy
[1:26] * felipealmeida (~user@ Quit (Ping timeout: 256 seconds)
[1:26] <clever> read too many bytes at once and it will get real slow
[1:26] <poli> happens VERY FREQUENTLY when your task is generate prime numbers
[1:27] <clever> you can always use urandom to unlimit it, but then your not getting as pure of a randomness
[1:27] * greenleaf108 (~seancarol@cpe-70-112-52-158.austin.res.rr.com) Quit (Ping timeout: 264 seconds)
[1:27] <poli> I implemented a avalanche effect true RNG ages ago. Never got it to pass diehard tests. :(
[1:27] <poli> urandom is not acceptable, too predictable
[1:27] <poli> when you consume lots of numbers
[1:27] <clever> ive seen somebody make an avr rng years ago, 3 long wires attached to the ADC
[1:28] <clever> all 3 floating
[1:28] <clever> i think he just used it to make an 8-ball type thing
[1:28] <poli> good idea
[1:28] <poli> there aren't really that many random events accessible through a digital port
[1:28] <clever> in theory, they may pick up 60hz hum, but the exact level (and the lowest bit) would be hard to predict
[1:29] <poli> in Europe, that would be 50Hz ;)
[1:29] <clever> and dont forget, your lights actualy flicker at 100hz!
[1:29] <poli> clever: actually the way to go is to compare two subsequent readings and give a 1 or R2>R1 and 0 otherwise.
[1:30] <poli> If you get network interference, it will be very clear in a sequence of 0s or 1s
[1:30] * ruif13 (~ruif13@a89-153-58-111.cpe.netcabo.pt) Quit (Quit: ruifigueiredo.me)
[1:30] <clever> only for rising values?
[1:30] <clever> i was thinking, just mask out everything but the lowest bit
[1:30] <clever> its down in the noise floor, of the 'random' noise
[1:30] <poli> could be
[1:31] <poli> But I would really like to read more about the 2708 true RNG
[1:31] <poli> Maybe it is in that capped datasheet
[1:31] <clever> try plotting which numbers occur the most
[1:32] <poli> oh, you have to go diehard tests to get good results
[1:32] * debenham (~cjd@ has joined #raspberrypi
[1:32] * sphenxes01 (~sphenxes@91-119-222-134.dynamic.xdsl-line.inode.at) Quit (Ping timeout: 248 seconds)
[1:33] <clever> hmmm, if i'm reading the source for this python module right, read_block_data will read I2C_SMBUS_BLOCK_DATA bytes via i2c
[1:33] <clever> which is a #define to 5
[1:34] <clever> so why was it returning way more then 4 bytes
[1:34] <clever> and why was the python array often showing 0 bytes?!
[1:34] <clever> /* first byte of the block contains (remaining) data length */
[1:34] <clever> hmmmm, but it shouldnt be getting an NACK...
[1:35] <clever> i should redo it in c and see if that has an effects
[1:36] * Bozza (~Bozza@p57A569BA.dip0.t-ipconnect.de) Quit (Ping timeout: 264 seconds)
[1:38] * ktr_ (~ktr@unaffiliated/kooothor) Quit (Read error: Operation timed out)
[1:40] * Xark (~Xark@unaffiliated/xark) Quit (Ping timeout: 240 seconds)
[1:41] * Geniack (~Geniack@unaffiliated/geniack) has joined #raspberrypi
[1:41] * troulouliou_dev (~troulouli@unaffiliated/troulouliou-dev/x-4757952) Quit (Remote host closed the connection)
[1:44] * mu (~mu@unaffiliated/mu) has joined #raspberrypi
[1:44] * Geniack_ (~Geniack@unaffiliated/geniack) Quit (Ping timeout: 264 seconds)
[1:44] <poli> noce: Starting Hardware RNG entropy gatherer daemon: rngd.
[1:46] <poli> clever: rngtest: FIPS 140-2 failures: 0
[1:46] <poli> I like it!
[1:48] <clever> :)
[1:49] * Turingi (~devon@unaffiliated/devon-hillard/x-7250961) Quit (Read error: Connection reset by peer)
[1:51] <poli> the bandwidth is a dream
[1:52] <poli> buckets of random numbers per second
[1:52] <poli> I will design a HSM from that you will see ;)
[1:53] * dougiel (~doug@S0106744401495b56.wp.shawcable.net) Quit (Ping timeout: 256 seconds)
[1:55] <clever> poli: hardware signing module?
[1:56] <poli> clever: http://en.wikipedia.org/wiki/Hardware_security_module
[1:56] <clever> poli: anything similar to http://hackaday.com/2012/12/31/building-a-hardware-security-module/ ?
[1:57] <poli> Not really, but concept comes from the same basis. :)
[1:57] <clever> yeah, one is for signing data with a secured key, but yours is to generate random numbers/keys?
[1:58] <poli> There has been a project sponsored by the brazilian government to build a shelf-made HSM but I haven't had news from it in quite some time.
[1:58] <clever> the biggest problem i can see with trying to make anythng similar, you have no secure storage, at all
[1:58] <clever> everything must be stored into the sdcard, where its open for all to read
[1:58] <poli> clever: Actually the HSM is intended to sign packs of stuff securely and fast. The other requisite being safekeeping the key.
[1:59] <clever> yeah, thats what i thought
[1:59] <clever> sign stuff with the key, without revealing the key to anything
[1:59] <clever> much like ssh-agent and agent forwarding
[1:59] <poli> So a well built secure HTTPS server should, idealy, use a HSM to generate the signatures for the pages it sends, for example.
[2:00] <clever> then even if you can hack the box and gain root, you cant steal the key and setup a fake site
[2:00] <poli> Actually any attempts to retrieve the key should make it purge the kay.
[2:00] <poli> key
[2:00] <clever> you could sign fake requests while your in the system
[2:00] <poli> Better to loose it than to compromise it.
[2:00] <clever> but as soon as they lock you out, you loose that
[2:00] <poli> One application, yes. There are others.
[2:01] <poli> For example a 100% offline system to generate openvpn keys.
[2:01] <clever> then you simply cant hack it
[2:01] <poli> and taking the HSM "hardware" away won't do you any good
[2:01] <clever> at that point, you simply need to guard access to the hardware module
[2:01] <clever> unplug and store it in a safe
[2:02] <poli> Most HSMs have throughput as a requirement, some need only be secure.
[2:02] <clever> the only real difference from keeping the keys on a usb stick
[2:02] <clever> the HSM cant be cloned
[2:02] <poli> Higher level HSM modules have physical secutiry as well
[2:03] <poli> Keys can be kept on cyphered hardware, such as a SD card, The Luna does something like that.
[2:03] <clever> you would just need to keep the master key on secure storage then, within the device
[2:03] <poli> But you have to be sure that it cannot be recovered unless by the cyphering hardware itself.
[2:03] <poli> clever: Yes, something like that.
[2:03] <clever> thats basicaly what most game consoles do i believe
[2:03] <poli> But nowadays it is very hard with the electron microscopes and such.
[2:03] <clever> there is a per-console key (entirely random) in the cpu itself
[2:04] <clever> and everything on the hdd is encrypted based on that key
[2:04] <poli> They try to, but they are too inexpensive to be able to succeed. :)
[2:04] <clever> every console has its own unique key
[2:04] <clever> so if you tear the chip open to steal the key, its useless
[2:04] <poli> That's one approach for a HSM.
[2:04] <clever> you broke the only chip that can use it
[2:05] <poli> acutally you can (at cost) retrieve a key from flash memory without damaging it
[2:05] <clever> it also means you cant swap the drives between consoles, and you cant modify files on the drive
[2:05] * MadeAllUp (~MadeAllUp@gateway/tor-sasl/madeallup) Quit (Ping timeout: 240 seconds)
[2:05] <clever> the flash memory is on the same die as the cpu, and i think its write once (fuses)
[2:05] <poli> Oh tor is a great application for the true RNG on the Pi too
[2:05] <poli> (just realized it from the ping timeouting guy)
[2:05] <clever> lol
[2:06] * MadeAllUp (~MadeAllUp@gateway/tor-sasl/madeallup) has joined #raspberrypi
[2:06] <clever> what about wpa?
[2:06] <clever> modify hostapd to use HWRNG for the per-session keys
[2:06] * atouk (~kvirc@ool-457e23d5.dyn.optonline.net) Quit (Read error: Connection reset by peer)
[2:07] <poli> clever: the rngd service pumps entropy from the HW RNG into the kernel pool
[2:07] <clever> ah
[2:07] <poli> So if you have that service up, you are already benefiting from that
[2:08] <poli> but if you need to have 100% control on randomness, you have to use the /dev/hwrng itself
[2:08] * azeam is now known as azeam_afk
[2:08] <clever> if i remember correctly, pumping data into /dev/random wont increase the entropy count (and may decrease it)
[2:08] <clever> so you wont help the thruput of it
[2:08] <clever> just increase the randomness
[2:08] <poli> clever: apt-cache show rng-tools
[2:08] <plugwash> IIRC there is an interface to pump randomness into the kernel and increase the enropy count
[2:09] * debenham (~cjd@ Quit (Ping timeout: 264 seconds)
[2:09] <clever> plugwash: yeah, its already used by the stock init scripts
[2:09] <clever> you just write to /dev/random
[2:09] <poli> plugwash: from rngd --help is it /dev/random itself
[2:09] <clever> the init scripts use it, because the data at bootup is relatively predictable
[2:09] <clever> every time you bootup, the location of files is fixed, and the time to read them is stable
[2:09] <poli> clever: what happens if I pump highly ordered data into /dev/random? ;)
[2:09] <clever> so the randomness will suck
[2:10] <plugwash> AIUI writing to /dev/random wont increase the entropy count (though it will put the entropy in the pool), you have to use some other interface if you want the entropy count to increase
[2:10] <clever> the init scripts save a chunk of random data at shutdown, and then jam it back in at bootup
[2:10] <clever> so the randomness will depend on how random it was at shutdown
[2:10] * _yac_ (~yac@unaffiliated/-yac-/x-6369540) has joined #raspberrypi
[2:10] <clever> plugwash: yeah, thats what i thought
[2:10] * sco` (~ross@unaffiliated/sco/x-3425046) Quit (Ping timeout: 240 seconds)
[2:10] <clever> the kernel will scramble the pool, but not increase the count of entropy
[2:10] <clever> for the exact reason poli gave, < poli> clever: what happens if I pump highly ordered data into /dev/random? ;)
[2:11] <clever> the kernel doesnt trust it 100%, so it will wait for some entropy from unpredictable things (hdd, keyboard, network)
[2:11] <clever> all your doing is improving the randomness, but not the thruput
[2:12] <clever> so it would help hostapd and anything else using random for low thruput stuff
[2:13] * Orion__ (~Orion_@ has joined #raspberrypi
[2:13] <poli> Most likely using HWRNG as primary and fallback to /dev/random then /dev/urandom would be the way to go, probably.
[2:14] <poli> It would be susceptible to high-load attack
[2:14] * Luke-Jr (~luke-jr@unaffiliated/luke-jr) Quit (Quit: Konversation terminated!)
[2:15] * Luke-Jr (~luke-jr@unaffiliated/luke-jr) has joined #raspberrypi
[2:18] * Bozza (~Bozza@p57A569BA.dip0.t-ipconnect.de) has joined #raspberrypi
[2:19] <poli> still a very good surprise for a SoC to have a true RNG
[2:19] <poli> at its cost
[2:19] <clever> now i'm curcious, as to how the driver works
[2:19] <clever> what was the module name?
[2:22] <clever> bcm2708-rng i think?
[2:22] <poli> bcm2807-rng
[2:22] <poli> 2708
[2:22] * Adityab (~textual@ Quit (Ping timeout: 268 seconds)
[2:23] <clever> poli: https://github.com/raspberrypi/linux/blob/rpi-3.6.y/drivers/char/hw_random/Makefile#L28
[2:23] <clever> this tells us which .c file the module comes from, and the config name to enable it
[2:23] <clever> https://github.com/raspberrypi/linux/blob/rpi-3.6.y/drivers/char/hw_random/bcm2708-rng.c
[2:23] * debenham (~cjd@ has joined #raspberrypi
[2:23] <clever> and there it is
[2:24] <clever> a simple 3 function driver, init, exit, and read!
[2:24] * imRance (~Rance@ has joined #raspberrypi
[2:25] <clever> lets see, it remaps a 16 byte section of iomemory into ram, sticks that into the .priv field on the ops struct, and registers it as a hwrng source
[2:26] <clever> then enables it by writting to the status and control registers
[2:26] <poli> clever: very simple indeed, just read a predefined io space address
[2:26] * hyperair (~hyperair@ubuntu/member/hyperair) Quit (Ping timeout: 256 seconds)
[2:26] <clever> yep
[2:26] * mcscruff (~mcscruff@ has joined #raspberrypi
[2:26] <poli> so hardware is doing most of the work, as expected ;)
[2:27] <clever> it looks like rng_status is a 32bit field, with the random byte being at bit 24<->32
[2:27] <mcscruff> hi all, quick q about the gpu, can it be used to crunch numbers like a pc gpu can?
[2:27] <clever> and the comments imply that reads a fifo
[2:27] <clever> and it will read 0 if the fifo is empty!
[2:27] <clever> poli: aha!, it will never return 0, ever
[2:27] <clever> oh wait
[2:27] <clever> thats purely the status
[2:28] <clever> after it gets past that, it reads the data register
[2:28] <clever> which is 32bit, 4 byte
[2:28] <poli> clever: where does this address base come from? rng->priv
[2:28] * dougiel (~doug@S0106744401495b56.wp.shawcable.net) has joined #raspberrypi
[2:28] <clever> poli: line 88
[2:28] <dougiel> anyone have any experiece with raspbmc...
[2:29] <dougiel> trying to get any kind of media with audio to play from any device in my house iOS Lion Windows Linux... how do you get media to xbmc on the raspberry?
[2:29] <ShiftPlusOne> you could also ask in #raspbmc
[2:29] <clever> poli: the key bit for understanding kernel modules is line 113 and 114
[2:29] <dougiel> ShiftPlusOne, thanka
[2:29] <dougiel> s
[2:30] <mcscruff> dougiel: stream? samba.. or usb key?
[2:30] <clever> poli: when you load the module, it runs bcm2708_rng_init, and when you unload it, bcm2708_rng_exit
[2:30] <pksato> dlna
[2:30] <clever> poli: but if you link it into the kernel (not a module), things happen a bit differently
[2:31] <clever> first, (for linked it, or module unload disabled), it will completely drop the bcm2708_rng_exit function
[2:31] <poli> clever: oh line 82 is my answer
[2:31] <clever> dont need it if it cant be ran
[2:31] <clever> 2nd, bcm2708_rng_init gets moved to a special init area, and is ran on bootup
[2:31] <clever> then that entire chunk of ram is released
[2:31] <clever> so the code to init all the modules that are linked in, isnt kept in ram 24/7
[2:33] <poli> clever: I never really learned kernel programming :/
[2:33] <clever> poli: i got a pdf copy of linux device drivers a few years ago
[2:33] <poli> I should read some about it. :)
[2:34] <poli> I went BSD ages ago and lost track of linux
[2:34] <clever> poli: next, read 'modinfo lirc_rpi'
[2:34] <davezZz> if i do arm ASM right.. am i limited to 4kb yeah?
[2:34] <davezZz> for the core of the program
[2:35] <poli> clever: nice, thanks!
[2:35] <plugwash> davezZz, arm asm running in what environment
[2:35] <clever> poli: look at the author names on that module
[2:35] <davezZz> i dunno, on a raspberry pi?
[2:35] <davezZz> baremetal
[2:36] * Firehopper (~Firehoppe@pool-71-185-121-114.phlapa.east.verizon.net) has joined #raspberrypi
[2:36] <SpeedEvil> No, ASM is not limited to 4K
[2:36] <mcscruff> ooo netflix on ie in html5 yeY!!! hopefully a firefox plugin soon
[2:36] * SpeedEvil boggles.
[2:36] <davezZz> kk, dunnow here i got that thought from
[2:36] <poli> clever: lol
[2:36] <clever> mcscruff: last i saw, they still used silverlight, not html5
[2:36] * plugwash can't think of any reason you'd be limited to 4K, you may have to split things up a bit when it gets beyond a certain size
[2:36] <davezZz> i can work around it im sure if that was the case
[2:36] <davezZz> no need to worry then
[2:36] <plugwash> since program counter relative references (often used for constants) have a limited reach
[2:37] <poli> clever: thanks for the contribution ;)
[2:37] <davezZz> after spending weeks trying to get asm onto the rpi
[2:37] <mcscruff> clever: since windows 8.1 , the new ie uses html5 :)
[2:37] <davezZz> i've lost my motivation to learn arm asm ;[
[2:38] <clever> poli: ./arch/arm/mach-bcm2708/include/mach/platform.h:#define RNG_BASE (BCM2708_PERI_BASE + 0x104000) /* Hardware RNG */
[2:38] <clever> poli: that was the only key part missing
[2:38] <clever> poli: in theory, we now have enough to do hardware rng on baremetal asm, if we wanted to
[2:39] <clever> and with something this simple, you could abuse the pi as a simple serial data source of rng
[2:39] * debenham (~cjd@ Quit (Ping timeout: 264 seconds)
[2:39] <poli> clever: Indeed.
[2:40] * greenleaf108 (~seancarol@cpe-70-112-52-158.austin.res.rr.com) has joined #raspberrypi
[2:40] <poli> clever: Lots and lots of possibilities. :)
[2:41] <clever> poli: from what i can see in the driver, i think it creates the numbers at a fixed rate
[2:41] <clever> and stuffs them into a hardware fifo
[2:42] <poli> clever: seems like it, and that's probably why is throws away some right after enabling the hardware generator
[2:43] * debenham (~cjd@ has joined #raspberrypi
[2:43] <clever> i think thats to let it warm up and get random
[2:43] <clever> the first few are probly predictable
[2:43] <poli> clever: thermal noise?
[2:43] <clever> poli: look at line 52
[2:44] <poli> oh
[2:44] <poli> maybe that's on that limited datasheet they published
[2:45] <poli> err no hits for "random"
[2:45] <poli> :(
[2:45] <clever> https://github.com/raspberrypi/linux/blame/rpi-3.6.y/drivers/char/hw_random/bcm2708-rng.c
[2:45] <clever> this says that popcornmix made the entire file on jan 30th of this year
[2:46] <clever> i think that username has access to the full datasheet
[2:46] * Bozza (~Bozza@p57A569BA.dip0.t-ipconnect.de) Quit (Remote host closed the connection)
[2:46] <plugwash> I think popcornmix is one of the rpf guys
[2:46] <plugwash> though i'm not sure which one
[2:46] <clever> makes sense that they would have access to the entire document
[2:47] * SpeedEvil wishes for a leak.
[2:47] <poli> clever: where did you find the name?
[2:47] <clever> poli: https://github.com/raspberrypi/linux/blame/rpi-3.6.y/drivers/char/hw_random/bcm2708-rng.c to the left of the source
[2:47] <clever> it makes note of who made every line of the source
[2:47] <clever> mainly used to you know who broke it :P
[2:47] * greenleaf108 (~seancarol@cpe-70-112-52-158.austin.res.rr.com) Quit (Quit: leaving)
[2:47] <poli> clever: oh I was reading from another site :)
[2:48] <clever> you can also pull up the git history, https://github.com/raspberrypi/linux/commits/rpi-3.6.y/drivers/char/hw_random/bcm2708-rng.c
[2:48] * greenleaf108 (~seancarol@cpe-70-112-52-158.austin.res.rr.com) has joined #raspberrypi
[2:48] <clever> which reveals that he also changed several other files
[2:48] <poli> Copyright (c) 2010-2012 Broadcom. All rights reserved.
[2:48] <clever> adding the RNG_BASE to platform.h, the config in Kconfig, the Makefile rule to build the module, and the actual source
[2:48] <poli> It was probably provided almost as-is, from that Copyright notice.
[2:49] <clever> https://github.com/raspberrypi/linux/commit/e95a8204d7f8fc4f38900c99080103254c3cef11
[2:49] <clever> poli: also of some interest, look at the io addresses in platform.h
[2:50] <clever> in some parts, it goes up to 0x1000 per module, and in others, it skips several blocks
[2:50] <clever> un-released modules?
[2:50] <poli> many gaps...
[2:51] * Bozza (~Bozza@p57A569BA.dip0.t-ipconnect.de) has joined #raspberrypi
[2:51] <clever> poli: hmmm, the timer and arm irq controller are also within this area
[2:51] <clever> https://github.com/raspberrypi/linux/blob/rpi-3.10.y/arch/arm/mach-bcm2708/include/mach/platform.h#L79
[2:52] <clever> usb also
[2:52] <Bozza> You have the oosb player?
[2:52] <Bozza> http://youtu.be/EjH9cEoEup8
[2:53] <poli> clever: only hits for the 0XB000 on the released data sheets are other stuff
[2:53] <poli> the 0xB000 ARM control base address
[2:53] <plugwash> Note that it's not exactly uncommon to have gaps in perhiperal memory maps
[2:54] * greenleaf108 (~seancarol@cpe-70-112-52-158.austin.res.rr.com) Quit (Quit: leaving)
[2:54] <clever> plugwash: yeah, the 0x1000 increments already cause huge gaps
[2:54] * greenleaf108 (~seancarol@cpe-70-112-52-158.austin.res.rr.com) has joined #raspberrypi
[2:54] * hyperair (hyperair@ubuntu/member/hyperair) has joined #raspberrypi
[2:55] <poli> err reverse engineering is so frustrating
[2:55] <poli> Reverse-Datasheeting
[2:56] <clever> poli: for something this simple, you can easily write the page for the datasheet, but for things like usb or the arm/gpu bridge, it would be more complex
[2:56] * Kane (~Kane@ADijon-257-1-52-57.w86-204.abo.wanadoo.fr) Quit (Quit: Night all o/)
[2:57] * harish (~harish@cm32.zeta224.maxonline.com.sg) Quit (Ping timeout: 240 seconds)
[2:57] <poli> clever: now I will dream with all those gaps and all the amazing unreleased featured hidden deep in them
[2:57] <poli> *features
[2:57] * ktr_ (~ktr@unaffiliated/kooothor) has joined #raspberrypi
[2:58] <clever> poli: some things are obviously read sensitive, like the hwrng fifo
[2:58] * slumberland (~Adium@c-68-46-10-248.hsd1.nj.comcast.net) Quit (Ping timeout: 240 seconds)
[2:58] <clever> reading the register changes data
[2:58] <clever> so it might not be 100% safe to just blindly read everything and see what turns up
[2:58] * nmpro (~mike@ has joined #raspberrypi
[2:59] <nmpro> has the new build of openelec been released?
[2:59] <poli> clever: hope there aren't any hidden fuses ;)
[3:00] * plugwash gets the impression that the big problem with the USB is that proper documentation simply doesn't exist
[3:00] <clever> plugwash: its a pain to be the guy who finds the errata corrections at the bottom :P
[3:00] <poli> plugwash: the USB standard?
[3:00] <plugwash> No the USB module in the SoC
[3:00] <sraue> nmpro, yes its released, but sadly i found a big issue there...
[3:01] <poli> plugwash: oh
[3:01] <plugwash> which AIUI was not created by broadcom but bought it
[3:01] <plugwash> *bought in
[3:01] * Dovid (~Dovid@static-173-63-105-210.nwrknj.fios.verizon.net) Quit (Ping timeout: 246 seconds)
[3:01] <poli> plugwash: I still question why people still keep documentation hidden. Like if the competitors wouldn't already know.
[3:01] <nmpro> should I not load that release then?
[3:01] <clever> poli: one example, ARM never makes cpu's
[3:02] <clever> poli: they purely make the HDL for an arm cpu, and sell permission to use that
[3:02] <SpeedEvil> clever: Not true.
[3:02] <SpeedEvil> clever: But true for a while.
[3:02] <clever> poli: broadcom then drops the HDL for an arm core into the project designer, hooks in the usb interface, adds a few custom ones, and makes a chip
[3:02] <poli> clever: And buyers respect the ownership... it is a rather small industry, everyone knows about everyone else.
[3:03] <plugwash> AIUI arm do actually get CPUs made for development (both internal and external) but said CPUs are frightfully expensive
[3:03] <plugwash> google "versatile express"
[3:03] <clever> plugwash: ah yeah, it would help to have a cpu with all of the io address lines broken out
[3:03] <clever> so you could connect your own modules, before getting the asic made
[3:03] * suehle (~rsuehle@fedora/suehle) has joined #raspberrypi
[3:03] <sraue> nmpro, it depends a bit... you can install it will say there is a upgrade avaible, if you run this the build will be downgraded to 3.1.3... if you dont need database stuff for now (until we release the next build) then you can use this
[3:04] <sraue> i think i will release 3.1.5 tomorrow
[3:04] <nmpro> sraue: cool.. yeah all I am looking to do is stream
[3:06] <poli> clever: oh imagine if we had wire-up versions of them?
[3:07] <sraue> nmpro, for this it should work
[3:07] <clever> poli: that reminds me of an atmel chip i saw, *looks*
[3:08] * Bozza (~Bozza@p57A569BA.dip0.t-ipconnect.de) Quit (Ping timeout: 256 seconds)
[3:08] <nmpro> thanks
[3:10] <clever> poli: hmm, cant find it now
[3:10] <plugwash> also while you can buy arm cores in HDL form you can also buy them in "hard macro" form where all the layout needed for a particular silicon process is already done
[3:11] <clever> poli: it was an AVR processor with FPGA fabric on the same die, with the IO register address bus broken out
[3:11] <clever> poli: so you could implement custom avr io ports
[3:11] <poli> clever: nice
[3:11] <clever> plugwash: something i wonder, what if they implement a custom arm instruction, undocumented, which returns a vendor id#
[3:12] <clever> so they know who leaked the core :P
[3:12] * devslash (~devslash@unaffiliated/devslash) has joined #raspberrypi
[3:12] <devslash> i need help eth0 wont get an ip address any more
[3:12] <poli> I never really desinged a integrated circuit. Always wanted to, never had the time. :(
[3:12] <devslash> i think that its only trying to get an ipv6 address
[3:13] <clever> devslash: does it have a link?
[3:13] <clever> devslash: ip link show eth0
[3:13] <clever> what is the output of this command?
[3:13] <poli> devslash: sudo dhclient -r eth0; sudo dhclient eth0 no good?
[3:14] * mcscruff (~mcscruff@ Quit (Quit: Leaving)
[3:15] * pkrnj (~pkrnj@bas2-montreal47-1279438707.dsl.bell.ca) Quit (Quit: Computer has gone to sleep.)
[3:17] <nmpro> how do I set time?
[3:17] * flowsnake (~flowsnake@cpc26-aztw25-2-0-cust894.aztw.cable.virginmedia.com) Quit (Ping timeout: 264 seconds)
[3:17] <clever> nmpro: is the network working?
[3:17] * devslash (~devslash@unaffiliated/devslash) Quit (Ping timeout: 264 seconds)
[3:17] <nmpro> yes
[3:17] <clever> nmpro: sudo ntpdate ntp.ubuntu.com
[3:18] <nmpro> it pulled a ip from my router
[3:18] * pkrnj (~pkrnj@bas2-montreal47-1279438707.dsl.bell.ca) has joined #raspberrypi
[3:18] * suehle (~rsuehle@fedora/suehle) Quit (Read error: Operation timed out)
[3:18] * Commander1024 (~Commander@Commander1024-2-pt.tunnel.tserv6.fra1.ipv6.he.net) has joined #raspberrypi
[3:20] <nmpro> clever: OpenELEC:~ # sudo ntpupdate ntp.ubuntu.com
[3:20] <nmpro> -sh: sudo: not found
[3:21] <clever> nmpro: if your already root, just run ntpupdate ntp.ubuntu.com
[3:21] <sraue> there is no sudo you are root... but openelec sets the time automatically via ntp if you have internet access
[3:22] <clever> sraue: sudo does actualy work as root, the default config lets root do anything without a password
[3:22] <clever> but if its not found, then it simply wasnt installed
[3:23] <nmpro> well it has to be installed in order for time to be sync with ntp
[3:23] <clever> sudo and ntp are seperate packages
[3:23] <poli> nmpro: not sudo
[3:23] <nmpro> I tired both
[3:23] <nmpro> without sudo
[3:24] <clever> whats the error without sudo?
[3:24] <sraue> in openelec there is no sudo, because the only user is root
[3:24] <nmpro> I got a md5 checksum failed during boot
[3:24] <clever> sraue: ah!
[3:25] <nmpro> sraue <
[3:25] * Ladon (~Ladon@cpe-173-174-44-126.austin.res.rr.com) has joined #raspberrypi
[3:25] <greenleaf108> Anyone have suggestions for making the storage more robust or power-outage resistant? It seems every time the power cuts out, I'm rolling the dice with my RPi's SDCard
[3:26] <sraue> OpenELEC:~ # ntpdate ntp.ubuntu.com
[3:26] <clever> greenleaf108: does the filesystem have to be read-write?
[3:26] <sraue> but its usually not needed because its done automatically
[3:27] * KidBeta (~KidBeta@hpavc/kidbeta) has joined #raspberrypi
[3:29] <poli> greenleaf108: and you are rolling the dice
[3:30] <Ladon> will there be a model C soon? I'm wanting to get a devboard but can't decide a few things
[3:30] <Ladon> if there was a model C RPi I'd be on it over anything else
[3:30] <clever> Ladon: depends on what it would have
[3:31] * devslash (~devslash@unaffiliated/devslash) has joined #raspberrypi
[3:31] * KameSense (~KameSense@AMontpellier-654-1-124-210.w90-0.abo.wanadoo.fr) Quit (Read error: Operation timed out)
[3:31] <Ladon> probably 1ghz, 1gb ram, optional SATA
[3:31] <devslash> hey
[3:31] <devslash> if i do dhcpcd eth0 it says eth0:sending ipv6 router solicitation eth0: broadcasting for a lease eth0: router advertisement from <ipv6 address> eth0: did not fork due to an absent RDMSS option in the RA
[3:31] <clever> Ladon: you can already overclock a pi to 1ghz, sata is about the only bonus i see
[3:31] <devslash> it almost seems like its only trying to get an ipv6 address and not ipv4
[3:32] <greenleaf108> clever: I don't think it needs to be R/W. I'm just using a simple python app that polls the current weather and manipulates some GPIO pins
[3:32] * KameSense (~KameSense@AMontpellier-654-1-7-48.w109-210.abo.wanadoo.fr) has joined #raspberrypi
[3:32] <Ladon> if it had just a little bit more edge, I could see PSX emulation workingish
[3:32] * nx5_off (~nap@unaffiliated/nx5off/x-000000001) Quit (Ping timeout: 240 seconds)
[3:32] <clever> greenleaf108: then mount the filesystem read-only, set it in /etc/fstab
[3:32] <devslash> anyone know what could be wrong ?
[3:32] <clever> greenleaf108: the damage only comes from cutting power in the middle of a write, and if its read-only, you cant write!
[3:33] <clever> devslash: you have yet to answer my question
[3:33] <greenleaf108> clever: Thank you, this is good to know.
[3:33] <clever> 24 22:13:07 < clever> devslash: does it have a link?
[3:33] <clever> 24 22:13:16 < clever> devslash: ip link show eth0
[3:33] * nx5_off (~nap@unaffiliated/nx5off/x-000000001) has joined #raspberrypi
[3:33] <devslash> i didnt see it
[3:33] * greenleaf108 (~seancarol@cpe-70-112-52-158.austin.res.rr.com) Quit (Quit: leaving)
[3:33] * peterrus (~peterrus@5469EEFF.cm-12-2d.dynamic.ziggo.nl) Quit (Ping timeout: 268 seconds)
[3:34] * greenleaf108 (~seancarol@cpe-70-112-52-158.austin.res.rr.com) has joined #raspberrypi
[3:35] * harish (~harish@ has joined #raspberrypi
[3:35] <devslash> 4:eth0 <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000 link/ether <mac address> brd ff:ff:ff:ff:ff:ff
[3:35] <devslash> clever, that was for you
[3:35] <clever> yep, the ethernet link is up
[3:36] <clever> cant think of anything else then
[3:36] <devslash> if i do ifconfig eth0 it shows
[3:36] <devslash> for broadcast
[3:36] <devslash> i did this command to assign a static ip ip addr add <IP address>/<subnet mask> dev <interface>
[3:37] <clever> you need to also add some routes when using that method, and i think adding the subnet there will make things worse
[3:37] <devslash> i dunno
[3:37] <clever> ip addr add 192.168.1.x dev eth0;ip route add dev eth0;ip route add via dev eth0
[3:37] <clever> this is the fully manual way
[3:37] <clever> and edit /etc/resolv.conf
[3:39] * peterrus (~peterrus@5469EEFF.cm-12-2d.dynamic.ziggo.nl) has joined #raspberrypi
[3:39] <devslash> what do i put in resolv.conf
[3:40] <clever> the ip of your dns server
[3:40] <clever> which might be your router
[3:40] <devslash> whats the format
[3:40] <devslash> yea it would
[3:40] <clever> nameserver
[3:41] <devslash> hmm ok now i am able to get an ip but its not the static ip
[3:41] <clever> ?
[3:41] <nerdboy> adding domain foo.com is usually helpful
[3:42] <nerdboy> if you have a local domain ...
[3:42] <clever> search localnet
[3:42] <clever> nerdboy: i made a custom top level domain for my stuff
[3:43] <nerdboy> then add that after the nameserver line
[3:43] <nerdboy> either search <domain_name> or domain <domain_name>
[3:43] <nerdboy> search is for when you need to list more than one domain
[3:44] <greenleaf108> Can anyone think of other default services besides rsyslog that might write to the filesystem on a default Raspbian install? I'm trying to disable anything that might want R/W access.
[3:44] * flowsnake (~flowsnake@cpc26-aztw25-2-0-cust894.aztw.cable.virginmedia.com) has joined #raspberrypi
[3:44] * nx5_off (~nap@unaffiliated/nx5off/x-000000001) Quit (Ping timeout: 260 seconds)
[3:44] <nerdboy> clever: are you running a network manager tool?
[3:44] <clever> greenleaf108: dont have to, things still work if you dont
[3:45] <clever> nerdboy: i usualy avoid those, much simpler
[3:45] <nerdboy> connman, wicd, network-manager ?
[3:45] <greenleaf108> clever: Yea, I'm just kind of OCD about that sort of thing
[3:45] <clever> greenleaf108: one sec
[3:45] * nx5_off (~nap@unaffiliated/nx5off/x-000000001) has joined #raspberrypi
[3:46] <nerdboy> clever: if not, then it should respect your settings in /etc/network/interfaces
[3:46] <clever> nerdboy: my network works perfectly fine
[3:46] <nerdboy> k
[3:47] <clever> hmmm, what was that regex syntax, *googles*
[3:47] <nerdboy> although dhcp will overwrite your resolv.conf unless you tell it not to
[3:47] <clever> yeah, i had it right, /me kicks grep
[3:48] <nmpro> this is driving me crazy I cannot find install from zip anywhere
[3:48] <nerdboy> it doesn't seem to put back the static DNS config unless you also set the interfaces file
[3:48] <greenleaf108> clever: what about ntp's drift file? Maybe I should move that onto some kind of ramdisk?
[3:48] <nerdboy> *in
[3:48] <clever> greenleaf108: lsof|egrep '^[^ ]* *[^ ]* *[^ ]* *[0-9]*w' --color
[3:48] <clever> as root
[3:48] <nerdboy> greenleaf108: there's no clock, so no dripft...
[3:49] <nerdboy> *drift even
[3:49] <clever> greenleaf108: this lists nearly everything that is open in write mode
[3:49] <nerdboy> makes for a nice time jump on bootup when ntp sets the time...
[3:49] <nmpro> lol... foound it
[3:50] <clever> nmpro: what was it?
[3:50] <poli> nerdboy: there is a drift file
[3:51] <poli> nerdboy: must compare to frequency clock drift, probably
[3:51] <greenleaf108> So the only two I'm concerned about are these: /var/run/wpa_supplicant/wlan0 and /var/lib/dhcp/dhclient.wlan0.leases
[3:51] <clever> greenleaf108: double check the output of mount, are those truely on the rootfs?
[3:52] * KwisA is now known as Dreamingpup
[3:52] <nerdboy> huh, mine is empty...
[3:52] * nx5_off (~nap@unaffiliated/nx5off/x-000000001) Quit (Quit: Disconnecting from stoned server.)
[3:52] <poli> nerdboy: mine are close to -40
[3:53] <nerdboy> maybe the version in yocto is wonky...
[3:53] * harish (~harish@ Quit (Ping timeout: 276 seconds)
[3:53] <nerdboy> it works fine keeping time
[3:53] <poli> I wonder what if I mount root ro
[3:54] <clever> poli: ive done it, it still boots and runs just fine
[3:54] <poli> clever: good ;) Maybe I will let the system run for a bit to get a drift reading and then ship it ro
[3:54] * nx5_off (~nap@unaffiliated/nx5off/x-000000001) has joined #raspberrypi
[3:54] <poli> in hope that the drift won't change, of course
[3:55] <poli> I wonder if it will have right reading with a RTC connected
[3:55] <clever> poli: in theory, the heavy polling it does early on should notice any major drift, and compensate for it early
[3:55] <clever> ntpq does poll things to death when it first syncs
[3:56] <poli> I remember checking the drift on sparcs
[3:56] <poli> seems like a random file
[3:56] <poli> seemed
[3:56] <greenleaf108> clever: I think they are...it appears that /var is on the root partition.
[3:57] <clever> greenleaf108: let me double-check mine
[3:57] <poli> ntp would just crash on some error-prevention so great was the drift
[3:57] <greenleaf108> clever: I found this but it looks a bit involved http://wiki.debian.org/ReadonlyRoot
[3:57] <nmpro> I'm sorry.. But raspbmc blows goats compared to this
[3:57] <clever> greenleaf108: thats if you want /usr and /home to still be r/w
[3:57] <clever> which is not really needed in your case
[3:58] <clever> first i'll check to see whats open r/w, hmmm 66 files
[3:58] <clever> some logs in /var/log, and /var/lib/dhcp/dhclient.eth0.leases and /run/rpc.statd.pid
[3:59] <clever> theres already a tmpfs on /run, but nothing on /var/lib yet
[3:59] * clever reboots
[3:59] * timmmaaaayyy (~timmmaaaa@cpe-68-175-79-100.nyc.res.rr.com) Quit (Ping timeout: 246 seconds)
[3:59] <greenleaf108> clever: So yea, that's what I'm worried about. If the RPi can't get a DHCP address or connect to wifi, I've got to dig out monitor and keyboard to triage it.
[4:00] <greenleaf108> here's another tutorial that looks useful; I might look into this later: http://www.raspberrypi.org/phpBB3/viewtopic.php?p=213440
[4:00] <clever> dhcp still worked
[4:00] <clever> even with a read-only root
[4:00] <nerdboy> ro-rootfs generally involves volatile stuff mounted to tmpfs
[4:00] <greenleaf108> clever: Ok, interesting.
[4:00] <greenleaf108> maybe I'll try it
[4:00] <nerdboy> volatile as in /var/log, /tmp, /var/tmp...
[4:00] <clever> greenleaf108: also, dhclient.eth0.leases is not needed to run
[4:01] <clever> greenleaf108: that file is used to restore the ip if the dhcp server is down, at the next bootup
[4:01] <clever> if your lease hasnt expired yet
[4:01] <greenleaf108> clever: Ok, I'll try it. Hold onto yer butts
[4:01] <clever> loosing that file simply means you wont get an IP until the dhcp server comes up
[4:02] <clever> tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=37852k)
[4:02] <clever> also, i didnt add this to my fstab!
[4:02] <clever> it magicaly came out of nowhere!!
[4:02] <nerdboy> part of the raspbian config i'd suspect...
[4:02] <clever> the init scripts are smart enough to detect this 'problem' and toss in a solution
[4:03] <nerdboy> there's a volatile config for openembedded
[4:03] <greenleaf108> Booyah root@raspberrypi:/# touch testfile
[4:03] <greenleaf108> touch: cannot touch `testfile': Read-only file system
[4:03] <clever> greenleaf108: so the only issue, would be the rw on bootup
[4:03] <greenleaf108> Nice, now hopefully the bugger is a bit more resilient to the occasional power outage or accidental unplugging
[4:03] <clever> greenleaf108: i think the kernel mounts it rw by default, and then your init scripts switch it to ro
[4:04] <clever> giving you a couple seconds of time to fry it :P
[4:04] <greenleaf108> that's ok; i like to live dangerously
[4:04] <clever> edit /boot/cmdline.txt and add ro at the end, with a space
[4:04] <clever> and dont forget to ro /boot as well, thats even more important
[4:04] <nerdboy> if you end up needing writable but persistent you should probably carve out a small partition
[4:04] * LaxWasHere is now known as LaxWasThere
[4:05] <clever> greenleaf108: also, you cant modify fstab anymore to undo it!, lol
[4:05] <clever> mount / -o remount,rw
[4:05] <greenleaf108> lol, i can't edit /etc/fstab anymore
[4:05] <nerdboy> chromeos os ais mostly ro, but has a "stateful" partition
[4:05] <nerdboy> typos galore
[4:05] * ReggieUK (ReggieUK@ Quit ()
[4:05] <clever> greenleaf108: the above command lets you switch it to rw mode, and can also be used to switch to ro
[4:06] <clever> but going back to ro means stopping all apps that have a file open for writting (none in this case)
[4:06] <nerdboy> mount -o remount,ro / when you're done
[4:06] * plugwash (~plugwash@ Quit (Ping timeout: 248 seconds)
[4:06] <clever> nerdboy: i have forced my router to read-only mode by hand, and ran fsck on it
[4:06] <clever> while it was still routing all traffic
[4:07] <greenleaf108> clever: thanks again for all the help. This particular Pi is part of an "appliance", so it doesn't need writable storage
[4:07] <clever> i had to manualy track down and stop EVERTTHING that had a r/w handle
[4:07] <clever> then mount the disk ro
[4:07] <clever> but in greenleaf108's case, it booted up ro, so those apps would have given up
[4:07] <greenleaf108> It powers a "weather orb", which is basically a BlinkM LED inside a glass orb. It matches colors to the temperature outside
[4:07] <nerdboy> yeah, painful on a running system not used to ro mounts
[4:08] <nerdboy> greenleaf108: my wife will want one of those...
[4:10] * devslash (~devslash@unaffiliated/devslash) Quit (Ping timeout: 245 seconds)
[4:10] * double-you (~Miranda@188-193-36-2-dynip.superkabel.de) Quit (Quit: ja)
[4:11] <nerdboy> with the pi openembedded image and some rw mount options, it pretty stops writing to the card except when it has to
[4:11] <nerdboy> *pretty much
[4:11] <greenleaf108> nerdboy: The ladies dig it! I wrote in some logic to deal with extreme weather, storms, etc. https://github.com/scarolan/weather_orb
[4:11] <nmpro> clever: I ran the ntpdate but the gui still shows wrong time and date
[4:12] <nerdboy> greenleaf108: is that you? => Sean Carolan
[4:12] <nerdboy> nm...
[4:12] <greenleaf108> nerdboy: Yep!
[4:13] * davezZz is now known as davesleep
[4:13] <nerdboy> yeah, right after i said that i looked at your irc info...
[4:14] <nerdboy> that's me => https://github.com/sarnold/meta-raspberrypi
[4:14] <clever> greenleaf108: my project is the oposite, it reads the current temp and makes graphs
[4:14] <clever> greenleaf108: http://ext.earthtools.ca/export/temps_59.html
[4:14] <sraue> nmpro, what you mean with wrong time? how much wrong?
[4:14] * Hydra (~Hydra@ Quit (Read error: Connection reset by peer)
[4:14] <clever> it currently doesnt use the pi, but i plan to use a pi for a similar task
[4:15] <nmpro> its 8:14pm here but it shows 2:15 am
[4:15] <clever> nmpro: thats timezone, not time
[4:15] <greenleaf108> Nice!
[4:15] <clever> greenleaf108: the graphs go back about 13 months
[4:16] <poli> clever: I shoot temperature reading into a rails server :)
[4:16] <nerdboy> at least that's my most pi-related project...
[4:16] <clever> poli: i'm already pro at cacti :P
[4:16] <clever> i just stuck a bit of code into my c++ daemon to let cacti poll it
[4:16] <sraue> nmpro, you can change in xbmc your language and timezone
[4:16] <greenleaf108> So Chef (configuration management software) is now supported on on the RPi...I'm thinking of getting one to demo at a devops meetup. Where's the best place to buy a raspberry pi these days? Amazon?
[4:16] <poli> clever: I have a multi-client multi-site application... don't know if cacti would do.
[4:16] <nmpro> sraue: where?
[4:17] <nerdboy> okay, so you've got an extensive internal sensor network... is it 1-wire?
[4:17] <nmpro> nevermind .. found it
[4:17] <clever> poli: if you can access it over port 161 udp, it will work
[4:17] <nerdboy> clever: ^^
[4:17] <clever> poli: but depending on the client, you may want a seperate cacti install for each client
[4:17] <nerdboy> sensor hardware?
[4:17] <clever> nerdboy: ds18b20's
[4:18] <clever> all on the same pin of an atmega
[4:18] <poli> up to 10
[4:18] <poli> for the raspi
[4:18] <nerdboy> ah
[4:18] <poli> I love those 18B20s
[4:18] <poli> And they are soooo cheap
[4:18] <nerdboy> was looking at some arduinos the other day
[4:18] <nerdboy> seemed like pretty good value
[4:19] <clever> nerdboy: i think of arduinos as duct-taping oven pits on an austic kid :P
[4:19] <nmpro> sraue: I bought the codes for raspberry how do I install them?
[4:19] <clever> he cant hurt himself or others
[4:19] <clever> but he is severely limited in what he can do
[4:19] <nmpro> sorry codecs
[4:19] <clever> nmpro: it goes into config.txt
[4:19] <sraue> nmpro, "mount -o remount,rw /flash" then "nano /flash/config.txt"
[4:20] <clever> decode_MPG2=0x888d0ee8
[4:20] <clever> like that
[4:20] <clever> its based on the hardware serial#, so my code is useless :P
[4:21] <nerdboy> never played with one, but the solar pi guy had one interfacing between the pi and his power controller
[4:21] <poli> what other nice 1-wire sensors are there out there?
[4:21] <poli> I only know of the temp ones
[4:21] <greenleaf108> clever: When I saw the price of the wifi shield for arduino, I was done with it. The $11 usb dongle for raspberry pi is much easier on the wallet
[4:21] <clever> poli: gpio expanders, and some others
[4:22] <nerdboy> poli: temp/humidity at leats
[4:24] <nmpro> which config do I put it in.. I see two in different locations of the config file
[4:24] * harish (harish@nat/redhat/x-rytygvjzxzdpshts) has joined #raspberrypi
[4:24] <nmpro> one location is in /flash
[4:25] <nmpro> the other location is /usr/share/bootloader/
[4:26] <nerdboy> there's the budget 1-wire weather kit with anemometer/temp/humidity in a little plastic shell
[4:26] <poli> nerdboy: where?
[4:26] <nerdboy> was less than $100 iirc
[4:27] * Firehopper (~Firehoppe@pool-71-185-121-114.phlapa.east.verizon.net) Quit (Quit: Leaving)
[4:27] <poli> railfall? :)
[4:27] <nerdboy> some little company in mexico i think
[4:27] <poli> rainfall
[4:27] <nerdboy> no rain gauge or barometer in the kit
[4:27] <nmpro> clever: which location or do I need to mount it first
[4:27] <nerdboy> but you can buy them separate
[4:27] <clever> nerdboy: for what?
[4:28] <clever> nerdboy: ah, /boot/ normaly
[4:28] <nerdboy> make your own surface obs, i guess...
[4:28] <clever> nerdboy: the file should already exist
[4:28] <nerdboy> you mean nmpro?
[4:29] <nmpro> hu?
[4:29] <clever> yeah, tab complete messed up
[4:29] <clever> and you cut in :P
[4:29] <clever> it goes to whichever n name spoke last
[4:30] <clever> nmpro: what do you see in /boot/ ?
[4:31] * Datalink|Elsewhe (~Datalink@unaffiliated/datalink) has joined #raspberrypi
[4:31] * sleetdrop (~sleetdrop@ has joined #raspberrypi
[4:32] * Datalink (~Datalink@unaffiliated/datalink) Quit (Ping timeout: 240 seconds)
[4:32] * enque (~enque@ip70-160-27-9.hr.hr.cox.net) has joined #raspberrypi
[4:37] <sraue> nmpro, its in /flash <sraue> nmpro, "mount -o remount,rw /flash" then "nano /flash/config.txt"
[4:38] * Mosselman (~Mosselman@vhe-451801.sshn.net) has joined #raspberrypi
[4:40] * Mosselman (~Mosselman@vhe-451801.sshn.net) Quit (Client Quit)
[4:41] <nmpro> sraue: I got it.. now trying to get wifi working.. thats network 2 correct?
[4:42] <sraue> better use OpenELEC-3.1.3 has better wifi support
[4:42] <sraue> you actually run 3.0.6 or so?
[4:42] <nmpro> I did.. I reload using the 3.0.6
[4:42] <nmpro> sraue: is there a scan tool for ssid?
[4:43] <sraue> nmpro, use 3.1.3 update like its written here: http://wiki.openelec.tv/index.php?title=Updating_OpenELEC#Manually_Updating_OpenELEC
[4:43] <sraue> you will see its much better and easyer
[4:44] * Xark (~Xark@unaffiliated/xark) has joined #raspberrypi
[4:44] <nmpro> I've came to far to reload everthing
[4:46] <sraue> update means the OS will be updated... your settings will not be touched
[4:46] <sraue> if you do this the way like here: http://wiki.openelec.tv/index.php?title=Updating_OpenELEC#Manually_Updating_OpenELEC
[4:47] * donkeybox (~david@pool-71-162-119-51.bstnma.fios.verizon.net) Quit (Remote host closed the connection)
[4:47] <nmpro> I;m using linux only
[4:48] <cornflaku> cant even do it, gotta play my vidya
[4:48] * debenham (~cjd@ Quit (Ping timeout: 264 seconds)
[4:49] * imRance (~Rance@ Quit (Quit: Leaving.)
[4:50] * KidBeta (~KidBeta@hpavc/kidbeta) Quit (Ping timeout: 240 seconds)
[4:51] * debenham (~cjd@ has joined #raspberrypi
[4:52] * donkeybox (~david@pool-71-162-119-51.bstnma.fios.verizon.net) has joined #raspberrypi
[4:53] <sraue> nmpro, you can copy via ssh/scp too: "mkdir /storage/.update" and copy all 4 files from target/ folder there via ssh/scp and reboot
[4:54] * applegekko (~applegekk@gateway/tor-sasl/applegekko) Quit (Ping timeout: 240 seconds)
[4:54] * donkeybox (~david@pool-71-162-119-51.bstnma.fios.verizon.net) Quit (Read error: Connection reset by peer)
[4:55] * donkeybox (~david@pool-71-162-119-51.bstnma.fios.verizon.net) has joined #raspberrypi
[4:56] <nmpro> sraue: I'm pretty happy with the version im on.. so your saying the next version is best for wifi support?
[4:56] <sraue> yes
[4:57] <nmpro> ok..so i can just untar the file over /flash
[4:57] * imRance (~Rance@ has joined #raspberrypi
[4:57] <sraue> nmpro, http://openelec.tv/images/site/gallery/openelec-3.1/screenshot014.geaendert.png
[4:58] <sraue> no untar the file and copy the content from folder "target" (SYSTEM, KERNEL, SYSTEM.md5 and KERNEL.md5) to /storage/.update on your RPi (before create /storage/.update)
[4:59] <nmpro> nice
[4:59] <nmpro> ok.. I am trying now
[4:59] * _cheney (~cheney@nat.sierrabravo.net) Quit (Read error: Connection reset by peer)
[5:00] * _cheney (~cheney@nat.sierrabravo.net) has joined #raspberrypi
[5:02] * aphadke (~Adium@c-71-198-6-18.hsd1.ca.comcast.net) has joined #raspberrypi
[5:02] * Shirakawasuna (~Shirakawa@184-77-202-94.war.clearwire-wmx.net) has joined #raspberrypi
[5:03] * aphadke (~Adium@c-71-198-6-18.hsd1.ca.comcast.net) has left #raspberrypi
[5:03] * debenham (~cjd@ Quit (Ping timeout: 276 seconds)
[5:04] * KidBeta (~KidBeta@hpavc/kidbeta) has joined #raspberrypi
[5:05] <nmpro> sraue: ok.. I am scp the whole update to .update but your saying I should only leave the folders/files u specified?
[5:06] * shaon (~shaon@unaffiliated/shaon) has joined #raspberrypi
[5:06] <sraue> in /storage/.update only the files SYSTEM, KERNEL and both md5 should go
[5:06] <nmpro> ok
[5:07] <nmpro> then reboot?
[5:07] <sraue> then reboot
[5:07] <nmpro> stand by
[5:08] <nmpro> sraue: ok reboot now
[5:09] <nmpro> its saying operation not permitted
[5:09] <nmpro> for those files in .update
[5:09] <nmpro> do I need to set a certian permission?
[5:09] <sraue> no...
[5:10] <sraue> you try to copy to /storage/.update?
[5:10] <nmpro> nevermind.. its asking me to select ssid
[5:10] <nmpro> lol
[5:10] <nmpro> damn nice!!!
[5:12] <nmpro> sraue: thanks man .. its working great..
[5:12] <nmpro> let me know if you guys need a mirror .. I have a server not doing anything w/ 1000mb available
[5:13] * lys (~user@cpe-68-173-235-75.nyc.res.rr.com) Quit (Quit: lys)
[5:15] * lifelike (~lifelike@192-0-171-166.cpe.teksavvy.com) Quit (Read error: Connection reset by peer)
[5:16] * \\Mr_C\\ (mrc@adsl-98-89-23-22.mgm.bellsouth.net) Quit ()
[5:16] <nmpro> I'm glad I upgrade .. found my wifi no problem
[5:16] * lifelike (~lifelike@192-0-171-166.cpe.teksavvy.com) has joined #raspberrypi
[5:16] <sraue> nmpro, actually we dont need mirrors... if you have further questions we are in #openelec
[5:17] <nmpro> thanks
[5:17] <sraue> going to bed now :-)
[5:20] * lifelike (~lifelike@192-0-171-166.cpe.teksavvy.com) Quit (Read error: Connection reset by peer)
[5:20] * lifelike (~lifelike@192-0-171-166.cpe.teksavvy.com) has joined #raspberrypi
[5:22] * sleetdrop (~sleetdrop@ Quit (Read error: Connection reset by peer)
[5:23] * mu (~mu@unaffiliated/mu) Quit (Quit: Ich sage euch: man muß noch Chaos in sich haben, um einen tanzenden Stern gebären zu können.)
[5:24] * mu (~mu@unaffiliated/mu) has joined #raspberrypi
[5:27] * sleetdrop (~sleetdrop@ has joined #raspberrypi
[5:27] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[5:27] <clever> dang is this touch sensor ever sensitive!
[5:28] <clever> it can detect wood or glass making contact with the elements!
[5:28] * bacilla (~karolis@unaffiliated/velkam) Quit (Ping timeout: 240 seconds)
[5:28] <clever> i cant even set it down on anything without getting false hits
[5:29] * savardc (~savardc@iconoclast.caedmon.net) has joined #raspberrypi
[5:30] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[5:33] <Ladon> so, raspberri pi plugged into powered USB hub's usb power/charge slot, 2x controllers (usb) and then an external hard drive on the hub
[5:33] <Ladon> good idea? bad idea
[5:36] * Piffer (~Piffer@unaffiliated/piffer) Quit (Ping timeout: 240 seconds)
[5:37] * mike_t (~mike@pluto.dd.vaz.ru) has joined #raspberrypi
[5:39] * Piffer (~Piffer@unaffiliated/piffer) has joined #raspberrypi
[5:40] * McBofh (~jmcp@mail.jmcpdotcom.com) has joined #raspberrypi
[5:41] * \\Mr_C\\ (mrc@adsl-98-89-69-216.mgm.bellsouth.net) has joined #raspberrypi
[5:45] * ricksl (~ricksl@pegasus.rutgers.edu) Quit (Remote host closed the connection)
[5:45] * enque (~enque@ip70-160-27-9.hr.hr.cox.net) Quit (Quit: enque)
[5:48] <rikkib> Next day delivery of my RPI and camera $109NZD. Man that was quick. Toll global express package overnight from Australia to New Zealand.
[5:50] * TheSeven (~quassel@rockbox/developer/TheSeven) Quit (Disconnected by services)
[5:50] * [7] (~quassel@rockbox/developer/TheSeven) has joined #raspberrypi
[5:50] * bizarro_1 (~bizarro_1@ Quit (Quit: Leaving)
[5:54] * devslash (~devslash@unaffiliated/devslash) has joined #raspberrypi
[5:58] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[6:01] * sco` (~ross@unaffiliated/sco/x-3425046) has joined #raspberrypi
[6:01] * KidBeta (~KidBeta@hpavc/kidbeta) Quit (Ping timeout: 246 seconds)
[6:01] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[6:04] * Mikelevel (~MoVeWoRk@unaffiliated/mikelevel) Quit (Ping timeout: 248 seconds)
[6:15] * SwK (krice@freeswitch/developer/swk) has joined #raspberrypi
[6:17] * mu (~mu@unaffiliated/mu) Quit (Quit: Ich sage euch: man muß noch Chaos in sich haben, um einen tanzenden Stern gebären zu können.)
[6:26] * Jungle-Boogie (~quassel@unaffiliated/jungle-boogie) has joined #raspberrypi
[6:31] * devslash (~devslash@unaffiliated/devslash) Quit (Ping timeout: 264 seconds)
[6:33] * devslash (~devslash@unaffiliated/devslash) has joined #raspberrypi
[6:37] <johnc-> seems like nobody can get kinect to work on pi
[6:37] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[6:39] * KidBeta (~KidBeta@hpavc/kidbeta) has joined #raspberrypi
[6:40] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[6:41] * sleetdrop (~sleetdrop@ Quit (Quit: Computer has gone to sleep.)
[6:45] * Orion___ (~Orion_@ has joined #raspberrypi
[6:45] * dougiel (~doug@S0106744401495b56.wp.shawcable.net) Quit (Ping timeout: 248 seconds)
[6:45] <clever> johnc-: the hard part is getting somebody who knows what they are doing, and has a kinect
[6:45] * KidBeta (~KidBeta@hpavc/kidbeta) Quit (Quit: Computer has gone to sleep.)
[6:45] <johnc-> everybody and their sister appears to be debugging the usb protocol
[6:46] <Ladon> anybody running PCSX-ReARMed?
[6:46] <clever> johnc-: in theory, anything using libusb should be cross-platform
[6:46] <clever> johnc-: and it just needs to be compiled against the pi, and just work
[6:46] <johnc-> clever, that was my impression too
[6:46] <johnc-> clever, I saw that people are reporting it not working properly though :(
[6:47] <clever> as long as they where not evil and used x86 or 64bit stuff in the host side code
[6:47] * Orion__ (~Orion_@ Quit (Ping timeout: 276 seconds)
[6:48] <johnc-> it'd be nice to see it working
[6:48] <Jungle-Boogie> what are people wanting to do with kinect?
[6:48] <clever> johnc-: yeah
[6:48] <clever> johnc-: have you heard about time of flight 3d sensors?
[6:48] <johnc-> I know the general idea of them, that's about it
[6:48] <johnc-> that's what the new kinect uses isn't it?
[6:49] <clever> johnc-: http://www.youtube.com/watch?v=H4lVbPEYyg8
[6:49] <clever> this shows how the hardware works
[6:49] <clever> at one point, he manualy added a 2 strips of bare copper in the path of the strobe pin, and then adjusted the lenght
[6:49] <clever> and you could see the depth of the entire image shifting
[6:49] <clever> manual delay line
[6:52] <johnc-> I'm more interested in the microphones in it
[6:53] <clever> johnc-: right now, i'm trying to figure out what my i2c problems are
[6:53] <clever> registers 0x00, 0x01, and 0x04 all return the same data, the data that should be in register 0
[6:54] <johnc-> it's been 10 years since I ever knew anything to do with registers lol
[6:56] <clever> from how things behave, it seems that the standard for reading data, is to sent the address in write mode, the register (1 byte)
[6:56] <clever> then start over with the same address in read mode, to read the data
[6:56] * dan2k3k4 (~dan2k3k4@unaffiliated/dan2k3k4) Quit (Remote host closed the connection)
[6:58] <SwK> anyone know a good USB audio chip for use with RPi? (something I can find cheap for use in a custom board)
[7:00] <johnc-> clever, that type of thing is too low level for my current skillset, I'd have to dig into some reading to get up to speed
[7:01] * pksato (~PEBKAC@unaffiliated/pksato) Quit (Quit: Problem Exists Between Keyboard And Chair)
[7:02] * robotarmy347 (~robotarmy@ has joined #raspberrypi
[7:03] * robotarmy347 (~robotarmy@ Quit (Client Quit)
[7:06] <McBofh> clever: is that how the i2c spec says it is supposed to work?
[7:09] * NullMoogleCable (~NullMoogl@cpe-74-74-136-123.rochester.res.rr.com) Quit ()
[7:10] * EchoFox (EchoFox@74-137-33-0.dhcp.insightbb.com) has joined #raspberrypi
[7:11] <clever> McBofh: the i2c spec just says how to read or write bytes, but what you do with that is up to the user
[7:11] <clever> and it doesnt have a read/write mode
[7:12] * VitaBushido (~avem@unaffiliated/avem) has joined #raspberrypi
[7:12] <clever> i think what i'm seeing is a subset, smbus
[7:12] <clever> which is a way to use i2c to implement read/write mode and registers
[7:13] <McBofh> yeah, i have a nodding familiarity with it
[7:16] <clever> McBofh: do you know of some chips that require a repeated start?
[7:16] <McBofh> not really
[7:16] <McBofh> the ones I'm most familiar with are UltraSPARC, and LSI SAS hbas
[7:16] <McBofh> :-D
[7:16] <clever> from what i saw on the scope, its sending the register in a single start+addr+reg+stop
[7:16] <clever> then it does a seperate start+addr+data+stop to read it
[7:17] <clever> which means that a 2nd master in a multi-master setup could mess up (but there is none)
[7:17] <McBofh> yeah
[7:17] <McBofh> have you reviewed the info available at http://www.smbus.org/specs/index.html ?
[7:18] <clever> page 24 of the datasheet does mention it, and it appears to say its optional in single-master setup
[7:18] <McBofh> sorry, missing some context - datasheet for which chip?
[7:18] <clever> McBofh: https://www.sparkfun.com/datasheets/Components/MPR121.pdf
[7:18] <McBofh> ta
[7:19] <clever> register list is on page 8
[7:19] <clever> registers 0/1 are a 16 bit bitmap field of which elements are being touched
[7:19] <clever> register 4/5 is a 16bit adc value
[7:19] * Cy-Gor (~Brian@cpe-70-124-70-140.austin.res.rr.com) Quit (Quit: Leaving)
[7:19] <clever> i first saw the problem, because my python lib implemented 16bit reads as 2 8 byte reads (sending the address for 0 then 1)
[7:20] <clever> due to this problem, it wound up reading register 0 twice, giving useless data for the 2nd byte
[7:20] <clever> now that i'm trying to read register 4/5 to figure out another problem, its still returning 0/1
[7:21] <clever> if i try to read 2 bytes, it will auto-increment properly to the next register
[7:21] <poli> is there some RFID kernel module?
[7:21] <clever> but if i read them seperately, or skip ahead, it keeps going back to 0
[7:21] * NullMoogleCable (~NullMoogl@cpe-74-74-136-123.rochester.res.rr.com) has joined #raspberrypi
[7:21] <clever> poli: what module would it interface to?
[7:22] <McBofh> clever: are you sending an ACK?
[7:22] <clever> McBofh: the hardware at both ends should be handling that automaticaly, i dont seem to have any control over ack
[7:22] <poli> clever: some RFID reader? :)
[7:23] <clever> poli: every reader is different, there is no driver that would work with all
[7:23] <poli> clever: Is there a driver that works for one?
[7:24] <clever> poli: none that i know of, and the only rfid ive played with doesnt require a driver
[7:24] <poli> clever: Why not?
[7:24] <clever> poli: its just a serial output
[7:25] <clever> poli: https://www.sparkfun.com/products/11828 this has a built in antenna and can run on 3.3v supply
[7:25] <clever> wire it directly to the RX pin on the pi, disable everything else reading the serial port, open /dev/ttyAMA0 for reading
[7:25] <clever> no driver needed
[7:26] <poli> clever: thanks
[7:26] <clever> McBofh: page 25 shows an example that clearly has start+addr+reg+stop in write mode
[7:26] <clever> which should be exactly what i'm sending
[7:27] <McBofh> nod
[7:27] <clever> adn it has a typo for the word adn at the bottom, lll
[7:27] <clever> that was hard to type on purpose!, i typed it right while trying to type it wrong!!
[7:27] * McBofh cackles
[7:28] <clever> it also has an example of how to use a repeated start
[7:28] <McBofh> yeah, reading it carefully
[7:29] <poli> I don't know the first thing about RFID. No idea what the different frequencies are for.
[7:29] * zokeber (~Zokeber@unaffiliated/zokeber) has joined #raspberrypi
[7:30] <clever> poli: the reader only works with cards in the same freq
[7:30] <poli> clever: and why are there different frequencies?
[7:30] <poli> different manufacturers? Or is there some technological reason?
[7:30] <clever> a: http://xkcd.com/927/
[7:31] <clever> b: range, card size, power requirements, vendor lockin
[7:31] <clever> lower frequencies may go farther with the same power, but have lower date dates
[7:31] * devslash (~devslash@unaffiliated/devslash) Quit (Quit: Leaving)
[7:33] <poli> date dates?
[7:33] <clever> data rates
[7:33] <poli> oh
[7:33] * owen_ (~owen@ has joined #raspberrypi
[7:33] * darknyan (~darknyan@unaffiliated/darknyan) Quit (Remote host closed the connection)
[7:34] * pm0001 (~pm0001@ has joined #raspberrypi
[7:34] * Turingi (~devon@unaffiliated/devon-hillard/x-7250961) has joined #raspberrypi
[7:34] <clever> going beyong 1 bit per cycle gets complicated really fast, but most stuff is much slower, like 1 bit per 10 cycles or more (just guessing on exact numbers)
[7:34] <clever> beyond*
[7:35] * darknyan (~darknyan@unaffiliated/darknyan) has joined #raspberrypi
[7:36] <poli> speed shouldn't be an issue for the prototype
[7:36] * McBofh (~jmcp@mail.jmcpdotcom.com) Quit (Ping timeout: 240 seconds)
[7:36] <poli> I really have to get some literature before messing around with it
[7:37] <clever> poli: the module i linked, will just spit out the serial# in ascii hex
[7:37] <clever> any time you wave a compatible card near it
[7:38] <poli> clever: nice. thanks.
[7:39] * lbyl (~AS@ has joined #raspberrypi
[7:39] * lbyl (~AS@ has left #raspberrypi
[7:40] * EchoFox (EchoFox@74-137-33-0.dhcp.insightbb.com) Quit ()
[7:42] <clever> hmmm, ive found a way to reliably crash my pi
[7:42] <clever> but i cant figure out why!
[7:43] * bortzmeyer (~stephane@2a01:e35:8bd9:8bb0:21e:8cff:fe76:29b6) has joined #raspberrypi
[7:45] * zokeber (~Zokeber@unaffiliated/zokeber) Quit (Write error: Broken pipe)
[7:45] * McBofh (~jmcp@2001:44b8:2188:f000:8:20ff:feb4:3403) has joined #raspberrypi
[7:48] <McBofh> poli: you might be interested in reading the info at http://en.wikipedia.org/wiki/ISO/IEC_18000
[7:49] <Ladon> anybody use EmulationStation with multiple controllers (SNES, NES, and Genesis)
[7:51] <clever> int bytes = i2c_smbus_read_block_data(fd,0x00,data);
[7:51] <clever> this is enough to crash the entire system solid, but it depends heavily on the data it reads (how many elements i'm touching)
[7:54] * mgottschlag (~quassel@reactos/tester/phoenix64) has joined #raspberrypi
[7:55] * KindOne (KindOne@colchester-lug/silly-fool/donut) Quit (Ping timeout: 246 seconds)
[7:57] * \\Mr_C\\ (mrc@adsl-98-89-69-216.mgm.bellsouth.net) Quit ()
[7:58] * \\Mr_C\\ (mrc@adsl-98-89-69-216.mgm.bellsouth.net) has joined #raspberrypi
[7:58] <clever> McBofh: found more problems!
[7:59] <McBofh> of course :-)
[7:59] <McBofh> which means more opportunities for learning!
[7:59] * McBofh skolls some more kool-aid
[7:59] <McBofh> scary that a read is enough to crash your pir
[7:59] <McBofh> pi
[8:00] <clever> McBofh: http://privatepaste.com/bc229c1a0b
[8:00] <clever> McBofh: from what i understand, this should return 32 bytes every time
[8:00] <clever> but i'm getting 3 or 7 bytes
[8:00] <clever> and it randomly crashes the entire system, with various partial errors
[8:01] <clever> several of them pointed to the scheduling code
[8:01] <McBofh> that's suboptimal, at best
[8:01] <clever> also, it should run kgdb in the serial console, allowing me to backtrace and inspect registers
[8:01] <McBofh> can you hook this chip up to a PC instead, for a counter-example?
[8:01] <clever> but it doesnt get that far
[8:01] <clever> its somehow crashing even the crash recovery code
[8:02] <clever> the only other thing i can use for i2c is the avr, and i was using the pi because the python was much faster/simpler
[8:02] <McBofh> nod
[8:03] <McBofh> this is userland code, rather than kernel, right?
[8:03] <clever> both kinda
[8:04] * clever gets link
[8:04] <McBofh> the privatepaste bit - is that in a driver or app?
[8:04] <clever> https://github.com/raspberrypi/linux/blob/rpi-3.6.y/drivers/i2c/i2c-smbus.c
[8:04] <clever> the bit in the pastebin is userspace
[8:04] <clever> the smbus calls go into here
[8:04] <clever> which calls into the file i just linked
[8:04] <McBofh> either way, I'd see if __u8 *data = calloc(32); helps
[8:04] * dan2k3k4 (~dan2k3k4@unaffiliated/dan2k3k4) has joined #raspberrypi
[8:05] <clever> the python lib to call that also breaks the entire system
[8:05] <clever> and they are likely to have done things right
[8:05] <clever> so i dont think its something that simple
[8:05] <McBofh> that's rather useless then
[8:05] <McBofh> doesn't hurt to make sure that you've got a clean 32 bytes
[8:05] <McBofh> good practice to do so
[8:05] <clever> i thought the stack would work perfectly fine
[8:06] <McBofh> are you getting *any* messages at all?
[8:06] <clever> in the 1st and 3rd read, it got 3 bytes (0x00, 0x01, 0x02) so it didnt reach the register i want (0x04)
[8:06] <clever> so the adc: value is undefined (ignore it)
[8:07] <clever> in the 2nd read, it claims to have read 7 bytes, and the adc value did change
[8:07] <clever> but with only a single sample, its hard to say if thats really an adc count
[8:08] <clever> all i can say is that it doesnt look like the bitmap from register 0
[8:09] * dan2k3k4 (~dan2k3k4@unaffiliated/dan2k3k4) Quit (Ping timeout: 260 seconds)
[8:12] <McBofh> clever: have you hit the googles for clues, btw?
[8:13] <clever> McBofh: not yet
[8:13] <McBofh> https://community.freescale.com/message/103548#103548
[8:14] <clever> my problem hasnt been it being insentivie
[8:14] <clever> but rather, overly sensitive
[8:14] * Out`Of`Control (~Viper@unaffiliated/outofcontrol/x-1373891) Quit (Quit: Free Software, Free Hardware, Free Culture, Free Spectrum)
[8:14] <clever> a piece of wood or glass near the elements is enough to trigger a touch event
[8:15] <clever> but the 30 sec they mention explains why it works fine at first, then gets sensitive
[8:15] <McBofh> right
[8:15] <McBofh> then there are pages like this: http://gitorious.org/freerunner-navigation-board/mpr121/blobs/0a8c16e6cf38ab7a645b91f5c4e4095d006a40ec/kernel/mpr121.c http://www.spinics.net/lists/linux-input/msg14900.html
[8:15] <clever> i was trying to read the raw adc value to see what kind of range it swings arround, with the glass in the way
[8:16] * clever looks
[8:16] <clever> clever@c2d ~/build/pi-linux/drivers $ find|grep mpr
[8:16] <clever> ./input/keyboard/mpr121_touchkey.c
[8:16] <clever> its already in the source tree for the pi!
[8:16] <McBofh> gah ... find * -name \*mpr\*
[8:17] <clever> also, find * isnt good :P
[8:17] <McBofh> depends where you're starting from
[8:17] <McBofh> if you're in /, then no, it isn't good
[8:17] <clever> its already recursive on its own, its the same as rm -rf /*
[8:17] <clever> /.safe/ wont be deleted
[8:17] <clever> let me see whats in mpr121_touchkey.c
[8:18] <McBofh> my point was that you piped to grep, forcing another fork+exec, when find by itself can filter names
[8:18] * McBofh wonders where the topic went to
[8:20] * Turingi (~devon@unaffiliated/devon-hillard/x-7250961) Quit (Read error: Connection reset by peer)
[8:20] <clever> hmmm, it looks very much like the i2c lipo monitor, the actual i2c address is missing
[8:20] <clever> and there are no obvious hints on how to activate it on a given address
[8:21] <clever> and its expecting a keymap to come from some kind of platform data, device tree maybe?
[8:22] <McBofh> the slave addr is covered in table 7 in the datasheet
[8:22] <clever> yep, but i dont see the slave addr in the source code
[8:23] <McBofh> that's where the hardware comes in
[8:23] <McBofh> how have you wired it up?
[8:23] <clever> 0x5a as the address
[8:23] <clever> i think the source is setup so you create a devicetree blob, which defines the keycode for every element, and the i2c slave address
[8:23] <clever> and attach that blob to the hardware
[8:24] <clever> then the driver can just configure itself to whatever hardware its on
[8:24] <clever> but ive never had to use DT before
[8:24] <McBofh> me neither
[8:24] * reindeerflotilla (~reindeerf@d24-150-252-68.home.cgocable.net) Quit (Quit: reindeerflotilla)
[8:26] <clever> let me grep the whole source
[8:26] <clever> clever@c2d ~/build/pi-linux $ grep -r mpr121_platform_data .
[8:26] * sleetdrop (~sleetdrop@ has joined #raspberrypi
[8:26] <clever> so far, no hint of where it comes from, or where its defined, it just magicaly comes out of client->dev.platform_data
[8:26] * sleetdrop (~sleetdrop@ Quit (Client Quit)
[8:28] * djapo (~archie@108-245-234-171.lightspeed.hstntx.sbcglobal.net) has joined #raspberrypi
[8:30] <clever> McBofh: hmmm, the kernel source you linked is different, its hard-coded to 0x5a as the addr
[8:30] * teepee (~teepee@p50845F64.dip0.t-ipconnect.de) Quit (Ping timeout: 240 seconds)
[8:30] <djapo> im getting a kernel error unable to handle kernel null pointer dereference at virtual address i have checked the sd with fsck and everything is fine
[8:31] * teepee (~teepee@p50847B9C.dip0.t-ipconnect.de) has joined #raspberrypi
[8:31] <clever> djapo: does it include a backtrace?
[8:31] <clever> McBofh: http://privatepaste.com/aa89be3905 i dont see how anything can create that struct, ever
[8:32] <clever> McBofh: my best guess, is that the struct is included directly in the device tree, in binary form?
[8:32] * maxinux (maxinux@2001:1868:208::ea7:beef) Quit (Ping timeout: 248 seconds)
[8:33] * KidBeta (~KidBeta@hpavc/kidbeta) has joined #raspberrypi
[8:33] * Out`Of`Control (~Viper@unaffiliated/outofcontrol/x-1373891) has joined #raspberrypi
[8:34] <djapo> clever: it outputs some more text, it gives a Pid and crond from what i can remember i canot see it over ssh i have to connect to a monitor since it happens earlie on
[8:34] * Orion___ (~Orion_@ Quit (Quit: ~ Trillian Astra - www.trillian.im ~)
[8:35] <clever> djapo: panic or oops?
[8:35] <djapo> clever: oops
[8:36] <clever> djapo: run dmesg and you should get the full output
[8:36] * KidBeta (~KidBeta@hpavc/kidbeta) Quit (Client Quit)
[8:37] * dan2k3k4 (~dan2k3k4@unaffiliated/dan2k3k4) has joined #raspberrypi
[8:38] <djapo> clever: i can't it locks up the screen i loose keyboard
[8:38] <clever> djapo: that means it wasnt an oops, but a panic
[8:39] <clever> djapo: do you happen to have an ftdi?
[8:40] * ring0 (ring0@unaffiliated/ring0) Quit (Ping timeout: 245 seconds)
[8:40] <djapo> clever: what is an ftdi?
[8:40] <clever> i'll take that as a no
[8:40] <djapo> is there a way to use the sd card in virtualbox?
[8:40] <clever> about your only option is to try to read the backtrace off the screen, and maybe enable kgdb on the console
[8:41] <clever> it would have to be a vm that supports arm, and the gpio stuff is likely to not work
[8:42] * Alina-malina (~Alina-mal@ has joined #raspberrypi
[8:43] * ppalazon (~ppalazon@ has joined #raspberrypi
[8:44] <djapo> clever: it lloks allot like this http://i.imgur.com/Yt7XQKW.jpg
[8:45] <clever> it says more> at the end, so i suspect that kgdb might be working
[8:45] <clever> but then again, usb keyboard, not sure how that would work...
[8:45] <clever> and the stack trace cut out right before it got usefull!
[8:46] <clever> it looks to be usb related
[8:46] <McBofh> clever: you need cscope for your kernel source
[8:46] <clever> and you where right, it is an oops
[8:46] <clever> but because kgdb is enabled, ooop's halt the system
[8:46] * eigoom (~moogie@absurdcraft.com) Quit (Remote host closed the connection)
[8:46] <clever> djapo: reboot it and check /boot/cmdline.txt, do you see kgdb mentioned?
[8:47] <clever> McBofh: ?
[8:49] <djapo> clever: i see kgdboc=ttyAMA0,115200
[8:49] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[8:50] <clever> djapo: try removing that section, and then reboot again
[8:50] <clever> that should make the oops not halt, allowing you to run dmesg
[8:50] <clever> so you can get the entire error, but you cant use the interactive debugger
[8:51] <djapo> clever: ok, but im sharing a monitor with it so ill be gone untill then, anything im soupposed to be looking at in dmesg
[8:51] <djapo> ?
[8:51] <clever> djapo: network and everything should still work, so you can just pastebin it and send the link here
[8:51] * harish (harish@nat/redhat/x-rytygvjzxzdpshts) Quit (Ping timeout: 256 seconds)
[8:51] * MichaelC (~unknownbl@phpbb/website/Unknown-Bliss) Quit (Ping timeout: 256 seconds)
[8:51] <clever> if the problem isnt too bad
[8:52] * owen_ (~owen@ Quit (Quit: Konversation terminated!)
[8:52] <clever> but it was in the usb code, so hard to say if the keyboard will even work after that,lol
[8:52] * taza (~zap@unaffiliated/taza) Quit ()
[8:52] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[8:54] <djapo> clever: im going to dmesg >> file and then take the sd card into the pc and paste to pastebin ill be back
[8:54] <clever> djapo: ok
[8:54] <Ladon> hmm... 3tb external for 99.99+tax (36.08$/tb) or 4tb for 145 shipped (36.25/tb)
[8:54] <clever> Ladon: i recently got a 4tb internal, its insane huge
[8:54] * Alina-malina (~Alina-mal@ Quit (Read error: Connection reset by peer)
[8:54] <clever> Filesystem Size Used Avail Use% Mounted on
[8:54] <clever> rob1:/media/videos/4tb/
[8:54] <clever> 3.7T 984G 2.7T 27% /media/videos/4tb
[8:54] <Ladon> clever, I have 5tb in my HTPC, need more :(
[8:55] <clever> ive been trying to fill it for a month now, and its only this full :P
[8:55] * Pitel_IPEX (~pitel@gatekeeper.bm.ipex.cz) has joined #raspberrypi
[8:55] <Ladon> down to ~400GB free
[8:55] <clever> the best ive done is rescue my other drives that had <1gig free :P
[8:55] <clever> also, cacti cant graph it!
[8:55] <clever> root@theP4:~# snmpwalk rob1 . -v 2c -c public
[8:55] <clever> UCD-SNMP-MIB::dskAvail.2 = INTEGER: -2147483648
[8:55] <clever> the free disk space is negative
[8:55] <Ladon> that means you have an infinity drive
[8:56] <clever> i believe its due to a 32bit snmp, or just a very old snmp
[8:56] <McBofh> I'll sign you another bit
[8:56] <McBofh> btw, the comment re cscope was referring to the utility, cscope, which lets you interrogate a source tree
[8:56] <clever> ah
[8:56] <McBofh> eg, to see where structures get used, or variables get assigned to
[8:57] <McBofh> I use it every day
[8:57] <clever> sounds like mxr
[8:58] * Alina-malina (Alina-mali@ has joined #raspberrypi
[8:58] * ring0 (ring0@unaffiliated/ring0) has joined #raspberrypi
[9:00] * sandeepparitala1 (~sandeep@ has joined #raspberrypi
[9:03] <clever> McBofh: you know about isa and pci?
[9:04] <McBofh> I avoid ISA as much as possible, since we removed support for it in Solaris for all but 2-3 drivers
[9:04] <McBofh> yes, have some familiarity with PCI and PCI-e
[9:04] <clever> the problem with isa, is that you need to know what you have
[9:04] <McBofh> indeed
[9:04] <clever> pci has config registers, so you can ask the card what it is
[9:04] <clever> arm and all of its stuff, and i2c as well, is a bit of a step backwards, towards isa
[9:05] * djapo (~archie@108-245-234-171.lightspeed.hstntx.sbcglobal.net) Quit (Ping timeout: 268 seconds)
[9:05] <clever> the linux kernel doesnt know what i put on the i2c bus
[9:05] <clever> device tree appears to be the solution, it describes everything on the hardware end, so the kernel can be configured properly
[9:06] <McBofh> one thing we realised very, very early-on with Solaris is that busses which are not self-identifying are insufferable pains in the arse
[9:06] * StathisA (~StathisA@athedsl-376185.home.otenet.gr) has joined #raspberrypi
[9:06] <clever> in this case, i know exactly what i put on the bus
[9:06] <clever> but i dont know how to inform the kernel!
[9:08] <McBofh> isn't there a driver config file you can beat up on?
[9:08] <clever> i think i need to generate a flattened device tree, and feed it into the kernel at bootup
[9:09] <McBofh> you can probably get away with a static config, given your use-case
[9:09] <McBofh> and on that note... dinner calls
[9:09] <clever> i would have to rewrite the driver to use that
[9:10] * StathisA (~StathisA@athedsl-376185.home.otenet.gr) Quit (Client Quit)
[9:10] * djapo (~archie@ has joined #raspberrypi
[9:11] <djapo> clever: i was able to get an image of the entire trace back where should i upload it too?
[9:13] <clever> commit 36682b81de32090f5c9fac165e71ab8939aab8c0
[9:13] <clever> Author: Zhang Jiejing <jiejing.zhang@freescale.com>
[9:13] <clever> djapo: yeah
[9:14] <clever> McBofh: looks like this driver file was made by a member of the same company that made the chip!
[9:14] <djapo> clever: here it is http://imgur.com/NEozxDK.jpg
[9:14] <clever> djapo: yep, that confirms that it was crashed by an irq within the usb code
[9:15] <clever> i dont know enough about the usb stuff, but you could maybe post that on the forums and see if somebody knows
[9:15] <clever> or file an issue against the firmware repo on git
[9:15] <clever> and explain what you did to break it
[9:15] <djapo> clever: i updated to the latest firmware to break it
[9:15] <clever> does it happen on bootup?
[9:15] <clever> when you run a command?
[9:15] <clever> when you plug something in?
[9:16] <djapo> clever: yes and sometimes after i login
[9:16] <clever> anything special connected to the usb port?
[9:17] <djapo> clever: no i tried it with and withought my usb hub does the same thing
[9:17] <clever> id file an issue against the firmware repo then
[9:18] <djapo> clever: is it at raspberrypi/firmware in git?
[9:18] <clever> yeah
[9:21] * tanuva (~tanuva@HSI-KBW-046-005-002-156.hsi8.kabel-badenwuerttemberg.de) has joined #raspberrypi
[9:22] * jlf (~user@pdpc/supporter/active/jlf) Quit (Ping timeout: 240 seconds)
[9:25] * harish (~harish@ has joined #raspberrypi
[9:28] * jlf (~user@pdpc/supporter/active/jlf) has joined #raspberrypi
[9:28] * benonsoftware (benny@ubuntu/member/benonsoftware) Quit (Ping timeout: 268 seconds)
[9:30] * mike_t` (~mike@pluto.dd.vaz.ru) has joined #raspberrypi
[9:30] * StathisA (~StathisA@athedsl-376185.home.otenet.gr) has joined #raspberrypi
[9:32] * Midnigh2ker (~Toker@unaffiliated/midnightoker) Quit (Quit: Leaving)
[9:33] * sandeepparitala1 (~sandeep@ Quit (Read error: Connection reset by peer)
[9:35] * Turingi (~devon@unaffiliated/devon-hillard/x-7250961) has joined #raspberrypi
[9:36] * sandeepparitala1 (~sandeep@ has joined #raspberrypi
[9:38] * zz_DelphicOkami is now known as DelphicOkami
[9:38] * SgrA (~sgra@gateway/tor-sasl/sgra) Quit (Ping timeout: 240 seconds)
[9:39] * undecim (~undecim@ has joined #raspberrypi
[9:40] <undecim> lsmod reports no modules loaded.... is this normal?
[9:40] * jimerickson (~jimericks@unaffiliated/jimerickson) Quit (Ping timeout: 245 seconds)
[9:40] * jimerickson (~jimericks@unaffiliated/jimerickson) has joined #raspberrypi
[9:41] <undecim> Actually... I also seem to be unable to load modules at all
[9:42] <clever> undecim: does it give an error?
[9:42] * harish (~harish@ Quit (Ping timeout: 256 seconds)
[9:42] <undecim> clever: lsmod gives the headers for the output ("Module Size Used by")
[9:42] <undecim> modprobe never outputs, even if I don't run as root
[9:42] <clever> when you try to load a module, does it give an error?
[9:43] <undecim> I can tell if a module is builtin by trying to rmmod it
[9:43] <undecim> But can't seem to load any modules... dmesg only mentions a failure to load a module
[9:44] <clever> undecim: try running this command, cd /;md5sum --check /var/lib/dpkg/info/module-init-tools.md5sums
[9:44] * Mosselman (~Mosselman@ has joined #raspberrypi
[9:44] <clever> what exactly was the error in dmesg?
[9:44] <undecim> Don't think i have /var/lib/dpkg
[9:45] <undecim> i'm running Arch, which is probably the problem to begin with
[9:45] <undecim> (I should have mentioned that)
[9:45] <clever> what exactly was the error in dmesg?
[9:45] <undecim> [ 5.117095] systemd[1]: Failed to insert module 'ipv6'
[9:45] <undecim> systemd said it, actually
[9:46] * benonsoftware (benny@ubuntu/member/benonsoftware) has joined #raspberrypi
[9:46] <undecim> I'm going to try an update/reboot
[9:46] <clever> try doing modprobe -v ipv6 first
[9:46] * sandeepparitala1 (~sandeep@ Quit (Quit: Leaving.)
[9:47] <undecim> clever: still no output
[9:47] <clever> modinfo ipv6?
[9:47] <undecim> modinfo: ERROR: Module alias ipv6 not found
[9:47] * ppalazon (~ppalazon@ Quit (Read error: Connection reset by peer)
[9:47] <clever> theres your problem
[9:47] <clever> the .ko file doesnt exist
[9:48] <clever> to verify, find /var/lib/ -name ipv6.ko
[9:48] <clever> oops, wait
[9:48] <clever> find /lib/modules/ -name ipv6.ko
[9:48] <undecim> /usr/lib/modules/3.6.11-12-ARCH+/kernel/net/ipv6/ipv6.ko.gz exists
[9:48] <clever> and uname -r says?
[9:49] <undecim> "3.6.11-11-ARCH+" Off by 1...
[9:49] <clever> bam, theres your problem
[9:49] <undecim> So the kernel image in /boot didn't update
[9:49] <clever> your running an old kernel, and trying to load new modules
[9:49] <clever> the system is smart enough to put them in a different place, so it wont even try
[9:50] <undecim> I have the -12 package installed, and no -11 folder in /usr/lib/modules
[9:50] <undecim> Is there anywhere other than /boot that I should expect to find kernel images?
[9:50] <clever> figure out where the kernel image landed, and copy it to /boot/
[9:51] <clever> maybe search the entire partition for 3.6.11-12-ARCH+ and grep out the modules
[9:51] <clever> by default, it expects it at /kernel.img in the fat32 partition
[9:53] * Mosselman (~Mosselman@ Quit (Ping timeout: 246 seconds)
[9:53] * Mosselman (~Mosselman@ has joined #raspberrypi
[9:54] * Mosselman (~Mosselman@ Quit (Client Quit)
[9:55] <undecim> I'll probably just do an upgrade then and see if the mod time on kernel.img changes. I'm 2 versions behind anyways
[9:55] * pkrnj (~pkrnj@bas2-montreal47-1279438707.dsl.bell.ca) Quit (Quit: Textual IRC Client: www.textualapp.com)
[9:56] * clever heads to bed
[9:58] * ninjak (~ninjak@ has joined #raspberrypi
[9:59] * omgmog (~omgmog@ has joined #raspberrypi
[10:00] * tanuva (~tanuva@HSI-KBW-046-005-002-156.hsi8.kabel-badenwuerttemberg.de) Quit (Ping timeout: 264 seconds)
[10:01] * jakeri (~gfgf@a91-154-47-101.elisa-laajakaista.fi) Quit (Ping timeout: 246 seconds)
[10:01] * tomaw (tom@freenode/staff/tomaw) Quit (Quit: Quitting)
[10:01] * oldtopman (~oldtopman@unaffiliated/oldtopman) has joined #raspberrypi
[10:01] * tanuva (~tanuva@2a02:8071:291e:7800:ad26:c65f:4b21:e021) has joined #raspberrypi
[10:02] * tomaw (tom@freenode/staff/tomaw) has joined #raspberrypi
[10:04] * ppalazon (~ppalazon@ has joined #raspberrypi
[10:04] * lansiir (~oldtopman@unaffiliated/oldtopman) Quit (Ping timeout: 268 seconds)
[10:05] * djapo (~archie@ Quit (Quit: leaving)
[10:06] * sphenxes (~sphenxes@91-119-219-198.dynamic.xdsl-line.inode.at) has joined #raspberrypi
[10:06] * heathkid (~heathkid@unaffiliated/heathkid) Quit (Ping timeout: 240 seconds)
[10:08] * murple (c1d552e9@gateway/web/freenode/ip. has joined #raspberrypi
[10:08] * sphenxes01 (~sphenxes@91-119-58-215.dynamic.xdsl-line.inode.at) has joined #raspberrypi
[10:09] * PCJockey (~jeff@c-68-61-22-83.hsd1.mi.comcast.net) has joined #raspberrypi
[10:10] * FR^2 (~frquadrat@farsquare.de) has joined #raspberrypi
[10:11] * harish (~harish@cm32.zeta224.maxonline.com.sg) has joined #raspberrypi
[10:11] * sphenxes (~sphenxes@91-119-219-198.dynamic.xdsl-line.inode.at) Quit (Ping timeout: 248 seconds)
[10:11] * MikeJ1971 (~MikeJ1971@vpn-pat4.nomadic.bris.ac.uk) has joined #raspberrypi
[10:11] <murple> I spent hours yesterday trying to interact with three buttons connected to the GPIO pins of my RPi. I was mostly following this code: https://code.google.com/p/raspberry-gpio-python/wiki/Inputs. I tried using pull ups, pull downs and all sorts of variations in my code but I could never reliably register button presses for three buttons. Can anyone give me some general advice or a good source of information?
[10:12] * espiral (~maze@unaffiliated/espiral) Quit (Ping timeout: 264 seconds)
[10:14] <gordonDrogon> start your testing from the command-line.
[10:14] <gordonDrogon> but what did your circuit look like?
[10:14] <gordonDrogon> buttons are pretty simple - just connect a button to a pin then to 0v and off you go... you don't even need a resistor.
[10:15] * sphenxes01 (~sphenxes@91-119-58-215.dynamic.xdsl-line.inode.at) Quit (Ping timeout: 264 seconds)
[10:16] <gordonDrogon> murple, how are you connecting the buttons?
[10:17] * espiral (~maze@unaffiliated/espiral) has joined #raspberrypi
[10:18] * scorphus (~scorphus@CAcert/User/scorphus) Quit (Ping timeout: 248 seconds)
[10:18] * espiral (~maze@unaffiliated/espiral) Quit (Remote host closed the connection)
[10:20] * geordie (~geordie@S0106001124ed524e.vc.shawcable.net) has joined #raspberrypi
[10:20] <gordonDrogon> oh well. I'l be back in 15.
[10:22] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[10:25] * \\Mr_C\\ (mrc@adsl-98-89-69-216.mgm.bellsouth.net) Quit ()
[10:25] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[10:26] * \\Mr_C\\ (mrc@adsl-98-89-69-216.mgm.bellsouth.net) has joined #raspberrypi
[10:27] * Out`Of`Control (~Viper@unaffiliated/outofcontrol/x-1373891) Quit (Quit: Free Software, Free Hardware, Free Culture, Free Spectrum)
[10:29] * mike_t is now known as Guest59954
[10:29] * mike_t` is now known as mike_t
[10:30] * plugwash (~plugwash@ has joined #raspberrypi
[10:31] <murple> gordonDrogon: Sorry! I had to take a few calls!
[10:32] <murple> gordonDrogon: I tested with both pull-up and pull-down resistors (not together) and a current limiting resistor as shown here: http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/robot/buttons_and_switches/
[10:34] <murple> gordonDrogon: I would really prefer using the "GPIO.add_event_detect" if I can get that working because this project will -hopefully- be running 24/7 for a few years.
[10:39] * willybilly0101 (~willybill@unaffiliated/willybilly0101) has joined #raspberrypi
[10:41] * KindTwo (~KindOne@colchester-lug/silly-fool/donut) has joined #raspberrypi
[10:42] * Adityab (~textual@p4FDD8F12.dip0.t-ipconnect.de) has joined #raspberrypi
[10:44] * darknyan (~darknyan@unaffiliated/darknyan) Quit (Excess Flood)
[10:44] * Adityab (~textual@p4FDD8F12.dip0.t-ipconnect.de) Quit (Client Quit)
[10:45] * darknyan (~darknyan@unaffiliated/darknyan) has joined #raspberrypi
[10:45] * Adityab (~textual@p4FDD8F12.dip0.t-ipconnect.de) has joined #raspberrypi
[10:46] <murple> gordonDrogon: Back in 20 minutes or so.....
[10:49] <gordonDrogon> murple, the first thing is to test it - and that's really easy at the command-line using the gpio utility that's part of wiringPi. Once it's working from the command-line, then you have elimintated hardware issues and can go on to write programs...
[10:49] * reZo (gareth@ has joined #raspberrypi
[10:50] <gordonDrogon> those circuits are neddlessly complex. however the top one is closest to the way I'd do it myself - personally, I'd just connect the gpio pin via a button to 0v but people seem to like the added protection those 2 extra resistors seem to give them though...
[10:50] <gordonDrogon> if using those circuits do not use any pull up or pull down internally.
[10:50] <gordonDrogon> the resistors do it for you.
[10:52] * cart_man (c55781de@gateway/web/freenode/ip. has joined #raspberrypi
[10:52] <cart_man> Hey Guys how to I get DeaDBeef on my Raspberry pi?
[10:53] <cart_man> I have Amarok but it just lags the Raspberry really hard
[10:54] <linuxstb> cart_man: I suspect you will need to lower your expectations of the Pi...
[10:55] <cart_man> linuxstb: No I know that its not a little power house
[10:55] <cart_man> linuxstb: BUT I simply would like a mp3 player that doesnt lag the pi
[10:56] <cart_man> really lightweight
[10:56] * KindTwo is now known as KindOne
[10:56] <linuxstb> mpd? mpg123?
[10:58] <kaste> cmus :P
[11:00] * azeam_afk is now known as azeam
[11:02] <cart_man> linuxstb: No ideas?
[11:02] * double-you (~Miranda@188-193-36-2-dynip.superkabel.de) has joined #raspberrypi
[11:02] <linuxstb> Err, I suggested 2. kaste suggested 1.
[11:03] <cart_man> Oh... sorry mpd and mpg123 didnt seem like much :(
[11:03] <cart_man> ok will try
[11:03] <linuxstb> You didnt want much - "really lightweight"
[11:04] <cart_man> Lol
[11:04] <cart_man> well the thing is I want to be able to let some other processes run smoothly while it plays music
[11:05] <cart_man> Im prototyping and debugging GPS on it
[11:05] <kaste> mpd with ario is probably the thing you want
[11:06] <cart_man> what would ario do though?
[11:08] <cart_man> like the GUI?
[11:08] <kaste> yes
[11:09] <cart_man> I cant seem to launce mpd though
[11:09] <cart_man> through terminal
[11:10] <murple> gordonDrogon: RIght, I was going to ask about that. This setup uses the RPi's internal pull up: GPIO.setup(channel, GPIO.IN, pull_up_down=GPIO.PUD_UP) which I don't need if I use hardware resistors.
[11:10] * djapo (~archie@108-245-234-171.lightspeed.hstntx.sbcglobal.net) has joined #raspberrypi
[11:11] * KidBeta (~KidBeta@hpavc/kidbeta) has joined #raspberrypi
[11:12] <azeam> cart_man: mpd is a server process that you are supposed to control from a client
[11:12] <murple> gordonDrogon: wiringPi is your own library isn't it? Your website turns up in many of my searches, but I've generally shun away due to the seemingly unusual pin numbering. So wiringPi provides a simple command line interface to the GPIO pins is that correct?
[11:13] <cart_man> azeam: Wait soo...what youre saying is that I can make the Raspberry Pi a little media server and control from say... A Cellphone through wifi?
[11:13] <cart_man> Long shit I know but! WOULD be exactly waht I need
[11:13] <azeam> cart_man: yes, exactly
[11:13] <cart_man> Android supported?
[11:13] <linuxstb> Yes, you can get mpd clients for lots of things.
[11:13] <azeam> yes
[11:14] <cart_man> so could youplease tell me everything that I would need to do on the Rasp and Cellphone to be able to do this? Just the apps that I need to download
[11:14] <azeam> I've written an instructables for mpd and pianobar with Android controlling, see http://www.instructables.com/id/Linux-music-server-controlled-by-an-Android-device/#intro
[11:16] <djapo> hi i broke my pacman while downgrading linux-firmware the downgrade was interupted i rebooted tried again pacman complained about a atabase being locked it told me it was safe if i had no other instance running, which i didn't since the pi rebooted, and now it says error could not open file: /var/lib/pacman/local/linux-firmware-20130430-1/desc no such file or directory and then it says conflicting files but when i check w
[11:16] <cart_man> azeam: Thats AWESOME dude!
[11:16] <cart_man> azeam: By the way is there some kind of way that I can make the Raspberry Pi the access point itself and thus removing the home AP from the project?
[11:18] <azeam> cart_man: thanks, it's really a nice solution and I'm using it as my main (atm only in fact) music source for my hifi system, don't understand the second question
[11:19] <linuxstb> djapo: That doesn't sound specific to the Pi - you may get more help in an Arch linux channel (or with google). (I've never used Arch, so can't help)
[11:19] * canton7 (~canton7@li299-15.members.linode.com) Quit (Ping timeout: 248 seconds)
[11:20] <cart_man> The Raspberry had a Wifi dongle hooekd up onto it. And its also in a Car that originally doesnt have a stereo. So now when I drive off and leave the house my HOUSE Access Point would no longer be able to connect my Cellhpne and my Raspberry to each other
[11:20] * bacilla (~karolis@unaffiliated/velkam) has joined #raspberrypi
[11:20] <cart_man> So I would like it to be able to still connect even thought I am not at home
[11:21] <azeam> I see, haven't tried it myself but you could have a look at http://www.rpiblog.com/2012/12/turn-raspberry-pi-into-wireless-access.html
[11:21] * tomeff (~effik@ip-78-45-50-78.net.upcbroadband.cz) Quit (Quit: tomeff)
[11:28] <cart_man> Does the mpd start up automatically aswell on boot?
[11:29] <azeam> cart_man: if you set it up to do so, yes
[11:30] <cart_man> meaing the whole chmod 755 thing should be done
[11:30] <cart_man> Ok...had allot of toruble with that yesterday night :(
[11:31] * djapo (~archie@108-245-234-171.lightspeed.hstntx.sbcglobal.net) Quit (Quit: leaving)
[11:32] * RaycisCharles (RaycisChar@cpc5-lutn10-2-0-cust681.9-3.cable.virginmedia.com) has joined #raspberrypi
[11:32] <azeam> cart_man: here's my mpd init script, http://pastebin.com/bzrmTret do: sudo nano /etc/init.d/mpd and paste the contents, sudo chmod 755 /etc/init.d/mpd and then sudo update-rc.d
[11:33] <azeam> I mean of course sudo update-rc.d mpd defaults
[11:34] * NIN101 (~NIN@p5DD283C5.dip0.t-ipconnect.de) has joined #raspberrypi
[11:35] <linuxstb> azeam: If cart_man is installing from his distro's mpd package, should it already do that?
[11:35] <azeam> linuxstb: it's possible (likely), I don't remember
[11:36] * hyperair (hyperair@ubuntu/member/hyperair) Quit (Ping timeout: 264 seconds)
[11:40] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[11:40] * redarrow (~redarrow@gateway/tor-sasl/redarrow) has joined #raspberrypi
[11:43] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[11:44] * redarrow_ (~redarrow@gateway/tor-sasl/redarrow) Quit (Ping timeout: 240 seconds)
[11:45] * ShorTie (~idiot@unaffiliated/shortie) has joined #raspberrypi
[11:47] <ShorTie> mornin Pi
[11:47] * datagutt (~datagutt@unaffiliated/datagutt) has joined #raspberrypi
[11:50] * Lupinedk is now known as lupinedk
[11:50] * kcj is now known as kcj_
[11:50] <cart_man> linuxstb: Il will check it out quickly and report
[11:50] * kcj_ is now known as kcj
[11:55] * mythos (~mythos@unaffiliated/mythos) Quit (Read error: Operation timed out)
[11:58] * PasNox (~pasnox@2a01:e35:8b4f:f2a0:5d49:c3ad:5297:8db7) has joined #raspberrypi
[12:00] * cccyRegeane_Away is now known as cccyRegeaneWolfe
[12:01] * pm0001 (~pm0001@ Quit (Ping timeout: 264 seconds)
[12:04] * pm0001 (~pm0001@ has joined #raspberrypi
[12:04] * imRance (~Rance@ Quit (Read error: Connection reset by peer)
[12:09] * shabius (~shaburov1@95-27-134-83.broadband.corbina.ru) Quit (Remote host closed the connection)
[12:09] * sandeepparitala1 (~sandeep@ has joined #raspberrypi
[12:09] * mgottschlag (~quassel@reactos/tester/phoenix64) Quit (Remote host closed the connection)
[12:11] * shabius (~shaburov1@95-27-134-83.broadband.corbina.ru) has joined #raspberrypi
[12:11] * mgottschlag (~quassel@reactos/tester/phoenix64) has joined #raspberrypi
[12:17] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[12:21] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[12:24] * PCJockey (~jeff@c-68-61-22-83.hsd1.mi.comcast.net) Quit (Ping timeout: 248 seconds)
[12:28] * cheasee (~cheasee@2001:858:5:2001::25) has joined #raspberrypi
[12:37] * chris_99 (~chris_99@unaffiliated/chris-99/x-3062929) has joined #raspberrypi
[12:38] * Shirakawasuna (~Shirakawa@184-77-202-94.war.clearwire-wmx.net) Quit (Quit: Leaving)
[12:39] * kcj (~casey@unaffiliated/kcj) Quit (Ping timeout: 240 seconds)
[12:58] * mythos (~mythos@unaffiliated/mythos) has joined #raspberrypi
[13:00] * Alina-malina (Alina-mali@ Quit (Quit: Leaving)
[13:01] * pitillo (~pitillo@unaffiliated/pitillo) has joined #raspberrypi
[13:02] <pitillo> hello, does anyone know if current firmware is working right with current 3.6.X kernel?
[13:02] * ruif13 (~ruif13@a89-153-58-111.cpe.netcabo.pt) has joined #raspberrypi
[13:03] <murple> gordonDrogon: "gpio readall" shows the physical pin numbers in the third column, but it's very confusing and strange that pins number 3 and 5 are shown twice in this column. Is that normal??
[13:04] <murple> Also, does anyone know what mode "ALT0" means? Apparently my physical pin 8 is in mode "ALT0" or "ALTO".
[13:04] <ShiftPlusOne> alternative function
[13:05] <murple> ShiftPlusOne: Meaning what??
[13:05] <ShiftPlusOne> Meaning thou shall read thy manual. http://elinux.org/Rpi_Low-level_peripherals
[13:05] * tanuva (~tanuva@2a02:8071:291e:7800:ad26:c65f:4b21:e021) Quit (Quit: Leaving.)
[13:06] <ShiftPlusOne> (Alt 0 Function for that pin: UART0_TXD)
[13:06] <murple> ALT5 = UART1_TXD?
[13:06] <ShiftPlusOne> almost
[13:06] <murple> oh I see...
[13:07] <murple> ShiftPlusOne: Any good suggestions regarding the physical pins showing up twice when running "gpio readall"?
[13:08] <ShiftPlusOne> Can you pastebin the output?
[13:08] * sandeepparitala1 (~sandeep@ Quit (Quit: Leaving.)
[13:08] <murple> http://pastebin.com/QSs93C5F
[13:09] <ShiftPlusOne> Gordon should be around soon, so he'll probably have the answer.
[13:10] * ppalazon (~ppalazon@ Quit (Quit: Leaving)
[13:10] * MichaelC (~unknownbl@phpbb/website/Unknown-Bliss) has joined #raspberrypi
[13:10] <SpeedEvil> murple: Do you accidentally have two Pis?
[13:11] <murple> SpeedEvil: I'm not sure if that was meant as a joke or not, but no, I definetly only have 1 Pi.
[13:11] * sonic (zL2m9AR61I@mars.corewar.org) has left #raspberrypi
[13:12] <murple> wiringPI pins 8 and 17 both seem to be physical pin 3 and both lines show different values High and Low.
[13:13] <ShiftPlusOne> I can't make sense of it
[13:13] <murple> well that's actually comforting, hopefully Mr. Drogon himself will show up sometime soon to clear things up.
[13:17] * timmmaaaayyy (~timmmaaaa@cpe-68-175-79-100.nyc.res.rr.com) has joined #raspberrypi
[13:17] <ShorTie> i'd guess it's just an cross reference lookup error
[13:19] * Ladon (~Ladon@cpe-173-174-44-126.austin.res.rr.com) Quit (Ping timeout: 240 seconds)
[13:20] <ShorTie> are the wiringPi, Mode and Value columes correct ??
[13:20] * reZo (gareth@ Quit ()
[13:22] <murple> ShorTie: I don't have much experience, but as far as I can tell they seem okay? I've been playing with wiringPi pin 8 (first physical 3) and everything seems to be working fine. It does not change wiringPi pin 17. (They are both physical pin 3)
[13:22] <murple> I can set it to be input/output and high/low without any problems.
[13:24] * PCJockey (~jeff@c-68-61-22-83.hsd1.mi.comcast.net) has joined #raspberrypi
[13:27] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[13:27] * tanuva (~tanuva@HSI-KBW-046-005-002-156.hsi8.kabel-badenwuerttemberg.de) has joined #raspberrypi
[13:30] * RaycisCharles (RaycisChar@cpc5-lutn10-2-0-cust681.9-3.cable.virginmedia.com) Quit (Ping timeout: 264 seconds)
[13:30] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[13:30] * PCJockey (~jeff@c-68-61-22-83.hsd1.mi.comcast.net) Quit (Read error: Connection reset by peer)
[13:31] * PCJockey (~jeff@c-68-61-22-83.hsd1.mi.comcast.net) has joined #raspberrypi
[13:34] * goudkov (~goudkov@ has joined #raspberrypi
[13:34] * Exposure (~quassel@524BFBA9.cm-4-4d.dynamic.ziggo.nl) has joined #raspberrypi
[13:34] <goudkov> hi. i'm trying to get a 3g usb modem to work by using option module instead of usbserial. with usbserial, i could provide vendor and product as options. but with the option module, the only way to to it is to echo to new_id. is there a more elegant way to bind the device to that particular driver?
[13:34] * destrudo (~destrudo@ has joined #raspberrypi
[13:34] <destrudo> That's odd, must have parted
[13:35] <destrudo> Since someone else has likely done it
[13:35] <destrudo> anyone got a good display to use with the pi that'll feed me at least 640x480
[13:35] <destrudo> preferably not through the composite video
[13:36] <destrudo> small and as inexpensive as humanly possible
[13:36] <SpeedEvil> destrudo: A broken-digitiser nexus 7 from ebay
[13:37] * ppalazon (~ppalazon@ has joined #raspberrypi
[13:39] <destrudo> Straight up DSI?
[13:39] <destrudo> I'd rather not play with used shit myself... but I guess it's probably more realistic
[13:40] * Joost (~Joost@unaffiliated/joost) has joined #raspberrypi
[13:40] <destrudo> ty ty
[13:40] <mgottschlag> http://www.chalk-elec.com/
[13:40] * Dreamingpup is now known as KwisA
[13:41] <mgottschlag> (didn't try it, but someone here said that it works good for the price)
[13:41] <mgottschlag> and I think that's as cheap as it gets for hdmi
[13:42] <murple> mgottschlag: That looks impressive for the price. Have you tested it yourself?
[13:43] <mgottschlag> no
[13:43] <murple> ok
[13:44] <mgottschlag> http://rpitin.tumblr.com/ <- that person said it was working good enough
[13:44] <destrudo> that's a bit out of my range
[13:44] <destrudo> I guess cheap is truly relative
[13:44] <destrudo> I could pick up a hanns clone for 70 bucks
[13:44] <mgottschlag> yeah, displays are expensive
[13:44] <mgottschlag> such displays anyways, because the production volume is low
[13:44] <destrudo> yes
[13:45] <destrudo> I've got my little oleds, but I happen to need something a bit more
[13:45] <destrudo> and there are too many wires here, going behind the back
[13:45] <murple> destrudo: The board mgottschlag linked to costs half that (35 bucks)
[13:46] <mgottschlag> murple: no, that's just the converter
[13:46] <destrudo> yeah
[13:46] <mgottschlag> the full bundle is 135$
[13:46] <murple> Oh I see.
[13:46] <destrudo> Otherwise I would have hugged him, confessed my love, and bought 2
[13:46] <murple> Well the converter is still a pretty good alternative though isn't? 35$ converter and an old laptop screen from the junk yard?
[13:47] <murple> I've been wanting to hook up an old laptop screen for various projects. That's all that's required right? An hdmi cable, the converter and a laptop screen?
[13:48] <destrudo> Perhaps
[13:48] <destrudo> I'm DIY, but there are some depths I don't desire to go
[13:48] <destrudo> it's not that it's not possible, I am completely capable...
[13:48] <destrudo> it's the time consumption :P
[13:49] <murple> destrudo: You mean that kind of solution would require a lot of time/work? I don't have any experience in it myself, but what requires so much work? Disassembling the LCD screen??
[13:49] <destrudo> I can straight up buy a nexus 7 display for next to nothing
[13:50] <SpeedEvil> destrudo: No - I mwan - simply use it with VNC or something
[13:50] <destrudo> Well, you need to figure out the pinout of your stripped display
[13:50] <destrudo> oh...
[13:50] <SpeedEvil> destrudo: You can't use any DSI things on the Pi.
[13:50] <SpeedEvil> It is unlikely you ever will be able to use random DSI displays.
[13:51] <SpeedEvil> destrudo: Aslo - link to cheap displays
[13:51] <destrudo> http://elinux.org/RPi_Screens#Interfacing_to_non-monitor_LCD_panels
[13:51] <SpeedEvil> (Cheap nexus 7 ones)
[13:52] * bizarro_1 (~bizarro_1@80.Red-88-19-138.staticIP.rima-tde.net) has joined #raspberrypi
[13:54] <destrudo> it theoretically exists, but the drivers don't exist because of nodocs
[13:54] <SpeedEvil> Same with CSI - there isn't a generic driver AIUI
[13:55] * ukscone (~Adium@cpe-24-193-113-179.nyc.res.rr.com) has joined #raspberrypi
[13:55] <destrudo> A man can dream and then spend 70 bucks on a 16" hdmi display
[13:56] * mythos (~mythos@unaffiliated/mythos) Quit (Ping timeout: 246 seconds)
[13:57] * DelphicOkami is now known as Meg
[13:57] * Meg is now known as Guest34379
[14:00] <destrudo> These things that take so long to understand
[14:01] * mapee (~User@84-236-89-8.pool.digikabel.hu) has joined #raspberrypi
[14:02] <murple> destrudo: I've never thought of using a screen from a nexus or similar phone. Can that be done and if so how?
[14:03] <destrudo> Won't work unless you work for the controller manufacturer and happen to have access to the docs
[14:03] <destrudo> which you likely don't
[14:03] <SpeedEvil> murple: It can, yes, but it requires a good amount of knowledge
[14:04] <destrudo> and broadcom too
[14:04] <destrudo> Never trust a chip
[14:04] <SpeedEvil> There are displays that can be run through other interfaces than the DSI one, or composite, or HDMI
[14:06] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[14:07] * biacz (~biacz@p5DDF9179.dip0.t-ipconnect.de) has joined #raspberrypi
[14:07] <biacz> hi everyone
[14:08] <biacz> i would like to connect my raspberry pi (model b) via RS232 to a beamer. any links/tips how to proceed?
[14:08] <FR^2> deactivate the console on the serial line and use /dev/ttyAMA0
[14:08] * SirLagz (~SirLagz@ppp121-45-235-228.lns20.per1.internode.on.net) has joined #raspberrypi
[14:09] <biacz> i saw that already in a forum but i cannot imagine the cabling that needs to be done
[14:10] <FR^2> http://elinux.org/RPi_Serial_Connection
[14:10] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[14:10] * shaon (~shaon@unaffiliated/shaon) Quit (Ping timeout: 264 seconds)
[14:11] <destrudo> Oh thank you GOD for linking that, it made me remember that I needed to find those logic level switcher
[14:11] <murple> SpeedEvil: Understood, so it doesn't sound like it's a viable option for me. But the HDMI-> LVDS converter linked to previously surely doesn't require much knowledge/work does it?
[14:11] <biacz> thanks FR^2
[14:12] * user82 (~user82@unaffiliated/user82) has joined #raspberrypi
[14:12] * goudkov (~goudkov@ Quit (Quit: Leaving)
[14:12] * shaon (~shaon@unaffiliated/shaon) has joined #raspberrypi
[14:12] <SpeedEvil> murple: link?
[14:13] <murple> SpeedEvil: http://www.chalk-elec.com/?page_id=1280#!/~/product/category=3094861&id=14647633
[14:13] <murple> SpeedEvil: Seems like a cheap solution since laptop screens are so widely available.
[14:14] <SpeedEvil> Yes, that may work
[14:14] <SpeedEvil> That's quite a reasonable price
[14:14] <murple> SpeedEvil: That's what I thought too.
[14:14] <SpeedEvil> I would wonder about the power consumption.
[14:15] <murple> SpeedEvil: Hmmm... yeah well... something had to make it difficult.
[14:15] <murple> of course there was a catch
[14:16] <SpeedEvil> Also - of course - LCDs often require lots of odd voltage rails, and the connectors can be a major headache.
[14:16] * Guest34379 is now known as DelpicOkami
[14:17] <murple> SpeedEvil: So screw that then.
[14:17] <destrudo> lol
[14:18] <destrudo> You could go balls in, try to find something relatively well-documented rather than whatever random garbage
[14:18] <destrudo> Of course, I've never done such a thing, but you might find something worthwhile
[14:19] * pecorade (~pecorade@host13-252-dynamic.181-80-r.retail.telecomitalia.it) has joined #raspberrypi
[14:20] <murple> I'm going to try to forget I ever heard mention of a cheap and easy-to-use screen for the RPi. I have more important things to worry about, like getting my buttons to work reliably.
[14:20] <destrudo> Well
[14:20] <destrudo> I can tell you a cheap and easy to use one
[14:20] <destrudo> www.amazon.com/gp/product/B007G3J4EC/
[14:20] <destrudo> ta-da
[14:20] <destrudo> cheap, easy.
[14:20] * user82 (~user82@unaffiliated/user82) Quit (Quit: Verlassend)
[14:21] <destrudo> Unless you need a half decent resolution :P
[14:21] <murple> destrudo: Is that HDMI?
[14:21] <destrudo> lol
[14:21] <destrudo> ...not at that price :P
[14:22] <agent005> would this work. http://www.amazon.com/Plugable-Charger-Adapter-charges-Samsung/dp/B005P2BY5I/ref=lh_ni_t?ie=UTF8&psc=1&smid=A3HIHADV23VGU1 I need something to helo run my alfa awus036nha wifi card plus a portable keyboard
[14:22] <SpeedEvil> The ipad display is well documented.
[14:22] <SpeedEvil> For example
[14:22] <agent005> im also purchasing a 5000mah power pack
[14:22] <murple> destrudo: I can't see what kind of video connection it has, how is it connected to the RPi?
[14:22] <destrudo> the composite
[14:22] <destrudo> NTSC/PAL
[14:23] <murple> destrudo: RCA video out on the RPi?
[14:23] <destrudo> it's an RCA jack, I guess
[14:23] <murple> ok
[14:24] * MrVector (~Vector@host86-135-128-30.range86-135.btcentralplus.com) has joined #raspberrypi
[14:24] <destrudo> it's awful quality, but if you're not doing tiny things like I need to, it doesn't really matter I guess
[14:24] <murple> is it powered directly through from the RPi or separete power source?
[14:25] <murple> destrudo: I won't be needing much quality, so it's looks like a nice fit.
[14:25] <destrudo> External power
[14:25] <murple> destrudo: I'm planning to make a simple project for weighing and measuring shipping packages. So it only needs to display a few values and be easily readable.
[14:25] <destrudo> Composite doesn't as far as I have ever known
[14:26] <destrudo> oh, shit, yeah.
[14:26] <destrudo> That's perfect.
[14:26] <destrudo> Nice big characters
[14:26] <murple> destrudo: What about 220V for Europe? Where is the spec sheet for this thing anyway??
[14:26] * felipealmeida (~user@ has joined #raspberrypi
[14:26] <murple> where are you getting all this nice information from?
[14:26] <destrudo> it probably takes 12vDC in
[14:26] <MrVector> Hello guys! Hope this is the right channel! I'm looking at some bare meteal examples something I'm very confused by is why people declare a GET/PUT32 functions in assembly, and some just do use pointers in c when interacting with the peripherals. What's the difference?
[14:26] * Datalink|Elsewhe is now known as Datalink
[14:26] <destrudo> uh... living.. and doing things
[14:27] * kirin` (telex@gateway/shell/anapnea.net/x-xenbdycappnzmirm) Quit (Ping timeout: 260 seconds)
[14:27] <murple> destrudo: Right, well good luck with that then!
[14:27] <LordDoskias> is there a way to clean the memory which i see by vcdbg reloc?
[14:27] <destrudo> I'm sure you can easily find a 240vac -> 12vdc
[14:27] <murple> destrudo: I meant the specifications, where do you find the specifications for the display?
[14:27] <LordDoskias> or do i have to restart the rpi?
[14:28] <destrudo> it says it right on the page
[14:28] <destrudo> Video Frequency: PAL/NTSC
[14:28] * kirin` (telex@gateway/shell/anapnea.net/x-mhnxujzmfvycejmz) has joined #raspberrypi
[14:28] <destrudo> It's a chinese clone of something, obviously
[14:29] <murple> destrudo: Alright thanks again.
[14:29] <destrudo> I have displays like it here
[14:29] <destrudo> One got hit by a sledgehammer
[14:29] <destrudo> "Modern art"
[14:29] <destrudo> yw for what it's worth
[14:29] <destrudo> if you make something sub-grain-scale tell me
[14:30] * azeam is now known as azeam_afk
[14:32] * Cy-Gor (~Brian@cpe-70-124-70-140.austin.res.rr.com) has joined #raspberrypi
[14:33] * Alfihar (~Yuuka@home.siberios.com) has joined #raspberrypi
[14:33] * tig| (~tig@tig.gotadsl.co.uk) has joined #raspberrypi
[14:35] <mgottschlag> MrVector: there is no difference as long as you declare your C pointers the correct way
[14:35] <murple> Not likely to happen, mostly because I'm not sure what that means.
[14:36] <mgottschlag> actually, there might be some differences due to caching
[14:36] <MrVector> mgottschlag, I've been trying "volatile unsigned int* gpio = (unsigned int*)0x....", but that doesn't seem to work.
[14:36] <mgottschlag> but caching can be handled in C as well, just like in assembler, and those parts are not needed most of the time
[14:36] <MrVector> Have read something about L2 cache, but not seen any definite answers on it :-;/
[14:36] <MrVector> :-/*
[14:36] <destrudo> It's a really really small scale
[14:36] <mgottschlag> how "doesn't it work"?
[14:36] <destrudo> 1 gram is ~15 grains
[14:36] <murple> destrudo: oic
[14:37] <mgottschlag> I mean, error messages?
[14:37] <mgottschlag> or does it just crash the hardware?
[14:37] <MrVector> mgottschlag, I had a blinker01 sample running, removed PUT/GET and used pointers in the manner described above, and didn't get any blinking etc
[14:37] <juliend> hi
[14:37] <mgottschlag> hm, can you show your code?
[14:38] <LordDoskias> is there a way to collect "hung" video memory
[14:38] <juliend> why by default, in /etc/rc.local, there is a code to print ip ?
[14:38] <destrudo> I want something really small that I could diy
[14:38] <destrudo> maybe something with lasers
[14:38] <destrudo> and magnets
[14:38] <juliend> and, where is printed ?
[14:38] * Dovid (~Dovid@static-173-63-105-210.nwrknj.fios.verizon.net) has joined #raspberrypi
[14:38] <MrVector> mgottschlag, unfortunately I don't have access to it right now, this has just been a big question mark ni my head all day that I wanted verified
[14:39] <MrVector> That I wasn't doing something fundamentally wrong
[14:40] <MrVector> Actually I misspoke, I was trying a uart sample, and with my pointers the data that was sent was gibbrish
[14:40] * cart_man (c55781de@gateway/web/freenode/ip. Quit (Quit: Page closed)
[14:42] * mcf3782 (~mcf3782@adsl-065-012-184-148.sip.asm.bellsouth.net) has joined #raspberrypi
[14:42] * Out`Of`Control (~Viper@unaffiliated/outofcontrol/x-1373891) has joined #raspberrypi
[14:43] <MrVector> Well, with this verified I guess I'll keep trying!
[14:47] * ppalazon (~ppalazon@ Quit (Quit: Leaving)
[14:47] * canton7 (~canton7@li299-15.members.linode.com) has joined #raspberrypi
[14:50] * atouk (~kvirc@ool-457e23d5.dyn.optonline.net) has joined #raspberrypi
[14:50] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[14:52] * tektsu (~Adium@wsip-174-79-34-244.ph.ph.cox.net) has joined #raspberrypi
[14:54] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[14:58] * sco` (~ross@unaffiliated/sco/x-3425046) Quit (Read error: Connection reset by peer)
[14:58] * IT_Sean (~Ult_Ubunt@applefritter/IRCStaff/UltimateMacUser1) has joined #raspberrypi
[14:58] * hyperair (~hyperair@ubuntu/member/hyperair) has joined #raspberrypi
[14:59] * IT_Sean slaps ChanServ
[14:59] * ChanServ sets mode +o IT_Sean
[14:59] <IT_Sean> Morning all!
[15:03] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[15:06] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[15:08] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[15:11] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[15:16] * user82 (~user82@unaffiliated/user82) has joined #raspberrypi
[15:16] * mike_t (~mike@pluto.dd.vaz.ru) Quit (Remote host closed the connection)
[15:16] * Guest59954 (~mike@pluto.dd.vaz.ru) Quit (Remote host closed the connection)
[15:16] * atouk hands IT_Sean a coffee and donut
[15:17] * IT_Sean eats the donut
[15:17] * apo (~apo@37-4-107-166-dynip.superkabel.de) has joined #raspberrypi
[15:17] * IT_Sean returns the coffee.
[15:17] <apo> \o
[15:17] <IT_Sean> Vile bean fluid!
[15:18] <IT_Sean> atouk: if you are going to bribe a channel staffer, you should first check to see if they drink coffee or not. That said... the donut was delicious.
[15:19] * murple (c1d552e9@gateway/web/freenode/ip. Quit (Quit: Page closed)
[15:20] <ozzzy> coffee is a great vector for brandy
[15:21] * Kane (~Kane@ADijon-257-1-52-57.w86-204.abo.wanadoo.fr) has joined #raspberrypi
[15:21] <Dyskette> Mmm, bean fluid.
[15:21] <Kane> o/
[15:22] <atouk> if channel staffers can be bribed with just a coffee and donut, then this channel is in real trouble
[15:23] <IT_Sean> ozzzy: I don't drink alcohol either.
[15:23] <atouk> for bribes i breing out the heacy hitters. bagels and cream cheese
[15:23] * SpeedEvil (~quassel@tor/regular/SpeedEvil) Quit (Ping timeout: 256 seconds)
[15:23] <atouk> (heavy)
[15:23] <IT_Sean> atouk: we accept bribes in the form of homemade baked goods, and cash.
[15:23] <ozzzy> leaves more for me
[15:23] <IT_Sean> :p
[15:23] * savardc (~savardc@iconoclast.caedmon.net) has left #raspberrypi
[15:24] * eigoom (~moogie@absurdcraft.com) has joined #raspberrypi
[15:26] * datagutt (~datagutt@unaffiliated/datagutt) Quit (Ping timeout: 240 seconds)
[15:27] * gschoppe (gschoppe@68-112-103-204.dhcp.davl.vt.charter.com) Quit ()
[15:31] <tig|> atouk: cinnemon bagels?
[15:32] * willybilly0101 (~willybill@unaffiliated/willybilly0101) Quit (Ping timeout: 264 seconds)
[15:33] <atouk> Whoa there. Offer one little bribe and people want the good stuff....
[15:33] <IT_Sean> I like salt bagels. And they better be good, NY style big fluffy bagels.
[15:33] <IT_Sean> And fresh.
[15:33] <atouk> naturally. none of that frozen crap
[15:33] <tig|> I keep meaning to have a go at making bagels
[15:33] <IT_Sean> And cream cheese with chives innit.
[15:33] <IT_Sean> mmmm... yeah.
[15:34] <IT_Sean> Good bagels would go a long way with me... Can't get 'em around here
[15:34] <atouk> where's "here"
[15:34] <IT_Sean> it's somewhere where you cannot get really good bagels
[15:36] <atouk> Tehran?
[15:36] * NIN101 (~NIN@p5DD283C5.dip0.t-ipconnect.de) Quit (Disconnected by services)
[15:38] <IT_Sean> No.
[15:39] * lys (~user@cpe-68-173-235-75.nyc.res.rr.com) has joined #raspberrypi
[15:40] * dougiel (~doug@S0106744401495b56.wp.shawcable.net) has joined #raspberrypi
[15:41] * maxinux (maxinux@nizzles.net) has joined #raspberrypi
[15:45] <dougiel> I am going to buys my 2nd pi => how do I change the name of the machine in raspbian?
[15:46] <wbx> just edit /etc/hosts and /etc/hostname
[15:46] <dougiel> wbx thks
[15:47] <wbx> dougiel: or raspi-config -> Advanced Options
[15:48] <dougiel> instaling xbmc on it - raspi-config command line?
[15:48] <wbx> yes, command line
[15:49] <dougiel> hey thanks for the direction wbx :)
[15:49] <wbx> dougiel: if you like xmbc, i would although try openelec
[15:49] <dougiel> oh? do tell...
[15:49] <dougiel> or url?
[15:49] <IT_Sean> Yeah
[15:49] <IT_Sean> OpenELEC is the way to go for xbmc
[15:50] * dougiel changes to learn mode
[15:51] * dougiel googling openelec
[15:51] <arcanescu> the canary.is ... is it based on RPI ?
[15:52] * bsdfox (~Bob@unaffiliated/bsdfox) has joined #raspberrypi
[15:53] * mike_af (~mike_af@50-77-49-46-static.hfc.comcastbusiness.net) has joined #raspberrypi
[15:53] <IT_Sean> the what?
[15:53] <arcanescu> www.canary.is
[15:53] <arcanescu> there was a discussion about it .... on rpi yesterday
[15:54] <arcanescu> so i was wondering if its rpi based or not
[15:54] <IT_Sean> I highly doubt it.
[15:55] <arcanescu> hmmmm
[15:55] * KwisA is now known as Dreamingpup
[15:56] * likarish (~likarish@rrcs-24-103-188-37.nys.biz.rr.com) has joined #raspberrypi
[15:57] * bigbee (~BigB@p57ACD307.dip0.t-ipconnect.de) has joined #raspberrypi
[15:57] * JesseC (~Chumba@wsip-98-175-20-126.br.br.cox.net) has joined #raspberrypi
[15:58] * Mikelevel (~MoVeWoRk@unaffiliated/mikelevel) has joined #raspberrypi
[15:58] * MrVector (~Vector@host86-135-128-30.range86-135.btcentralplus.com) Quit (Read error: Operation timed out)
[16:05] * datagutt (~datagutt@unaffiliated/datagutt) has joined #raspberrypi
[16:06] <atouk> bagels sounded like such a good idea, i just bought a dosen for the minions here at the shop
[16:06] * Repsakka (~notch@88-148-190-245.bb.dnainternet.fi) has joined #raspberrypi
[16:06] <atouk> http://www.atouk.com/images/bagels.jpg
[16:07] * Turingi (~devon@unaffiliated/devon-hillard/x-7250961) Quit (Quit: Leaving)
[16:08] * spacebug_ (~spacebug@h22n5-sde-d2.ias.bredband.telia.com) Quit (Quit: ["Textual IRC Client: www.textualapp.com"])
[16:08] * spacebug^ (~spacebug@h22n5-sde-d2.ias.bredband.telia.com) has joined #raspberrypi
[16:09] <apo> hm
[16:10] <apo> has anybody here successfully used the AM2315 temp/humidity sensor with a pi?
[16:10] <apo> http://p.0au.de/75771cde this doesn't receive anything, but the bcm2835 test program from its library works
[16:11] <apo> My program just gets NACKs
[16:12] * xCP23x (~xCP23x@78-105-36-237.zone3.bethere.co.uk) has joined #raspberrypi
[16:12] * mike_t (~mike@ has joined #raspberrypi
[16:17] * Firehopper (~Firehoppe@pool-71-185-121-114.phlapa.east.verizon.net) has joined #raspberrypi
[16:20] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) Quit (Read error: Operation timed out)
[16:26] * aphadke (~Adium@c-71-198-6-18.hsd1.ca.comcast.net) has joined #raspberrypi
[16:26] * aphadke (~Adium@c-71-198-6-18.hsd1.ca.comcast.net) has left #raspberrypi
[16:28] * jlf (~user@pdpc/supporter/active/jlf) Quit (Ping timeout: 256 seconds)
[16:29] * Megaf (~Megaf@unaffiliated/megaf) has joined #raspberrypi
[16:33] * tfinnamore (~tfinnamor@ylknnt177-147.theedge.ca) has joined #raspberrypi
[16:37] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) has joined #raspberrypi
[16:40] * greenleaf108 (~seancarol@cpe-70-112-52-158.austin.res.rr.com) Quit (Read error: Operation timed out)
[16:43] * Vibe (~Vibe@gateway/tor-sasl/vib3) Quit (Ping timeout: 240 seconds)
[16:43] <apo> hm
[16:43] <gordonDrogon> try using the kernel I2C driver?
[16:43] <apo> SDA and SCL are both high all the time
[16:43] <apo> weird
[16:44] <gordonDrogon> if you can't see it with i2cdetect (-q) then it's not going to work.
[16:45] * Vibe (~Vibe@gateway/tor-sasl/vib3) has joined #raspberrypi
[16:45] * apo emerges that
[16:45] * pm0001 (~pm0001@ Quit ()
[16:49] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) Quit (Read error: Connection reset by peer)
[16:49] * greenleaf108 (~seancarol@cpe-70-112-52-158.austin.res.rr.com) has joined #raspberrypi
[16:51] * Adityab (~textual@p4FDD8F12.dip0.t-ipconnect.de) Quit (Quit: Adityab)
[16:52] * greenlea1108 (~seancarol@cpe-70-112-52-158.austin.res.rr.com) has joined #raspberrypi
[16:52] * h0cin (~h0cin@unaffiliated/h0cin) has joined #raspberrypi
[16:52] * _BigWings_ (~Thunderbi@modemcable237.145-19-135.mc.videotron.ca) has joined #raspberrypi
[16:53] * LaxWasThere is now known as LaxWasHere
[16:55] <pitillo> hello, does anyone know if current firmware is working right with current 3.6.11 kernel? (the /sys/class/thermal stuff)
[16:55] * bigbee (~BigB@p57ACD307.dip0.t-ipconnect.de) Quit (Remote host closed the connection)
[16:55] * AeroNotix (~xeno@abol168.neoplus.adsl.tpnet.pl) has joined #raspberrypi
[16:57] <apo> pie ~ # i2cdetect -l
[16:57] <apo> pie ~ #
[16:57] <apo> well.
[16:59] * shadeslayer (~shadeslay@ubuntu/member/shadeslayer) Quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
[16:59] * _cheney (~cheney@nat.sierrabravo.net) Quit (Read error: Connection reset by peer)
[17:00] * _cheney (~cheney@nat.sierrabravo.net) has joined #raspberrypi
[17:00] * tfinnamore (~tfinnamor@ylknnt177-147.theedge.ca) has left #raspberrypi
[17:00] * jakeri (~gfgf@a91-154-47-101.elisa-laajakaista.fi) has joined #raspberrypi
[17:02] * shadeslayer (~shadeslay@ubuntu/member/shadeslayer) has joined #raspberrypi
[17:03] * jlf (~user@pdpc/supporter/active/jlf) has joined #raspberrypi
[17:03] * ktr_ (~ktr@unaffiliated/kooothor) Quit (Quit: #flood-fr)
[17:03] * Kooothor (~ktr@unaffiliated/kooothor) has joined #raspberrypi
[17:06] * StathisA (~StathisA@athedsl-376185.home.otenet.gr) Quit ()
[17:06] * Orion__ (~Orion_@ has joined #raspberrypi
[17:09] * Sk1d (~Sk1d@wikidata/Sk1d) Quit (Read error: Operation timed out)
[17:14] * mgottschlag (~quassel@reactos/tester/phoenix64) Quit (Ping timeout: 248 seconds)
[17:16] * renderful (~renderful@ip174-73-106-225.br.br.cox.net) has joined #raspberrypi
[17:17] * Sk1d (~Sk1d@wikidata/Sk1d) has joined #raspberrypi
[17:19] * comradekingu (~comradeki@ Quit (Ping timeout: 246 seconds)
[17:22] * SirLagz (~SirLagz@ppp121-45-235-228.lns20.per1.internode.on.net) Quit (Remote host closed the connection)
[17:24] * Adityab (~textual@p4fdd8f12.dip0.t-ipconnect.de) has joined #raspberrypi
[17:25] * comradekingu (~comradeki@ has joined #raspberrypi
[17:29] * mgottschlag (~quassel@reactos/tester/phoenix64) has joined #raspberrypi
[17:29] * lifelike (~lifelike@192-0-171-166.cpe.teksavvy.com) Quit (Read error: Connection reset by peer)
[17:30] * tomeff (~effik@ip-78-45-50-78.net.upcbroadband.cz) has joined #raspberrypi
[17:30] * ExeciN (nicexe@gateway/shell/trekweb.org/x-apyscaypotosyzkz) has joined #raspberrypi
[17:32] * nmpro is now known as Guest1648
[17:32] * Schnuws (~Schnuws@h182n5-n-d4.ias.bredband.telia.com) has joined #raspberrypi
[17:34] * hyperair (~hyperair@ubuntu/member/hyperair) Quit (Ping timeout: 264 seconds)
[17:34] * jerng (~sijuendr@faui06a.informatik.uni-erlangen.de) has joined #raspberrypi
[17:34] * jerng (~sijuendr@faui06a.informatik.uni-erlangen.de) Quit (Client Quit)
[17:35] * nmpro (~mike@50-77-43-125-static.hfc.comcastbusiness.net) has joined #raspberrypi
[17:35] * jerng (~sijuendr@faui06a.informatik.uni-erlangen.de) has joined #raspberrypi
[17:40] * wiiguy (~fake@unaffiliated/wiiguy) has joined #raspberrypi
[17:46] * pecorade (~pecorade@host13-252-dynamic.181-80-r.retail.telecomitalia.it) Quit (Read error: Connection reset by peer)
[17:49] * Repsakka (~notch@88-148-190-245.bb.dnainternet.fi) Quit (Remote host closed the connection)
[17:50] * tomeff (~effik@ip-78-45-50-78.net.upcbroadband.cz) Quit (Quit: tomeff)
[17:54] <poli> McBofh: Thank you very much for the wikipedia link!
[17:55] * jlf (~user@pdpc/supporter/active/jlf) Quit (Ping timeout: 246 seconds)
[17:55] * [SkG] (~sconde@unaffiliated/skg/x-897332) has joined #raspberrypi
[17:56] * likarish (~likarish@rrcs-24-103-188-37.nys.biz.rr.com) Quit (Remote host closed the connection)
[17:56] <dougiel> how do "cp ./*.mp3 ~/Downloads/mp3/*.mp3"
[17:56] <dougiel> really like to move them
[17:56] * xrosnight (~quassel@ has joined #raspberrypi
[17:57] <xrosnight> hi. anyone knows how to find file removed by "rm -rf" command??
[17:58] <IT_Sean> um... if you rm -rf 'd it, it's gone.
[17:58] * likarish (~likarish@rrcs-24-103-188-37.nys.biz.rr.com) has joined #raspberrypi
[17:58] <tig|> xrosnight: you could try powering off the system and then using photorec on the SD card
[17:59] <xrosnight> photorec ?
[17:59] <tig|> ie put it into another machine and run photorec on it, it is a utility for recovering deleted files
[17:59] * xrosnight (~quassel@ Quit (Read error: Connection reset by peer)
[18:00] * datagutt (~datagutt@unaffiliated/datagutt) Quit (Ping timeout: 248 seconds)
[18:00] <tig|> http://www.cgsecurity.org/wiki/PhotoRec
[18:00] * DelpicOkami is now known as zz_DelpicOkami
[18:00] * likarish (~likarish@rrcs-24-103-188-37.nys.biz.rr.com) Quit (Remote host closed the connection)
[18:01] <donta> is the rumor of a new pi true?
[18:01] <IT_Sean> o_O
[18:01] * cccyRegeaneWolfe is now known as cccyRegeane_Away
[18:02] * IT_Sean is now known as IT_Sean[away]
[18:03] <biacz> quadcore!
[18:03] * likarish (~likarish@rrcs-24-103-188-37.nys.biz.rr.com) has joined #raspberrypi
[18:04] * xrosnight (~quassel@ has joined #raspberrypi
[18:04] * datagutt (~datagutt@unaffiliated/datagutt) has joined #raspberrypi
[18:04] <xrosnight> how to delete things throughly
[18:04] <xrosnight> not using rm -rf
[18:05] * Jevermeister (~Jevermeis@unaffiliated/jever) has joined #raspberrypi
[18:06] * xrosnight (~quassel@ Quit (Read error: Connection reset by peer)
[18:07] * Joost (~Joost@unaffiliated/joost) Quit (Quit: Joost)
[18:09] * xrosnight (~quassel@ has joined #raspberrypi
[18:11] * \\Mr_C\\ (mrc@adsl-98-89-69-216.mgm.bellsouth.net) Quit ()
[18:13] * ninjak (~ninjak@ Quit (Quit: Sto andando via)
[18:13] * \\Mr_C\\ (mrc@adsl-98-89-69-216.mgm.bellsouth.net) has joined #raspberrypi
[18:15] * likarish (~likarish@rrcs-24-103-188-37.nys.biz.rr.com) Quit (Remote host closed the connection)
[18:23] * Turingi (~devon@unaffiliated/devon-hillard/x-7250961) has joined #raspberrypi
[18:26] <dougiel> quadcore!
[18:29] * mythos (~mythos@unaffiliated/mythos) has joined #raspberrypi
[18:30] <nmpro> rm -Rf is pretty through ..
[18:31] * DexterLB (~dex@77-85-0-255.btc-net.bg) Quit (Read error: Connection reset by peer)
[18:31] * Firehopper yawns and waits for his udoo
[18:31] * cndiv (~cndiv@wikimedia/cdeubner) has joined #raspberrypi
[18:31] * xCP23x (~xCP23x@78-105-36-237.zone3.bethere.co.uk) Quit (Ping timeout: 240 seconds)
[18:32] * blakespot (~blake@c-68-50-198-15.hsd1.va.comcast.net) Quit (Ping timeout: 260 seconds)
[18:32] * double-you (~Miranda@188-193-36-2-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[18:32] * hyperair (~hyperair@ubuntu/member/hyperair) has joined #raspberrypi
[18:33] * bertrik (~quassel@rockbox/developer/bertrik) has joined #raspberrypi
[18:35] * FR^2 (~frquadrat@farsquare.de) Quit (Quit: Connection reset by peer)
[18:35] * double-you (~Miranda@188-193-36-2-dynip.superkabel.de) has joined #raspberrypi
[18:36] * DexterLB (~dex@77-85-0-255.btc-net.bg) has joined #raspberrypi
[18:37] * Yachtsman (~Yachtsman@ has joined #raspberrypi
[18:38] * emcepe (~tankwart@ppp-188-174-176-252.dynamic.mnet-online.de) has joined #raspberrypi
[18:39] * jda2000 (~jda2000@host-208-117-123-59.beyondbb.com) has joined #raspberrypi
[18:40] <emcepe> hey guys! quick question: Is there a way to hide the terminal cursor when logged in to the pi via ssh? I've tried "sudo setterm -cursor off" (which works locally) to no effect.
[18:40] * [SkG] (~sconde@unaffiliated/skg/x-897332) Quit (Remote host closed the connection)
[18:43] * pksato (~PEBKAC@unaffiliated/pksato) has joined #raspberrypi
[18:43] * Jayneil (~jayneil@ has joined #raspberrypi
[18:44] * renderful (~renderful@ip174-73-106-225.br.br.cox.net) Quit (Remote host closed the connection)
[18:44] <apo> hm
[18:45] * lupinedk is now known as Lupinedk
[18:45] <atouk> wouldn't cursor be client terminal side, not pi?
[18:45] * Pitel_IPEX (~pitel@gatekeeper.bm.ipex.cz) Quit (Quit: (ノಠ益ಠ)ノ彡┻━┻)
[18:45] * Jinx (~Jinx@unaffiliated/jinx) Quit (Ping timeout: 245 seconds)
[18:46] * Lupinedk is now known as lupinedk
[18:46] <apo> The i2c needs CONFIG_I2C_BCM2708?
[18:47] <emcepe> atouk: I am logged in as the same user running the terminal on screen via ssh. and funnily enough: clearing the "client side" screen with "sudo clear > /dev/tty1" works perfectly fine, just as it does locally. hiding the cursors does not though.
[18:47] * likarish (~likarish@rrcs-24-103-188-37.nys.biz.rr.com) has joined #raspberrypi
[18:49] * IT_Sean[away] is now known as IT_Sean
[18:49] * Thra11 (~Thra11@ has joined #raspberrypi
[18:50] <emcepe> Same thing for "tput civid". Works "locally" (with the keyboard attached), but doesn't do a thing when using it "remotely" via ssh.
[18:50] <emcepe> *tput civis
[18:57] * user82 (~user82@unaffiliated/user82) Quit (Remote host closed the connection)
[18:58] * FrankZZ (~FrankZZ@unaffiliated/frankzz) Quit (Ping timeout: 240 seconds)
[18:59] * WeeJeWel (~wjw@ has joined #raspberrypi
[18:59] * FrankZZ (~FrankZZ@unaffiliated/frankzz) has joined #raspberrypi
[18:59] <f8l> emcepe: Do you have correct $TERM set?
[19:01] <f8l> emcepe: Also, this is not a RPi specific question. ;-)
[19:04] <emcepe> f8l: phew, I am just passing the commands as quoted. Reading up on $TERM now. And yes, I know the question is not specific to the RPi.
[19:05] * dan2k3k4 (~dan2k3k4@unaffiliated/dan2k3k4) Quit (Ping timeout: 256 seconds)
[19:07] * ztaale (~bleh@ti0098a380-dhcp0133.bb.online.no) has joined #raspberrypi
[19:09] * redarrow (~redarrow@gateway/tor-sasl/redarrow) Quit (Remote host closed the connection)
[19:10] * redarrow (~redarrow@gateway/tor-sasl/redarrow) has joined #raspberrypi
[19:10] * hyperair (~hyperair@ubuntu/member/hyperair) Quit (Ping timeout: 246 seconds)
[19:10] <emcepe> f81: I don't quite understand what you are trying to tell me with your question regarding $TERM, f8l.
[19:10] <f8l> emcepe: What is it set to? What terminal emulator do you use?
[19:11] * xenoxaos (~xenoxaos@developers.archlinuxarm.org) Quit (Quit: ZNC - http://znc.in)
[19:12] * h0cin (~h0cin@unaffiliated/h0cin) Quit (Quit: Leaving)
[19:13] * h0cin (~h0cin@unaffiliated/h0cin) has joined #raspberrypi
[19:13] * dc5ala (~dc5ala@stgt-5f70a86e.pool.mediaWays.net) has joined #raspberrypi
[19:13] * jda2000 (~jda2000@host-208-117-123-59.beyondbb.com) Quit (Quit: Leaving)
[19:14] * timmmaaaayyy (~timmmaaaa@cpe-68-175-79-100.nyc.res.rr.com) Quit (Ping timeout: 240 seconds)
[19:14] <emcepe> ah, I think I understand now. I'll have to do "TERM=linux" I guess? "linux" is the output when doing "echo $TERM" on the RPi, not "xterm-256color" as in my ssh window.
[19:14] * xenoxaos (~xenoxaos@developers.archlinuxarm.org) has joined #raspberrypi
[19:15] <f8l> emcepe: You can try, but I don't think it'll work. You didn't answer one of my questions.
[19:16] <emcepe> I am not using any emulator, just the build in OSX terminal to ssh in.
[19:17] * timmmaaaayyy (~timmmaaaa@cpe-68-175-79-100.nyc.res.rr.com) has joined #raspberrypi
[19:17] * jlf (~user@pdpc/supporter/active/jlf) has joined #raspberrypi
[19:18] <f8l> emcepe: Well, this is a terminal emulator… Anyway, after SSHing run `$TERM=«name»`, where «name» is what `echo $TERM` outputs before SSHing. If that doesn't help, I don't know how to help you.
[19:20] * poli (~pi@ Quit (Ping timeout: 256 seconds)
[19:21] <emcepe> No, it doesn't work. But thank you for trying to help me.
[19:22] <f8l> emcepe: Ah you may also need to install appropriate terminfo entries. I don't know how to do it, but at least you know what to look for.
[19:22] * KidBeta (~KidBeta@hpavc/kidbeta) Quit (Quit: Computer has gone to sleep.)
[19:23] * xrosnight (~quassel@ Quit (Remote host closed the connection)
[19:23] <emcepe> okay, thanks
[19:23] * mcf3782 (~mcf3782@adsl-065-012-184-148.sip.asm.bellsouth.net) Quit (Ping timeout: 259 seconds)
[19:23] <f8l> emcepe: And a little correction: instead of `$TERM=«name»`, I should've said `TERM=«name»`.
[19:24] <apo> hm, okay
[19:24] <apo> I can see the i2c devs now, but i2cdetect still isn't showing the sensor ~_~
[19:25] * jlf (~user@pdpc/supporter/active/jlf) Quit (Ping timeout: 256 seconds)
[19:25] * user82 (~user82@unaffiliated/user82) has joined #raspberrypi
[19:25] <apo> ... wait, why's it only going up to 7F
[19:27] <emcepe> f8l: Thank you for pointing me in the right direction. This works: sudo sh -c "TERM=linux setterm -cursor off >/dev/tty0"
[19:28] * jlf (~user@pdpc/supporter/active/jlf) has joined #raspberrypi
[19:29] <f8l> emcepe: Well, you were right. Sorry for misleading you. I'm glad you solved your problem, and that you shared your solution. :-)
[19:37] * aphadke (~Adium@2620:101:8003:200:d46c:a20b:ac33:b489) has joined #raspberrypi
[19:38] * aphadke (~Adium@2620:101:8003:200:d46c:a20b:ac33:b489) has left #raspberrypi
[19:39] * scorphus (~scorphus@CAcert/User/scorphus) has joined #raspberrypi
[19:39] * xCP23x (~xCP23x@78-105-36-237.zone3.bethere.co.uk) has joined #raspberrypi
[19:40] * mcf3782 (~mcf3782@adsl-065-012-184-148.sip.asm.bellsouth.net) has joined #raspberrypi
[19:46] * Shadow__X (~S@unaffiliated/shadowx/x-411846) Quit (Ping timeout: 260 seconds)
[19:48] <agent005> if alls i plan on using is an alfa wifi card with the kali-linux on the pi and connect through vnc do i need a powered usb hub?
[19:49] <agent005> i ordered one but im thinking i could cancel it. cause i just ran aircrack suite on it a minute ago and it seemed like it ran fine. but im not sure if i should juset go an invest in one
[19:52] * LordDoskias (~chichiman@unaffiliated/lorddoskias) Quit (Ping timeout: 264 seconds)
[19:52] * mike_t (~mike@ Quit (Remote host closed the connection)
[19:54] <agent005> meh ill prob need one soon anyway ill just keep my order lol
[19:55] * poli (~pi@ has joined #raspberrypi
[19:59] * teepee (~teepee@p50847B9C.dip0.t-ipconnect.de) Quit (Ping timeout: 240 seconds)
[20:00] * teepee (~teepee@p4FFFD97E.dip0.t-ipconnect.de) has joined #raspberrypi
[20:00] * Midnigh2ker (~Toker@unaffiliated/midnightoker) has joined #raspberrypi
[20:00] * Dreamingpup is now known as KwisA
[20:01] * Bercik (~Yotsuba@unaffiliated/bercik) has joined #raspberrypi
[20:01] * omgmog (~omgmog@ Quit (Quit: Computer has gone to sleep.)
[20:03] * Bercik (~Yotsuba@unaffiliated/bercik) Quit (Read error: Connection reset by peer)
[20:07] * KwisA is now known as Dreamingpup
[20:07] * Dreamingpup is now known as KwisA
[20:10] * BlueDreams (~matt@24-205-95-34.dhcp.psdn.ca.charter.com) has joined #raspberrypi
[20:12] * bronson (~quassel@50-1-50-65.dsl.dynamic.fusionbroadband.com) has joined #raspberrypi
[20:15] <IT_Sean> agent005: you will very likely need the powered hub
[20:18] <agent005> thanks IT_Sean i was talking to the kali people and they all recommended it especially wiht the wifi cards im running
[20:18] <agent005> i have one ordered
[20:18] <apo> The datasheet says that the am2315 has an address of B8, the adafruit library uses 57, and I can't get a reaction on any address <= 7F...
[20:18] * linuxstb (~linuxstb@unaffiliated/linuxstb) Quit (Ping timeout: 268 seconds)
[20:18] <agent005> i noticed the one card works fine as long as its headless and no keyboard as soon as i plug in anything else it struggles lol
[20:21] * raskinbol (~skywtcher@cable200-116-21-180.epm.net.co) has joined #raspberrypi
[20:21] <agent005> i like how a 35 dollar computer quickly turned into 100 dollar project. luckly i had most of the stuff here already or would be worse
[20:21] <agent005> lol
[20:22] * omgmog (~omgmog@ has joined #raspberrypi
[20:23] * redarrow (~redarrow@gateway/tor-sasl/redarrow) Quit (Ping timeout: 240 seconds)
[20:23] * redarrow (~redarrow@gateway/tor-sasl/redarrow) has joined #raspberrypi
[20:26] * greenleaf108 is now known as scarolan
[20:27] * dan2k3k4 (~dan2k3k4@unaffiliated/dan2k3k4) has joined #raspberrypi
[20:28] * raskinbol (~skywtcher@cable200-116-21-180.epm.net.co) Quit ()
[20:29] * LigerZero (~MarioMast@unaffiliated/machinaewolf) has joined #raspberrypi
[20:29] * pkrnj (~pkrnj@bas2-montreal47-1279438707.dsl.bell.ca) has joined #raspberrypi
[20:29] <LigerZero> Is there a way to get flash working on a pi? I'm just trying to test if the audio is working by watching a video
[20:30] <LigerZero> Or even pandora, etc.
[20:30] <f8l> LigerZero: Do you really need flash for that?
[20:31] <apo> okay, it works with the python lib
[20:31] <apo> I guess I'll just use that.
[20:31] <LigerZero> for youtube and pandora it says I do, and some other music sites it says plugin not installed
[20:32] <LigerZero> unless gnash works as a replacement for it?
[20:32] * Adityab (~textual@p4fdd8f12.dip0.t-ipconnect.de) Quit (Quit: Adityab)
[20:32] <f8l> LigerZero: Refer to instructions suited for your distro then.
[20:33] * suehle (~rsuehle@fedora/suehle) has joined #raspberrypi
[20:33] <f8l> LigerZero: Youtube has html5 support, so you don't need flash to play it.
[20:34] <LigerZero> well midori is like nope
[20:34] * jfmherokiller (IceChat9@75-131-65-170.static.slid.la.charter.com) has joined #raspberrypi
[20:34] <LigerZero> and according to http://blog.christosoft.de/2012/08/flash-on-the-raspberry-pi/ it's going to take too much time to load and not be worth it
[20:34] <LigerZero> ^ he was using gnash
[20:35] <f8l> LigerZero: You need some codecs as well, IIRC. I don't know if Adobe ships a binary flash for ARM…
[20:37] <f8l> LigerZero: For YT videos which require flash, I use cclive.
[20:37] <LigerZero> hmm what's that?
[20:38] <f8l> LigerZero: It takes a link and fetches the video. You can play it whatever way you want.
[20:38] <LigerZero> ah
[20:41] * Jayneil (~jayneil@ Quit (Ping timeout: 256 seconds)
[20:43] * ecraven (~user@www.nexoid.at) Quit (Quit: brb)
[20:44] * raidensnake (568ccf43@gateway/web/freenode/ip. has joined #raspberrypi
[20:46] * Squarepy (~Squarepy@unaffiliated/squarepy) has joined #raspberrypi
[20:47] <LigerZero> how do I force the pi to use hdmi? It's not wanting to use my hdmi to vga cable on raspbian and it was using it fine on fedora for the pi...?
[20:48] * LigerZero currently using an rca cable
[20:49] <Squarepy> is there a driver involved?
[20:49] <LigerZero> idk
[20:49] * lazors (~lasers@unaffiliated/lasers) Quit (Read error: Connection reset by peer)
[20:49] * zokeber (~Zokeber@unaffiliated/zokeber) has joined #raspberrypi
[20:50] <LigerZero> I just know fedora handled it fine, but fedora didn't have the firmware I needed for wifi
[20:50] <Squarepy> well I wouldn't expect a driver
[20:50] <Datalink> LigerZero, first question I have is what model HDMI to VGA adaptor, second question, is it plugged in before you power up the Pi?
[20:51] * lazors (~lasers@unaffiliated/lasers) has joined #raspberrypi
[20:51] <Datalink> third is, was Fedora on the Pi or a different computer?
[20:52] <LigerZero> fedora was on the pi, not sure on the model, and yes it was pluggedin 1st
[20:52] <Datalink> ok, which OS are you using now?
[20:52] * m8 (~mor@unaffiliated/m8) has joined #raspberrypi
[20:52] <Squarepy> raspbian
[20:52] <LigerZero> yes
[20:53] <Datalink> hm, may need to force a video mode in config.txt
[20:54] <Datalink> as for Flash, earlier, afraid there's no ARM6 version of the Flash player, you would have to use something like the yt (whitey) client for Youtube or Pianobar for Pandora
[20:54] <LigerZero> ah
[20:55] * zz_DelpicOkami is now known as DelphicOkami
[20:55] <LigerZero> Well lspci obviously doesn't work on here and hdmi isn't usb so idk what to run to check that...
[20:55] <Squarepy> what type of converter?
[20:56] <LigerZero> hdmi to vga
[20:56] <Squarepy> yes, model?
[20:56] <Datalink> there are thousands of those, could you please help us narrow it down?
[20:56] <Squarepy> some are OS independent, some are not I expect
[20:57] <LigerZero> well it doesn't have a name brand on it :(
[20:57] <LigerZero> freaking Chinese stuff...
[20:57] <Datalink> does it have a power plug of some sort? USB or similar?
[20:57] <LigerZero> nope
[20:58] <Datalink> hm, probably a passive device, lemme look up VGA mode settings for /boot/config.txt
[20:59] * Commander1024 (~Commander@Commander1024-2-pt.tunnel.tserv6.fra1.ipv6.he.net) Quit (Ping timeout: 264 seconds)
[20:59] <Datalink> this will be possible through SSH or through an external computer, open the /boot/config.txt file on the Raspberry Pi, it would be in the root Fat32 directory when you have it plugged into a computer as a storage drive
[21:00] <Datalink> what resolution is the monitor?
[21:00] * LigerZero goes check
[21:01] <Squarepy> 640*480
[21:01] <Squarepy> :)
[21:01] <Datalink> not helping
[21:01] <pksato> LigerZero: you need a active hdmi to vga converter, not a simple cable. Have a link to you cable?
[21:02] <Squarepy> post a picture :)
[21:02] <Squarepy> indeed it needs a chipset
[21:02] <LigerZero> pksato: might, let me check and Datalink ssh isn't working for whatever reason :(
[21:02] <Datalink> LigerZero, do you have any way to access the Pi?
[21:03] <Datalink> remember that the OS is different so your old credentials may have changed if you used it with Fedora through SSH before
[21:03] <LigerZero> I'd turened on ssh settings and such
[21:04] * azeam_afk is now known as azeam
[21:04] * KindOne (~KindOne@colchester-lug/silly-fool/donut) Quit (Read error: Operation timed out)
[21:05] * felipealmeida (~user@ Quit (Ping timeout: 246 seconds)
[21:05] * linuxstb (~linuxstb@unaffiliated/linuxstb) has joined #raspberrypi
[21:05] * azeam is now known as azeam_afk
[21:05] * Encrypt (~Chuck-nor@AMontsouris-553-1-11-191.w92-151.abo.wanadoo.fr) has joined #raspberrypi
[21:06] * KindOne (~KindOne@colchester-lug/silly-fool/donut) has joined #raspberrypi
[21:06] <LigerZero> I believe this is the kind of adapter I have http://www.amazon.com/dp/B007PLL4CK/ref=pe_385040_30332190_pe_175190_21431760_3p_M3T1_ST1_dp_1
[21:07] * DelphicOkami is now known as zz_DelphicOkami
[21:07] <LigerZero> Looks like the one I ordered and amazon sends you a link of what you ordered so yeh
[21:07] <pksato> short cable and a box with vga connector?
[21:08] <LigerZero> yeah it's pretty short
[21:08] <Datalink> I'm scared that it's advertised as a bundled item with RPi...
[21:08] <Datalink> may just be my history reflected there
[21:09] <LigerZero> Datalink: oddly although it won't let me ssh I can ping this pi's ip...
[21:09] <Datalink> that is a tad odd, you did turn on SSH for this OS right?
[21:09] <pksato> not all theses converter work with rpi. due need of high power from hdmi 5v power pin.
[21:10] <Squarepy> the guy in the comments (amazon) also edited config.txt as Datalink suggests, setting hdmi_mode and hdmi_group
[21:10] * Hydra (~Hydra@46-65-54-87.zone16.bethere.co.uk) has joined #raspberrypi
[21:10] <LigerZero> ah
[21:10] <pksato> some converters have a externao power connector.
[21:10] <Datalink> http://elinux.org/RPi_config.txt instructions are here
[21:10] <LigerZero> Datalink: yeah I set it on
[21:10] <Datalink> pksato, thus why I asked if it had a power supply of any sort
[21:11] <Datalink> hdmi_drive=1 #audio not over HDMI connection
[21:11] -mist- [Global Notice] There may be some join/part noise for a while as we need to re-hub a few servers for some maintenance. Those of a nervous disposition may wish to take a break and grab a beverage. Thanks for flying freenode.
[21:11] <Datalink> hdmi_group=2 #use DTM computer resolutions
[21:12] <Datalink> then the second resolution table (DTM) with the resolution for your monitor at 60Hz
[21:13] <Datalink> alternatively, just to start it:
[21:13] * AeroNotix (~xeno@abol168.neoplus.adsl.tpnet.pl) Quit (Read error: No route to host)
[21:13] <Datalink> hdmi_group=1 and hdmi_mode=1 #VGA resolution
[21:14] * Kooothor (~ktr@unaffiliated/kooothor) Quit (Quit: #flood-fr)
[21:14] <pksato> I use theses lines on config.txt to my converter http://pastebin.com/hDQqijLb
[21:14] <Datalink> I'd start with group 1, mode 1 to make sure it worked at all
[21:14] * suehle (~rsuehle@fedora/suehle) Quit (Ping timeout: 240 seconds)
[21:15] <Datalink> that's actually not bad, pksato
[21:15] <Datalink> pksato, does your converter have audio out?
[21:15] <pksato> no.
[21:16] <Datalink> I'd change the drive to 1 if I where you tehn, pksato, as drive=2 makes HDMI handle audio
[21:16] * likarish (~likarish@rrcs-24-103-188-37.nys.biz.rr.com) Quit (Remote host closed the connection)
[21:16] <pksato> no, drive=2 is not for audio. is for HDMI mode, instead DVI.
[21:17] * Datalink checks again
[21:17] * hubutm20 (~hubutm20@ has joined #raspberrypi
[21:17] <pksato> some text make this misstake.
[21:17] * taza (~zap@unaffiliated/taza) has joined #raspberrypi
[21:17] <Datalink> then someone needs to fix that in the wiki... blah
[21:17] * Kane (~Kane@ADijon-257-1-52-57.w86-204.abo.wanadoo.fr) Quit (*.net *.split)
[21:17] * canton7 (~canton7@li299-15.members.linode.com) Quit (*.net *.split)
[21:17] * Out`Of`Control (~Viper@unaffiliated/outofcontrol/x-1373891) Quit (*.net *.split)
[21:17] * Dovid (~Dovid@static-173-63-105-210.nwrknj.fios.verizon.net) Quit (*.net *.split)
[21:17] * bacilla (~karolis@unaffiliated/velkam) Quit (*.net *.split)
[21:17] * KameSense (~KameSense@AMontpellier-654-1-7-48.w109-210.abo.wanadoo.fr) Quit (*.net *.split)
[21:17] * brainwash (~brainwash@unaffiliated/brainwash) Quit (*.net *.split)
[21:17] * nielsonm (~nielsonm@75-150-34-209-Oregon.hfc.comcastbusiness.net) Quit (*.net *.split)
[21:17] * RaTTuS|BIG (~Rattus.bi@ Quit (*.net *.split)
[21:17] * linkxs (linkxs@cpe-75-80-186-73.san.res.rr.com) Quit (*.net *.split)
[21:17] * cndiv (~cndiv@wikimedia/cdeubner) Quit (*.net *.split)
[21:17] * wharfrat (~wharfrat@unaffiliated/dedhed) Quit (*.net *.split)
[21:17] * semitones (~quassel@unaffiliated/semitones) Quit (*.net *.split)
[21:17] * sraue (~stephan@xbmc/staff/sraue) Quit (*.net *.split)
[21:17] * Mogwai (~mogwai@206-248-185-25.dsl.teksavvy.com) Quit (*.net *.split)
[21:17] * m3tti (~m3tti@ Quit (*.net *.split)
[21:17] * crazedpsyc (crazedpsyc@irc.duckduckgo.com) Quit (*.net *.split)
[21:17] * hhehw (~hhehw@hhehw.phreefilez.com) Quit (*.net *.split)
[21:17] * weltall (~weltall@planeshift/developer/weltall) Quit (*.net *.split)
[21:17] * digitalfiz (uid533@gateway/web/irccloud.com/x-zrxggdlbnwoygrot) Quit (*.net *.split)
[21:17] * jinie (~jinie@vile.devlix.dk) Quit (*.net *.split)
[21:17] * wbx (~wbx@helium.waldemar-brodkorb.de) Quit (*.net *.split)
[21:17] * hnsr (~hnsr@535388C9.cm-6-4c.dynamic.ziggo.nl) Quit (*.net *.split)
[21:17] * lupinedk (~lupine6@unaffiliated/lupinedk) Quit (*.net *.split)
[21:17] * jindel (~jindel@ Quit (*.net *.split)
[21:17] * demure (U2FsdGVkX1@ma.sdf.org) Quit (*.net *.split)
[21:17] * NiklosKoda (~Niklos@88-191-158-211.rev.dedibox.fr) Quit (*.net *.split)
[21:17] * btorch (~btorch@ Quit (*.net *.split)
[21:17] * malcom2073 (~quassel@unaffiliated/malcom2073) Quit (*.net *.split)
[21:17] * hays (~quassel@unaffiliated/hays) Quit (*.net *.split)
[21:17] * Triffid_Hunter (~Triffid_H@unaffiliated/triffid-hunter) Quit (*.net *.split)
[21:17] <Datalink> maybe that's why I've been having audio trouble over HDMI
[21:18] <Datalink> o/` let's do the netsplit again o/`
[21:18] <pksato> but, ir fis HDMI, audio goes to this way.
[21:18] * cndiv (~cndiv@wikimedia/cdeubner) has joined #raspberrypi
[21:18] * Kane (~Kane@ADijon-257-1-52-57.w86-204.abo.wanadoo.fr) has joined #raspberrypi
[21:18] * canton7 (~canton7@li299-15.members.linode.com) has joined #raspberrypi
[21:18] * Out`Of`Control (~Viper@unaffiliated/outofcontrol/x-1373891) has joined #raspberrypi
[21:18] * Dovid (~Dovid@static-173-63-105-210.nwrknj.fios.verizon.net) has joined #raspberrypi
[21:18] * bacilla (~karolis@unaffiliated/velkam) has joined #raspberrypi
[21:18] * KameSense (~KameSense@AMontpellier-654-1-7-48.w109-210.abo.wanadoo.fr) has joined #raspberrypi
[21:18] * brainwash (~brainwash@unaffiliated/brainwash) has joined #raspberrypi
[21:18] * nielsonm (~nielsonm@75-150-34-209-Oregon.hfc.comcastbusiness.net) has joined #raspberrypi
[21:18] * btorch (~btorch@ has joined #raspberrypi
[21:18] * RaTTuS|BIG (~Rattus.bi@ has joined #raspberrypi
[21:18] * linkxs (linkxs@cpe-75-80-186-73.san.res.rr.com) has joined #raspberrypi
[21:18] * wharfrat (~wharfrat@unaffiliated/dedhed) has joined #raspberrypi
[21:18] * semitones (~quassel@unaffiliated/semitones) has joined #raspberrypi
[21:18] * sraue (~stephan@xbmc/staff/sraue) has joined #raspberrypi
[21:18] * Mogwai (~mogwai@206-248-185-25.dsl.teksavvy.com) has joined #raspberrypi
[21:18] * m3tti (~m3tti@ has joined #raspberrypi
[21:18] * crazedpsyc (crazedpsyc@irc.duckduckgo.com) has joined #raspberrypi
[21:18] * wbx (~wbx@helium.waldemar-brodkorb.de) has joined #raspberrypi
[21:18] * hhehw (~hhehw@hhehw.phreefilez.com) has joined #raspberrypi
[21:18] * jinie (~jinie@vile.devlix.dk) has joined #raspberrypi
[21:18] * digitalfiz (uid533@gateway/web/irccloud.com/x-zrxggdlbnwoygrot) has joined #raspberrypi
[21:18] * hnsr (~hnsr@535388C9.cm-6-4c.dynamic.ziggo.nl) has joined #raspberrypi
[21:18] * jindel (~jindel@ has joined #raspberrypi
[21:18] * lupinedk (~lupine6@unaffiliated/lupinedk) has joined #raspberrypi
[21:18] * demure (U2FsdGVkX1@ma.sdf.org) has joined #raspberrypi
[21:18] * NiklosKoda (~Niklos@88-191-158-211.rev.dedibox.fr) has joined #raspberrypi
[21:18] * malcom2073 (~quassel@unaffiliated/malcom2073) has joined #raspberrypi
[21:18] * hays (~quassel@unaffiliated/hays) has joined #raspberrypi
[21:18] * Triffid_Hunter (~Triffid_H@unaffiliated/triffid-hunter) has joined #raspberrypi
[21:18] * bsdfox (~Bob@unaffiliated/bsdfox) Quit (Ping timeout: 240 seconds)
[21:18] * WeeJeWel (~wjw@ Quit (Quit: Linkinus - http://linkinus.com)
[21:19] <pksato> my converter is a HDMI device, not DVI. if set to drive=1 not work.
[21:19] * weltall (~weltall@planeshift/developer/weltall) has joined #raspberrypi
[21:19] <Datalink> uh...
[21:19] * IT_Sean (~Ult_Ubunt@applefritter/IRCStaff/UltimateMacUser1) Quit (Quit: Pipe Failure)
[21:20] <Datalink> DVI and HDMI are based on the same general principle, but HDMI adds audio to the protocol, they're actually pin compatible and one of my cables is an HDMI to DVI cable
[21:20] <pksato> and, use a CEC modes.
[21:20] * zokeber (~Zokeber@unaffiliated/zokeber) Quit (*.net *.split)
[21:20] * xCP23x (~xCP23x@78-105-36-237.zone3.bethere.co.uk) Quit (*.net *.split)
[21:20] * pksato (~PEBKAC@unaffiliated/pksato) Quit (*.net *.split)
[21:20] * jerng (~sijuendr@faui06a.informatik.uni-erlangen.de) Quit (*.net *.split)
[21:20] * Schnuws (~Schnuws@h182n5-n-d4.ias.bredband.telia.com) Quit (*.net *.split)
[21:20] * shadeslayer (~shadeslay@ubuntu/member/shadeslayer) Quit (*.net *.split)
[21:20] * shabius (~shaburov1@95-27-134-83.broadband.corbina.ru) Quit (*.net *.split)
[21:20] * NullMoogleCable (~NullMoogl@cpe-74-74-136-123.rochester.res.rr.com) Quit (*.net *.split)
[21:20] * _yac_ (~yac@unaffiliated/-yac-/x-6369540) Quit (*.net *.split)
[21:20] * eggy (eggy@unaffiliated/eggy) Quit (*.net *.split)
[21:20] * _deXter_ (d3Xt3r@gateway/shell/elitebnc/x-fvtjeavofymdfqna) Quit (*.net *.split)
[21:20] * onder` (~onder@ Quit (*.net *.split)
[21:20] * riddle (riddle@us.yunix.net) Quit (*.net *.split)
[21:20] * KingPin (kingpin@bela.kpsn.org) Quit (*.net *.split)
[21:20] * rvalles (~rvalles@unaffiliated/rvalles) Quit (*.net *.split)
[21:20] * teeteewhy (~teeteewhy@no.ra.pe) Quit (*.net *.split)
[21:20] * rbxs (~rbxs@pi.7av55st.com) Quit (*.net *.split)
[21:20] * simcop2387 (~simcop238@p3m/member/simcop2387) Quit (*.net *.split)
[21:20] * Aranel (~Aranel@unaffiliated/aranel) Quit (*.net *.split)
[21:20] * RiverRat (~me@gentoo/contributor/riverrat) Quit (*.net *.split)
[21:20] * XpineX (~XpineX@2-104-249-182-static.dk.customer.tdc.net) Quit (*.net *.split)
[21:20] * k3nt (~kent@ax0n.net) Quit (*.net *.split)
[21:20] * millerii (~pi@e218.ip3.netikka.fi) Quit (*.net *.split)
[21:20] * redarrow (~redarrow@gateway/tor-sasl/redarrow) Quit (*.net *.split)
[21:20] * Vibe (~Vibe@gateway/tor-sasl/vib3) Quit (*.net *.split)
[21:20] * MadeAllUp (~MadeAllUp@gateway/tor-sasl/madeallup) Quit (*.net *.split)
[21:21] * zokeber (~Zokeber@unaffiliated/zokeber) has joined #raspberrypi
[21:21] * redarrow (~redarrow@gateway/tor-sasl/redarrow) has joined #raspberrypi
[21:21] * xCP23x (~xCP23x@78-105-36-237.zone3.bethere.co.uk) has joined #raspberrypi
[21:21] * pksato (~PEBKAC@unaffiliated/pksato) has joined #raspberrypi
[21:21] * jerng (~sijuendr@faui06a.informatik.uni-erlangen.de) has joined #raspberrypi
[21:21] * Schnuws (~Schnuws@h182n5-n-d4.ias.bredband.telia.com) has joined #raspberrypi
[21:21] * shadeslayer (~shadeslay@ubuntu/member/shadeslayer) has joined #raspberrypi
[21:21] * Vibe (~Vibe@gateway/tor-sasl/vib3) has joined #raspberrypi
[21:21] * shabius (~shaburov1@95-27-134-83.broadband.corbina.ru) has joined #raspberrypi
[21:21] * NullMoogleCable (~NullMoogl@cpe-74-74-136-123.rochester.res.rr.com) has joined #raspberrypi
[21:21] * _yac_ (~yac@unaffiliated/-yac-/x-6369540) has joined #raspberrypi
[21:21] * MadeAllUp (~MadeAllUp@gateway/tor-sasl/madeallup) has joined #raspberrypi
[21:21] * eggy (eggy@unaffiliated/eggy) has joined #raspberrypi
[21:21] * _deXter_ (d3Xt3r@gateway/shell/elitebnc/x-fvtjeavofymdfqna) has joined #raspberrypi
[21:21] * onder` (~onder@ has joined #raspberrypi
[21:21] * riddle (riddle@us.yunix.net) has joined #raspberrypi
[21:21] * KingPin (kingpin@bela.kpsn.org) has joined #raspberrypi
[21:21] * rvalles (~rvalles@unaffiliated/rvalles) has joined #raspberrypi
[21:21] * teeteewhy (~teeteewhy@no.ra.pe) has joined #raspberrypi
[21:21] * rbxs (~rbxs@pi.7av55st.com) has joined #raspberrypi
[21:21] * simcop2387 (~simcop238@p3m/member/simcop2387) has joined #raspberrypi
[21:21] * k3nt (~kent@ax0n.net) has joined #raspberrypi
[21:21] * Aranel (~Aranel@unaffiliated/aranel) has joined #raspberrypi
[21:21] * XpineX (~XpineX@2-104-249-182-static.dk.customer.tdc.net) has joined #raspberrypi
[21:21] * RiverRat (~me@gentoo/contributor/riverrat) has joined #raspberrypi
[21:21] * millerii (~pi@e218.ip3.netikka.fi) has joined #raspberrypi
[21:21] <Datalink> blah, I'm gonna afk until the netsplits are done
[21:21] * f8l (~f8l@77-255-12-247.adsl.inetia.pl) Quit (Read error: Connection reset by peer)
[21:22] * raidensnake (568ccf43@gateway/web/freenode/ip. Quit (*.net *.split)
[21:22] * arcanescu (925706ef@gateway/web/freenode/ip. Quit (*.net *.split)
[21:22] * raidensnake (568ccf43@gateway/web/freenode/ip. has joined #raspberrypi
[21:22] * arcanescu (925706ef@gateway/web/freenode/ip. has joined #raspberrypi
[21:22] <LigerZero> alright hooked up the old tower toid menu button says monitor runs at 640x480 for best results use 1024x760
[21:22] * ldav15 (~ldavis@ has joined #raspberrypi
[21:22] * f8l (~f8l@77-255-12-247.adsl.inetia.pl) has joined #raspberrypi
[21:23] <LigerZero> 768*
[21:23] <LigerZero> 1024x768*
[21:23] * hubutm20 (~hubutm20@ Quit (*.net *.split)
[21:23] * lazors (~lasers@unaffiliated/lasers) Quit (*.net *.split)
[21:23] * dan2k3k4 (~dan2k3k4@unaffiliated/dan2k3k4) Quit (*.net *.split)
[21:23] * atouk (~kvirc@ool-457e23d5.dyn.optonline.net) Quit (*.net *.split)
[21:23] * overrider_ (~overrider@unaffiliated/overrider) Quit (*.net *.split)
[21:23] * SwK (krice@freeswitch/developer/swk) Quit (*.net *.split)
[21:23] * Scar3cr0w (~Scar3cr0w@ec2-54-244-252-160.us-west-2.compute.amazonaws.com) Quit (*.net *.split)
[21:23] * ynot (~tony@pool-173-61-13-235.cmdnnj.fios.verizon.net) Quit (*.net *.split)
[21:23] * yano (yano@freenode/staff/yano) Quit (*.net *.split)
[21:23] * selorami (~mika@ Quit (*.net *.split)
[21:23] * ripzay (~ripzay@ Quit (*.net *.split)
[21:23] * piney (~piney0@unaffiliated/piney0) Quit (*.net *.split)
[21:23] * xnyhps (~xnyhps@s.xnyhps.nl) Quit (*.net *.split)
[21:23] * debris` (debris@shells.ohai.su) Quit (*.net *.split)
[21:23] * nutcase (~nutcase@unaffiliated/nutcase) Quit (*.net *.split)
[21:23] * CEnnis91 (uid3543@gateway/web/irccloud.com/x-ktpgwbnegbtjxwve) Quit (*.net *.split)
[21:23] * Olipro (~Olipro@uncyclopedia/pdpc.21for7.olipro) Quit (*.net *.split)
[21:23] * Stew-a (~Stewart@unaffiliated/stew-a/x-2962361) Quit (*.net *.split)
[21:23] * BlueMint (~BlueMint@unaffiliated/bluemint) Quit (*.net *.split)
[21:23] * NimeshNeema (uid2689@gateway/web/irccloud.com/x-taifxppfeuacfrul) Quit (*.net *.split)
[21:23] * steve_rox (~steve@82-69-127-162.dsl.in-addr.zen.co.uk) Quit (*.net *.split)
[21:23] * CookieNinja (carrot@unaffiliated/tommehm) Quit (*.net *.split)
[21:23] * azeam_afk (~azeam@unaffiliated/azeam) Quit (*.net *.split)
[21:23] <pksato> I need to power on monitor fist to auto set correct resolution.
[21:24] <pksato> first.
[21:26] * AeroNotix (~xeno@abol168.neoplus.adsl.tpnet.pl) has joined #raspberrypi
[21:26] <Datalink> LigerZero, this is a 'make it work' setting, allowing us to make further changes directly
[21:26] * redarrow_ (~redarrow@gateway/tor-sasl/redarrow) has joined #raspberrypi
[21:26] * KindOne (~KindOne@colchester-lug/silly-fool/donut) Quit (Ping timeout: 262 seconds)
[21:27] <Datalink> for that monitor ressolution: hdmi_group=2 hdmi_mode=16
[21:27] * Dooley (~Dooley@dslb-178-010-195-226.pools.arcor-ip.net) has joined #raspberrypi
[21:27] <Datalink> DMT mode, 1024x768@60
[21:27] <Dooley> Evening
[21:27] <Datalink> hi
[21:27] * redarrow (~redarrow@gateway/tor-sasl/redarrow) Quit (Quit: No Ping reply in 90 seconds.)
[21:28] * KindOne (~KindOne@colchester-lug/silly-fool/donut) has joined #raspberrypi
[21:28] * dc5ala (~dc5ala@stgt-5f70a86e.pool.mediaWays.net) Quit (Quit: Ex-Chat)
[21:29] * xnyhps (~xnyhps@s.xnyhps.nl) has joined #raspberrypi
[21:29] * IT_Sean (~Ult_Ubunt@applefritter/IRCStaff/UltimateMacUser1) has joined #raspberrypi
[21:29] * debris` (debris@shells.ohai.su) has joined #raspberrypi
[21:29] * ChanServ sets mode +o IT_Sean
[21:29] * ynot (~tony@pool-173-61-13-235.cmdnnj.fios.verizon.net) has joined #raspberrypi
[21:30] * liar (~liar@clnet-p09-185.ikbnet.co.at) has joined #raspberrypi
[21:31] * pkinchington (~pkinching@cpc8-lanc6-2-0-cust72.3-3.cable.virginmedia.com) has joined #raspberrypi
[21:32] * shaon (~shaon@unaffiliated/shaon) Quit (Quit: Textual IRC Client: www.textualapp.com)
[21:32] <Dooley> Anyone has experience runnig Gimp, or any drawing tool, from the shell?
[21:32] * raidensnake (568ccf43@gateway/web/freenode/ip. Quit (Quit: Page closed)
[21:32] <Dooley> I would like to convert a file without opening the gui
[21:32] * taza (~zap@unaffiliated/taza) Quit (Ping timeout: 248 seconds)
[21:33] * yano (yano@freenode/staff/yano) has joined #raspberrypi
[21:33] <mgottschlag> Dooley: just conversion? use imagemagick
[21:33] * pkinchington (~pkinching@cpc8-lanc6-2-0-cust72.3-3.cable.virginmedia.com) Quit (Client Quit)
[21:33] * selorami (~mika@ has joined #raspberrypi
[21:34] * pkinchington (~pkinching@cpc8-lanc6-2-0-cust72.3-3.cable.virginmedia.com) has joined #raspberrypi
[21:34] <Dooley> Thanks mgottschlag I will check this out
[21:34] * piney (~piney0@unaffiliated/piney0) has joined #raspberrypi
[21:34] <LigerZero> Datalink: dmt mode is a setting or put that resolution under where it says dmt mode?
[21:35] * hubutm20 (~hubutm20@ has joined #raspberrypi
[21:35] * lazors (~lasers@unaffiliated/lasers) has joined #raspberrypi
[21:35] * dan2k3k4 (~dan2k3k4@unaffiliated/dan2k3k4) has joined #raspberrypi
[21:35] * SwK (krice@freeswitch/developer/swk) has joined #raspberrypi
[21:35] * overrider_ (~overrider@unaffiliated/overrider) has joined #raspberrypi
[21:35] * Scar3cr0w (~Scar3cr0w@ec2-54-244-252-160.us-west-2.compute.amazonaws.com) has joined #raspberrypi
[21:35] * ripzay (~ripzay@ has joined #raspberrypi
[21:35] * BlueMint (~BlueMint@unaffiliated/bluemint) has joined #raspberrypi
[21:35] * nutcase (~nutcase@unaffiliated/nutcase) has joined #raspberrypi
[21:35] * CEnnis91 (uid3543@gateway/web/irccloud.com/x-ktpgwbnegbtjxwve) has joined #raspberrypi
[21:35] * Stew-a (~Stewart@unaffiliated/stew-a/x-2962361) has joined #raspberrypi
[21:35] * NimeshNeema (uid2689@gateway/web/irccloud.com/x-taifxppfeuacfrul) has joined #raspberrypi
[21:35] * CookieNinja (carrot@unaffiliated/tommehm) has joined #raspberrypi
[21:35] * azeam_afk (~azeam@unaffiliated/azeam) has joined #raspberrypi
[21:35] * pkinchington (~pkinching@cpc8-lanc6-2-0-cust72.3-3.cable.virginmedia.com) Quit (Client Quit)
[21:35] <Dooley> and while I'm at it mgottschlag , what would you recommend to draw stuff in code, a python library?
[21:35] <Dooley> I want to paste specific images at given locations to create a picture in a program
[21:35] * taza (~zap@unaffiliated/taza) has joined #raspberrypi
[21:35] <Datalink> LigerZero, hdmi_group=2 is what sets DMT mode, hdmi_mode=16 picks the resolution native to your monitor from DMT mode
[21:36] <Dooley> that is, have a program generating a picture file, from a set of input images
[21:36] <mgottschlag> no idea, I never used python nor any other image library
[21:36] <Dooley> ok thanks
[21:36] <LigerZero> oh so I don't have to set the resolution?
[21:36] <LigerZero> Just set those 2things?
[21:36] <Datalink> LigerZero, those 2 things do set the resolution
[21:36] * Olipro (~Olipro@uncyclopedia/pdpc.21for7.olipro) has joined #raspberrypi
[21:37] <Datalink> it's different from BIOS/OpenFirmware hardware, some things are kinda alien, like no items under lspci
[21:37] * yano (yano@freenode/staff/yano) Quit (Quit: WeeChat, The Better IRC Client: http://weechat.org/)
[21:37] * xCP23x (~xCP23x@78-105-36-237.zone3.bethere.co.uk) Quit (Quit: Leaving)
[21:37] * KindOne (~KindOne@colchester-lug/silly-fool/donut) Quit (Ping timeout: 276 seconds)
[21:38] <LigerZero> ah
[21:38] <Datalink> or a video processor that boots the CPU instead of a BIOS (why you're setting these in config.txt instead of in some /etc/ file or other stuff)
[21:38] <LigerZero> I see
[21:39] <taza> ... ngggh. Windows, why.
[21:39] <Dooley> mgottschlag, it works wonders, thanks so much!
[21:39] <taza> (Program Compatibility Assistant "helpfully" automatically set software to run as administrator, thus making my system freak out.)
[21:40] <taza> Every time I have trouble with various Pi software, I only need to look at every version of Windows having these braindead decisions.
[21:40] <LigerZero> omfg geany doesn't want to save the darn note I made :(
[21:40] -mist- [Global Notice] Thanks, that should be all the moving around for now. kornbluth will be leaving the network in the next few hours for some fix work, other than that, normal service is resumed. Thanks.
[21:40] * m8 (~mor@unaffiliated/m8) Quit (Read error: No buffer space available)
[21:41] * double-you (~Miranda@188-193-36-2-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[21:41] <taza> Hmm. Do we have decent touchscreens for the Pi yet?
[21:41] * m8 (~mor@unaffiliated/m8) has joined #raspberrypi
[21:41] <taza> "decent" including quality, reliability of the supplier and semi-official software support
[21:41] * yano (yano@freenode/staff/yano) has joined #raspberrypi
[21:42] * MoALTz (~no@host86-142-161-139.range86-142.btcentralplus.com) has joined #raspberrypi
[21:42] * Adityab (~textual@ has joined #raspberrypi
[21:42] <CeilingKitten> Taza Chalk-Elec has been claiming raspi support on their 7" and 10" touch screens for almost a year now
[21:43] <taza> Link?
[21:43] <LigerZero> nvm guess it had too many special characters, as if there's such thing in text files...
[21:43] <CeilingKitten> there is a 3.2 and 4" available form a company called 4d systems i think and it costs roughtly the same as the 7 and 10" by chal elec
[21:43] <CeilingKitten> link one sec
[21:43] <taza> 7'' sounds perfect.
[21:43] <LigerZero> brb going to reboot and try the monitor
[21:43] <taza> Depends on the resolution though
[21:44] <taza> At the very least I need 600 height, 768 would be perfect.
[21:44] * LigerZero (~MarioMast@unaffiliated/machinaewolf) Quit (Quit: Come with me and you will see our future in debris, first the sun and now the stars are fading...)
[21:44] <mgottschlag> the 7" chalkelec screen isn't available yet though
[21:45] <CeilingKitten> taza, 7" http://www.chalk-elec.com/?page_id=1280#!/~/product/category=3094861&id=14647630 10" http://www.chalk-elec.com/?page_id=1280#!/~/product/category=3094861&id=14647624
[21:46] <CeilingKitten> 7" is out of stock
[21:46] <CeilingKitten> taza, - 10" glossy screen LCD with IPS technology, 1280x800 px, 256K (18-bits)
[21:46] * ozzzy has no reason to put a monitor on his pi
[21:46] <CeilingKitten> also has ambient light sensor for automatic brightness control
[21:46] <taza> I can pretty solidly say those are out of my price range, heh
[21:47] * double-you (~Miranda@188-193-36-2-dynip.superkabel.de) has joined #raspberrypi
[21:47] <taza> 'specially with the dagnabban customs
[21:47] * steve_rox (~steve@82-69-127-162.dsl.in-addr.zen.co.uk) has joined #raspberrypi
[21:47] <taza> Well, at present. Good to know, anyway.
[21:48] <CeilingKitten> taza, sadly most touch screens are expensive, or they are gpio and teeny tiny =|
[21:48] <Encrypt> CeilingKitten, The new Nexus Pi \o/
[21:49] <CeilingKitten> lol
[21:49] <IT_Sean> o_O
[21:49] <taza> See, the thing is, the company is not located within the EMU.
[21:49] * LigerZero (~MarioMast@unaffiliated/machinaewolf) has joined #raspberrypi
[21:49] <Encrypt> 5 centimeters thick with 4 brand-new D batteries
[21:49] <Encrypt> :p
[21:49] <taza> And thus I'd pay a whole lot for customs
[21:50] <LigerZero> well Datalink it almost worked but no images displayed to monitor, monitor went from standby to on though...?
[21:50] <CeilingKitten> ^ same thats why i just plug into a tv for now, i kind of want one of those cheap RCA composite mini monitors
[21:50] * KindOne (~KindOne@colchester-lug/silly-fool/donut) has joined #raspberrypi
[21:50] <Datalink> LigerZero, well, that's a start x.x
[21:50] <LigerZero> :d
[21:51] <Datalink> try hdmi_group=1 and hdmi_mode=4, the adaptor may require CEA mdoe...
[21:51] <Datalink> that'll be CEA at 720p, which isn't exactly your monitor's native but is close
[21:52] * omgmog (~omgmog@ Quit (Quit: Computer has gone to sleep.)
[21:52] <LigerZero> k reboot time
[21:52] * yano (yano@freenode/staff/yano) Quit (Quit: WeeChat, The Better IRC Client: http://weechat.org/)
[21:53] * LigerZero (~MarioMast@unaffiliated/machinaewolf) Quit (Client Quit)
[21:53] <taza> CeilingKitten: A 5 inch 800x600 display would be sufficient for me.
[21:53] <taza> No need for multitouch either, though extremely low power draw would be a significant advantage
[21:55] <CeilingKitten> taza, what do you need the touch screen for? would you be typing or just navigating?
[21:55] <taza> Just navigating
[21:55] <CeilingKitten> maybe you could wire a gamepad into your project, i seen an xbox chatpad used as a full qwerty keyboard + virtual mouse
[21:55] <taza> Basically, mouse replacement.
[21:55] <taza> Ehh.
[21:55] <taza> Doesn't fit.
[21:55] <taza> Needs to be a touchscreen.
[21:55] <taza> That, or an individual trackball
[21:56] * LigerZero (~MarioMast@unaffiliated/machinaewolf) has joined #raspberrypi
[21:56] <CeilingKitten> ah how do you feel about a sony analog joystick like on PSP
[21:56] <CeilingKitten> i seen them wired into the gpio
[21:56] <taza> It would kinda work.
[21:56] <LigerZero> and we have monitor, resolution's kinda smll though Datalink it's pushed a bit from the left and there's blank space around the top and bottom
[21:58] * PasNox (~pasnox@2a01:e35:8b4f:f2a0:5d49:c3ad:5297:8db7) Quit (Ping timeout: 245 seconds)
[21:58] <Datalink> it's running at a TV resolution instead of a computer resolution, to get it to the exact resolution would mean setting up the framebuffer manually and going through a lot of reboots to get it just right
[21:58] <CeilingKitten> taza, this guy has wired his own amplifiers, his own game controllers, and attempted to make some portable stuff. Hear is his parts list, and driver for the Sony PSP analog joystick http://www.newsdownload.co.uk/pages/RPiGpioPspAnalogJoystick.html
[21:59] <CeilingKitten> maybe it will help you or give you some ideas, *shrugs* he has a very neat website and projects to say the least.
[22:00] <CeilingKitten> the xbox chatpad once gutted is pretty flat you could still attempt to make a rpi-like tablet with a chatpad keyboard
[22:00] * yano (yano@freenode/staff/yano) has joined #raspberrypi
[22:00] <CeilingKitten> its a bit less that half inch thick
[22:00] <IT_Sean> What's the interfaace protocol of the chatpad?
[22:00] <taza> ...
[22:00] <IT_Sean> is it USB? Serial?
[22:00] <CeilingKitten> I'm attempting to make one xD
[22:00] <taza> ... why do you think I want a tablet?
[22:00] <LigerZero> Datalink: that doesn't sound like fun...
[22:01] <taza> I need a touchscreen for a completely different project.
[22:01] <IT_Sean> I know it's a 4 pin connector...
[22:01] <Datalink> LigerZero, it's not... I had to do it with a pi for TV broadcast
[22:01] <CeilingKitten> taza you said it was too big so i was jsut saying it makes it flat and sort of smaller
[22:01] <CeilingKitten> it goes onto the GPIO as UART
[22:01] <LigerZero> yikes
[22:01] <IT_Sean> oooh
[22:01] <CeilingKitten> you have to set a clock speed on the interface on the cpio and it works as a keyboard afterwards
[22:01] <IT_Sean> :/
[22:01] <Datalink> yeah, the keyboard's an annoying serial one
[22:02] * Omnibrain (~Omnibrain@unaffiliated/omnibrain) has joined #raspberrypi
[22:02] <taza> CeilingKitten: I do not need a controller or a keyboard.
[22:02] <taza> The thing fitting project specs is a cheap no multitouch touchscreen.
[22:06] <CeilingKitten> *shrugs* was jsut a suggestion, taza, i thought maybe a physical interface with a small footprint might work, iunfortunately i've not seen any touchscreens under a 100$ that weren't in the 200 or 300 resolution range
[22:06] <taza> I could probably do an aftermarket solution where I pair a cheap touchscreen module and a decent screen.
[22:07] <taza> Because frankly the touchscreen needs to be about right, there's no real need for precision
[22:07] <LigerZero> anybody ever get minitube working on a pi?
[22:08] <LigerZero> Datalink: also I noticed video input is not interchaangeable you can't swap to rca on the fly w/o a reboot and vice versa
[22:08] <Datalink> LigerZero, yeah, at boot it's set, GPU doesn't have an easy switch that I know of
[22:11] * imark (~mark@client-86-23-88-179.brhm.adsl.virginmedia.com) has joined #raspberrypi
[22:11] * hyperair (~hyperair@ubuntu/member/hyperair) has joined #raspberrypi
[22:12] <Firehopper> 'what about that tvservice command?
[22:12] * agent005 (~agent005@c-71-200-80-145.hsd1.md.comcast.net) Quit (Quit: Leaving)
[22:13] <LigerZero> Firehopper: never tried it, what's that?
[22:13] <LigerZero> minitube is for watching youtube w/o flash
[22:14] <Firehopper> theres a tvservice command..
[22:14] <Firehopper> I dont remember what it is..
[22:14] * atouk (~kvirc@ool-457e23d5.dyn.optonline.net) has joined #raspberrypi
[22:14] <Firehopper> lemme power up my pi and see if I can find it again
[22:15] * InControl (~incontrol@adslnation.plus.com) has joined #raspberrypi
[22:15] * Jevermeister (~Jevermeis@unaffiliated/jever) Quit (Ping timeout: 260 seconds)
[22:15] <LigerZero> k
[22:15] <scarolan> RaspBMC users: Has anyone attempted to get netflix working on the Pi? I saw a "flicks" package but figured it might not work on Linux...
[22:16] <Firehopper> I dont think it would help you liger
[22:16] <Firehopper> type tvservice or man tvservice
[22:16] * ipsifendus (~edward@173-8-205-65-Oregon.hfc.comcastbusiness.net) has joined #raspberrypi
[22:16] <Firehopper> this is on wheezy btw
[22:17] <LigerZero> raspbian runs wheezy...
[22:19] * Squarepy (~Squarepy@unaffiliated/squarepy) Quit (Quit: Leaving)
[22:19] * Firehopper yawns and runs his update script
[22:20] <Firehopper> wow, only 2 updated files? and a updated firmware
[22:20] <Dooley> I downloaded wand to edit pictures in python, but i get the following: ImportError: No module named wand.image. Anyone has an idea why?
[22:20] <Dooley> I installed it using the typical sudo apt-get install
[22:21] <CeilingKitten> Anyone playing with PyLoad?
[22:21] <Firehopper> tried looking for a wand-image in aptget?
[22:21] <Dooley> well wand.image is a subset of the wand module
[22:22] <Firehopper> but its missing..
[22:22] <Firehopper> so it didnt get installed somehow
[22:22] * Kooothor (~ktr@unaffiliated/kooothor) has joined #raspberrypi
[22:22] * enque (~enque@ip70-160-27-9.hr.hr.cox.net) has joined #raspberrypi
[22:22] <Dooley> indeed, when i install it again it tells me it has the latest version
[22:22] <Dooley> should I register the module somehow?
[22:22] <Firehopper> no idea..
[22:23] <Firehopper> google wand.image?
[22:23] <Firehopper> see if someone else had the problem
[22:23] * Kooothor (~ktr@unaffiliated/kooothor) Quit (Client Quit)
[22:23] * Kooothor (~ktr@unaffiliated/kooothor) has joined #raspberrypi
[22:25] * pingo (pingo@ has joined #raspberrypi
[22:27] * Ladon (~Ladon@cpe-173-174-44-126.austin.res.rr.com) has joined #raspberrypi
[22:27] <Ladon> Is there any way to find local vendors of pis?
[22:30] <LigerZero> anybody want to help me get ssh fixed? I enabled it via rasp-config but everytime I try to ssh or sftp it says no route to host, I can ping the pi though... Although raspi-config did a terrible job configuring my keyboard I had to eventually do it the regular manual way... So maybe there's a manual ssh way I need to do??
[22:31] <sney> 'service ssh status'
[22:32] <Firehopper> http://www.cnn.com/2013/07/25/world/europe/spain-train-crash/index.html?hpt=wo_c1 < oh my, :(
[22:33] * AeroNotix (~xeno@abol168.neoplus.adsl.tpnet.pl) Quit (Quit: Uploading hax.....)
[22:33] <LigerZero> says it's running but it never worked...
[22:34] <Encrypt> LigerZero, Try it agains
[22:34] <Encrypt> again*
[22:34] <Encrypt> Did you set a static IP address ?
[22:34] <CeilingKitten> LigerZero, you get failure to connect or wrong password
[22:35] <CeilingKitten> is the port changed in your sshd_config?
[22:36] * PCJockey (~jeff@c-68-61-22-83.hsd1.mi.comcast.net) Quit (Ping timeout: 264 seconds)
[22:36] <LigerZero> nah it's default settings
[22:36] * hubutm20 (~hubutm20@ Quit (Quit: Ulliendo)
[22:36] <LigerZero> CeilingKitten: failure to connect can't get to enter password even
[22:38] <CeilingKitten> =\ service is running but you cant access it.. port is default, have you done anything with ip tables ?
[22:38] <CeilingKitten> im not sure what else would prevent it =|
[22:38] <LigerZero> hmm weird it suddenly works :o
[22:38] <CeilingKitten> ssh has always worked out of the box for me, no enabling needed
[22:38] <LigerZero> it didn't the 5 times prior
[22:38] * CeilingKitten is magic
[22:38] <CeilingKitten> =O
[22:39] <LigerZero> lol thanks :)
[22:39] <CeilingKitten> haha
[22:39] <LigerZero> well I hve pretty much every issue solved now except openbox :)
[22:39] <CeilingKitten> *shrugs* i did nothing, but good that it works and you are happy
[22:39] <LigerZero> :D
[22:39] <LigerZero> maybe that stauts thing jolted it into working?
[22:39] <pingo> Are there any articles out there regarding sd card degradation over time and ways around it?
[22:41] <CeilingKitten> pingo, dont remember the link, but i saw a few that recommended mounting aall your logs into /tmpfs (ram), or piping them to dev/null, so you minimize writes, there is also setting noatime on your fstab i think it was so you dont update the file last access time everytime you do anything to a file
[22:42] <CeilingKitten> id recommedn against piping anything to dev/null specially if you need those logs for troubleshooting later xD
[22:42] <pingo> oh thanks thats very useful info
[22:42] <CeilingKitten> there is prolyl some ubuntu/debina guides on SDD performance and life that could help
[22:42] <LigerZero> Is there a way to always get the same ip for easily ssh-ing w/o checking or would I just ssh to localhost for that?
[22:42] <pingo> perhaps there is a way to use the sd card in read only mode and have a usb drive for writing ?
[22:42] <CeilingKitten> definitely disabling last access time, or other excessive uses on the file system
[22:43] <CeilingKitten> pingo, the rpi reader slot ignores the read only pin on SD cards
[22:43] <CeilingKitten> =[
[22:43] <pingo> well perhaps the partition on sd card can be mounted as read only
[22:44] <CeilingKitten> you could boot off the sd and usb a usb stick, for the os but that will prolly burn out eventually too unless its a Disk drive, i kind of want to try a 1.8in hard drive on a pi =)
[22:44] <pingo> aha
[22:44] <pingo> Well I'm looking for something for collecting data and running a http server on
[22:44] <pingo> For smart home stuff
[22:45] <pingo> But it would need to last 10 years so not too sure whether rpi is a good candidate :/
[22:45] <CeilingKitten> Maybe something like unison ?
[22:45] <CeilingKitten> you could have it like mirror your SD card to another drive or place on the network
[22:45] <CeilingKitten> i believe its called unisonfs
[22:46] <pingo> and what would I achieve by that?
[22:46] * ztaale (~bleh@ti0098a380-dhcp0133.bb.online.no) Quit (Read error: Connection reset by peer)
[22:46] <CeilingKitten> then if your card burns out you sor tof have a duplicate stored elsewhere
[22:46] <pingo> ah
[22:46] <CeilingKitten> i think thats how it works >.>
[22:47] <CeilingKitten> googling it now
[22:47] <pingo> Well I'd set this up at someone else's place
[22:47] <CeilingKitten> so i can double check
[22:48] <pingo> So I'd prefer if it would last for years xD
[22:48] <pingo> Need to google if there's any talk regarding r.pi for commercial use
[22:50] <IT_Sean> the raspi is prone to shagging up the SD card if it's writing to it when poser is lost. Keep that in mind.
[22:51] <pingo> poser?
[22:51] <apo> http://0au.de/~apo/rpitemp.png :D
[22:51] <CeilingKitten> pingo, he meant Power
[22:52] <pingo> ah
[22:52] <pingo> what about usb drives
[22:52] <Dooley> is there any way to see how much the pi is drawing (via s/w)
[22:52] <Dooley> how much power sorry*
[22:53] <pksato> Dooley: no.
[22:53] <CeilingKitten> pingo, if it loses power during a file write on any device, it will be incomplete/corrupt, i believe it happens to any open files, that are mid write
[22:54] * pksato (~PEBKAC@unaffiliated/pksato) Quit (Quit: Problem Exists Between Keyboard And Chair)
[22:54] <pingo> Has anyone figured out how to make it immune to power loss ?
[22:54] <Dooley> there was a guy usign a condenser
[22:54] * gbaman (~gbaman@host81-130-80-172.in-addr.btopenworld.com) has joined #raspberrypi
[22:55] <pingo> No I mean on the software setup side
[22:55] * Encrypt (~Chuck-nor@AMontsouris-553-1-11-191.w92-151.abo.wanadoo.fr) Quit (Ping timeout: 248 seconds)
[22:55] <pingo> For example I can cut the power to an openwrt router all the time and nothing ever breaks
[22:55] * tektsu (~Adium@wsip-174-79-34-244.ph.ph.cox.net) Quit (Quit: Leaving.)
[22:56] <gbaman> I want to start a python script on startup as a background process, what is the best way to do that anyone?
[22:56] <IT_Sean> piney: if you want it to be immune to power cuts, build in a battery / UPS, and a safe shutdown mechanism.
[22:56] <IT_Sean> Sorry, that was for pingo
[22:56] <pingo> aha
[22:56] <gbaman> i already have (sleep 10;python /home/pi/pi.py)& in rc.local and it isnt doing anything
[22:56] <pingo> Will think about that some more
[22:57] <Dooley> how about editing init.d ?
[22:57] <gbaman> in /etc ?
[22:57] <Dooley> yes
[22:57] <gbaman> am i meant to have one?
[22:57] * Kane (~Kane@ADijon-257-1-52-57.w86-204.abo.wanadoo.fr) Quit (Quit: Night all o/)
[22:58] <scarolan> gbaman: You can steal my very basic init script here if you like: https://github.com/scarolan/weather_orb/blob/master/orb_listener
[22:58] <scarolan> Just replace all the "orb listener" with your own stuff
[22:58] <scarolan> that one kicks off a python script that just listens for button presses
[22:58] * Encrypt (~Chuck-nor@AMontsouris-553-1-27-248.w92-151.abo.wanadoo.fr) has joined #raspberrypi
[22:59] <Dooley> and : http://dalank.com/blog/?p=368
[22:59] <Dooley> you might find somethings useful here
[22:59] * IT_Sean (~Ult_Ubunt@applefritter/IRCStaff/UltimateMacUser1) Quit (Quit: Pipe Failure)
[22:59] <scarolan> pingo: Regarding power loss, your only choices are 1. battery backup 2. Make critical filesystems read-only
[22:59] <pingo> I'd like to know more about the second option
[22:59] <scarolan> I've been through several iterations of having to reflash my SD card due to a power outage or unfortunate unplugging
[23:00] <pingo> Yeah I'd like to prevent that
[23:00] * Jevermeister (~Jevermeis@unaffiliated/jever) has joined #raspberrypi
[23:00] <Encrypt> apo, How can you only have 26°C ?
[23:00] <scarolan> pingo: So here's what you want to do
[23:00] <pingo> Are there any good discussion regarding this?
[23:00] <scarolan> get your pi configured exactly the way you like it
[23:00] <apo> Encrypt: it's 2300?
[23:00] <scarolan> next, carefully shut down the rpi, take out the SD card, and make a backup image!
[23:01] <scarolan> it will take a while but you'll be glad you have it later
[23:01] <Encrypt> apo, What do you mean 2300?
[23:01] <Dooley> 23:00
[23:01] <Encrypt> Ok
[23:01] <Dooley> the time :)
[23:01] <CeilingKitten> lol
[23:01] <Dooley> some people have been in front of a screen for too long!
[23:01] <scarolan> then you boot it back up again, and do this:
[23:01] <Encrypt> But even in "normal conditions", it seems to me very cold
[23:01] <scarolan> update-rc.d rsyslog disable
[23:01] <Encrypt> Ah!
[23:02] <Encrypt> It's the current temperature in his area? :p
[23:02] <scarolan> edit your /etc/fstab and make both boot and root partitions read-only
[23:02] <scarolan> /dev/mmcblk0p1 /boot vfat defaults,ro 0 2
[23:02] <scarolan> /dev/mmcblk0p2 / ext4 defaults,noatime,ro 0 1
[23:02] <scarolan> note the "ro"
[23:03] <Encrypt> I though it was his Pi's CPU temperature
[23:03] <scarolan> then i also put this in /etc/default/rcS:
[23:03] <scarolan> # RAM disk for /tmp
[23:03] <scarolan> RAMTMP = yes
[23:03] <scarolan> pingo: finally reboot again, and your raspberry pi is now in read-only mode. You won't be able to write to the storage card but at least it should be more tolerant of those power outages
[23:04] <pingo> coool
[23:04] <pingo> Do you have a good source for this?
[23:04] <scarolan> If you need more storage, consider using a ramdisk (ok for small things) or a USB flash drive
[23:04] <pingo> I will try this out
[23:04] <scarolan> pingo: My source is this IRC channel
[23:04] <pingo> Alright
[23:04] * datag (~datag@ppp-46-244-146-163.dynamic.mnet-online.de) has joined #raspberrypi
[23:04] <scarolan> i only did all that myself just last night, for the same reason as you
[23:04] <pingo> scarolan this is exactly what I was looking for
[23:04] <scarolan> tired of rebuilding my RPI every time...we ought to add this in the wiki or something
[23:05] <scarolan> I didn't find many detailed instructions on the web
[23:05] <pingo> scarolan have you considered moving / to a usb drive?
[23:05] <pingo> I wonder how hard that would be
[23:05] * cornflaku (~cornflaku@c-68-60-210-113.hsd1.ga.comcast.net) Quit (Ping timeout: 248 seconds)
[23:05] <scarolan> pingo: Don't move all of /, just move the filesystems you need to write to
[23:05] <scarolan> for example, /home, or maybe /var, /opt, etc
[23:06] <taza> scarolan: I don't bother rebuilding, I just do a bitwise copy
[23:06] * h0cin (~h0cin@unaffiliated/h0cin) Quit (Quit: Leaving)
[23:06] <scarolan> that way your device will still boot even if the storage gets removed
[23:06] <pingo> aha
[23:06] * imark (~mark@client-86-23-88-179.brhm.adsl.virginmedia.com) Quit (Remote host closed the connection)
[23:06] <pingo> Does the system not have a swap partition?
[23:06] <taza> Why would you need swap on a Pi?
[23:07] <CeilingKitten> swap will decrease your sd life
[23:07] <scarolan> taza: Yes, even that's kind of a pain though. I recently purchased another RPi to play around with; I'm going to see if I can get chef working properly on it. Then rebuilding with a stock image is as simple as "knife bootstrap foo",
[23:07] <pingo> yes I know swap is bad, just asking
[23:08] <gordonDrogon> a little bit of swap is a good thing IMO.
[23:08] <gordonDrogon> I use a swapfile - and one is setup by default under Raspbian.
[23:08] <pingo> no way
[23:08] <CeilingKitten> pingo it may or may not some people swap to a file ratheer than a partition,
[23:08] <pingo> I'm not letting it touch the SD card
[23:09] <gbaman> scarolan i am getting it outputting the debug text to the control, any way to make it invisible?
[23:09] <gordonDrogon> pingo, I have Pi's now well over a year old on their original SD card - using swap. All running just fine.
[23:09] <gordonDrogon> peopel wory too much about it.
[23:09] * bortzmeyer (~stephane@2a01:e35:8bd9:8bb0:21e:8cff:fe76:29b6) Quit (Quit: Leaving.)
[23:09] <CeilingKitten> SD card wear levlling explained
[23:09] * CeilingKitten sits to watch gordonDrogon's lecture
[23:09] <gordonDrogon> CeilingKitten, I'm not getting into that one again!!!
[23:09] <pingo> gordonDrogon I have a rpi on my desk that is a sd card killer
[23:09] <scarolan> gordonDrogon: Count yourself lucky. If my Rpi loses power, there's a ~30% chance it won't come back up
[23:09] <CeilingKitten> Lol
[23:10] <gordonDrogon> pingo, maybe you're using cheap SD cards.
[23:10] <pingo> while another one works fine
[23:10] <pingo> yes i do have cheap ones
[23:10] <CeilingKitten> apparently there is a fancy low level algorithm so the cards dont write to the same place a million times over? is how i understand it
[23:10] <pingo> any recommendations ?
[23:10] <gordonDrogon> I power cycle Pi's daily. the last time I had SD card corruption was when I was overclocking them.
[23:10] <taza> UK threatening Google that they have until October to solve hard AI "or else".
[23:10] <gordonDrogon> I use Sandisk Ultras.
[23:10] * teepee (~teepee@p4FFFD97E.dip0.t-ipconnect.de) Quit (Ping timeout: 240 seconds)
[23:10] <pingo> gordonDrogon ok ill give those a try
[23:11] * teepee (~teepee@p4FFFDC9B.dip0.t-ipconnect.de) has joined #raspberrypi
[23:11] <LigerZero> how do I check my ram, not entirely sure how much ram Igot and a buddy gave me his pi for free?
[23:11] <pingo> however I don't have a year of time to test it out so I'd prefer to lock it completely fro mwriting
[23:11] <scarolan> This really needs to be part of the FAQ; I think a lot of users have a bad experience because they don't know there are differences in SD card quality
[23:11] <pingo> I'd wish the setup to last for a few years :)
[23:11] <bertrik> I've only had problems with rpi and sd cards, when the rpi was updating something on the FAT partition, but it only damaged the filesystem, not the card itself
[23:11] <scarolan> and how sensitive the RPI is to that
[23:11] <LigerZero> he had more than one pi
[23:11] <CeilingKitten> LigerZero, free-hlt
[23:11] <gordonDrogon> CeilingKitten, from waht I've gather since the last time I went through this here - there is a degree of wear leveling - it's not perfect, but better than none.
[23:11] <CeilingKitten> free -hlt
[23:11] <Encrypt> I also use the Pi as a Server, it is on 24 hours a day... since 2 years
[23:12] <Encrypt> (or 1 year and a half)
[23:12] <gordonDrogon> bertrik, that was an old old issue - they fixed soemthing in the kernel for that.
[23:12] <LigerZero> thanks CeilingKitten
[23:12] <CeilingKitten> sorry LigerZero thats how much ram is in use umm,, whats your pi look like does it have mounting holes?
[23:12] <gordonDrogon> Encrypt, Heh... maybe 15 months if lucky :)
[23:12] <bertrik> cool, great to know
[23:12] <gbaman> anyone any idea how to stop an init.d outputting to terminal?
[23:12] <LigerZero> CeilingKitten: no it shows total ram it says
[23:12] <Encrypt> gordonDrogon, :)
[23:13] <gordonDrogon> gbaman, don't put any echo/prints in it..
[23:13] <Encrypt> pingo, Which kind of SD Card did you buy?
[23:13] <gbaman> other than that
[23:13] <pingo> let me see
[23:13] <gbaman> i like my prints
[23:13] <gbaman> useful for debug
[23:13] <gbaman> there must be a way to redirect it
[23:13] <Encrypt> pingo, (and power adapter btw)
[23:13] <gbaman> to ... nowhere
[23:13] <gordonDrogon> so have a debug flag atthe top of the file to disable them all..
[23:13] <pingo> One sd card is silicon power and the other one is sony
[23:14] <pingo> both 4GB
[23:14] <gordonDrogon> gbaman, typically redirect to /dev/null
[23:14] <LigerZero> CeilingKitten: what's a mounting hole...?
[23:14] <LigerZero> oh wait it does have a hole near the center
[23:14] <CeilingKitten> its a hole in the Raspberrypi
[23:14] <gordonDrogon> technically the mounting holes are Fiducials...
[23:15] <LigerZero> and one by the power led
[23:15] <CeilingKitten> so you can put M2.5 screws into it
[23:15] <gordonDrogon> not mounting holes... however people use them for mounting...
[23:15] <LigerZero> yeah it has 2 of those CeilingKitten
[23:15] <gbaman> so to have it run in background and redirect to /dev/null what would i add to /usr/local/bin/picontrol.py line in the script in init.d?
[23:15] <mgottschlag> gordonDrogon: you mean tooling holes, right? because fiducials are also on the board, but aren't any holes
[23:16] <Encrypt> pingo, These are good brands however...
[23:16] <CeilingKitten> gordonDrogon, they released them as mounting holes for us people, you can keep your fiducials >.> lol *now i have to google fiducials*
[23:16] <Encrypt> Your issue is quite strange
[23:16] <gordonDrogon> mgottschlag, you've got me there - I'm sure that's what I read of them on the pi forums a while back.
[23:16] <taza> I mean, seriously, with the UK "porn ban" they're not even trying to ban porn and it's entirely misrepresenting the issue.
[23:16] <LigerZero> lol
[23:16] <taza> It's just an attack on Google.
[23:16] <gordonDrogon> taza, elsewhere. this is a Pi channel.
[23:16] <CeilingKitten> I lol'd how the lady who created the bill got hacked :o and she started blaming random people or something
[23:17] <CeilingKitten> also family channel taza
[23:17] <pingo> Encrypt yeah, I think that rpi is broken
[23:17] <CeilingKitten> family friendly >.>
[23:17] <taza> CeilingKitten: Hardly not family friendly to talk about a law.
[23:18] <taza> CeilingKitten: To think this law has anything to do with porn other than the obfuscation is silly.
[23:18] <CeilingKitten> Well i'm sure IT_Sean the channel guy would flip his lid, like a monkey in a soup kitchen of the mind, if we start saying the p work in here
[23:18] <LigerZero> CeilingKitten: well free -hlt says 438M total and under swap there's a seperate total area maybe counting swap to which says 538M
[23:18] * Omnibrain (~Omnibrain@unaffiliated/omnibrain) Quit (Ping timeout: 276 seconds)
[23:19] <CeilingKitten> liger you got a 512MB pi, if you have 438 total you prolly have the rest running as GPU right now
[23:19] <taza> Fine, "filter law"
[23:19] <LigerZero> ah cool
[23:19] <gbaman> ha ha! worked, thanks gordondrogon, scarolan and dooley
[23:20] <gbaman> is there an easy way to detect if the script crashes and restart it or is that me pushing my luck?
[23:20] <pingo> So if I mount both / and /boot as readonly, do I need to disable swap file or?
[23:20] <CeilingKitten> o-o prolly good to or move it to somewhere else? lest you confuse the poor thing?
[23:21] * gbaman (~gbaman@host81-130-80-172.in-addr.btopenworld.com) Quit (Remote host closed the connection)
[23:23] * slystone (~pi@ has joined #raspberrypi
[23:24] * Jevermeister (~Jevermeis@unaffiliated/jever) Quit (Quit: /)
[23:25] * lansiir (~oldtopman@unaffiliated/oldtopman) has joined #raspberrypi
[23:25] * Thra11 (~Thra11@ Quit (Ping timeout: 240 seconds)
[23:27] * oldtopman (~oldtopman@unaffiliated/oldtopman) Quit (Ping timeout: 268 seconds)
[23:27] <LigerZero> Alright now to figure out sound, I have alsa and pulse stuff I just don't have sound working :/
[23:34] * AlexanderS__ is now known as AlexanderS
[23:36] * andatche (~andatche@mule.andatche.com) Quit (Excess Flood)
[23:37] * redarrow_ is now known as redarrow
[23:38] * andatche (~andatche@mule.andatche.com) has joined #raspberrypi
[23:38] <ShorTie> check alsamixer for being muted
[23:39] <pingo> I wish there was an official r.pi kit
[23:40] <pingo> r.pi + sd card + power adapter
[23:41] <pingo> perhaps a usb hub as well
[23:41] <tig|> pingo: there are bundles available that have been tested
[23:41] <pingo> where?
[23:42] <tig|> RS, Farnell and many other resellers do them
[23:42] <nmpro> tig|: http://www.ebay.com/itm/390560460783?hlp=false&var=
[23:42] <tig|> they are put together by the vendors though not the pi foundation but the foundation have enough on their plate just making the boards :)
[23:43] <tig|> nmpro: actually that is not a bad price I am trying to work out if that is cheaper than buying it in
[23:43] <tig|> the uk
[23:44] <Encrypt> piney, There are some on kubii.fr for french users
[23:44] <pingo> definitely not cheaper
[23:44] <Encrypt> pingo, *
[23:44] <Encrypt> piney, Sorry
[23:44] * PCJockey (~jeff@c-68-61-22-83.hsd1.mi.comcast.net) has joined #raspberrypi
[23:44] <pingo> do they ship to EU?
[23:44] <pingo> ill go and see i guess
[23:45] <Encrypt> I'm not that sure
[23:45] <nmpro> I bought my pi from http://www.alliedelec.com/default.aspx
[23:45] <nmpro> but there you have to piece it together
[23:47] <ShorTie> dag, thats a preaty nice monitor for 20 bucks
[23:48] * datagutt (~datagutt@unaffiliated/datagutt) Quit (Quit: Computer has gone to sleep.)
[23:50] * dan2k3k4 (~dan2k3k4@unaffiliated/dan2k3k4) Quit (Remote host closed the connection)
[23:50] * xCP23x (~xCP23x@78-105-36-237.zone3.bethere.co.uk) has joined #raspberrypi
[23:51] * dan2k3k4 (~dan2k3k4@unaffiliated/dan2k3k4) has joined #raspberrypi
[23:51] * pksato (~PEBKAC@unaffiliated/pksato) has joined #raspberrypi
[23:54] <ShorTie> 4.3" rear view lcd, and tv l00ks good on it too...
[23:55] * PasNox (~pasnox@2a01:e35:8b4f:f2a0:f44a:c52b:ee3d:6ea1) has joined #raspberrypi
[23:55] <Dooley> check this out too: http://www.ebay.de/itm/121004607232?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649
[23:57] * Dooley (~Dooley@dslb-178-010-195-226.pools.arcor-ip.net) Quit (Quit: Leaving)
[23:58] * m8 (~mor@unaffiliated/m8) Quit (Quit: Sto andando via)
[23:58] * mike_af (~mike_af@50-77-49-46-static.hfc.comcastbusiness.net) Quit (Remote host closed the connection)

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