#raspberrypi IRC Log


IRC Log for 2015-12-20

Timestamps are in GMT/BST.

[0:01] * lautzu (~lautzu@unaffiliated/lautzu) Quit (Ping timeout: 240 seconds)
[0:01] * trumpetarn (~trumpetar@h88-129-226-41.dynamic.se.alltele.net) Quit (Quit: Leaving)
[0:03] * deadcat (dcat@unaffiliated/deadcat) has left #raspberrypi
[0:03] <irc_smirk> any chance unity runs on raspberry?
[0:04] <irc_smirk> http://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/#post-2429209
[0:04] <t3chguy> irc_smirk: as in the desktop environment
[0:04] <t3chguy> ?
[0:04] <irc_smirk> i wonder if its arm specific?
[0:04] <irc_smirk> yeah to create a guis
[0:04] <irc_smirk> or even games i suppose
[0:05] * mirrolux (~nirrorlux@ Quit (Quit: Leaving)
[0:06] <pksato> http://www.righto.com/2015/12/creating-high-resolution-integrated.html
[0:06] * Kozuch (~Kozuch@78-80-181-179.tmcz.cz) Quit (Ping timeout: 260 seconds)
[0:06] <irc_smirk> also perhaps running on windows 10
[0:08] * styler2go (~styler2go@v22015051823525655.yourvserver.net) has joined #raspberrypi
[0:08] <styler2go> how i somehow see the current voltage the pi receives?
[0:09] <CoJaBo> Theres a GPIO you can read to detect undervoltage, but I don't think you can get the exact value without a meter
[0:10] <CoJaBo> In think there's one for overvoltage too
[0:11] <t3chguy> There are test points, but you'd need a meter
[0:11] * Syliss (~Home2@c-24-23-6-50.hsd1.ca.comcast.net) has joined #raspberrypi
[0:11] <pksato> styler2go: I can not. RPi not have a voltage monitor ADCs.
[0:11] <styler2go> ah
[0:13] * martinkl_ (~martinkle@ip5f5ad3f0.dynamic.kabel-deutschland.de) has joined #raspberrypi
[0:16] <irc_smirk> ok my jessie light img file has finallyf insihed torrenting
[0:16] <irc_smirk> now do i format my sd card?
[0:16] <irc_smirk> im going to be following these steps https://www.raspberrypi.org/documentation/installation/installing-images/mac.md
[0:16] <irc_smirk> doesnt say anythign about formating. does the first command do that?
[0:17] <t3chguy> irc_smirk: if you're using dd you don't need to format
[0:17] <t3chguy> as you're essentially cloning the image onto the entire SD Card
[0:17] <t3chguy> so all partitions (and the partition table) is overwritten
[0:17] <irc_smirk> okay so it will clear out all the junk on the old one (which is okay with me)
[0:18] <t3chguy> It'll basically make it identical to the Image
[0:18] <t3chguy> (except for possible size difference)
[0:18] * Berg (~chatzilla@pa114-73-167-25.pa.nsw.optusnet.com.au) has joined #raspberrypi
[0:18] <t3chguy> so you may need to expand the partition, which can be done using raspi-config
[0:18] <irc_smirk> right ok i have a tutorial vidoe when i get there
[0:18] <irc_smirk> ok lets do this
[0:18] * k0mp0 (~k0mp0@host81-132-61-49.range81-132.btcentralplus.com) has joined #raspberrypi
[0:20] * shantorn (~shantorn@71-222-115-87.ptld.qwest.net) Quit (Quit: Konversation terminated!)
[0:22] * martinkl_ (~martinkle@ip5f5ad3f0.dynamic.kabel-deutschland.de) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[0:22] * H4ndy is now known as h4ndy
[0:23] <irc_smirk> strange my sudo password is not working
[0:23] <irc_smirk> its the same one i use when i log in my original user onthe mac right/
[0:24] <irc_smirk> or when im installing sofrtware
[0:25] * fish0 (~sfishman@pool-100-15-161-226.washdc.fios.verizon.net) Quit (Quit: fish0)
[0:27] * Dark-Show (Dark-Show@sydnns0115w-142162230011.dhcp-dynamic.FibreOp.ns.bellaliant.net) Quit (Remote host closed the connection)
[0:27] * Dark-Show (Dark-Show@sydnns0115w-142162230011.dhcp-dynamic.FibreOp.ns.bellaliant.net) has joined #raspberrypi
[0:29] * irc_smirk (17f24525@gateway/web/freenode/ip. Quit (Quit: Page closed)
[0:30] * somis (~somis@ Quit (Quit: Leaving)
[0:31] * zesterer (~zesterer@host81-159-92-190.range81-159.btcentralplus.com) has joined #raspberrypi
[0:38] * netzfisch (~Thunderbi@x55b065d8.dyn.telefonica.de) has joined #raspberrypi
[0:41] * crusty (~unknown@unaffiliated/amt) Quit (Ping timeout: 272 seconds)
[0:42] * crusty (~unknown@unaffiliated/amt) has joined #raspberrypi
[0:43] * netzfisch (~Thunderbi@x55b065d8.dyn.telefonica.de) Quit (Quit: netzfisch)
[0:48] * LemonjuiceX (lemonjuice@ Quit (Quit: LemonjuiceX)
[0:48] * GerhardSchr_ (~GerhardSc@unaffiliated/gerhardschr) Quit (Ping timeout: 240 seconds)
[0:49] * Noldorin (~noldorin@unaffiliated/noldorin) Quit (Ping timeout: 256 seconds)
[0:56] * irc_smirk (17f24525@gateway/web/freenode/ip. has joined #raspberrypi
[0:56] <irc_smirk> ok im back
[0:56] <irc_smirk> i logged as admin user
[0:56] <irc_smirk> so is it nomral for it to take a long time doing the dd command
[0:56] * Anaxyn (Anaxyn@botters/Xenthys/bot/Anaxyn) Quit (Quit: Important update available, restarting…)
[0:57] <irc_smirk> i ran command to copy the raspbian-jessie image and its been at least 15 minutes
[0:57] * Anaxyn (Anaxyn@botters/Xenthys/bot/Anaxyn) has joined #raspberrypi
[0:58] <irc_smirk> 2123366400 bytes transferred in 886.799227 secs (2394416 bytes/sec)
[0:58] * lautzu (~lautzu@unaffiliated/lautzu) has joined #raspberrypi
[0:58] <Xenthys> irc_smirk: yeah, it's pretty normal for a copy of this type to take a long time
[0:59] <irc_smirk> is it going up to the 4 gig of the img or 16 gig of the sd card
[0:59] <irc_smirk> i didnt realize sd cards are so slow to write
[0:59] <Xenthys> up to the 4Go of the image
[1:00] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) Quit (Remote host closed the connection)
[1:00] * Kozuch (~Kozuch@78-80-181-179.tmcz.cz) has joined #raspberrypi
[1:02] * lautzu (~lautzu@unaffiliated/lautzu) Quit (Ping timeout: 246 seconds)
[1:03] * TheSin (~TheSin@gateway.bluefalls.ca) Quit (Quit: Client exiting)
[1:07] * aphirst (~aphirst@adsl-87-102-22-14.karoo.KCOM.COM) Quit (Ping timeout: 246 seconds)
[1:11] * rynkan (~rijad@ has joined #raspberrypi
[1:13] * Tach[Away] is now known as Tachyon`
[1:26] * Syliss (~Home2@c-24-23-6-50.hsd1.ca.comcast.net) Quit (Quit: Syliss)
[1:26] * dreamon (~dreamon@unaffiliated/dreamon) Quit (Ping timeout: 240 seconds)
[1:27] * Syliss (~Home2@c-24-23-6-50.hsd1.ca.comcast.net) has joined #raspberrypi
[1:27] * uriah (~uriah@unaffiliated/uriahheep) Quit (Ping timeout: 272 seconds)
[1:27] * Keanu73 (~Keanu73@unaffiliated/keanu73) Quit (Quit: Gotta go to bed or something. See ya!)
[1:28] * aphirst (~aphirst@adsl-87-102-22-14.karoo.KCOM.COM) has joined #raspberrypi
[1:29] * theRealGent (~theRealGe@unaffiliated/therealgent) has joined #raspberrypi
[1:29] * uriah (~uriah@unaffiliated/uriahheep) has joined #raspberrypi
[1:31] * Viper168 (~Viper@unaffiliated/viper168) Quit (Ping timeout: 272 seconds)
[1:31] * TyrfingMjolnir (~Tyrfing@ has joined #raspberrypi
[1:32] * Viper168 (~Viper@unaffiliated/viper168) has joined #raspberrypi
[1:33] * TyrfingMjolnir (~Tyrfing@ Quit (Client Quit)
[1:33] * knob (~knob@ has joined #raspberrypi
[1:33] * Syliss (~Home2@c-24-23-6-50.hsd1.ca.comcast.net) Quit (Quit: Syliss)
[1:36] <irc_smirk> buahahaha
[1:36] <irc_smirk> my raspberry has shown up on my router
[1:37] <irc_smirk> now i shall ssh and eat some pi
[1:37] * taza (~taza@unaffiliated/taza) Quit ()
[1:38] <irc_smirk> joy!
[1:39] * Felipehfj (~Felipehfj@ has joined #raspberrypi
[1:39] <irc_smirk> which is faster vnc or an x terminal?
[1:39] * taza (~taza@unaffiliated/taza) has joined #raspberrypi
[1:42] * Macuser (~textual@unaffiliated/macuser) has joined #raspberrypi
[1:42] <Xenthys> VNC is pretty heavy imo
[1:43] <Xenthys> and what do you want to say by "x terminal"?
[1:43] <irc_smirk> the other one is built in?
[1:43] <Xenthys> how would you bring it, X11 forwarding?
[1:43] <irc_smirk> i remember once i was able to somehow run x terminal or somethign and view it on my mac
[1:43] <irc_smirk> yeah that
[1:43] <irc_smirk> it worked ok. slow but i could move the mouse
[1:44] * Hix (~hix@97e08719.skybroadband.com) has joined #raspberrypi
[1:44] <Xenthys> if you want a term, use SSH, otherwise see if you can use X2Go
[1:44] * MiningInc (~MiningInc@d5.00.39a9.ip4.static.sl-reverse.com) has joined #raspberrypi
[1:45] <Xenthys> X11 forwarding is built-in but is pretty slow if you don't use an adapted compression algorithm
[1:45] <Xenthys> and VNC is weird >_>
[1:45] * Syliss (~Home2@c-24-23-6-50.hsd1.ca.comcast.net) has joined #raspberrypi
[1:45] * cdbob (~cdbob@gateway/vpn/privateinternetaccess/cdbob) has joined #raspberrypi
[1:46] * knob (~knob@ Quit (Quit: Leaving)
[1:47] * Syliss (~Home2@c-24-23-6-50.hsd1.ca.comcast.net) Quit (Client Quit)
[1:49] <irc_smirk> should i cahnge my username of 'pi' to something else?
[1:49] * Hix (~hix@97e08719.skybroadband.com) Quit (Ping timeout: 255 seconds)
[1:49] * Crazy_Cletus (~preston@unaffiliated/kg5heu-preston) Quit (Quit: Because i wanted to leave!)
[1:50] * TyrfingMjolnir (~Tyrfing@ has joined #raspberrypi
[1:51] * GentileBen (GentileBen@cpc70133-lutn12-2-0-cust324.9-3.cable.virginm.net) Quit ()
[1:51] * TyrfingMjolnir (~Tyrfing@ Quit (Read error: Connection reset by peer)
[1:53] * Swensson (~Swensson@h69n10-lid-a11.ias.bredband.telia.com) Quit ()
[1:56] * Muzer (~muzer@cpc72421-sotn15-2-0-cust723.15-1.cable.virginm.net) has joined #raspberrypi
[1:57] * skarn (skarn@unaffiliated/skarn) has joined #raspberrypi
[1:59] * busybox42 (~alan@ Quit (Quit: WeeChat 1.3)
[2:00] * Macuser (~textual@unaffiliated/macuser) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[2:00] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) has joined #raspberrypi
[2:01] * fennesz (~fennesz@adsl- Quit (Read error: Connection reset by peer)
[2:04] * theRealGent (~theRealGe@unaffiliated/therealgent) Quit (Remote host closed the connection)
[2:05] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) Quit (Ping timeout: 255 seconds)
[2:07] * phillw (~phillw@unaffiliated/phillw) has joined #raspberrypi
[2:07] <irc_smirk> can someone help me with port forwarding
[2:07] * miles_ (~miles@cpc1-mfld14-2-0-cust290.13-1.cable.virginm.net) has joined #raspberrypi
[2:08] <irc_smirk> i am using duckdns
[2:08] <irc_smirk> i have their install scripts setup on the pi
[2:08] <phillw> hi miles_
[2:08] <irc_smirk> i know how to lgo into my router
[2:08] <irc_smirk> and i have my cable modem extermal ip
[2:08] <irc_smirk> what i dont understand is how do i map whatever duckdns provides?
[2:08] <irc_smirk> mydomain.duckdns.org didnt work inthe routers external ip section
[2:10] <Xenthys`> no idea :/
[2:10] * troulouliou_div2 (~troulouli@unaffiliated/troulouliou-div2/x-0271439) has joined #raspberrypi
[2:10] <Xenthys`> I only use VPS & dedicated servers with static IPs, easier
[2:11] <irc_smirk> where is your pi physically put?
[2:11] * Viper168 (~Viper@unaffiliated/viper168) Quit (Ping timeout: 255 seconds)
[2:12] * Sisco (Sisco@unaffiliated/sisco) Quit (Ping timeout: 265 seconds)
[2:12] <Xenthys> I don't do things like that with my pi as servers are more powerful
[2:12] <Xenthys> I keep them for little projects
[2:13] <irc_smirk> oh ok
[2:13] <irc_smirk> so it seems i had to give it a hard ip address
[2:13] <irc_smirk> but this changes with the isp
[2:13] * Felipehfj (~Felipehfj@ Quit (Quit: Leaving)
[2:14] <Xenthys> duckdns is a sort of dyndns thing, no?
[2:15] * PiGuy (18669026@gateway/web/freenode/ip. Quit (Ping timeout: 252 seconds)
[2:16] <irc_smirk> yeah
[2:16] <irc_smirk> its supposed to ping them and thats how they know your ip
[2:17] <irc_smirk> you put a script on th epi and it runs on cron every 5 minutes so they know your ip
[2:17] <irc_smirk> then they map whatever domain you pick to that ip
[2:17] <irc_smirk> BUT the router forwarding itself may change that ip. so i dont get how it would be static oyet dynamic
[2:18] <Xenthys> the domain will point to your router
[2:18] <uriah> static local ip
[2:18] <uriah> dynamic public ip
[2:18] <uriah> then port forwarding to the static ip of the pi from the router
[2:18] <Xenthys> set your local IP as static then do port-forwarding for some (range of) ports
[2:18] <uriah> ;)
[2:18] <Xenthys> as said uriah yeah
[2:19] <Xenthys> I did it when I wanted to run a Minecraft server on my computer to play with my friends when I just entered highschool o/
[2:20] <irc_smirk> but the ip from the router changes doesnt it?
[2:21] <uriah> not if you set a static ip in the router settings
[2:21] <uriah> in dhcp settings
[2:21] <uriah> what router do you have/
[2:21] <uriah> ?
[2:21] <irc_smirk> a zoom
[2:22] * orb (~orb@ has joined #raspberrypi
[2:23] <irc_smirk> this is the forwarding screen http://i.imgur.com/Z9jCIWA.png
[2:23] <pksato> some routers call as dhcp Address Reservation
[2:23] <irc_smirk> on external ip i changed it to the actual ip i have taht is shown on top right page of http://portforward.com/english/routers/port_forwarding/Zoom/4402/#P
[2:24] * Sisco (Sisco@unaffiliated/sisco) has joined #raspberrypi
[2:24] * Kozuch (~Kozuch@78-80-181-179.tmcz.cz) Quit (Ping timeout: 260 seconds)
[2:25] * mac_ified (~mac_ified@67-9-150-210.res.bhn.net) has joined #raspberrypi
[2:25] * likevinyl (~pelado@unaffiliated/likevinyl) Quit (Quit: no hay bananas #birras)
[2:27] <irc_smirk> if that external ip changes by the ips then the whole thing falls apart right?
[2:27] * miles_ (~miles@cpc1-mfld14-2-0-cust290.13-1.cable.virginm.net) Quit (Remote host closed the connection)
[2:29] * LikeVinyl (~pelado@unaffiliated/likevinyl) has joined #raspberrypi
[2:32] * fish0 (~sfishman@pool-100-15-161-226.washdc.fios.verizon.net) has joined #raspberrypi
[2:33] * turtlehat (~turtlehat@5CEC365.rev.sefiber.dk) Quit (Quit: gone)
[2:33] <uriah> irc_smirk: you should leave the external ip stuff alone... what you want is to set a static internal ip for the pi, by using its mac address to link it to a static ip
[2:34] <irc_smirk> so my pi is on a local ip port of 14
[2:34] <irc_smirk> thats assigned by dhcp right?
[2:35] <irc_smirk> so i have an option to turn on or off dhcp server
[2:35] <uriah> i'm uncertain of what you're referring to
[2:35] <uriah> keep the dhcp server on
[2:35] <irc_smirk> ok basically the router is saying it will give out ip numbers on local network if they get on it right
[2:35] <uriah> do you mean a local ip address of
[2:35] <irc_smirk> so my pc desktop gets one, then th epi got one
[2:35] <irc_smirk> yeah
[2:35] <irc_smirk> so that should be static
[2:35] <uriah> ok
[2:35] <uriah> not necessarily
[2:35] <irc_smirk> i guess im afraiid that the router will reboot and make it 11 or somethign lter
[2:36] <uriah> yeah
[2:36] <uriah> you need to find static dhcp settings in your router configuration
[2:36] <irc_smirk> weird thing is the pi has a bunch of ports forwarding automatically
[2:36] <uriah> and find out what the pi's mac address is
[2:36] <uriah> and then set it to the internal ip address you want
[2:36] <irc_smirk> yeah i got the mac address
[2:36] * methuzla (~methuzla@dsl254-017-117.sea1.dsl.speakeasy.net) has left #raspberrypi
[2:37] <irc_smirk> need to figure out how to make the internal ip static
[2:37] <pksato> go to dhcp server config page. you find that need.
[2:37] <irc_smirk> port 1973?
[2:39] <irc_smirk> force available?
[2:39] <irc_smirk> hrm
[2:39] <uriah> :-/
[2:39] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) has joined #raspberrypi
[2:42] <irc_smirk> ok i think force available made it static
[2:42] <irc_smirk> it just made it disappear form the list of dhcp clients
[2:42] <irc_smirk> how do i confirm its static
[2:42] <irc_smirk> command line somehting ?
[2:43] <irc_smirk> reboot pi or change the ethernt to another port on router?
[2:43] <pksato> power off pi and router
[2:43] <irc_smirk> ok bye for now then :)
[2:43] * averagecase (~bolle@cl-6544.cgn-01.de.sixxs.net) Quit (Quit: Leaving)
[2:43] <pksato> router remeber last lease
[2:44] <uriah> irc_smirk: there is no short-term way
[2:44] <uriah> if ever it changes the internal ip of the pi, then you'll know that you did something wrong ;)
[2:45] <uriah> there's a small chance that turning your router and pi off will prove that it works, but there's also a chance that the router will remember what ip it had leased the pi last time it was connected and will keep it that way for the time being
[2:45] * snowkidind (~snowkidin@pool-96-255-209-107.washdc.fios.verizon.net) has joined #raspberrypi
[2:46] <pksato> set a random ip to mac.
[2:48] * BrianH (~BrianH@c-71-60-24-13.hsd1.pa.comcast.net) Quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[2:48] * irc_smirk (17f24525@gateway/web/freenode/ip. Quit (Ping timeout: 252 seconds)
[2:49] * amigojapan (~amigojapa@unaffiliated/amigojapan) has joined #raspberrypi
[2:50] * irc_smirk (17f24525@gateway/web/freenode/ip. has joined #raspberrypi
[2:50] <irc_smirk> ok
[2:50] <irc_smirk> i think i figured it out
[2:51] <irc_smirk> in the dhcp server setting page of router
[2:51] <irc_smirk> it has option of giving out local addresses above a certain 19.168.0 block
[2:51] <irc_smirk> so i just put it higher than the current dynamic ones i had
[2:51] <irc_smirk> that triggered all the dynamic ones to go static
[2:51] * Noldorin (~noldorin@unaffiliated/noldorin) has joined #raspberrypi
[2:52] <irc_smirk> so i think that will make it memorize the mac address when it sees it and give it a static ip
[2:52] * [Saint] has a hard time understanding why that would be a feature anyone would want
[2:52] <irc_smirk> is it safe to jsut unplug pi or do i need to do shoutdown in command
[2:52] <irc_smirk> to host web services with docker
[2:52] <[Saint]> also - DHCP Reservation is your friend.
[2:52] <[Saint]> If your router doesn't handle DHCP Reservation tables, burn it.
[2:52] <irc_smirk> or node js servers
[2:52] <irc_smirk> or wahtever. a way to have a public ip for my apps for testing purposes
[2:53] * bedah (~bedah@dyndsl-091-248-013-023.ewe-ip-backbone.de) Quit (Quit: Ex-Chat)
[2:54] <snowkidind> hello
[2:54] * SeatsTaken (~MiningInc@e5.00.39a9.ip4.static.sl-reverse.com) has joined #raspberrypi
[2:54] <snowkidind> is there a way of converting the ethernet port into a video prot (e.g. hdmi overethernet)
[2:55] * realies (~realies@unaffiliated/realies) Quit (Max SendQ exceeded)
[2:55] * realies (~realies@unaffiliated/realies) has joined #raspberrypi
[2:55] <snowkidind> something like this: http://www.markertek.com/product/aja-hb-t-hdmi/aja-hb-t-hdmi-hdmi-to-ethernet-transmitter?utm_medium=shoppingengine&utm_source=googlebase&utm_source=google&utm_term=Product_Target&utm_campaign=Shopping+-+Pro+Video&utm_medium=cpc&utm_content=sIe8bFlK|pcrid|74923776860|pdv|c|&gclid=CJn8utWq6ckCFYMbHwod-M4EAg
[2:55] <snowkidind> (sorry ugly link)
[2:55] <irc_smirk> crap didnt work
[2:56] <uriah> brb
[2:56] * lautzu (~lautzu@unaffiliated/lautzu) has joined #raspberrypi
[2:57] <pksato> snowkidind: A ethernet port like one on RPi? No.
[2:57] <snowkidind> ok
[2:57] * uriahheep (~uriah@unaffiliated/uriahheep) has joined #raspberrypi
[2:57] * MiningInc (~MiningInc@d5.00.39a9.ip4.static.sl-reverse.com) Quit (Ping timeout: 255 seconds)
[2:57] <snowkidind> i was wondering if i could somehow pull it off
[2:57] * uriah (~uriah@unaffiliated/uriahheep) Quit (Disconnected by services)
[2:57] * uriahheep is now known as uriah
[2:58] <snowkidind> I could always implement my own port
[2:58] <snowkidind> i could use an sdi port to. are there adapters for that?
[2:58] <pksato> linked device is to use cat5/6 cable to transmit hdmi data.
[2:59] * amigojapan (~amigojapa@unaffiliated/amigojapan) Quit (Quit: amigojapan)
[3:00] * KRESH (~Esh@cm56-202-149.liwest.at) has joined #raspberrypi
[3:01] * ID_Irrelevant (~MiningInc@gateway/vpn/privateinternetaccess/mininginc) has joined #raspberrypi
[3:01] <snowkidind> what i really want is something that can do this: HDMI and VGA DVI inputs -> HDMI out + SDI out + it would be cool to have the HDMI over ethernet
[3:01] <snowkidind> Basically I need to be able to handle 200 foot runs of video signal over cable
[3:02] * Macuser (~textual@unaffiliated/macuser) has joined #raspberrypi
[3:02] * troulouliou_div2 (~troulouli@unaffiliated/troulouliou-div2/x-0271439) Quit (Remote host closed the connection)
[3:02] * irc_smirk (17f24525@gateway/web/freenode/ip. Quit (Ping timeout: 252 seconds)
[3:03] * irc_smirk (17f24525@gateway/web/freenode/ip. has joined #raspberrypi
[3:03] <irc_smirk> alright screw it. ill have to live with dynamic ip on the pi
[3:03] * Anaxyn (Anaxyn@botters/Xenthys/bot/Anaxyn) Quit (Quit: brb)
[3:03] * Anaxyn (Anaxyn@botters/Xenthys/bot/Anaxyn) has joined #raspberrypi
[3:03] <snowkidind> member:irc_smirk whats your issue
[3:04] <uriah> irc_smirk: that's unfortunate...
[3:04] <irc_smirk> nothing im going to move on
[3:04] * SeatsTaken (~MiningInc@e5.00.39a9.ip4.static.sl-reverse.com) Quit (Ping timeout: 240 seconds)
[3:04] <irc_smirk> cant force the router to give a static local ip
[3:04] <irc_smirk> ill revist this later
[3:04] <snowkidind> i did that
[3:04] <irc_smirk> time to get docker image on pi
[3:04] <snowkidind> worked fine
[3:04] <uriah> irc_smirk: google the intructions for your specific router and you'll find what you need
[3:05] <snowkidind> but if you are having issues finding the ip of the device, theres an iphone app called fing that tells you all the devices on your network
[3:05] <uriah> you know... it's better to spend countless hours learning how to do something correctly than to give up and never learn how to at all :-/
[3:05] * Tera2342 (~Tera2342@ has joined #raspberrypi
[3:05] <uriah> that's the nature of learning computer science, basically
[3:08] * KD7JWC (~shantorn@71-222-115-87.ptld.qwest.net) has joined #raspberrypi
[3:09] <snowkidind> On my verizon router its Advanced -> IPAddress Distribution -> Connection List -> (Bottom of the list) New Static Connection
[3:10] * gosty (~textual@c-73-172-159-155.hsd1.md.comcast.net) has joined #raspberrypi
[3:11] <irc_smirk> i cant find that option on mine
[3:11] <pksato> or, set static ip on rpi.
[3:11] * nonopposition (crazyed@wrongplanet/CrazyEddy) Quit (Remote host closed the connection)
[3:12] <snowkidind> whats your router
[3:13] <irc_smirk> http://portforward.com/english/routers/port_forwarding/Zoom/5352/
[3:13] <irc_smirk> the instructions there are useless
[3:13] <ID_Irrelevant> +1 uriah
[3:14] <irc_smirk> pksato - if i go that route then how would it work if the router is assigning htem dynamically
[3:14] <irc_smirk> going to try this tutorial http://www.modmypi.com/blog/tutorial-how-to-give-your-raspberry-pi-a-static-ip-address
[3:14] <irc_smirk> then ill move on to docker
[3:15] <snowkidind> you gotta do it from the router so if you turn the pi off it doesnt give the addres to someone else but hey there are other ways. let me know what router you have and ill figure it out
[3:15] <irc_smirk> zoom 5352
[3:16] <pksato> most soho router not control access basead on dhcp lease.
[3:16] <pksato> dymanicaly.
[3:17] * KD7JWC (~shantorn@71-222-115-87.ptld.qwest.net) Quit (Quit: Leaving)
[3:17] <irc_smirk> soho?
[3:18] <ID_Irrelevant> You should be able to assign an IP to pi via router
[3:18] <irc_smirk> yes. keyword should
[3:18] * ID_Irrelevant (~MiningInc@gateway/vpn/privateinternetaccess/mininginc) Quit (Quit: Leaving)
[3:18] * nonopposition (crazyed@wrongplanet/CrazyEddy) has joined #raspberrypi
[3:18] * MiningInc (~MiningInc@gateway/vpn/privateinternetaccess/mininginc) has joined #raspberrypi
[3:19] <snowkidind> haha their manual sucks
[3:19] <irc_smirk> yep
[3:22] * Moonsilence (~Moonsilen@aftr-95-222-30-169.unity-media.net) Quit (Ping timeout: 240 seconds)
[3:23] <irc_smirk> here is the pi in outer space http://i.imgur.com/c2h5UxO.png
[3:23] * taza (~taza@unaffiliated/taza) Quit ()
[3:24] <snowkidind> thats cool
[3:24] <uriah> lol
[3:24] * Sisco (Sisco@unaffiliated/sisco) Quit (Remote host closed the connection)
[3:24] <uriah> does it have a gps module on the astro pihat, or whatever it's called?
[3:25] <daveake> no
[3:25] <uriah> or are they just updating it with their equipment
[3:25] <daveake> That data is not coiming from the Pi
[3:25] <irc_smirk> STARbucks wifi
[3:25] <uriah> ok
[3:26] <daveake> It's coming from the ISS position
[3:26] <uriah> ok
[3:26] <uriah> which is publicly broadcast?
[3:26] <irc_smirk> oh yeah, you can find out eactly where it is at all time
[3:26] <daveake> Publically available via a web API yes
[3:27] <uriah> cool
[3:27] <irc_smirk> i did a web app for ISS a while ago
[3:27] <irc_smirk> laid it on a google map
[3:27] * cmoneylulz (~cmoneylul@unaffiliated/cmoneylulz) has joined #raspberrypi
[3:28] * Tera2342 (~Tera2342@ Quit (Read error: Connection reset by peer)
[3:28] <irc_smirk> how do i keep my ssh connection more alive?
[3:28] <irc_smirk> it keeps timing out
[3:29] <snowkidind> ok so your router sucks
[3:29] <uriah> ServerAliveInterval / ClientAliveInterval settings in ssh options and sshd config respectively
[3:29] <snowkidind> Im pretty sure it has to do with that pass through menu / panel
[3:30] <irc_smirk> thanks
[3:30] <irc_smirk> https://www.youtube.com/watch?v=vXRFHOcMd70
[3:30] <snowkidind> one thing you can do if you are running a web server on it, cat /etc/hosts and see what it’s name is
[3:30] <irc_smirk> 2740 web servers on a raspberry pi
[3:30] <snowkidind> then you can get it from the browser by something like http://raspberrypi/
[3:30] <snowkidind> on your local network that is
[3:30] <snowkidind> without needing the ip
[3:31] <[Saint]> or, just set the server/client alive intervals properly.
[3:31] * Janhouse (~Janhouse@torch.id.lv) Quit (Remote host closed the connection)
[3:32] <snowkidind> on your router i believe you need to get the mac address of the raspberry pi (use the fing app) and then add it into pass thgrough addresses
[3:32] * Sisco (Sisco@unaffiliated/sisco) has joined #raspberrypi
[3:32] * Viper168 (~Viper@unaffiliated/viper168) has joined #raspberrypi
[3:32] <irc_smirk> where is that optoin
[3:32] <[Saint]> any sane router should already be allowing local ssh passthrough.
[3:32] <irc_smirk> i have the mac address
[3:32] <[Saint]> if it doesn't, burn it.
[3:32] <snowkidind> advanced
[3:34] <irc_smirk> why do that?
[3:34] <snowkidind> that was a guess
[3:34] <irc_smirk> no i mean for what problem?
[3:34] <snowkidind> logically speaking from the manual i have, http://media.cox.com/support/print_media/internet/equipment/Zoom_5350_User_Manual.pdf
[3:35] <snowkidind> that would be the only place that you might potentially be able to set a static ip
[3:35] * Dark-Show (Dark-Show@sydnns0115w-142162230011.dhcp-dynamic.FibreOp.ns.bellaliant.net) Quit (Remote host closed the connection)
[3:35] <snowkidind> because ive looked at all the other options
[3:35] <snowkidind> but its a guess
[3:35] * Dark-Show (Dark-Show@sydnns0115w-142162230011.dhcp-dynamic.FibreOp.ns.bellaliant.net) has joined #raspberrypi
[3:35] * ThirtyThirtyWin (~ThirtyThi@c-71-197-118-206.hsd1.ca.comcast.net) has joined #raspberrypi
[3:35] <snowkidind> somehow setting the pass through makes it static, or something
[3:35] <irc_smirk> ok thansk for looking into it
[3:36] <snowkidind> sorry i wish i had an answer
[3:36] <[Saint]> I really really really suggest looking if your router supports DHCP reservation tables.
[3:36] <[Saint]> static addressing is largely a thing of the past.
[3:36] <irc_smirk> ive burnt it already
[3:36] <snowkidind> good csll
[3:36] <snowkidind> call
[3:38] * derk0pf_ (~derk0pf@p5DDB690F.dip0.t-ipconnect.de) has joined #raspberrypi
[3:38] <[Saint]> This is one of the problems with most consumer grade routers I guess.
[3:38] <[Saint]> They're pretty much universally crap.
[3:39] <[Saint]> bonus points if it's a managed mode router and you can't disable TR069
[3:40] * Noldorin (~noldorin@unaffiliated/noldorin) Quit (Ping timeout: 260 seconds)
[3:40] * Janhouse (~Janhouse@torch.id.lv) has joined #raspberrypi
[3:41] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) Quit (Remote host closed the connection)
[3:41] * derk0pf (~derk0pf@p5DDB68F8.dip0.t-ipconnect.de) Quit (Ping timeout: 246 seconds)
[3:44] <uriah> yeah... to bad there aren't any 802.11ac usb 2.0 devices
[3:44] <uriah> supported by linux
[3:45] <uriah> but i guess dual-band n is ok
[3:46] <uriah> and by supported by linux i mean open-source driver merged upstream
[3:48] <irc_smirk> the witch is speaking! http://abcnews.go.com/Politics/bernie-sanders-apologizes-hillary-clinton-accessing-voter-data/story?id=35865025
[3:48] <uriah> heh
[3:49] * teleyeti (~telekinet@97e30110.skybroadband.com) Quit (Read error: Connection reset by peer)
[3:50] * Tera2342 (~Tera2342@ has joined #raspberrypi
[3:51] * drewx0r (~drewx0r@unaffiliated/drewx0r) has joined #raspberrypi
[3:51] * gregbert (bc082e5c@unaffiliated/gregbert) has joined #raspberrypi
[3:52] * fish0 (~sfishman@pool-100-15-161-226.washdc.fios.verizon.net) Quit (Quit: fish0)
[3:54] * cmoneylulz (~cmoneylul@unaffiliated/cmoneylulz) Quit (Remote host closed the connection)
[3:54] <[Saint]> Hope you like her as the new president.
[3:55] <[Saint]> Sure as Hell won't be Sanders, and definitely won't be Trump.
[3:55] <irc_smirk> its always the lesser of 2 evils
[3:55] <[Saint]> Lesser? Interesting choice of wording.
[3:55] <[Saint]> lol
[3:56] <irc_smirk> well trump is setup as the obvious idiot
[3:56] <irc_smirk> then they all go out to dinner together
[3:56] <[Saint]> inb4 'something something Sanders socialism'
[3:57] <irc_smirk> the funniest thing about american politics is how they all claim how much they love america
[3:57] <irc_smirk> and when they loose you neverhear from them again
[3:57] <[Saint]> Sanders isn't wrong, though. Your education and health systems are retarded.
[3:57] <irc_smirk> you would think they would be sweeping up the streets or somethign to still help
[3:58] <uriah> irc_smirk: uhm, pretty sure john mccain is still active
[3:58] <[Saint]> it's like the US wants its citizens to be broke, ignorant, and sick.
[3:58] <uriah> and so is al gore
[3:58] <[Saint]> ...with a dozen guns.
[3:58] <[Saint]> each.
[3:59] <irc_smirk> US is a corporation
[3:59] <irc_smirk> cisca just passed btw
[3:59] <irc_smirk> cispa? wahteverits called
[3:59] <irc_smirk> legalized facism
[3:59] <[Saint]> Yeah, it got crammed into a much more favorable bill.
[4:00] <[Saint]> "they'll never read ALL 6000 pages of the bill text..." seems to be a common ploy there.
[4:05] <snowkidind> So has anyone worked with video at all using the pi? I want to get the camera signal into a video stream and analyze / modify it and then output something different to hdmi
[4:05] * Macuser (~textual@unaffiliated/macuser) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[4:05] <snowkidind> sounds do-able
[4:05] <snowkidind> what tools do I use to do that?
[4:06] <[Saint]> Hammer, screwdriver, cold chisel, mitre saw.
[4:06] <snowkidind> does linux have a programming environment that is suited for such
[4:06] <snowkidind> or is it python this java that
[4:06] <snowkidind> I prefer the dental pic
[4:07] <snowkidind> but im not sure how the pi would hold up to the water pressure
[4:07] * KRESH (~Esh@cm56-202-149.liwest.at) Quit (Quit: Going offline, see ya! (www.adiirc.com))
[4:07] * drewx0r (~drewx0r@unaffiliated/drewx0r) Quit (Quit: 'night!)
[4:11] * Forser (~Forser@c83-251-219-84.bredband.comhem.se) has joined #raspberrypi
[4:12] * Macuser (~textual@unaffiliated/macuser) has joined #raspberrypi
[4:15] * Gathis (~TheGrey@unaffiliated/gathis) Quit (Remote host closed the connection)
[4:16] <Stanto> snowkidind: opencv, C++
[4:16] <Stanto> has wrappers for other languages. go wild.
[4:17] * chenuki (~fury@pipe.bannerfree.net) Quit (Read error: Connection reset by peer)
[4:17] <snowkidind> what is open cv
[4:17] <snowkidind> new to me
[4:18] <Stanto> Does what you're asking, you can find it using a search engine
[4:18] <Stanto> It'll explain it better on the site
[4:18] <snowkidind> im looking at it
[4:20] <snowkidind> so is that a library to use under c++?
[4:20] <snowkidind> thats what im gathering
[4:21] <Stanto> snowkidind: yes, or python, etc.
[4:21] <[Saint]> or Java, etc. etc.
[4:21] <snowkidind> I am assuming a scripted language wouldnt be very good for a live video stream
[4:21] <snowkidind> by the ways im an audio engineer by trade. i hate video
[4:21] <Stanto> it really doesn't matter
[4:22] <Stanto> it's negligible because the video is processed by the gpu
[4:22] <[Saint]> you won't be doing ti in anywhere near realtime, so, the scripted language aspect is largely irrelevant.
[4:22] <[Saint]> *it
[4:22] <snowkidind> i need to actually analyze each frame of video and output a different frame that i generated
[4:22] <irc_smirk> snowkidind this just came out a couple days ago
[4:22] <irc_smirk> http://slickdeals.tradepub.com/free/w_pacb12/?w=m
[4:22] <snowkidind> has to be in realtime
[4:22] <[Saint]> yes, and you'll have to do so in a buffer.
[4:23] <[Saint]> this will NOT be realtime.
[4:23] <[Saint]> no way.
[4:23] <irc_smirk> note raspery pi computer vision programming all about cv
[4:23] <snowkidind> a slight buffer is ok
[4:23] <irc_smirk> free pdf
[4:23] <snowkidind> i need a max of .25 seconds
[4:23] <uriah> no big deal i think
[4:23] <[Saint]> I sincerely doubt that's gonna happen.
[4:24] <uriah> ?!?!!?!
[4:24] <[Saint]> very sincerely.
[4:24] <uriah> 1/4 second is very large buffer
[4:24] <irc_smirk> sounds like a burner to me
[4:24] <[Saint]> depends how much processing is happening, but, I have some very large doubts.
[4:25] <snowkidind> basically the original signal hits the processor, i find a point on it and generate a frame. 60fps
[4:25] <[Saint]> I assumed the .25 seconds referred to latency, not ringbuffer.
[4:25] <Stanto> snowkidind: Why? What're you doing?
[4:25] <snowkidind> latency
[4:25] <[Saint]> yeah, not happening.
[4:25] <[Saint]> unless you're doing only a very small amount of highly predictable processing.
[4:25] <uriah> hmm...
[4:26] <uriah> oh sorry, i didn't realize we were talking about opencv here... ignore what i said :)
[4:26] <snowkidind> the best i can say is that i am making a device that analyzes a video stream and responds with a secondary stream with relevant data
[4:26] * derk0pf_ (~derk0pf@p5DDB690F.dip0.t-ipconnect.de) Quit (Quit: ZzzZZzZZZ.)
[4:26] <irc_smirk> like a porn recommender?
[4:26] <[Saint]> that kind of latency for live editing capture from a video input is a fairly large ask on much more capable hardware.
[4:27] <[Saint]> let alone our wee man the raspi.
[4:27] <snowkidind> i figure i can always use something more powerful
[4:27] <irc_smirk> mail man
[4:28] <irc_smirk> just got my xmas present for myself http://pirates-electronics.myshopify.com/
[4:28] <Stanto> snowkidind: fyi more details = better help given
[4:28] <snowkidind> i know
[4:29] <snowkidind> i want to disclose the invention
[4:29] <[Saint]> holy crap that kit is expensive for a glorified breadboard.
[4:29] <snowkidind> but that would be stupid
[4:29] <irc_smirk> it comes with toilet paper so you can crap on it!
[4:29] <snowkidind> member:irc_smirk i just order what i need off the webs… mouser, allied, digikey
[4:29] <[Saint]> ...it better. ;)
[4:30] <[Saint]> gold leafed paper at that.
[4:30] <irc_smirk> i like supporting ind ventures
[4:30] <irc_smirk> i tcomes with a course too
[4:30] <snowkidind> allied has a great picture catalog - order a free catalog and then get parts from digikey after you id what you want
[4:30] <Stanto> not newark?
[4:30] <snowkidind> thats good too
[4:31] <snowkidind> grainger has a lot of mechanical stuff too
[4:31] <snowkidind> more real-world, less electronics
[4:31] <snowkidind> like if you were doing hydraulic actuators etc
[4:31] * Wolfie (~Wolf1098@wolfietech.ca) Quit (Read error: Connection reset by peer)
[4:31] <irc_smirk> snowkidind you see the pdf offer
[4:32] * Wolf1098 (~Wolf1098@wolfietech.ca) has joined #raspberrypi
[4:32] <irc_smirk> i think those will help you with pi vision programming
[4:32] * Wolf1098 is now known as Wolfie
[4:32] * Tachyon` is now known as Tach[Zzz]
[4:33] <snowkidind> ok so - ill try. Take a normal video signal, get the red channel find the brightest spot containing red mark a coordinate. output a point at there. repeat for 60 frames a second
[4:33] * cpe (~cpe@unaffiliated/cpe) Quit (Ping timeout: 240 seconds)
[4:33] <uriah> hmm... should be ok to power two pis from one usb cable split to 2 connector in parallel as long as i don't surpass the psu it's plugged into's max current, right?
[4:34] <snowkidind> member:uriah most computer supplied usb ports shut down after 500 ma
[4:34] <uriah> i'm not talking about that
[4:34] <snowkidind> plugged into a wall wart?
[4:34] * cpe (~cpe@unaffiliated/cpe) has joined #raspberrypi
[4:34] <uriah> yes
[4:35] <snowkidind> should be fine
[4:35] <snowkidind> but might not want to hook up too many peripherals
[4:35] <uriah> one usb cable plugged into a wall wart, two connectors at the end of the cable in parallel, each connector powering one pi
[4:35] <uriah> yeah probably not
[4:35] <snowkidind> could you use a battery charger in between to stabalize the current draw?
[4:35] <irc_smirk> why havent batteries advanced as much as cpus etc
[4:36] <uriah> irc_smirk: because chemistry :P
[4:36] <[Saint]> they have. just not in a cost effect and mass producible way.
[4:36] <irc_smirk> but but evolution
[4:36] <uriah> moore's law doesn't apply to batteries, i believe
[4:36] <[Saint]> it's not exactly convenient to carry around a container full of molten thorium, lol.
[4:36] <[Saint]> and, no, it does not.
[4:37] <Stanto> uriah: I foresee brownouts in your future
[4:37] <[Saint]> we're right at the edge of Moore's law anyway.
[4:37] <uriah> Stanto: you think so?
[4:37] <snowkidind> heres a fact: all the batteries made in china for iPhones are rated and the best of the batch goes to usa. the rest get distributed in the third world
[4:37] <uriah> Stanto: i have a 5V 4.2A power supply :)
[4:37] <Stanto> uriah: so long as it can maintain the 5v ...
[4:37] <snowkidind> 4.2 amps is a plenty
[4:37] <uriah> Stanto: hmm... true
[4:37] <[Saint]> snowkidind: I'd be very interested to see verification on that 'fact'.
[4:38] <snowkidind> each pi’s gpio is only good for 2amps
[4:38] <uriah> Stanto: i guess i'll have to test
[4:38] <uriah> Stanto: uhm, much less than that i believe
[4:38] <[Saint]> I...what!?!
[4:38] <uriah> snowkidind: ^ that was meant for you
[4:38] <uriah> sorry Stanto
[4:38] <Stanto> np
[4:38] <[Saint]> try drawing 2A off each GPIO and you'll have some serious issues, lol.
[4:39] <uriah> indeed
[4:39] <Stanto> snowkidind: more like 23mA
[4:39] <uriah> something like that, and the max combined current for all gpio's combined is something like 50mA, isn't it?
[4:39] <snowkidind> i thought i read that 2a on the b+
[4:39] <uriah> at least for model b rev. 2
[4:40] <Stanto> 3mA to 51mA would probably make sense.
[4:40] <snowkidind> im running LEDs off and using transistors to power the display. that way im not drawing on the card. higher draws are going to shorten the life for sure
[4:41] <snowkidind> just using the gpio for logic
[4:41] <Stanto> snowkidind: 2A is the amount supplied to the Pi, the B+ can run on 5v 1A
[4:41] <Stanto> Pi2 is recommended 5v 2A
[4:41] <[Saint]> it can run on a lot less.
[4:41] <snowkidind> ok
[4:41] <uriah> Stanto: what i'm planning on doing is powering an A+ and a pi zero off of 1A honestly... the 4.2A charger is only for testing :P
[4:42] <uriah> think it'll work?
[4:42] <uriah> headless of course
[4:42] <uriah> and it won't be used very intensely
[4:42] <[Saint]> It shouldn't even boot.
[4:42] <uriah> really?
[4:42] <[Saint]> really realy.
[4:42] <uriah> because booting will draw more current than idling?
[4:42] <irc_smirk> docker pi coming up
[4:43] <[Saint]> because it wants 4.8A min IIRC.
[4:43] <uriah> uh
[4:43] <Stanto> uriah: it'll work. depends what you're doing with it.
[4:43] <Stanto> You can reduce the power draw of the A+/Zero a lot.
[4:43] <[Saint]> Oh, derp. I A'd when I should've V'd. Derp.
[4:44] <uriah> Stanto: the zero will run a usb LTE device with a gps module, will track the location of the device and report to a remote server.
[4:44] <Stanto> uriah: that'll pull a bit more power.
[4:44] <uriah> Stanto: the A+ will have the raspi camera and an nfc controller on it
[4:44] <Stanto> You might want to consider using a GPIO based GPS device
[4:44] <uriah> it is a uart
[4:44] <uriah> it's the LTE transciever that is usb
[4:45] <Stanto> Ah.
[4:45] * cyborg-one (~cyborg-on@ Quit (Quit: cyborg-one)
[4:45] <uriah> and i've tested its current draw, not too high...
[4:45] <Stanto> Depends if it'll scale that depending on signal quality
[4:45] <uriah> max ~150mA iirc
[4:45] <Stanto> yeah
[4:46] <uriah> maybe i can disable LTE and just do HSPA+ or something to lower curren
[4:46] <uriah> current*
[4:46] <uriah> i really don't need that much throughput
[4:47] <uriah> Stanto: https://www.adafruit.com/products/2465
[4:47] <uriah> Stanto: in production, i'll be trying to use this to power everything
[4:47] <snowkidind> looking at this openCV it looks right
[4:47] <uriah> 1.8A should be plenty if i'm headless and only one pi will do much processing, and rarely at that
[4:48] <Stanto> have you seen the MOPI add on?
[4:48] <uriah> MOPI?
[4:48] <uriah> link pleas
[4:48] <uriah> please*
[4:48] <uriah> :)
[4:49] <Stanto> https://pi.gate.ac.uk/pages/mopi.html
[4:49] <uriah> ty
[4:49] * pksato (~PEBKAC@unaffiliated/pksato) Quit (Quit: Problem Exists Between Keyboard And Chair)
[4:50] <uriah> interesting
[4:50] <uriah> hmm...
[4:50] * Drexl (Drexl@cpc15-camd13-2-0-cust160.hari.cable.virginm.net) Quit (Ping timeout: 240 seconds)
[4:51] <uriah> is `sudo poweroff` better or identical to `sudo shutdown -h now` ?
[4:51] * fish0 (~sfishman@pool-100-15-161-226.washdc.fios.verizon.net) has joined #raspberrypi
[4:52] <uriah> Stanto: looks nice, but can it charge the battery packs?
[4:52] <uriah> or is it more for hot-swapping power sources?
[4:53] * Wolfie (~Wolf1098@wolfietech.ca) Quit (Quit: ZNC 1.7.x - http://znc.in)
[4:53] * MiningInc (~MiningInc@gateway/vpn/privateinternetaccess/mininginc) Quit (Ping timeout: 240 seconds)
[4:53] * Wolfie (wolfie@wolfietech.ca) has joined #raspberrypi
[4:53] <uriah> anyway... the adafruit powerboost charger 1000C can handle a wireless mouse/keyboard, usb wifi, an lcd screen, a pi2 all at the same time
[4:54] <uriah> so i'm not really that worried
[4:55] * fish0 (~sfishman@pool-100-15-161-226.washdc.fios.verizon.net) Quit (Client Quit)
[4:55] <irc_smirk> its alive!
[4:55] <irc_smirk> http://dockerpi.duckdns.org/
[4:57] <nirokato> irc_smirk, this looks nifty. Any background on this?
[4:57] <irc_smirk> http://blog.hypriot.com/getting-started-with-docker-on-your-arm-device/
[4:57] <snowkidind> what are you all using to monitor things like cpu temperature / voltages etc
[4:57] <irc_smirk> everyone can see that site?
[4:57] <uriah> :)
[4:57] <uriah> i haven't taken a look yet
[4:58] <snowkidind> works irc_smirk
[4:58] <snowkidind> check your access log
[4:58] <uriah> heh
[4:58] <snowkidind> here ill reload a bunch of times
[4:58] * TheRinger_ (~TheRinger@c-73-35-211-122.hsd1.wa.comcast.net) has joined #raspberrypi
[4:58] <irc_smirk> hehe
[4:58] <irc_smirk> well its inside this docker container. got to figure that all out
[4:59] <snowkidind> I set up apache on mine in no time
[4:59] <snowkidind> php runs just dandily
[4:59] <irc_smirk> the neat thing about docker is you can install anything in its own spae and not worry about the mess
[5:00] <snowkidind> roight
[5:00] <irc_smirk> i lost the link but someone was able to have docker point to a github page and it would automatically pull from that project code complie it and run it
[5:01] <irc_smirk> so you could automatically test any project you came across
[5:01] <nirokato> Hmm, so now I need to buy a bunch of pi2's and get docker+kubernetes-mesos loaded. Poof! Datacenter in a box :)
[5:02] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) has joined #raspberrypi
[5:02] <irc_smirk> what does kubernetes and mesos do?
[5:02] <irc_smirk> in a lunch box you mean
[5:03] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) Quit (Remote host closed the connection)
[5:03] <nirokato> irc_smirk: tl;dr version, datacenter level clustering and management of docker pods
[5:03] <nirokato> irc_smirk: if you have the time, https://www.youtube.com/watch?v=pFCJ3WiVjyA
[5:03] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) has joined #raspberrypi
[5:04] <irc_smirk> heh look at this https://twitter.com/HypriotTweets/status/674894504311287808
[5:04] * wallyduchamp (~dvu@CPE3085a9e5fe40-CM84948c49b720.cpe.net.cable.rogers.com) has joined #raspberrypi
[5:04] <nirokato> irc_smirk: this is a high-level version of that video I linked, still fairly long, but goes over more of the basics. https://www.youtube.com/watch?v=gVGZHzRjvo0
[5:05] <irc_smirk> so you could in theory and actuality build out your architecture on your pi/laptop and have that run on amazon
[5:05] <nirokato> irc_smirk: actually, yeah.
[5:06] <irc_smirk> so crazy
[5:06] <nirokato> irc_smirk: awesome tweet, thanks for the link.
[5:07] <irc_smirk> i wonder what the power cost would be to run that setup though
[5:07] <irc_smirk> 32 pis
[5:07] <irc_smirk> i think i read that just the pi costs a penny a day in energy
[5:11] <nirokato> irc_smirk: 167 watts OC'd and under load, sauce: http://coen.boisestate.edu/ece/files/2013/05/Creating.a.Raspberry.Pi-Based.Beowulf.Cluster_v2.pdf
[5:12] <irc_smirk> nice find
[5:13] <nirokato> pg. 13 has the pic that hypriot linked to.
[5:13] <irc_smirk> https://github.com/docker/dockercraft
[5:14] <nirokato> ....wuuuuuut?
[5:14] * Wolfie (wolfie@wolfietech.ca) Quit (Quit: ZNC 1.7.x - http://znc.in)
[5:14] * Wolfie (wolfie@wolfietech.ca) has joined #raspberrypi
[5:15] * shinji257 (~gunlar@unaffiliated/shinji257) Quit (Quit: Did you live today?)
[5:15] <nirokato> Wow, that is both entertaining and intriguing.
[5:16] <irc_smirk> https://www.youtube.com/watch?v=eZDlJgJf55o
[5:16] <irc_smirk> script kids will, in the end, win
[5:16] <nirokato> Boss: "Why are you playing Minecraft?", Worker: "I'm not playing, I'm working. Can't you see there's a Creeper virus in the cluster?"
[5:17] <irc_smirk> so th epi had the minecraft client already right?
[5:17] <irc_smirk> ive never played minecraft, ever
[5:17] <nirokato> irc_smirk: yes
[5:17] <irc_smirk> i will add this to my list of things to do
[5:18] <irc_smirk> im so happy docker is on pi. so happy
[5:19] <nirokato> This is gonna be FUN
[5:19] <irc_smirk> do you think sd card is okay to build with docker
[5:19] <irc_smirk> or shoudl i look into a usb drive
[5:20] * Flutterb1t (~flutterba@unaffiliated/day) has joined #raspberrypi
[5:21] <irc_smirk> https://www.youtube.com/watch?v=A4qwsSEldHE
[5:21] <irc_smirk> with your kubernetes
[5:21] <nirokato> For dev it's fine, but if you plan on running applications that will need uptime, I would recommend a USB drive.
[5:22] * bdavenport (~davenport@2001:470:8:2ad:20c:29ff:fe1e:68c4) Quit (Ping timeout: 240 seconds)
[5:23] <nirokato> Wow, this is awesome. Thanks for sharing irc_smirk!
[5:23] * Flutterbat (~flutterba@unaffiliated/day) Quit (Ping timeout: 240 seconds)
[5:23] * Flutterb1t is now known as Flutterbat
[5:23] <irc_smirk> is a flash drive ok?
[5:24] <irc_smirk> like the sticks?
[5:24] <nirokato> As long as you're backing it up :)
[5:24] * denningsrogue (~denningsr@ has joined #raspberrypi
[5:24] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) Quit (Remote host closed the connection)
[5:26] <irc_smirk> presentation on it https://youtu.be/ZBcMy-_xuYk?t=1817
[5:27] * lautzu (~lautzu@unaffiliated/lautzu) Quit (Ping timeout: 246 seconds)
[5:30] * Macuser (~textual@unaffiliated/macuser) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[5:32] * jektrix (~jektrix@203-214-47-145.dyn.iinet.net.au) has joined #raspberrypi
[5:35] * govg (~govg@unaffiliated/govg) Quit (Ping timeout: 240 seconds)
[5:38] * lautzu (~lautzu@unaffiliated/lautzu) has joined #raspberrypi
[5:39] <snowkidind> can someone help me figure out the gpio ports here
[5:39] <snowkidind> i have a b+ 0010
[5:39] <snowkidind> and i have an led circuit hiiked up to physical pin 7
[5:39] <snowkidind> hooked*
[5:40] <snowkidind> i type gpio readall
[5:40] <snowkidind> 4 | 7 | GPIO. 7 | IN | 0 | 7
[5:40] <snowkidind> thats what it gives me for pin 7
[5:40] <snowkidind> so i assume its gpio 7
[5:40] <snowkidind> so i type gpio write 7 0
[5:41] <snowkidind> and it does not turn my light off
[5:41] <snowkidind> simple hello world stuf
[5:42] <irc_smirk> check polarity?
[5:42] <snowkidind> its supposed to be positive to turn the led on
[5:43] <snowkidind> and the led is on
[5:43] <snowkidind> its just not turning off
[5:43] <snowkidind> its a transistor circuit and if i pull pin 7 it shuts off
[5:45] * Tera2342 (~Tera2342@ Quit (Ping timeout: 260 seconds)
[5:46] <snowkidind> http://snowkidind.com/tmp/2.jpg
[5:47] <irc_smirk> sorry not my area of experitse ...yes
[5:47] <irc_smirk> yet
[5:48] <snowkidind> http://snowkidind.com/tmp/3.png
[5:48] <snowkidind> yea strange
[5:49] <snowkidind> i think there may be another command besides gpio write that works
[5:52] * govg (~govg@unaffiliated/govg) has joined #raspberrypi
[5:52] <snowkidind> oh i had to set the mode
[5:52] <warpie> what you trying to do with the transistor?
[5:52] <warpie> use it as a switch?
[5:52] <snowkidind> 3.3 volts isnt enough for the led/resistor
[5:52] <snowkidind> so i hooked it up to the 5v supply
[5:53] <warpie> depends on what LED and what Resistor
[5:53] <snowkidind> and use the tranny as a switch
[5:53] <snowkidind> right, the one is a super bright
[5:53] <warpie> yeh?
[5:54] <snowkidind> i remember from the microchip days now - you have to set the output to in out before you can switch it on off
[5:54] <warpie> I have used lower voltage and lower amperage LEDs
[5:54] <snowkidind> I built some led displays with 70’s ttl for a little artsy project
[5:55] <warpie> lol, those are a bit heavy in consumption
[5:56] <warpie> I've got a bin full of those
[5:58] * Dimik (~Dimik@pool-74-101-99-23.nycmny.fios.verizon.net) has joined #raspberrypi
[5:58] * d4rkforce (~darkforce@pdpc/supporter/student/d4rkforce) has joined #raspberrypi
[5:59] <snowkidind> they are leftovers from this project: http://snowkidind.com/snowkid/montage/
[6:00] <irc_smirk> where do you source your parts?
[6:01] <snowkidind> i got the leds from a different place, besides digikey but mostly digikey
[6:01] <snowkidind> the hardest part is finding what you are looking for
[6:01] <irc_smirk> yeh
[6:01] <snowkidind> easy to make mistakes
[6:01] <irc_smirk> you seen this
[6:01] <irc_smirk> https://123d.circuits.io/
[6:01] <irc_smirk> web based breadboard
[6:02] <snowkidind> thats cool
[6:02] * d4rkforc1 (~darkforce@pdpc/supporter/student/d4rkforce) Quit (Ping timeout: 265 seconds)
[6:02] <warpie> SWEET!!!!
[6:02] <warpie> that's a lot of work.......
[6:02] <warpie> but awesome...
[6:03] <irc_smirk> and if you wnat to run an app http://fritzing.org/home/
[6:04] <snowkidind> it was fun
[6:04] <snowkidind> we were making a music video with them but the video guy was freaking flaky
[6:07] <warpie> lol, sorry... maybe need more practice???
[6:08] <warpie> but I enjoyed seeing those... that's awesome...
[6:09] <irc_smirk> would the write speed of a flashstick be faster than an sd card?
[6:10] <irc_smirk> cause docker pulling is very slow when extracting
[6:10] * bdavenport (~davenport@ has joined #raspberrypi
[6:10] <warpie> maybe a SSD would be fastest
[6:11] <warpie> a small one..
[6:11] <irc_smirk> yeah. jsut hate having another wall plug
[6:11] <warpie> doesn't need to be a big one... smaller the faster
[6:11] <irc_smirk> can you recommend one?
[6:12] <warpie> really, no, cuz I am not experienced in those... I am only a SD card user...
[6:13] * howdoi (uid224@gateway/web/irccloud.com/x-etxthyzykbccdzjn) has joined #raspberrypi
[6:13] <warpie> I use class 10 SD cards and have no problems with them...
[6:14] <irc_smirk> yeah i ahve a fast sd 10 card. but its write speed is very very slow
[6:15] <warpie> try a different one.. depends on which brand does which... they DO differ...
[6:16] <irc_smirk> i supposedly got the best recommned
[6:16] <irc_smirk> samnsug evo plus
[6:16] <warpie> hmmm... ok... lol, then try a small SSD...
[6:16] <warpie> solid state drive
[6:17] <[Saint]> putting an SSD on a pi is going to do absolutely nothing.
[6:17] * denningsrogue (~denningsr@ Quit (Quit: Textual IRC Client: www.textualapp.com)
[6:17] <warpie> but beware, USB is slower than the SD card slot
[6:17] <[Saint]> it'll be over USB2, and, as such, only as fast as USB2 will ever be.
[6:17] <[Saint]> also - no.
[6:18] <[Saint]> USB2 is _far_ faster than SD.
[6:18] <warpie> well, what do you recommend?
[6:18] <warpie> using a stick?
[6:18] <[Saint]> I recommend accepting the fact that throughput on a pi will never be stellar.
[6:18] <[Saint]> no matter the storage medium.
[6:19] <warpie> ok, ty
[6:19] <[Saint]> If you use SD...well...SD.
[6:19] <[Saint]> If you use USB, you need to share it with the network.
[6:20] <[Saint]> If the pi supported any of the UHS access protocols things might be better.
[6:20] <[Saint]> but, it doesn't.
[6:22] <warpie> okay.... so how would irc_smirk be able to acheive what he plans?
[6:24] <irc_smirk> i think i will just live iwht it
[6:24] <irc_smirk> compioing is soooo slow on pi though
[6:24] <irc_smirk> but thats a one time thing
[6:24] <[Saint]> crosscompile.
[6:24] <[Saint]> RPF has a toolchain in their tools repo.
[6:25] <[Saint]> your desktop, even if it is truly years and years outdated, will do this orders of magnitude faster than the pi will.
[6:25] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) has joined #raspberrypi
[6:26] <warpie> ok, ty, [Saint]
[6:26] <irc_smirk> hrm
[6:26] <irc_smirk> too much to learn today
[6:26] <warpie> never
[6:26] * shantorn (~shantron@71-222-115-87.ptld.qwest.net) has joined #raspberrypi
[6:26] <warpie> always new ways
[6:26] * jridder (~jridder@2601:282:302:676b:b8c8:c65:8531:62d9) has joined #raspberrypi
[6:27] <uriah> heh
[6:27] <uriah> it's too bad gentoo doesn't have a musl repo for armv6
[6:27] <uriah> would be nice
[6:27] <warpie> really
[6:27] <uriah> s/repo/profile/
[6:27] * lautzu (~lautzu@unaffiliated/lautzu) Quit (Ping timeout: 240 seconds)
[6:30] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) Quit (Ping timeout: 240 seconds)
[6:31] <uriah> i think...
[6:32] <warpie> well, put it this way, [Saint] would know for sure...
[6:33] * jektrix (~jektrix@203-214-47-145.dyn.iinet.net.au) Quit (Quit: Textual IRC Client: www.textualapp.com)
[6:33] * dalmatHG (~yaaic@unaffiliated/dalmathg) has joined #raspberrypi
[6:34] <uriah> https://wiki.gentoo.org/wiki/Project:Hardened_musl
[6:34] <uriah> only armv7
[6:37] * BenGrimm (UPP@cpe-70-119-236-74.tx.res.rr.com) Quit (Ping timeout: 256 seconds)
[6:40] * TyrfingMjolnir (~Tyrfing@ has joined #raspberrypi
[6:44] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) has joined #raspberrypi
[6:44] * linkedinyou (~linkediny@unaffiliated/linkedinyou) Quit (Read error: Connection reset by peer)
[6:49] * mgottschlag (~quassel@reactos/tester/phoenix64) has joined #raspberrypi
[6:52] * clonak (~clonak@ Quit (Ping timeout: 272 seconds)
[6:54] * BenGrimm (UPP@cpe-70-119-236-74.tx.res.rr.com) has joined #raspberrypi
[6:57] <nirokato> Well, this is the quickest, dirtiest way I've seen to spin up 5 minecraft servers :)
[6:57] * hepukt4e (~hep@ Quit (Ping timeout: 260 seconds)
[6:57] <nirokato> unset ports;ports=(${ports[@]} 2556{5..9}); name=1; for i in ${ports[@]}; do docker run --name mc$name -ditp $i:25565 -e EULA=true itzg/minecraft-server; ((name++));done;unset ports;unset name;
[6:57] <nirokato> bam
[6:58] <irc_smirk> on pi?
[6:58] <nirokato> I wouldn't
[6:58] <nirokato> :)
[6:58] <warpie> congrats
[6:58] <irc_smirk> well how bout just 1
[6:59] <irc_smirk> so in minecraft. you have to buy the client?
[6:59] <irc_smirk> can you use the one in raspberry to connect to any server?
[6:59] <nirokato> If it's the full one and not the one that comes with Raspbian.
[7:00] * zesterer (~zesterer@host81-159-92-190.range81-159.btcentralplus.com) Quit (Remote host closed the connection)
[7:00] <nirokato> The one w/ Raspbian is similar to the Mobile client (Android, iOS)
[7:00] <irc_smirk> that one wont work with the dockercraft sever?
[7:00] <nirokato> Very stripped down.
[7:00] <nirokato> irc_smirk: not sure.
[7:00] * snowkidind (~snowkidin@pool-96-255-209-107.washdc.fios.verizon.net) Quit (Quit: snowkidind)
[7:00] <nirokato> I haven't tried it.
[7:01] * clonak (~clonak@ has joined #raspberrypi
[7:02] <irc_smirk> so people are atually paying $25
[7:03] <nirokato> irc_smirk: yes. Run as many servers as you want, but you'll pay for the client.
[7:03] <nirokato> zZzZz time, night folks!
[7:03] <irc_smirk> bye!
[7:03] <warpie> night
[7:04] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[7:05] * AbouEmre (~Thunderbi@ has joined #raspberrypi
[7:07] * cdbob (~cdbob@gateway/vpn/privateinternetaccess/cdbob) Quit (Remote host closed the connection)
[7:12] * PiGuy (18669026@gateway/web/freenode/ip. has joined #raspberrypi
[7:12] <PiGuy> Hello
[7:12] * Sisco (Sisco@unaffiliated/sisco) Quit (Ping timeout: 265 seconds)
[7:13] <PiGuy> I will be using a 5000mAh Li-Po Battery with my Raspberry PI 2 Model B. How can I check the battery levels via the raspberry Pi software?
[7:14] <PiGuy> On the software level
[7:14] <PiGuy> So like a battery indicator
[7:15] * Tera2342 (~Tera2342@ has joined #raspberrypi
[7:15] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) has joined #raspberrypi
[7:16] <PiGuy> Pleause use my name
[7:16] <PiGuy> *Please
[7:16] <PiGuy> That way I know someone send me a message
[7:16] <warpie> well... it's a matter of using inxi
[7:17] <warpie> one of the inxi's commands would tell you what the input voltate is...
[7:17] <PiGuy> luckily I was hear to see your message :-)
[7:18] <PiGuy> warpie: What can I do with the input voltage?
[7:18] <warpie> but I do not know if it really works.
[7:19] <warpie> well if you want to know the battery level, the battery is hooked up to pi, right?
[7:20] <warpie> if you want a good indication app, try Mr. Google...
[7:20] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) Quit (Ping timeout: 255 seconds)
[7:23] <PiGuy> warpie: Yes the battery is connected
[7:24] * lautzu (~lautzu@unaffiliated/lautzu) has joined #raspberrypi
[7:26] * esas (~esas@unaffiliated/esas) Quit (Ping timeout: 246 seconds)
[7:26] <warpie> http://raspi.tv/tag/raspberry-pi-monitoring-its-own-battery-voltage
[7:27] * mac_ified (~mac_ified@67-9-150-210.res.bhn.net) Quit ()
[7:29] * lautzu (~lautzu@unaffiliated/lautzu) Quit (Ping timeout: 265 seconds)
[7:29] * jridder (~jridder@2601:282:302:676b:b8c8:c65:8531:62d9) Quit ()
[7:30] * TyrfingMjolnir (~Tyrfing@ Quit (Quit: For Valhall!)
[7:37] <AiGreek> *yawn* Morning, Guys
[7:37] * mgottschlag (~quassel@reactos/tester/phoenix64) Quit (Ping timeout: 246 seconds)
[7:37] * derk0pf (~derk0pf@p5DDB690F.dip0.t-ipconnect.de) has joined #raspberrypi
[7:38] * shantorn (~shantron@71-222-115-87.ptld.qwest.net) Quit (Quit: Leaving)
[7:38] * dreamon (~dreamon@unaffiliated/dreamon) has joined #raspberrypi
[7:40] <PiGuy> thanks warpie I will check it out :)
[7:42] <PiGuy> Morning AiGreek :) Do you know the equation to calculate current after a voltage step up? I am stepping on a 5000mAh 3.7v battery to 5v. What equation would I use to calculate the remaining current?
[7:42] <AiGreek> well, i use to know this, i'm an ex electrician ...
[7:43] <AiGreek> but i don't, sorry :/
[7:44] * zesterer (~zesterer@host81-159-92-190.range81-159.btcentralplus.com) has joined #raspberrypi
[7:45] <AiGreek> the link from warpie explain this, i think
[7:45] * keekz (~keekz@keekz.net) Quit (Remote host closed the connection)
[7:47] <irc_smirk> can i somehow mount my pi that is on same network as my mac
[7:47] <irc_smirk> i need to share files between them
[7:47] <irc_smirk> otherwise ill have to setup an ftp server or upload somewhere
[7:47] <AiGreek> you can use Cyberduck with SSH
[7:48] <irc_smirk> oh i can also ftp into the pi
[7:48] <[Saint]> PiGuy: http://www.daycounter.com/Calculators/Switching-Converter-Calculator.phtml
[7:48] * mixfix41 (~awkwardpl@unaffiliated/mixfix41) Quit (Ping timeout: 246 seconds)
[7:48] <PiGuy> AiGreek: Thanks
[7:49] <irc_smirk> raspberry has ftp built in?
[7:49] * mgottschlag (~quassel@reactos/tester/phoenix64) has joined #raspberrypi
[7:50] <PiGuy> [Saint]: Thanks but I only know the current and voltage in and out
[7:51] <AiGreek> you don't have a multimeter or something ?
[7:51] <PiGuy> AiGreek: I have a multimeter but not the battery
[7:52] <mgottschlag> PiGuy: what kind of battery do you use? a regular power bank, or just the battery itself (hopefully not)?
[7:52] <mgottschlag> for power banks, it's pretty much impossible to find out how much charge is left
[7:53] <mgottschlag> you could maybe add another coulomb counter between the pi and the battery and keep track of how much charge went into the battery or from the battery to the pi, but that's pretty difficult
[7:54] <mgottschlag> if you plan on using a raw liion/lipo cell: Don't do that, you'll easily burn your house down.
[7:54] <PiGuy> mgottschlag: Just the battery. Here: http://www.miniinthebox.com/3970125p-3-7v-5000mah-li-polymer-battery_p2801398.html?currency=USD&litb_from=paid_adwords_shopping&litb_from=&adword_mt=&adword_ct=73208704722&adword_kw=&adword_pos=1o2&adword_pl=&adword_net=g&adword_tar=&adw_src_id=4196617767_313071522_22450980162_aud-79897721551:pla-157327122762&gclid=Cj0KEQiAtMSzBRDs7fvDosLZmpoBEiQADzG1vAroOyX6S1cwcKW6YMzCBXEWAmpwxx73db67uW_apBoa
[7:55] <mgottschlag> really, don't do that unless you 100% know what you are doing
[7:55] <PiGuy> mgottschlag: Don't worry I am using this: https://www.adafruit.com/products/2465
[7:56] <mgottschlag> do you have any S/C rating for that battery?
[7:57] <mgottschlag> depending on the battery, you need overcurrent protection as well, that board doesn't provide that
[7:58] <PiGuy> mgottschlag: I don't have a C rating for the battery
[7:59] <mgottschlag> if you want something that doesn't spontaneously combust if you treat it slightly wrong, you might want LiFePo batteries instead
[7:59] <mgottschlag> eh, I think I got the letters wrong
[7:59] <mgottschlag> I meant charge/discharge rate specs
[8:00] <[Saint]> I suggested just using a powerbank, as it is infinitely easier.
[8:00] <PiGuy> mgottschlag: I don't have those
[8:00] <[Saint]> bonus points if it can do active charge/discharge.
[8:00] <PiGuy> [Saint]: I would but my project is pocket sized.
[8:00] <mgottschlag> yeah, if you overload your battery and the temperature is too high... poof.
[8:01] <[Saint]> They make some pretty small powerbanks these days.
[8:01] <mgottschlag> maybe that protection pcb provides thermal monitoring, but you can't know
[8:01] <at0m> one way to find out ;p
[8:01] <PiGuy> :p
[8:01] <[Saint]> it really baffles me that none of the pis have inbuilt circuitry and a header, even if it was unpopulated, for a battery.
[8:01] <[Saint]> but, every cent counts, I guess.
[8:02] <[Saint]> something something BOM.
[8:02] * stagnator (~NobodyKno@bb121-6-197-27.singnet.com.sg) Quit (Ping timeout: 240 seconds)
[8:02] * mixfix41 (~awkwardpl@unaffiliated/mixfix41) has joined #raspberrypi
[8:02] <[Saint]> The new ODROID board is likely a better fit.
[8:02] <[Saint]> don't have to worry /too/ much about plugging possible insane batteries into it.
[8:03] <AiGreek> what's better: save datas with SQLite or Mysql ?
[8:03] <mgottschlag> AiGreek: for what application?
[8:03] * [Saint] is a postgres man
[8:03] <mgottschlag> if there won't ever be more than one user of the data, sqlite is pretty nice
[8:04] <AiGreek> mgottschlag home Automation (Flask/Python) so, sensors' data, switch logs, etc, ...
[8:04] <mgottschlag> (more than one application using the data)
[8:04] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) has joined #raspberrypi
[8:04] * stagnator (~NobodyKno@bb121-6-197-27.singnet.com.sg) has joined #raspberrypi
[8:04] <mgottschlag> well, you might want a separate analysis tool at some time, so there will be more than one user, so you need a separate sql server
[8:04] <mgottschlag> so, MySQL.
[8:04] <AiGreek> so be it ! Thanks
[8:05] <[Saint]> No love for postgres?
[8:05] <mgottschlag> or does sqlite support multiple applications accessing the same database these days?
[8:05] <mgottschlag> is there any relevant difference between postgres or mariadb? :)
[8:05] <AiGreek> [Saint] i never used postgres :/
[8:06] <at0m> mgottschlag: mariadb is drop-in replacement for mysql, right?
[8:06] <[Saint]> mgottschlag: depends on your definition of relevance I guess
[8:06] <mgottschlag> yeah, it's basically mysql, just without oracle
[8:07] <mgottschlag> and it is what is packaged as "mysql" by most current linux distributions atm afaik
[8:07] <AiGreek> Without Oracle ? hum...can be interresting ...
[8:07] <[Saint]> I use postgres as I find it to be a metric craptonne faster for Very Large DBs.
[8:07] <[Saint]> exporting can be a pain though.
[8:08] <AiGreek> You know what ? i'll try both ^^
[8:08] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) Quit (Ping timeout: 246 seconds)
[8:08] <[Saint]> blargh - very fluffy kitten has a tail full of stickers/burrs/foxtails
[8:10] <[Saint]> "Oh, I see you have the comb, we;;, good luck getting me out from under the couch" - Kitten, probably
[8:10] <[Saint]> *well
[8:10] <Ispira> do NOT visit imgur without at least 2 hours to spare
[8:10] <Ispira> my life disappears on that site.
[8:12] <PiGuy> !sad
[8:12] <PiGuy> !google
[8:13] <PiGuy> boy
[8:13] <PiGuy> *bot
[8:13] <[Saint]> Swallowed by a sea of neckbeards and SJWs and their cat pictures.
[8:13] <Ispira> as a programmer i read that as "not sad"
[8:13] <[Saint]> ...what a way to go.
[8:13] <PiGuy> Ispira: Lol :)
[8:13] <Ispira> neckbeards and SJWs are a minority on imgur
[8:13] <Ispira> that's what it's such a good site
[8:13] <PiGuy> Not Sad Not Google Bot
[8:13] <[Saint]> Ha!
[8:13] <Ispira> those people go to the cesspool that is "reddit"
[8:13] <PiGuy> :D
[8:14] <[Saint]> s/reddit/4chan and or Tumblr/g
[8:14] <Ispira> Yeah, reddit/4chan mainly
[8:14] <Ispira> tumblr is like youtube
[8:14] <[Saint]> reddit is for jerks in general, not neckbeards and SJWs exclusively.
[8:14] <Ispira> it's not all bad or weird, until you get into that section
[8:14] <Ispira> That being said I haven't used my tumblr account since I was 12 or 13
[8:15] <[Saint]> Don't.
[8:15] <[Saint]> lol
[8:15] <Ispira> don't plan on it
[8:15] <[Saint]> You're not missing anything.
[8:15] <Ispira> the best posts get delivered straight to imgur
[8:15] <Ispira> just like 4chan
[8:15] <Ispira> the gold goes straight to imgur
[8:15] <irc_smirk> si love reddit
[8:15] <PiGuy> I am more of a ... PiGuy
[8:16] <irc_smirk> very soon we will be able to paint our walls with different web pages
[8:16] <irc_smirk> thats a project im wroking on ;)
[8:16] <PiGuy> irc_smirk: Cool
[8:16] <[Saint]> and every one of them pornhub...
[8:16] <PiGuy> irc_smirk: How's it work?
[8:16] <irc_smirk> with ar/vr
[8:17] <AiGreek> [Saint] i hope with Adblock ^^
[8:17] <PiGuy> irc_smirk: Cool
[8:17] <irc_smirk> the problem is the depth mapping cameras are not all there yet
[8:17] <PiGuy> AiGreek: AdBlock Plus
[8:17] <PiGuy> irc_smirk: You will get there eventually
[8:21] * ansi (~ansi@unaffiliated/ansi) has joined #raspberrypi
[8:30] * Syliss (~Home2@c-24-23-6-50.hsd1.ca.comcast.net) has joined #raspberrypi
[8:35] <PiGuy> Is this the proper way to run a shutdown with C++? " system("sh sudo shutdown -h now");"
[8:36] <Ispira> should work i reckon
[8:36] <PiGuy> Ispira: Do I keep the sh there?
[8:36] <Ispira> uhhhhh
[8:36] <mgottschlag> you don't need the sh
[8:37] <Ispira> fuck if i know haha i never use system() calls
[8:37] <mgottschlag> and you should make sure that shutdown is allowed to be run without a password
[8:37] <Ispira> I've also never needed to directly run a call like that through C++
[8:37] <mgottschlag> if you run a desktop system, there are other ways to initiate a shutdown via dbus
[8:37] <mgottschlag> (which don't need sudo rights)
[8:37] <PiGuy> mgottschlag: I am running this while logged into the pi account
[8:38] <PiGuy> mgottschlag: How?
[8:38] <mgottschlag> depends on the desktop environment, but that's what I use (i3 with some gnome services in the background):
[8:39] <mgottschlag> dbus-send --print-reply --dest="org.freedesktop.PowerManagement" /org/freedesktop/PowerManagement org.freedesktop.PowerManagement.Shutdown
[8:39] * govg (~govg@unaffiliated/govg) Quit (Ping timeout: 256 seconds)
[8:40] <PiGuy> mgottschlag: cool thanks
[8:40] * r_02 (~r_02@ip-174-137-10-133.swatco.com) has joined #raspberrypi
[8:41] <r_02> Hello gents
[8:41] <TheRinger_> hey i'm trying to hook up a photosensor to a rpi2 digital pin , using this wiring diagram, http://4.bp.blogspot.com/-S1MkX6yTJBo/ULTa5oD_CXI/AAAAAAAAAZ0/4uZTltQrCDA/s1600/RC+analog.png
[8:41] <TheRinger_> what size resistor should I use if I am only using a 0.1uf cap
[8:42] <mgottschlag> does the sensor datasheet give any numbers?
[8:42] <r_02> Been messing with Linux more and found nest ssh settings allowing to display banner message to ppl attempting to connect via ssh and another after connecting.
[8:43] <mgottschlag> TheRinger_: oh, the website where you got that image from actually explains it
[8:43] <mgottschlag> if you reduce the capacitor size, the response time is decreased
[8:43] <mgottschlag> t = RC
[8:43] <mgottschlag> if you want to keep t constant, you need to increase R as well, but unfortunately R also includes the resistance of the LDR
[8:43] <TheRinger_> oh nice, i was google imaging, so didn't see the page
[8:43] <TheRinger_> but found it
[8:44] <TheRinger_> so it would be 0.1 for the time
[8:44] <mgottschlag> and if you just increase the resistor, the effect of the LDR will be lower and your resolution will be worse
[8:44] <mgottschlag> (but your resolution will be worse anyways if you decrease C)
[8:46] <mgottschlag> although, if t is in the magnitude of seconds, a factor of 10 won't be too bad
[8:46] <TheRinger_> he is using 100 ohm
[8:46] <mlelstv> for ambient light...
[8:47] <mgottschlag> you might want to keep this in ming though if you use a ceramic capacitor: https://www.maximintegrated.com/en/images/appnotes/5527/5527Fig01.gif
[8:47] <TheRinger_> and 500 ohm between the pin and the photoresistor
[8:48] <mgottschlag> or http://www.murata.com/~/media/webrenewal/products/emiconfun/capacitor/2012/11/28/en-20121128-p1/en-20121128-p1_img0001.ashx?la=en&h=219&w=440, I don't know what the exact numbers are
[8:48] * stagnator (~NobodyKno@bb121-6-197-27.singnet.com.sg) Quit (Ping timeout: 255 seconds)
[8:48] <r_02> http://i.imgur.com/oAW62TV.jpg
[8:48] <mgottschlag> so a 0.1uF ceramic cap will actually be much lower at 3.3V
[8:48] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) has joined #raspberrypi
[8:49] * Kartman (~joerg@ip923463fc.dynamic.kabel-deutschland.de) has joined #raspberrypi
[8:50] <Kartman> hi pi community, is there a german irc channel too?
[8:50] * stagnator (~NobodyKno@ has joined #raspberrypi
[8:50] <mgottschlag> Kartman: do your language skills a favor and stay here :p
[8:50] <Kartman> :D
[8:50] <TheRinger_> thanks, that is good to know, I'd like to have the most resolution in darkness
[8:51] <TheRinger_> right I only have a 0.1 ceramic
[8:51] * MY123 (~MY123@unaffiliated/kill--9-1/x-8776976) has joined #raspberrypi
[8:52] <Kartman> good enough - then live with my english in mainly german grammar (or even better correct me)
[8:52] <mgottschlag> actually, for 0.1uF the capacity problem shouldn't be as bad
[8:53] <mgottschlag> and the larger the package, the less the capacity change over voltage, and I guess you are not soldering 0402 capacitors :)
[8:54] * Sisco (Sisco@unaffiliated/sisco) has joined #raspberrypi
[8:56] * govg (~govg@unaffiliated/govg) has joined #raspberrypi
[8:56] <MY123> mgottschlag: do you still reverse engineer the VC4?
[8:56] <mgottschlag> no, I haven't done anything in that area
[8:57] <mgottschlag> the only thing I've reverse engineered since then was the touchpad of this laptop :)
[8:57] <Kartman> so i have an old laptop the batterie and display works well, i would rebuild it as a mobile raspberry laptop, i already found ways (controller) for the display and keyboard, so last main issue is to use the batterie and mayb the power supply. First question is it possible to reuse them (load, overvoltage protection ...)? And second have you some links for me which describe how to build such a controller or is there already a con
[8:57] <mgottschlag> (which was pleasantly simple after the fighting with vc4)
[8:58] <MY123> mgottschlag: anholt pushed the HDMI init code as free software
[8:58] <MY123> so I'm back with VC4 here
[8:58] <mgottschlag> hm, cool
[8:58] <mgottschlag> hfgl :D
[8:58] <mgottschlag> atm I don't even have a pi, gave mine away a while ago because I didn't have any use for it
[8:59] <MY123> mgottschlag: I'm now porting Android on Pi
[8:59] <mgottschlag> Kartman: what kind of battery, and do you know what's going on inside of it?
[8:59] <MY123> (using the BCM21153 drivers, I don't care about security)
[8:59] <mgottschlag> (e.g., is it a smart battery which does charge balancing already)
[9:01] * mlelstv (~mlelstv@hoppa.1st.de) Quit (Quit: Leaving)
[9:02] * pjm (~pjm@uhfsatcom.plus.com) Quit (Ping timeout: 245 seconds)
[9:03] <Ispira> MY123: proper with GPU support so it'll actually run?
[9:04] <Ispira> or is that not a thing that'll happen yet?
[9:04] <MY123> Ispira: 2D acceleration support is a goal
[9:04] <Kartman> it is an toshiba pack with 10.8V and 7 contacts, i didn't know whats inside maybe i could find more information or even open it - but for first i would catch up some more information if it is possible or if there is an log/blog/howto of other people - so that i can read further informations. also i didn't know if the logic for the batterie is inside or on the mainboard of the laptop
[9:04] <MY123> USB is already working
[9:04] <Kartman> there is no extra board inside the laptop
[9:04] * stagnator1 (~NobodyKno@bb121-6-197-27.singnet.com.sg) has joined #raspberrypi
[9:04] * oxhak (~OxHaK@unaffiliated/oxhak) has joined #raspberrypi
[9:05] <MY123> but there is no ARM, of course
[9:06] <mgottschlag> Kartman: you could try to analyze the part of the PCB where the battery is connected to the laptop mainboard (and maybe put it on a scanner and post a picture here)
[9:06] <mgottschlag> that might give some information away about the pinout of the battery
[9:07] <mgottschlag> but you are certainly wandering into dangerious terrain here, you probably don't want to risk a lithium fire
[9:08] * zesterer (~zesterer@host81-159-92-190.range81-159.btcentralplus.com) Quit (Ping timeout: 246 seconds)
[9:08] * stagnator (~NobodyKno@ Quit (Ping timeout: 272 seconds)
[9:08] * stagnator1 is now known as stagnator
[9:11] <mgottschlag> in any case the resulting mod would be something which I'd never leave unsupervised while charging, and I'd suggest you always keep a bag of sand nearby to put out any resulting fire
[9:12] * ansi (~ansi@unaffiliated/ansi) Quit ()
[9:13] <Kartman> mgottschlag: thats why i first collect some informations :D - so i took a picture http://picpaste.com/IMG_20151220_090700-fM6uvswl.jpg the white connector is comes from the power supply and the golden pins are for the battery, on the other side is the graphic card
[9:15] <mgottschlag> hm, I fear that at least some connections are made on inner PCB layers
[9:15] * voltagex (sid133004@gateway/web/irccloud.com/x-jwnblclxmrqqfcvj) has joined #raspberrypi
[9:15] * pjm (~pjm@uhfsatcom.plus.com) has joined #raspberrypi
[9:15] <voltagex> hi, has anyone managed to build libcec version 3?
[9:17] <Kartman> mgottschlag: maybe
[9:18] * h4ndy is now known as H4ndy
[9:18] <mgottschlag> 10.8V is 3 serial cells, so you'd need at least two balancing connections, plus one temperature sensor plus two power terminals, but most likely the battery has some I2C-based monitoring logic built in
[9:18] <mgottschlag> that's what you'd have to look for
[9:19] <mgottschlag> but in any case, I would rather start from something more simple and less dangerous, like a USB power bank of the appropriate size :)
[9:20] <Ispira> yeah
[9:20] <Ispira> i almost bought a usb power brick the other day at walmart
[9:20] <mgottschlag> (or LiFePo cells if you want to build something yourself)
[9:20] <Ispira> pretty large little battery bank for charging phones
[9:20] <Ispira> rated for 2.1A output but i didn't really believe that
[9:20] <Kartman> so until now i found only replacement links - no information about monitoring or connection plan (the batterie is a PA3400U-1BRS compatible)
[9:20] <Ispira> and i have no multimeter
[9:21] <Ispira> i need one of those
[9:23] * Syliss (~Home2@c-24-23-6-50.hsd1.ca.comcast.net) Quit (Quit: Syliss)
[9:23] * zesterer (~zesterer@host81-159-92-190.range81-159.btcentralplus.com) has joined #raspberrypi
[9:23] * ShapeShifter499 (~ShapeShif@unaffiliated/shapeshifter499) has joined #raspberrypi
[9:24] <Kartman> i already have one for the current mobile pi box, but i don't wan't to change the look/case of the laptop so the batterie should go in (it was my first pc so i only want to change the inner and leave much as possible original)
[9:25] <mgottschlag> there are some slim power banks out there
[9:25] <mgottschlag> some might fit into the laptop case
[9:25] * defsdoor (~andy@cpc73037-sutt4-2-0-cust62.19-1.cable.virginm.net) has joined #raspberrypi
[9:26] * toomin (~HomoSapie@unaffiliated/toomin) has joined #raspberrypi
[9:26] <Kartman> i know but the batterie is changeble so it is part of the case, if i would to use the powerbank i mus reuse the battery case and clue it to the notebookcase
[9:26] * mixfix41 (~awkwardpl@unaffiliated/mixfix41) Quit (Ping timeout: 240 seconds)
[9:27] <Ispira> hmph
[9:27] * govg (~govg@unaffiliated/govg) Quit (Ping timeout: 260 seconds)
[9:27] <Ispira> all bare-metal examples for the raspberry pi os dev and stuff are for the pre-pi-2 days
[9:27] <Ispira> I think I'll work on a guide with specifics for the pi 2.
[9:28] <Kartman> ok but thanks you guys. maby i can find some spec of the batteries later
[9:28] * giddles (~da@unaffiliated/giddles) has joined #raspberrypi
[9:28] <Kartman> cu later
[9:29] * Kartman (~joerg@ip923463fc.dynamic.kabel-deutschland.de) has left #raspberrypi
[9:36] * Viper168 (~Viper@unaffiliated/viper168) Quit (Ping timeout: 265 seconds)
[9:38] * govg (~govg@unaffiliated/govg) has joined #raspberrypi
[9:40] * Svardskampe2 (~Svardskam@185-14-ftth.onsnetstudenten.nl) Quit (Read error: Connection reset by peer)
[9:41] * mixfix41 (~awkwardpl@unaffiliated/mixfix41) has joined #raspberrypi
[9:43] * Viper168 (~Viper@unaffiliated/viper168) has joined #raspberrypi
[9:52] * hyperair (~hyperair@ubuntu/member/hyperair) has joined #raspberrypi
[9:54] * r_02 (~r_02@ip-174-137-10-133.swatco.com) Quit (Ping timeout: 240 seconds)
[9:55] * hemangpatel (~hemangpat@ has joined #raspberrypi
[9:55] <hemangpatel> Hello !!
[9:56] <hemangpatel> I want to use my raspberry pi as repeater to extend my wifi range
[9:56] <hemangpatel> i have two supported wifi dongle connected to my device
[9:57] <hemangpatel> one of my wifi usb adapter connected through wifi
[9:58] <hemangpatel> I want anoother usb wifi adapter to use as access point.
[10:00] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[10:02] * nonopposition (crazyed@wrongplanet/CrazyEddy) Quit (Ping timeout: 246 seconds)
[10:04] * sphenxes01 (~sphenxes@194-118-164-65.adsl.highway.telekom.at) has joined #raspberrypi
[10:04] * Dimik (~Dimik@pool-74-101-99-23.nycmny.fios.verizon.net) Quit (Ping timeout: 240 seconds)
[10:05] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) has joined #raspberrypi
[10:06] * PasNox (~pasnox@2a01:e34:ee42:d070:65cc:58e8:fa9d:45cd) has joined #raspberrypi
[10:08] * ircuser-1 (~ircuser-1@158.183-62-69.ftth.swbr.surewest.net) Quit (Quit: ircuser-1)
[10:09] <Ispira> I should be able to take a fully functional, installed version of an os on my pi
[10:09] <Ispira> put that into my laptop, use dd to write that cardto an img file as a snapshot backup, right?
[10:09] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) Quit (Ping timeout: 260 seconds)
[10:10] <Ispira> So if I change what's running on my sd card, or want to revert back to exactly how It was from that snapshot, just write hat backup img?
[10:10] <mgottschlag> yes
[10:10] <Ispira> like # dd if=/dev/mmcblk0 of=/home/ispira/backup.img
[10:10] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) Quit (Remote host closed the connection)
[10:10] <Ispira> thought so.
[10:11] <Ispira> Not really used to using sd cards or dd for stuff haha
[10:11] <giddles> disk destroy? :D
[10:12] * nils_2 (~nils_2@unaffiliated/nils-2/x-2480262) has joined #raspberrypi
[10:13] <at0m> destroyer of disks!
[10:14] <baldengineer> i can't get X to forward to either Xquartz or Ubuntu. I ssh -X to my Pi but DISPLAY stays set to :0 for both. If I manually set DISPLAY, I can't open the display for either "local" machine.
[10:14] <baldengineer> Is there something that needs to be configured on debian to unable x-forwarding?
[10:15] <deshipu> ssh -X -Y
[10:15] * Keanu73 (~Keanu73@unaffiliated/keanu73) has joined #raspberrypi
[10:15] * ircuser-1 (~ircuser-1@158.183-62-69.ftth.swbr.surewest.net) has joined #raspberrypi
[10:15] <pigrit> what up ladies
[10:15] <Ispira> idk what dd actually stands for
[10:16] <Ispira> I call it "Disk doodler"
[10:16] <Ispira> or "Disk diddly"
[10:16] <deshipu> data dump? :P
[10:16] <Ispira> depending on context
[10:16] <Ispira> By the way I'm writing an operating system for the pi, good i know these things.
[10:16] <Ispira> people will be lucky if the command for renaming a file isn't "fiddly_bit [file name] [new name]"
[10:17] <baldengineer> deshipu yeah, not it
[10:18] <Ispira> !g what is dd
[10:18] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) has joined #raspberrypi
[10:19] * Sisco (Sisco@unaffiliated/sisco) Quit (Ping timeout: 265 seconds)
[10:21] <Ispira> Damnit Don't
[10:26] <H4ndy> the most common seems to be "disk dump", but the name was never disclosed
[10:26] * lautzu (~lautzu@unaffiliated/lautzu) has joined #raspberrypi
[10:28] <giddles> jaja dont worry you can cut bytes out of it
[10:29] <giddles> as i bricked my router i needed to del a bootsector ;D
[10:29] <giddles> with dd...
[10:29] * sphenxes (~sphenxes@194-118-164-65.adsl.highway.telekom.at) Quit (Remote host closed the connection)
[10:31] <divx118> baldengineer, On raspbian it should work out of the box. X forwarding is set to yes in ssh_conifg. ssh -X -l pi <your ip> lxterminal should work and open the lxterminal locally.
[10:31] * lautzu (~lautzu@unaffiliated/lautzu) Quit (Ping timeout: 272 seconds)
[10:31] <giddles> hmm whats the problem?
[10:32] <Ispira> hahaha jajaja xaxaxa lol
[10:32] <baldengineer> divx118 thanks for confirming
[10:35] * Tach[Zzz] is now known as Tachyon`
[10:35] * sphenxes (~sphenxes@ has joined #raspberrypi
[10:40] * nidr0x (~z4@nidr0x.ddns.jazztel.es) Quit (Read error: Connection reset by peer)
[10:44] * nidr0x (~z4@nidr0x.ddns.jazztel.es) has joined #raspberrypi
[10:45] * nidr0x (~z4@nidr0x.ddns.jazztel.es) Quit (Max SendQ exceeded)
[10:46] <baldengineer> gah, I was changing DISPLAY in .profile
[10:46] * nidr0x (~z4@nidr0x.ddns.jazztel.es) has joined #raspberrypi
[10:49] * normalraw_ (~normalra@unaffiliated/normalra) has joined #raspberrypi
[10:50] * normalraw (~normalra@unaffiliated/normalra) Quit (Ping timeout: 272 seconds)
[10:50] * normalraw_ is now known as normalraw
[10:50] * netsrot (~netsrot@c83-255-69-198.bredband.comhem.se) has joined #raspberrypi
[10:51] * Moonsilence (~Moonsilen@aftr-95-222-30-169.unity-media.net) has joined #raspberrypi
[10:53] * TheRinger_ (~TheRinger@c-73-35-211-122.hsd1.wa.comcast.net) Quit (Remote host closed the connection)
[10:54] * ctrlshftn-away is now known as ctrlshftn
[10:56] * TheRinger_ (~TheRinger@c-73-35-211-122.hsd1.wa.comcast.net) has joined #raspberrypi
[10:56] * Keanu73 (~Keanu73@unaffiliated/keanu73) Quit (Quit: Gotta go to bed or something. See ya!)
[10:57] * Tachyon` is now known as Tach[Away]
[11:00] * Dark-Show (Dark-Show@sydnns0115w-142162230011.dhcp-dynamic.FibreOp.ns.bellaliant.net) Quit (Remote host closed the connection)
[11:01] * Dark-Show (Dark-Show@sydnns0115w-142162230011.dhcp-dynamic.FibreOp.ns.bellaliant.net) has joined #raspberrypi
[11:02] * wiiguy (~fake@unaffiliated/wiiguy) has joined #raspberrypi
[11:03] * irc_smirk (17f24525@gateway/web/freenode/ip. Quit (Ping timeout: 252 seconds)
[11:12] * PiGuy (18669026@gateway/web/freenode/ip. Quit (Ping timeout: 252 seconds)
[11:12] * sivteck (~sivteck@unaffiliated/sivteck) has joined #raspberrypi
[11:20] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[11:22] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) has joined #raspberrypi
[11:24] * Tach[Away] is now known as Tachyon`
[11:24] * wili (~wili@ has joined #raspberrypi
[11:27] * normalra (~normal@unaffiliated/normalra) has joined #raspberrypi
[11:27] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) Quit (Ping timeout: 260 seconds)
[11:27] * davor (~davor@unaffiliated/davor) Quit (Ping timeout: 260 seconds)
[11:27] * Anorion (~Anorion@unaffiliated/saidinunleashed) Quit (Ping timeout: 256 seconds)
[11:28] * lautzu (~lautzu@unaffiliated/lautzu) has joined #raspberrypi
[11:29] * mothership (~mothershi@ns305717.ip-91-121-221.eu) Quit (Remote host closed the connection)
[11:30] * Swensson (~Swensson@h69n10-lid-a11.ias.bredband.telia.com) has joined #raspberrypi
[11:32] * davor (~davor@unaffiliated/davor) has joined #raspberrypi
[11:33] * lautzu (~lautzu@unaffiliated/lautzu) Quit (Ping timeout: 260 seconds)
[11:33] * netsrot (~netsrot@c83-255-69-198.bredband.comhem.se) Quit (Quit: leaving)
[11:36] * dalmatHG (~yaaic@unaffiliated/dalmathg) Quit (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org)
[11:42] * zesterer (~zesterer@host81-159-92-190.range81-159.btcentralplus.com) Quit (Quit: Leaving)
[11:42] * AttieGrande (~AttieGran@host86-174-168-46.range86-174.btcentralplus.com) has joined #raspberrypi
[11:42] * hemangpatel (~hemangpat@ Quit (Ping timeout: 260 seconds)
[11:44] * Sisco (Sisco@unaffiliated/sisco) has joined #raspberrypi
[11:45] * wili (~wili@ Quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[11:46] * Kozuch (~Kozuch@78-80-181-179.tmcz.cz) has joined #raspberrypi
[11:46] * netzfisch (~Thunderbi@x55b0640f.dyn.telefonica.de) has joined #raspberrypi
[11:48] * toomin (~HomoSapie@unaffiliated/toomin) Quit (Ping timeout: 246 seconds)
[11:49] * TyrfingMjolnir (~Tyrfing@ has joined #raspberrypi
[11:51] * oldtopman_ (~oldtopman@unaffiliated/oldtopman) has joined #raspberrypi
[11:54] * lansiir (~oldtopman@unaffiliated/oldtopman) Quit (Ping timeout: 256 seconds)
[11:54] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) Quit (Remote host closed the connection)
[12:01] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) has joined #raspberrypi
[12:03] * TyrfingMjolnir (~Tyrfing@ Quit (Quit: For Valhall!)
[12:03] * TheRinger_ (~TheRinger@c-73-35-211-122.hsd1.wa.comcast.net) Quit (Remote host closed the connection)
[12:07] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) has joined #raspberrypi
[12:10] * netzfisch (~Thunderbi@x55b0640f.dyn.telefonica.de) Quit (Ping timeout: 260 seconds)
[12:14] * TyrfingMjolnir (~Tyrfing@94.89-10-104.nextgentel.com) has joined #raspberrypi
[12:15] * skylite (~skylite@business-178-48-4-145.business.broadband.hu) Quit (Quit: Textual IRC Client: www.textualapp.com)
[12:16] * Gathis (~TheGrey@unaffiliated/gathis) has joined #raspberrypi
[12:17] * Madatnek (~Madatnek@c-ddb971d5.046-15-7673745.cust.bredbandsbolaget.se) Quit (Quit: ZNC - http://znc.sourceforge.net)
[12:21] * Madatnek (~Madatnek@c-ddb971d5.046-15-7673745.cust.bredbandsbolaget.se) has joined #raspberrypi
[12:23] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) has joined #raspberrypi
[12:24] * lemonzest (~lemonzest@unaffiliated/lemonzest) has joined #raspberrypi
[12:24] * TyrfingMjolnir (~Tyrfing@94.89-10-104.nextgentel.com) Quit (Quit: For Valhall!)
[12:24] * skylite (~skylite@5402F5D7.dsl.pool.telekom.hu) has joined #raspberrypi
[12:26] * wili (~wili@ has joined #raspberrypi
[12:29] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) Quit (Ping timeout: 255 seconds)
[12:29] * lautzu (~lautzu@unaffiliated/lautzu) has joined #raspberrypi
[12:30] * govg (~govg@unaffiliated/govg) Quit (Read error: Connection reset by peer)
[12:30] * govg_ (~govg@unaffiliated/govg) has joined #raspberrypi
[12:33] * TyrfingMjolnir (~Tyrfing@ has joined #raspberrypi
[12:34] * lautzu (~lautzu@unaffiliated/lautzu) Quit (Ping timeout: 256 seconds)
[12:39] * TyrfingMjolnir (~Tyrfing@ Quit (Quit: For Valhall!)
[12:44] * Keanu73 (~Keanu73@unaffiliated/keanu73) has joined #raspberrypi
[12:45] * TyrfingMjolnir (~Tyrfing@94.89-10-104.nextgentel.com) has joined #raspberrypi
[12:46] * zupzupper (~Zup@ Quit (Ping timeout: 265 seconds)
[12:47] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) has joined #raspberrypi
[12:48] * zupzupper (~Zup@ has joined #raspberrypi
[12:51] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) Quit (Ping timeout: 255 seconds)
[12:53] * TyrfingMjolnir (~Tyrfing@94.89-10-104.nextgentel.com) Quit (Quit: For Valhall!)
[12:57] * TyrfingMjolnir (~Tyrfing@94.89-10-104.nextgentel.com) has joined #raspberrypi
[12:57] * wili (~wili@ Quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[13:00] * Payhn (~Payhn@24-139-44-252.fidnet.com) Quit (Quit: ZNC - http://znc.in)
[13:01] * Payhn (~Payhn@24-139-44-252.fidnet.com) has joined #raspberrypi
[13:01] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[13:02] * Hix (~hix@97e08719.skybroadband.com) has joined #raspberrypi
[13:02] * Hix (~hix@97e08719.skybroadband.com) Quit (Remote host closed the connection)
[13:03] * defsdoor_ (~andy@cpc73037-sutt4-2-0-cust62.19-1.cable.virginm.net) has joined #raspberrypi
[13:03] * defsdoor (~andy@cpc73037-sutt4-2-0-cust62.19-1.cable.virginm.net) Quit (Quit: Ex-Chat)
[13:04] * marcinnn_ (~marcin@173.ip-37-187-58.eu) has joined #raspberrypi
[13:04] <marcinnn_> Hi
[13:06] <marcinnn_> I would like to have linux to which I could connect via internet in home network. Is it possible to do it with raspberrypi? I read manualls and all require keyboards and screens while I'm looking something that is small can be connected to network and is able to handle usb - with no need of screen, keyboards and other stuff.
[13:07] <mgottschlag> you can run any linux without a screen and keyboard
[13:07] <mgottschlag> you would need to install an SSH server, and setup port forwarding and dyndns in your router
[13:07] <marcinnn_> mgottschlag, yes unless POST will allow me to start it. THat's is why I'm asking these details here.
[13:08] <mgottschlag> during the instalation, however, screen/keyboard are very convenient though
[13:08] <mgottschlag> POST?
[13:08] <mgottschlag> ah
[13:08] <marcinnn_> Power On Self Test
[13:08] <mgottschlag> the pi boots without anything attached
[13:08] <mgottschlag> many are using the pi as a headless server
[13:09] <marcinnn_> IT will be in my home network for handling some usb devices.
[13:09] * GerhardSchr (~GerhardSc@unaffiliated/gerhardschr) has joined #raspberrypi
[13:09] <chesty> i haven't connected a head to my pi, raspbian out of the box let me ssh to it
[13:09] <marcinnn_> Actually I have one raspberrypi. Do I need anything more? Or I can just connect it and work with it?
[13:10] <chesty> it needs a dhcp server to get an ip address
[13:10] <chesty> or you can mout the sd card on your pc and configure it with a static ip
[13:10] <chesty> mount
[13:13] <gordonDrogon> good aftermorning...
[13:13] <Swensson> Morning
[13:13] * TyrfingMjolnir (~Tyrfing@94.89-10-104.nextgentel.com) Quit (Quit: For Valhall!)
[13:14] <marcinnn_> chesty, so I also need sd card to save system there?
[13:14] * normalraw (~normalra@unaffiliated/normalra) Quit (Remote host closed the connection)
[13:15] <mgottschlag> marcinnn_: yes, the pi boots from the sd card
[13:15] * normalraw (~normalra@unaffiliated/normalra) has joined #raspberrypi
[13:15] * MonkehParade (~Fishy@unaffiliated/monkehparade) has joined #raspberrypi
[13:17] * marcinnn_ is now known as marcinnn
[13:17] * brethil (~brethil@ Quit (Quit: Quitting existence)
[13:19] * Drexl (~Travis@cpc15-camd13-2-0-cust160.hari.cable.virginm.net) has joined #raspberrypi
[13:19] <marcinnn> Any requirements for this card?
[13:20] * nrdb (~neil@ has joined #raspberrypi
[13:21] <lord4163> I want to build an outdoor weather station with the raspberry pi. Now to problem is the power. I do have an entry light on MY123 balcony, just tried if it works, but it turns out it delivers 19V instead of 230V.
[13:21] <lord4163> Is there a power supply that works with 19v ac?
[13:22] <marcinnn> raspberry pi sd card reqirement
[13:22] * bigx (~bigx@cam44-2-82-235-243-114.fbx.proxad.net) has joined #raspberrypi
[13:23] <chesty> marcinnn: for the pi2, you need a micro sd card, i'm not sure what the max and min sizes are, but 32G will work, and so will 8G. google for reviews of micro sd cards
[13:23] * Gathis (~TheGrey@unaffiliated/gathis) Quit (Remote host closed the connection)
[13:23] <marcinnn> that suppose to be google window
[13:23] <marcinnn> What about 2 GB?
[13:23] <chesty> yeap, will work
[13:23] <normalra> if you have a distro that small and it fits you needs, why not.
[13:24] <chesty> you'll probably want raspbian jessie lite, or something without all the desktop software
[13:25] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) has joined #raspberrypi
[13:25] <chesty> my file system is 800M, it's jessie lite, plus I've installed quite a few packages
[13:26] <gordonDrogon> lord4163, 19v is a standard laptop charging voltage, but its usually DC.
[13:27] <gordonDrogon> lord4163, however any good SMPS converter will work for you - just make a diode bridge, smoothing capacitor + inductor and off you go...
[13:27] <lord4163> gordonDrogon, yeah output, input is 230V. I'm talking input :P
[13:27] * pksato (~PEBKAC@unaffiliated/pksato) has joined #raspberrypi
[13:28] <gordonDrogon> I'd take low voltage outside rather than run mains outside. Get a good heavy duty cable and take that from the 5V PSU to the Pi.
[13:29] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) Quit (Ping timeout: 240 seconds)
[13:32] * MonkehParade (~Fishy@unaffiliated/monkehparade) Quit (Ping timeout: 272 seconds)
[13:33] <lord4163> gordonDrogon, I don't really understand why it is 19v there.
[13:33] * speeddragon (~speeddrag@sm2-84-91-40-157.netvisao.pt) has joined #raspberrypi
[13:34] <lord4163> gordonDrogon, is it converted inside the armature?
[13:41] * j12t (~j12t@ has joined #raspberrypi
[13:44] * yud (~yud@innmail.teletel.co.il) has joined #raspberrypi
[13:48] <gordonDrogon> I've no idea. maybe you're measuring the wrong thing?
[13:48] <gordonDrogon> however it's probably not a good thing to tap into - unless you run the light all the time it'll turn the Pi off when the light goes off...
[13:51] * brethil (~brethil@ has joined #raspberrypi
[14:01] * Ispira (uid96374@gateway/web/irccloud.com/x-emhxmmferzsthexd) Quit (Quit: Connection closed for inactivity)
[14:02] * eXtremo (~eXtremo@unaffiliated/extremo) Quit (Ping timeout: 256 seconds)
[14:04] * j12t (~j12t@ Quit (Ping timeout: 272 seconds)
[14:05] * Tera2342 (~Tera2342@ Quit (Ping timeout: 272 seconds)
[14:05] * martinkl_ (~martinkle@dslb-178-008-153-155.178.008.pools.vodafone-ip.de) has joined #raspberrypi
[14:06] * Tera2342 (~Tera2342@ has joined #raspberrypi
[14:08] * eXtremo (~eXtremo@unaffiliated/extremo) has joined #raspberrypi
[14:09] <lord4163> gordonDrogon, I want to remove the light.
[14:10] <t3chguy> lord4163: you can get a DC-DC Buck converter
[14:10] <t3chguy> and drop 19V (if its AC you'll need a Bridge Rectifier)
[14:10] <t3chguy> and then you'd get a nice stable 5V out
[14:11] <t3chguy> lord4163: something like this http://www.ebay.co.uk/itm/7V-24V-to-5V-3A-DC-DC-Step-Down-Buck-Converter-Module-to-USB-Output-KIS3R33S-UK-/400865889524?hash=item5d55780cf4:g:jUcAAOSwcnpToC3L
[14:13] * KRESH (~Esh@cm56-202-149.liwest.at) has joined #raspberrypi
[14:13] * plunden (~pasi@dsl-tkubrasgw3-54f962-11.dhcp.inet.fi) Quit (Ping timeout: 240 seconds)
[14:14] <lord4163> t3chguy, it is ac 19v
[14:14] <t3chguy> lord4163: thus the Bridge Rectifier
[14:14] <t3chguy> most AC-DC Converters will be from 120/240V, so won't be useful to you
[14:15] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) Quit (Remote host closed the connection)
[14:15] <lord4163> t3chguy, cool, bookmarked it :)
[14:15] * toomin (~HomoSapie@unaffiliated/toomin) has joined #raspberrypi
[14:15] <t3chguy> a bridge rectifier is literally 4 diodes
[14:15] <t3chguy> so you can either buy a premade one, or just solder 4 diodes together
[14:15] <t3chguy> in the right configuration
[14:15] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) has joined #raspberrypi
[14:15] <t3chguy> and it'll convert AC to DC, a smoothing cap helps if you're drawing a lot of current
[14:16] <t3chguy> that's basically a capacitor in parallel to the output of the bridge rectifier
[14:17] <lord4163> t3chguy, Cool. I was thinking about a pi zero for this project.
[14:17] <t3chguy> neat
[14:17] <t3chguy> I got one last week
[14:17] <t3chguy> reviewing it right now actually xD#
[14:18] <t3chguy> Gadgetoid: feel like pushing my review through :3?
[14:18] <lord4163> nice, I wonder if I can put the sensors in the same box directly next to the house.
[14:19] <lord4163> or if I put the sensor in a seperate box further away from the house..
[14:20] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) Quit (Ping timeout: 255 seconds)
[14:20] <lord4163> many things to consider :D
[14:20] * sivteck (~sivteck@unaffiliated/sivteck) Quit (Ping timeout: 246 seconds)
[14:21] * clonak_ (~clonak@ has joined #raspberrypi
[14:22] <t3chguy> there are yeah
[14:22] <t3chguy> if its in another box then you either need to use digital sensors or have a Microcontroller over there to send digital signals back
[14:22] <t3chguy> analogue signals don't like lengthy wires
[14:23] <t3chguy> and besides, RPi has no ADC
[14:23] <lord4163> t3chguy, I found a nice digital one with barometric function too
[14:24] <t3chguy> neat
[14:25] <lord4163> BMP180
[14:25] * brethil (~brethil@ Quit (Quit: Quitting existence)
[14:26] * sphenxes (~sphenxes@ Quit (Read error: Connection reset by peer)
[14:26] * clonak (~clonak@ Quit (Ping timeout: 272 seconds)
[14:26] * sphenxes (~sphenxes@ has joined #raspberrypi
[14:26] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) has joined #raspberrypi
[14:27] * brethil (~brethil@ has joined #raspberrypi
[14:27] * clonak_ (~clonak@ Quit (Ping timeout: 272 seconds)
[14:27] <t3chguy> what are you planning to use the sensor data for?
[14:27] <t3chguy> I'm just wondering whether an Arduino could be more appropriate
[14:29] <lord4163> t3chguy, yeah, I want to upload it to a VPS and serve some nice graphs :) Arduino would not be working for me because I want to have local copy of the database, and need the wifi.
[14:29] <t3chguy> fair enough
[14:29] <lord4163> and raspberry pi zero is cheaper I guess.
[14:30] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) has joined #raspberrypi
[14:31] * lautzu (~lautzu@unaffiliated/lautzu) has joined #raspberrypi
[14:31] <t3chguy> nah
[14:31] <t3chguy> an Arduino Uno R3 (clone) is half the price of a Zero
[14:31] * MonkehParade (~Fishy@unaffiliated/monkehparade) has joined #raspberrypi
[14:32] <t3chguy> a Nano is a bit less than that yet
[14:32] <ozzzy_> well... a Zero is a computer and an Arduino isn't
[14:32] <t3chguy> Yes ozzzy_, but for sensory analysis you don't always need a computer
[14:33] <t3chguy> and ozzzy_, Arduino do have the Yun, which is a Linux computer with additional MCU
[14:33] <ozzzy_> nope.... for handling sensors a microcontroller works fine... as long as you have a computer to handle the data
[14:33] <t3chguy> ozzzy_: I wonder why Ethernet and WiFi shields exist for the Arduino... Hmm
[14:33] <t3chguy> (!)
[14:33] <ozzzy_> so that computers can get the data
[14:34] <lord4163> t3chguy, I was considering the onion omega
[14:34] * netzfisch (~Thunderbi@x55b0640f.dyn.telefonica.de) has joined #raspberrypi
[14:34] <t3chguy> hmm lord4163, not heard of it
[14:34] <t3chguy> but now I want one
[14:35] <lord4163> t3chguy, but the rpi is killing it spec wise
[14:35] * lautzu (~lautzu@unaffiliated/lautzu) Quit (Ping timeout: 260 seconds)
[14:36] <t3chguy> and price
[14:37] <lord4163> t3chguy, but it has built in wifi
[14:37] * Svardskampe (~Svardskam@185-14-ftth.onsnetstudenten.nl) has joined #raspberrypi
[14:38] * ozzzy_ has to put BackyardNikon on his 'miniputer'
[14:38] <t3chguy> if I bought it, i'd get the Ethernet accessory
[14:40] <mgottschlag> there are loads of such ar9331 modules
[14:40] <mgottschlag> what they all have in common is that they don't have any hardware SPI or I2C :)
[14:41] <mgottschlag> the ar9331 however has USB device mode support, unlike the pi, that's its biggest USP
[14:41] <mgottschlag> otherwise, the zero is much better
[14:41] * MonkehParade (~Fishy@unaffiliated/monkehparade) Quit (Ping timeout: 246 seconds)
[14:42] * dudi879 (~dud@bxd54.neoplus.adsl.tpnet.pl) has joined #raspberrypi
[14:42] <mgottschlag> at 30$, it's also not exactly cheap :D
[14:42] <MY123> mgottschlag, the Pi0 works in device mode
[14:42] <MY123> perfectly fine, at least VC4-side
[14:42] <mgottschlag> yeah, but no linux driver
[14:43] * shantorn (~shantron@71-222-115-87.ptld.qwest.net) has joined #raspberrypi
[14:43] <MY123> mgottschlag, it's just reverting a commit
[14:43] <mgottschlag> http://de.aliexpress.com/item/RS232-RS485-serial-to-wifi-module-with-onboard-internal-antenna-bridge-AP-router-free-shipping/1775804540.html?ws_ab_test=searchweb201556_4,searchweb201644_3_79_78_77_82_80_62,searchweb201560_8 <- that's a board with similar specs
[14:43] <mgottschlag> MY123: huh?
[14:43] <MY123> mgottschlag, there is an easy way to enable OTG on Zero
[14:45] <MY123> mgottschlag, I have 1600 tabs on my web browser though, so I may take a century to find it :)
[14:45] <mgottschlag> with proper linux support? nice
[14:45] <mgottschlag> MY123: I see, found it
[14:46] * _jamesl (~Kaiser@unaffiliated/jamesl/x-3950537) has joined #raspberrypi
[14:46] <MY123> mgottschlag, it works damn well as expected, it's exactly why I'm back to VC4 dev(USB UART simulation on a Zero)
[14:46] <MY123> so I don't have to use GPIO
[14:47] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) Quit (Ping timeout: 256 seconds)
[14:47] <_jamesl> Would a raspberry pi RAID5 array with 3 usb to sata converters be fast?
[14:47] <MY123> _jamesl, useless to try it
[14:48] <_jamesl> MY123, so it would be too slow to use?
[14:48] <MY123> _jamesl, no benefits
[14:48] * howdoi (uid224@gateway/web/irccloud.com/x-etxthyzykbccdzjn) Quit (Quit: Connection closed for inactivity)
[14:48] <_jamesl> what about increased reliability incase of drive failure?
[14:48] * _jamesl (~Kaiser@unaffiliated/jamesl/x-3950537) Quit (Read error: Connection reset by peer)
[14:49] * cyborg-one (~cyborg-on@ has joined #raspberrypi
[14:54] * sivteck (~sivteck@unaffiliated/sivteck) has joined #raspberrypi
[14:55] * dudi879 (~dud@bxd54.neoplus.adsl.tpnet.pl) Quit (Quit: WeeChat 1.3)
[14:56] * sivteck (~sivteck@unaffiliated/sivteck) Quit (Quit: bah)
[15:01] * GerhardSchr (~GerhardSc@unaffiliated/gerhardschr) Quit (Read error: Connection reset by peer)
[15:04] * netzfisch (~Thunderbi@x55b0640f.dyn.telefonica.de) Quit (Ping timeout: 240 seconds)
[15:05] * MonkehParade (~Fishy@unaffiliated/monkehparade) has joined #raspberrypi
[15:08] * martinkl_ (~martinkle@dslb-178-008-153-155.178.008.pools.vodafone-ip.de) Quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[15:10] * nighty^ (~nighty@q029220.ppp.asahi-net.or.jp) has joined #raspberrypi
[15:13] * plunden (~pasi@dsl-tkubrasgw3-54f962-11.dhcp.inet.fi) has joined #raspberrypi
[15:14] <lord4163> t3chguy, did you measure the power consumption of the pi zero? :)
[15:14] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) has joined #raspberrypi
[15:16] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) has joined #raspberrypi
[15:21] * Flutterbat (~flutterba@unaffiliated/day) Quit (Quit: leaving)
[15:21] * Flutterbat (~flutterba@unaffiliated/day) has joined #raspberrypi
[15:26] * MonkehParade (~Fishy@unaffiliated/monkehparade) Quit (Ping timeout: 240 seconds)
[15:27] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) Quit (Ping timeout: 255 seconds)
[15:28] * techwave61 (~py@ool-1826eaa1.dyn.optonline.net) has joined #raspberrypi
[15:29] * taza (~taza@unaffiliated/taza) has joined #raspberrypi
[15:30] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) Quit (Ping timeout: 260 seconds)
[15:30] * netzfisch (~Thunderbi@x55b0640f.dyn.telefonica.de) has joined #raspberrypi
[15:32] * Moonsilence (~Moonsilen@aftr-95-222-30-169.unity-media.net) Quit ()
[15:33] * Flutterbat (~flutterba@unaffiliated/day) Quit (Quit: leaving)
[15:33] * Flutterbat (~flutterba@unaffiliated/day) has joined #raspberrypi
[15:34] * Tera2342 (~Tera2342@ Quit (Ping timeout: 265 seconds)
[15:35] * Moonsilence (~Moonsilen@aftr-95-222-30-169.unity-media.net) has joined #raspberrypi
[15:37] * tom_lowndes (~tom_lownd@host-84-9-75-18.dslgb.com) has joined #raspberrypi
[15:38] * normalra (~normal@unaffiliated/normalra) Quit (Quit: I am a passenger.)
[15:39] * nrdb (~neil@ Quit (Ping timeout: 265 seconds)
[15:39] * djhworld (~djhworld@ has joined #raspberrypi
[15:41] * Lyka (scat@unaffiliated/schrodingerscat) has joined #raspberrypi
[15:42] * govg_ (~govg@unaffiliated/govg) Quit (Ping timeout: 255 seconds)
[15:42] <Lyka> so i bought a RaspberryPi A+ to use with an 84x48 monochrome display to use as a wifi strength meter
[15:43] * fluffet (~fluffet@h-109-92.a163.priv.bahnhof.se) has joined #raspberrypi
[15:43] <Lyka> needed something that uses less power than my 2B
[15:44] * snowkidind (~snowkidin@pool-96-255-209-107.washdc.fios.verizon.net) has joined #raspberrypi
[15:44] <Lyka> does that make sense?
[15:45] <SpeedEvil> debatably
[15:45] <Lyka> i need to know how far my wifi extends past our property
[15:45] <SpeedEvil> why not use a phone
[15:45] <daveake> +1
[15:45] * Viper168_ (~Viper@unaffiliated/viper168) has joined #raspberrypi
[15:46] <SpeedEvil> there are many wifi+gps loggers that'll plot it on a map even
[15:46] <Lyka> because i am crazy
[15:46] <daveake> You can get a simple app that lists SSIDs / channels / strengths
[15:47] <Lyka> there are other things i can do. use it as a remote display for the 2B
[15:47] <Lyka> show status info
[15:47] <chesty> you can reduce the power consumption of a 2b, docs say normal power requirements are 1.2 amps and you can reduce it to 0.6 amps, that would be peak power requirements
[15:47] <SpeedEvil> that is counting USB
[15:47] <daveake> Normal power is already less than 0.6A
[15:47] <daveake> s/power/current/
[15:48] <SpeedEvil> you can also turn off the network and usb bits od the B+ to get to A current
[15:48] * Viper168 (~Viper@unaffiliated/viper168) Quit (Ping timeout: 256 seconds)
[15:49] <Lyka> well, i need a second pi for the remote display thing, i only have the one 2B
[15:49] <chesty> you can't have too many pi's
[15:49] <Lyka> so is there a reason to spend money i don't have to get a 2B instead of an A+?
[15:50] <SpeedEvil> no
[15:50] <SpeedEvil> though for most stuff the PiA is usable for, the Pi zero is too
[15:50] <Lyka> Amazon was out of Zeroes
[15:50] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[15:50] <daveake> Yeah lack of CSI is the main one
[15:50] <SpeedEvil> I can't think off-hand why you'd get a A over a zero, all else being equal
[15:50] <SpeedEvil> oh - yeah
[15:50] <daveake> for me anyway
[15:51] <SpeedEvil> I forgot that
[15:51] <Lyka> would have gotten the zero if they had it
[15:51] <t3chguy> lord4163: I have not
[15:52] * govg (~govg@unaffiliated/govg) has joined #raspberrypi
[15:54] <Lyka> before i got my first rpi, i was an arduino girl.
[15:54] <Lyka> now...well, they are for different things
[15:54] <t3chguy> Lyka: you can use an Arduino+nRF24L01+ to get strength of signals in the 2.4GHz Spectrum (WiFi band is in there)
[15:54] * gosty (~textual@c-73-172-159-155.hsd1.md.comcast.net) Quit (Ping timeout: 240 seconds)
[15:55] <Lyka> too confusing
[15:55] * mlelstv (~mlelstv@hoppa.1st.de) has joined #raspberrypi
[15:56] <Lyka> i gotta go
[15:56] * Lyka (scat@unaffiliated/schrodingerscat) has left #raspberrypi
[15:57] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) has joined #raspberrypi
[15:58] <abnormal> bye
[16:02] * mgottschlag (~quassel@reactos/tester/phoenix64) Quit (Ping timeout: 246 seconds)
[16:04] * BrianH (~BrianH@c-71-60-24-13.hsd1.pa.comcast.net) has joined #raspberrypi
[16:06] * shantorn (~shantron@71-222-115-87.ptld.qwest.net) Quit (Remote host closed the connection)
[16:08] * mixfix41 (~awkwardpl@unaffiliated/mixfix41) Quit (Ping timeout: 265 seconds)
[16:09] * amigojapan (~amigojapa@unaffiliated/amigojapan) has joined #raspberrypi
[16:10] * gregd (5ead09ef@gateway/web/freenode/ip. has joined #raspberrypi
[16:11] * normalraw (~normalra@unaffiliated/normalra) Quit (Remote host closed the connection)
[16:11] * normalraw (~normalra@unaffiliated/normalra) has joined #raspberrypi
[16:11] * wiiguy (~fake@unaffiliated/wiiguy) Quit (Read error: Connection reset by peer)
[16:11] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) Quit (Ping timeout: 265 seconds)
[16:13] * Macuser (~textual@unaffiliated/macuser) has joined #raspberrypi
[16:14] * trumpetarn (~trumpetar@h88-129-226-41.dynamic.se.alltele.net) has joined #raspberrypi
[16:15] * normalraw (~normalra@unaffiliated/normalra) Quit (Remote host closed the connection)
[16:15] * netzfisch (~Thunderbi@x55b0640f.dyn.telefonica.de) Quit (Ping timeout: 256 seconds)
[16:15] * normalraw (~normalra@unaffiliated/normalra) has joined #raspberrypi
[16:17] * helderc (~helderc@ has joined #raspberrypi
[16:20] * Payhn (~Payhn@24-139-44-252.fidnet.com) Quit (Ping timeout: 260 seconds)
[16:22] <snowkidind> confuscious confused
[16:22] <snowkidind> ok so maybe the coffe hasnt kicked in
[16:23] <snowkidind> NOOBs is a version of squeeze right?
[16:23] * mixfix41 (~awkwardpl@unaffiliated/mixfix41) has joined #raspberrypi
[16:23] <snowkidind> so im wondering what the difference between kernel and squeeze is
[16:23] <snowkidind> are they one in the same or is kernel something that is seperate altogether
[16:23] * SopaXT (~sopaxorzt@unaffiliated/sopaxorztaker) has joined #raspberrypi
[16:23] * Payhn (~Payhn@24-139-44-252.fidnet.com) has joined #raspberrypi
[16:24] <nid0> noobs is a minimal loading system basically that can install several different os's
[16:25] <nid0> none of them are squeeze, squeeze is the name for debian 6
[16:25] <snowkidind> i thought it installed a version of that
[16:25] <t3chguy> NOOBS can install several distros for you, but it does not become what it installs
[16:25] <t3chguy> its like saying you become a banana just because you ate a banana
[16:26] <nid0> it installs raspbian, either wheezy or jessie (versions 7 & 8), I haven't used noobs recently enough to know whether it's been updated with the jessie image
[16:26] <snowkidind> oh yea thats right wheezy
[16:26] <snowkidind> my past life was coming back to haunt me
[16:27] <snowkidind> so then the kernel
[16:27] <snowkidind> is that not part of wheezy
[16:27] <nid0> its part of all linux operating systems
[16:27] <t3chguy> Linux is the Kernel
[16:27] <snowkidind> ok
[16:27] <snowkidind> thats what i thought
[16:27] <t3chguy> thats the common component of all linux OSes
[16:27] <snowkidind> i was reading something that said i needed to ake a kernel
[16:27] <nid0> the kernel is the underlying core that makes an os "linux", then the rest of the os is built on top of it
[16:27] <t3chguy> and the distros just add things on top of it
[16:27] <t3chguy> ^
[16:28] <snowkidind> the book was having me run terminal commands then told me to install a kernel
[16:28] * yohnnyjoe (~yohnnyjoe@2601:143:8201:585e:fa1e:dfff:fed7:1ace) Quit (Ping timeout: 250 seconds)
[16:28] <snowkidind> which puts the chicken before the egg
[16:28] <t3chguy> depends what you're typing the commands into
[16:28] <t3chguy> you could be installing an alternate kernel
[16:28] <snowkidind> i was assuming the author was telling me to do all of this on my pi
[16:29] <snowkidind> but i guess he intended all of that for something else
[16:29] <snowkidind> so what is mtop
[16:30] <t3chguy> sounds like some variant of top
[16:30] <snowkidind> (thanks for your help by the way, i was almost certain, but my lack of caffiene threw me off)
[16:30] <snowkidind> this book is for a pi2
[16:30] <snowkidind> and i have a b+
[16:31] <snowkidind> so im assuming everything is wrong
[16:31] <chesty> if you install raspbian, it handles upgrading the kernel via apt
[16:31] <snowkidind> right
[16:31] <snowkidind> thats what i did
[16:31] <snowkidind> but old book threw me off
[16:32] * ctrlshftn is now known as ctrlshftn-away
[16:33] <chesty> recompiling your kernel used to be a right of passage some time ago. it's not required, but it's never a waste to learn something new
[16:33] <chesty> or is ir rite od passage?
[16:33] * mgottschlag (~quassel@reactos/tester/phoenix64) has joined #raspberrypi
[16:33] <snowkidind> is there a IDE that works for raspbian
[16:33] * Payhn (~Payhn@24-139-44-252.fidnet.com) Quit (Ping timeout: 260 seconds)
[16:33] <snowkidind> i know
[16:33] <gordonDrogon> seval IDEs.
[16:33] <snowkidind> im a hack sysadmin
[16:34] <snowkidind> i was thinking about using c++ with the open CV
[16:34] <gordonDrogon> xterm/vim/makefiles is my own personal IDE though ...
[16:34] <snowkidind> i have a few ideas that involve gpio stuff but also video stream editing
[16:34] <snowkidind> we all know the die hard way
[16:35] <snowkidind> i use xcode and phpstorm, bbedit on a mac usually
[16:35] * yohnnyjoe (~yohnnyjoe@2601:143:8201:585e:fa1e:dfff:fed7:1ace) has joined #raspberrypi
[16:35] <snowkidind> it would be nice to work from my mac build, copy to pi and execute
[16:35] <snowkidind> you think that could be automated?
[16:36] <gordonDrogon> probably.
[16:36] <snowkidind> jusdt so i can use the processor power of the macPro trash can model i have
[16:36] <gordonDrogon> some are cross compiling on Win & other Linux boxes, so I guess its possible in a MAx.
[16:36] <snowkidind> some of the make commands on the pi have been turtle slow
[16:36] <gordonDrogon> *Mac.
[16:37] <gordonDrogon> it depends on the size of the project...
[16:37] <snowkidind> some guy was here last night building php 7 took 30 minutes
[16:37] <gordonDrogon> sure, but when developing ,you only do a full build once - after that, it's just one file + the link time. (or should be)
[16:37] <snowkidind> my stuff usually gets pretty big
[16:37] <gordonDrogon> my basic interpreter is 30K lines of code, but only takes a few seconds to check one file.
[16:38] <snowkidind> right. i never really got into the nuts and bolts of that
[16:38] <snowkidind> i made a couple iphone apps and they have a build phase but its pretty quick generally
[16:38] <snowkidind> not something ive ever needed to delve in to
[16:39] <snowkidind> that and everything else ive done is scripts
[16:39] * drewx0r (~drewx0r@unaffiliated/drewx0r) has joined #raspberrypi
[16:39] <gordonDrogon> I've not looked at "apps", but have been developing C for over 30 years now..
[16:39] <snowkidind> i did some microchip firmware back in the day - in C screw assy
[16:40] <snowkidind> I managed to get a flashing LED last night, through php. but the process dies after a while.
[16:40] <gordonDrogon> there will be an execution time limit in PHP.
[16:41] <snowkidind> right
[16:41] <gordonDrogon> it's to stop web pages from stalling...
[16:41] <snowkidind> but i need to get away from that anyways
[16:41] <gordonDrogon> you can do it in bash :)
[16:41] <snowkidind> it ran for a couple hours
[16:41] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) has joined #raspberrypi
[16:41] <snowkidind> i want to get to the compiled stuff
[16:41] <chesty> python is my poison
[16:42] * Payhn (~Payhn@24-139-44-252.fidnet.com) has joined #raspberrypi
[16:42] <snowkidind> a good hello world blinking led rpi tutorial for c++ with openCV would be the perescription right about now
[16:42] <gordonDrogon> https://projects.drogon.net/raspberry-pi/gpio-examples/tux-crossing/
[16:42] <gordonDrogon> the software page under that has a C example.
[16:42] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) Quit (Client Quit)
[16:42] <gordonDrogon> https://git.drogon.net/?p=gpioExamples;a=tree;f=tuxx;h=312aa8f174a482420929d163c0a3758b7dfae99c;hb=327e2c56464695b95b22ca5b2395fa940f2777a7
[16:42] <snowkidind> cool
[16:43] <gordonDrogon> wiringPi is a C library I wrote to help deal with the GPIO.
[16:43] <snowkidind> oh you wrote wiring pi?
[16:43] <snowkidind> thats awesome
[16:43] <gordonDrogon> yes.
[16:43] * Sisco (Sisco@unaffiliated/sisco) Quit (Ping timeout: 265 seconds)
[16:43] <snowkidind> took me a minute to realize that you have to set the pin to output before you can turn it on/off
[16:44] <gordonDrogon> yes - they can be input or output, but you need to select which way first.
[16:45] <snowkidind> I used to play with microchips, and i was able to get a detaild specsheet that gave me the processor architecture and pinouts
[16:45] <snowkidind> you know, a big ol’ pdf
[16:45] <gordonDrogon> that's PICs? they've been about for donkeys years.
[16:45] <snowkidind> yea
[16:45] <gordonDrogon> I much prefer ATmegas, but they're relatively new compared to PIC.
[16:45] <snowkidind> i had a few projects way back when
[16:46] <snowkidind> built someone’s video game controller
[16:46] <snowkidind> just hacked away at it until it worked
[16:46] <gordonDrogon> I've only done one commercial project on a PIC. I didn't really like it, but there you go. All in C/Makefiles using a cross compiler under Linux.
[16:46] <t3chguy> gordonDrogon: likewise, (ATMega preference)
[16:47] <snowkidind> so taking this a level up, i have a question - im trying to do some streaming video stuff
[16:47] <gordonDrogon> not something I know much about ...
[16:48] * tomeff (~tomeff@15.241.broadband3.iol.cz) Quit (Quit: tomeff)
[16:48] <snowkidind> and i want to take a input stream from the camera, (potentially ) merge it with another stream and then out the hdmi
[16:48] * Ahmed90 (~Ahmed90@unaffiliated/ahmed90) has joined #raspberrypi
[16:48] <snowkidind> im sort of feeling around for direction with the project right now but am wondering if you think something like that is possible with the pi, c++, open CV
[16:49] <gordonDrogon> not sure about merging video streams in real time - that might need the gpu, but there are several openCV projects - I've seen one that goes at ... oh, 1 frame/second ...
[16:49] <snowkidind> im pretty sure the programming side is ok, but im not so sure about the hardware side
[16:49] <gordonDrogon> probably much faster on the Pi 2
[16:49] <snowkidind> i’ve a b+
[16:50] <gordonDrogon> anyway, sunday lunchtime here... back later.
[16:50] <snowkidind> i need 60/s. 30 might suffice
[16:50] <snowkidind> thanks for the tips man appreciate it
[16:50] <snowkidind> and the tutorials too
[16:50] * linkedinyou (~linkediny@unaffiliated/linkedinyou) has joined #raspberrypi
[16:56] * mgottschlag (~quassel@reactos/tester/phoenix64) Quit (Ping timeout: 246 seconds)
[16:57] * mgottschlag (~quassel@reactos/tester/phoenix64) has joined #raspberrypi
[17:02] * djazz (~djazz@78-72-44-191-no186.tbcn.telia.com) Quit (Ping timeout: 240 seconds)
[17:02] * djazz (~djazz@78-72-44-191-no186.tbcn.telia.com) has joined #raspberrypi
[17:04] * j00r_m473 (~j00r_m473@ has joined #raspberrypi
[17:07] * Berg (~chatzilla@pa114-73-167-25.pa.nsw.optusnet.com.au) Quit (Remote host closed the connection)
[17:08] * stagnator (~NobodyKno@bb121-6-197-27.singnet.com.sg) Quit (Ping timeout: 260 seconds)
[17:13] * lemonzest (~lemonzest@unaffiliated/lemonzest) Quit (Read error: Connection reset by peer)
[17:13] * lemonzest (~lemonzest@unaffiliated/lemonzest) has joined #raspberrypi
[17:14] * Ahmed90 (~Ahmed90@unaffiliated/ahmed90) Quit (Ping timeout: 246 seconds)
[17:14] * gosty (~textual@c-73-172-159-155.hsd1.md.comcast.net) has joined #raspberrypi
[17:16] * TyrfingMjolnir (~Tyrfing@ has joined #raspberrypi
[17:18] * brethil (~brethil@ Quit (Quit: Quitting existence)
[17:19] * ctrlshftn-away is now known as ctrlshftn
[17:22] * sphenxes01 (~sphenxes@194-118-164-65.adsl.highway.telekom.at) Quit (Ping timeout: 240 seconds)
[17:22] * nonopposition (crazyed@wrongplanet/CrazyEddy) has joined #raspberrypi
[17:23] * sphenxes (~sphenxes@ Quit (Ping timeout: 272 seconds)
[17:24] * sphenxes01 (~sphenxes@194-118-164-65.adsl.highway.telekom.at) has joined #raspberrypi
[17:24] * sphenxes (~sphenxes@ has joined #raspberrypi
[17:24] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) has joined #raspberrypi
[17:29] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) Quit (Ping timeout: 255 seconds)
[17:29] * GentileBen (GentileBen@cpc70133-lutn12-2-0-cust324.9-3.cable.virginm.net) has joined #raspberrypi
[17:30] * TyrfingMjolnir (~Tyrfing@ Quit (Quit: For Valhall!)
[17:31] * TyrfingMjolnir (~Tyrfing@ has joined #raspberrypi
[17:32] * ircuser-1 (~ircuser-1@158.183-62-69.ftth.swbr.surewest.net) Quit (Quit: ircuser-1)
[17:34] * Viper168_ is now known as Viper168
[17:34] * AttieGrande_ (~AttieGran@host86-174-168-46.range86-174.btcentralplus.com) has joined #raspberrypi
[17:34] * TyrfingMjolnir (~Tyrfing@ Quit (Client Quit)
[17:35] * lili_ (uid79385@gateway/web/irccloud.com/x-kvycceuemoammbjo) has joined #raspberrypi
[17:35] * Macuser (~textual@unaffiliated/macuser) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[17:35] * yud (~yud@innmail.teletel.co.il) Quit (Remote host closed the connection)
[17:35] * AttieGrande__ (~AttieGran@host86-174-168-46.range86-174.btcentralplus.com) has joined #raspberrypi
[17:36] * Noldorin (~noldorin@unaffiliated/noldorin) has joined #raspberrypi
[17:38] * AttieGrande (~AttieGran@host86-174-168-46.range86-174.btcentralplus.com) Quit (Ping timeout: 260 seconds)
[17:38] * Macuser (~textual@unaffiliated/macuser) has joined #raspberrypi
[17:39] * lili_ is now known as lili
[17:39] * Noldorin (~noldorin@unaffiliated/noldorin) Quit (Read error: Connection reset by peer)
[17:39] * AttieGrande_ (~AttieGran@host86-174-168-46.range86-174.btcentralplus.com) Quit (Ping timeout: 272 seconds)
[17:42] * Macuser (~textual@unaffiliated/macuser) Quit (Client Quit)
[17:43] * Macuser (~textual@unaffiliated/macuser) has joined #raspberrypi
[17:45] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) has joined #raspberrypi
[17:45] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) has joined #raspberrypi
[17:46] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) has joined #raspberrypi
[17:46] * Macuser (~textual@unaffiliated/macuser) Quit (Read error: No route to host)
[17:47] * Macuser (~textual@unaffiliated/macuser) has joined #raspberrypi
[17:50] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) Quit (Ping timeout: 265 seconds)
[17:51] * AttieGrande_ (~AttieGran@host86-174-168-46.range86-174.btcentralplus.com) has joined #raspberrypi
[17:54] * j00r_m473 (~j00r_m473@ Quit (Quit: Lost terminal)
[17:56] * AttieGrande__ (~AttieGran@host86-174-168-46.range86-174.btcentralplus.com) Quit (Ping timeout: 272 seconds)
[17:58] * Nk26 (~Nk26@2602:fff6:d:1::6537:2ecd) has joined #raspberrypi
[18:00] * Ablu (~ablu@s17999480.onlinehome-server.info) has joined #raspberrypi
[18:01] * Sisco (Sisco@unaffiliated/sisco) has joined #raspberrypi
[18:02] <Ablu> Hello... I am bought some DS18B20 sensors. I have 10 in total. If I attach more than 5 to a single bus the raspberry pi no longer recognises them. So I tried to wire the second half to a different gpio pin.
[18:02] * helderc (~helderc@ Quit (Quit: Leaving)
[18:02] <Ablu> However I am not able to see any of the sensors in /sys/bus/w1/devices
[18:03] <Ablu> I followed the tutorial at https://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing/ds18b20
[18:03] * govg (~govg@unaffiliated/govg) Quit (Ping timeout: 256 seconds)
[18:03] <Ablu> they used the GPIO pin 4 for this. I now wired another bunch to pin 3
[18:04] * Ahmed90 (~Ahmed90@unaffiliated/ahmed90) has joined #raspberrypi
[18:04] <Ablu> do i somehow need to enable that pin? I do not see how they enable pin 4 in their tutorial though...
[18:06] <Ablu> I wired pin 3 to one end of a 4,7k resistor, the 3V power to the other and put the sensor next to that (wired to ground of course)
[18:06] * PiGuy (18669026@gateway/web/freenode/ip. has joined #raspberrypi
[18:07] * nonopposition (crazyed@wrongplanet/CrazyEddy) Quit (Remote host closed the connection)
[18:07] <Ablu> if I switch the cables to the 3rd and 4th gpio pin I am getting the other sensor data
[18:07] <Ablu> so i somehow assume I need to "enable" that pin?
[18:08] * MY123 (~MY123@unaffiliated/kill--9-1/x-8776976) Quit (Quit: Leaving)
[18:08] * TyrfingMjolnir (~Tyrfing@ has joined #raspberrypi
[18:09] * Anaxyn (Anaxyn@botters/Xenthys/bot/Anaxyn) Quit (Quit: Hungry, brb)
[18:09] * Ahmed90 (~Ahmed90@unaffiliated/ahmed90) Quit (Ping timeout: 246 seconds)
[18:09] * Anaxyn (Anaxyn@botters/Xenthys/bot/Anaxyn) has joined #raspberrypi
[18:09] * govg (~govg@unaffiliated/govg) has joined #raspberrypi
[18:09] <PiGuy> Hello
[18:10] * AttieGrande_ (~AttieGran@host86-174-168-46.range86-174.btcentralplus.com) Quit (Ping timeout: 240 seconds)
[18:10] <Swensson> Hey
[18:10] <PiGuy> I how can I detect when a SD Card is plugged into my Pi 2 Model B and then be able to do stuff to the SD Card like search for files, run files, etc?
[18:10] <PiGuy> HI Swensson :-)
[18:10] <PiGuy> I am using C++
[18:11] * mac_ified (~mac_ified@67-9-150-210.res.bhn.net) has joined #raspberrypi
[18:11] <gordonDrogon> PiGuy, *sigh* You google for it. However the Pi won't boot without the SD card.
[18:11] <Ablu> every tutorial I see seems to use GPIO pin 4 for what I want to do. Is that pin special in any way?
[18:11] <gordonDrogon> Ablu, maybe you need a lower value resistor?
[18:11] <gordonDrogon> I think pin 4 is hardwired into the 1-wire code...
[18:11] <Ablu> gordonDrogon: well it works if i switch the pins
[18:11] <Ablu> ah hm
[18:12] <gordonDrogon> I've really not looked at 1-w on the Pi though.
[18:13] <gordonDrogon> PiGuy, if this is an SD card plugged into a USB adapter, then look in /proc/partitions
[18:13] * drewx0r (~drewx0r@unaffiliated/drewx0r) Quit (Quit: 'night!)
[18:14] <Ablu> gordonDrogon: do you have any idea how I could attach more than 5 to pin 4? I read about people attaching up to 10 sensors to a single pin. But somehow it does not work for me.
[18:14] <PiGuy> gordonDrogon: I did google I came across udisk but I didn't see how to do what I need I saw something about Python as well. So I came here to the experts :) One day I will be able to return the favor, and I will help you :)
[18:14] <PiGuy> gordonDrogon: SD Card in USB Adapter
[18:14] <PiGuy> gordonDrogon: Alright thanks
[18:15] <Swensson> PiGuy, you can't boot the rpi without any sdcard in
[18:15] * nonopposition (crazyed@wrongplanet/CrazyEddy) has joined #raspberrypi
[18:18] * sphenxes (~sphenxes@ Quit (Remote host closed the connection)
[18:18] <PiGuy> Swensson: I am referring to plugging in a SD Card via a USB SD Card Adapter and using that. Not the Pi's OS SD Card. My mistake :p
[18:18] * Tachyon` is now known as Tach[Away]
[18:21] * TheLostAdmin (~TheLostAd@ has joined #raspberrypi
[18:21] <Ablu> Here somebody explains that he recompiled the kernel with support for more pins: https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=65137
[18:22] <pksato> PiGuy: http://rasptorial.com/storage/mount-usb-drive
[18:23] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[18:28] * Tach[Away] is now known as Tachyon`
[18:31] * vikaton (uid59278@gateway/web/irccloud.com/x-tizfzberjwjlmixx) has joined #raspberrypi
[18:31] * Noldorin (~noldorin@unaffiliated/noldorin) has joined #raspberrypi
[18:31] <vikaton> hey gordonDrogon, mind helping me with an RGB LED dimming problem?
[18:32] <vikaton> or actually, sorry, anyone can
[18:32] <mgottschlag> maybe if you ask the actual question :)
[18:32] <vikaton> yeah im trying to word it right so it makes sense
[18:33] <Swensson> Vikaton: how's your setup?
[18:33] * lautzu (~lautzu@unaffiliated/lautzu) has joined #raspberrypi
[18:34] <vikaton> the problem is, I want to dim certain colors on the LED bulb, but I'm trying to figure out some sort of method so I dont have to hard code each color that would change color when it dims (I.E purple turns to blue since the blue color value is much higher than red's
[18:34] <vikaton> in this code: https://github.com/Vikaton/MagicLEDPi/blob/master/src/ledfuncs.c#L29
[18:35] * MY123 (~MY123@unaffiliated/kill--9-1/x-8776976) has joined #raspberrypi
[18:35] <vikaton> the rgb value of purple is 50,1,70
[18:35] <vikaton> if I dim it, red and green turn off before blue does
[18:36] * amigojapan (~amigojapa@unaffiliated/amigojapan) Quit (Quit: amigojapan)
[18:36] <Swensson> hmm, not sure how do just dim some colors and others not...
[18:36] <vikaton> then orange is 100,5,0
[18:36] <heller_> anyone familia with i2c or tsl2561?
[18:36] * tomeff (~tomeff@ip-78-102-111-158.net.upcbroadband.cz) has joined #raspberrypi
[18:36] <heller_> familiar*
[18:36] * Tachyon` is now known as Tach[Away]
[18:36] <mgottschlag> vikaton: well, you want to *multiply* all colors with a value between 0 and 1
[18:37] <heller_> could perhaps assist me on how to read the darn thing
[18:37] <mgottschlag> but store the original color
[18:37] <Swensson> Heller_ Kind of,,when I turned on i2sc support I fucked up my camera so it no longer works :E
[18:37] <vikaton> Swensson: I can dim either of the rgb values, its just the rgb values are kinda mixed up its hard to maintian the same color upon dimming
[18:37] * dudi879 (~dud@bxd54.neoplus.adsl.tpnet.pl) has joined #raspberrypi
[18:37] <mgottschlag> so that you can always take the original color, multiply it with the fading factor and use the resulting values to dim the LEDs
[18:37] <mgottschlag> heller_: i2c, yes
[18:37] <vikaton> hmm
[18:38] <Swensson> Viakton, I think you need like a resistor or something for that.... To be able to control a steady flow on lower amps?
[18:38] * lautzu (~lautzu@unaffiliated/lautzu) Quit (Ping timeout: 240 seconds)
[18:38] * nonopposition (crazyed@wrongplanet/CrazyEddy) Quit (Ping timeout: 240 seconds)
[18:39] <mgottschlag> the other option would be to ditch RGB colors altogether and make all calculations in HSV color space (except for the final conversion before you write RGB values to the LEDs), but that's too complex
[18:39] <mgottschlag> and not necessary
[18:39] * bdavenport (~davenport@ Quit (Quit: ZNC - http://znc.in)
[18:40] <vikaton> mgottschlag: okay kinda lost you on the mulitplication, lets just do purple for exmaple (50,1,70)
[18:40] <heller_> mgottschlag: can you explain me how do i read such sensor?
[18:40] <vikaton> in this case, what would you do?
[18:40] <mgottschlag> if you want to dim by 50%, you just take 50*0.5, 1 * 0.5, 70 * 0.5
[18:40] * bdavenport (~davenport@ has joined #raspberrypi
[18:40] <mgottschlag> lower factor for darker colors, 1 for maximum brightness
[18:41] <vikaton> o
[18:41] <mgottschlag> heller_: well, that totally depends on the sensor type
[18:42] <mgottschlag> you usually write a couple of registers to initialize it, then read registers to read sensor data
[18:42] <mgottschlag> do you have any specific problem?
[18:42] * shinji257 (~gunlar@unaffiliated/shinji257) has joined #raspberrypi
[18:42] <heller_> well its this sensor https://www.adafruit.com/datasheets/TSL2561.pdf
[18:42] <heller_> and i know some python, some arduino stuff, but im pretty lost with reading that
[18:43] <heller_> i have it wired with Raspberrypi, and i know how to read the address
[18:43] <heller_> but thats it
[18:43] <mgottschlag> vikaton: note though that with every multiplication you lose precision because the numbers become smaller and smaller, so it is sometimes better to always start again at the original color and just modify the factor
[18:43] <heller_> mgottschlag: i would like to write my own python-script to read values
[18:44] <mgottschlag> heller_: you should probably start with a script which just reads the ID register (0xA)
[18:44] <mgottschlag> to make sure that the connection works, and that your I2C library is properly set up
[18:45] <heller_> and where to start with that one?
[18:45] <mgottschlag> vikaton: also, the human eye has a logarithmic response, so if the change is supposed to look linear, then the actual color values need to be exponential
[18:45] * sphenxes (~sphenxes@194-118-164-65.adsl.highway.telekom.at) has joined #raspberrypi
[18:45] <mgottschlag> heller_: well, get the documentation for your I2C library, look at examples, ... :)
[18:46] * Nightcinder is now known as Nightcinder|CLE
[18:46] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) has joined #raspberrypi
[18:47] * amigojapan (~amigojapa@unaffiliated/amigojapan) has joined #raspberrypi
[18:47] * nonopposition (crazyed@wrongplanet/CrazyEddy) has joined #raspberrypi
[18:48] <heller_> hmm :I
[18:48] * govg (~govg@unaffiliated/govg) Quit (Quit: leaving)
[18:48] * govg (~govg@unaffiliated/govg) has joined #raspberrypi
[18:49] <vikaton> thanks mgottschlag !
[18:49] * orb (~orb@ Quit (Quit: leaving)
[18:49] <heller_> mgottschlag: anything more helpful? :)
[18:50] <vikaton> but what was the difference between multiplying by 0.5 and dividing by 2 o.O
[18:51] <doomlord> time
[18:51] <mgottschlag> vikaton: there is no difference, and often, integer math is better than floating point math
[18:51] <vikaton> strange, when I divided by 2 it didnt work
[18:51] <doomlord> what does the number start out as
[18:51] <mgottschlag> (e.g. doing something like (unsigned int)x * 256 / value instead of multiplying with (1/value), and keeping value in the range of 0..256
[18:52] <mgottschlag> )
[18:52] <mgottschlag> vikaton: well, your code example just subtracted 1 from the values, so lower values would reach 0 much more quickly and the proportions wouldn't hold
[18:52] <mgottschlag> heller_: do you have any I2C library?
[18:52] <doomlord> multiplying or dividing an integer by a power of 2, like "1/2" or "2" can be done with shifts
[18:52] <heller_> mgottschlag: nope
[18:53] <doomlord> if you have an integer and you want to 'multiply by 0.5', or 'divide by 2', write it as /2, and the compiler should give you a bitshift. (or write a bitshift)
[18:53] <mgottschlag> vikaton: sorry, I meant "*value / 256" of course, in which case a 8-bit right shift is much faster, as doomlord said
[18:53] <vikaton> mgottschlag: I guess you're right
[18:53] <vikaton> are you talking bitwise? @doomlord
[18:53] * Anaxyn (Anaxyn@botters/Xenthys/bot/Anaxyn) Quit (Remote host closed the connection)
[18:53] <doomlord> yes
[18:53] <doomlord> as you're talking about *0.5 or /2
[18:53] <Ablu> Ok so I found this http://pdfserv.maximintegrated.com/en/an/AN148.pdf
[18:54] <vikaton> heh, never really understood bitwise ops :(
[18:54] <Ablu> I now wired everything to 5V and I can detect more sensors at least
[18:54] <mgottschlag> heller_: well, look for one... I don't know python, so I don't know what is available
[18:54] <doomlord> however if your number is floating point to start with... you're best of keeping it float, and doing *0.5
[18:54] <vikaton> never reall got into it either :(
[18:54] <Ablu> now lets see if i can run all 10 sensors with it...
[18:54] <mgottschlag> heller_: if wiringPy supports I2C, that would be a good start
[18:54] <doomlord> it really depends on the whole context, what is better
[18:54] <vikaton> doomlord: im not, im casting it as an int
[18:54] * tomeff (~tomeff@ip-78-102-111-158.net.upcbroadband.cz) Quit (Read error: Connection reset by peer)
[18:54] * Anaxyn (Anaxyn@botters/Xenthys/bot/Anaxyn) has joined #raspberrypi
[18:54] <mgottschlag> heh, if you guys want some really great bit magic, read http://graphics.stanford.edu/~seander/bithacks.html
[18:55] <doomlord> just remember there's a hit (and precision loss) every time you move between int & float
[18:55] * TyrfingMjolnir (~Tyrfing@ Quit (Quit: For Valhall!)
[18:55] * somis (~somis@ has joined #raspberrypi
[18:55] <doomlord> real divisiion is usually the slowest basic operation a computer can do
[18:56] * giddles (~da@unaffiliated/giddles) Quit (Ping timeout: 240 seconds)
[18:56] <doomlord> for dividing by constants, multiplying by an inverse is a nice trick
[18:56] <vikaton> how would precision loss affect my code? https://github.com/Vikaton/MagicLEDPi/blob/master/src/ledfuncs.c#L30
[18:56] <heller_> mgottschlag: and then? :p
[18:57] * tomeff (~tomeff@ip-78-102-111-158.net.upcbroadband.cz) has joined #raspberrypi
[18:57] <mgottschlag> heller_: documentation, examples... if you are able to program, you should be able to learn such stuff on your own
[18:57] <mgottschlag> I usually start with an example which does something similar to what I do
[18:57] <mgottschlag> in your case, you want *any* example which interacts with I2C devices
[18:57] <vikaton> @ doomlord
[18:58] <Ablu> ok. with 5V I seem to be able to run 8 sensors reliable
[18:58] <Ablu> the 9th breaks it again
[18:58] <doomlord> i suppose you can calculate a target r,g,b .. you are comparing against 'r*0.2' as your fade target each time i think, but it probably doesn't matter much
[18:58] <mgottschlag> vikaton: ah, I just noticed that I misunderstood your code :D
[18:58] <mgottschlag> but hey, if it works now... great :D
[18:58] <doomlord> given that you're doing that all integer, you might like to do the '*something/256' trick someone else mentioned above
[18:59] <mgottschlag> vikaton: ah, no, I actually understood it, hm
[18:59] <vikaton> lol
[18:59] <doomlord> r0 = r*51/256 .... that sort of thing
[18:59] <mgottschlag> vikaton: and I think that it is still wrong
[18:59] <vikaton> mgottschlag: it fades back and forth just fine?
[19:00] <mgottschlag> what you want is "for (i = 256; i > 0; i--) { softPwmWrite(READ1, r * i / 256); }
[19:00] <doomlord> but it probably doesn't matter much
[19:00] <mgottschlag> yeah, but it shouldn't keep the color
[19:00] <doomlord> its not like your doing that for every pixel
[19:00] <mgottschlag> you just don't notice it as much, because you don't go as deep into dark colors as you did before
[19:00] <mgottschlag> and that's where the problem occurred
[19:00] <vikaton> oh I know why
[19:00] <vikaton> I was using blue >:(
[19:00] <vikaton> I didnt even try purple -_-
[19:01] <mgottschlag> vikaton: you understand the difference between your original code and the one I just pasted?
[19:01] <mgottschlag> if your code starts at 256, 128 (orange), 0, runs 128 iterations, then it's at 128, 0, 0 (red)
[19:02] * djhworld (~djhworld@ Quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[19:03] <mgottschlag> instead, it should be at 256, 64, 0 (multiplied all original values by 0.5), and continue like that
[19:03] <vikaton> yeah I know
[19:03] <vikaton> wait
[19:03] * PiGuy (18669026@gateway/web/freenode/ip. Quit (Ping timeout: 252 seconds)
[19:03] <vikaton> well first, are you aware that my highest Pwm value is 100 ?
[19:04] * amigojapan (~amigojapa@unaffiliated/amigojapan) Quit (Quit: amigojapan)
[19:04] <mgottschlag> well, okay, then make that 100/50/0 and 50/0/0, but everything else is unchanged
[19:04] <vikaton> I think the problem is the for loop logic
[19:04] <mgottschlag> especially, *value/256 still works if value is between 0 and 256
[19:04] <mgottschlag> eh
[19:05] <mgottschlag> *brightness/256 might be a better name
[19:05] <mgottschlag> and the for loop above cycles through values of 256 and 0
[19:05] <mgottschlag> *between 256 and 0
[19:06] * somis (~somis@ Quit (Quit: Leaving)
[19:07] * govg (~govg@unaffiliated/govg) Quit (Quit: leaving)
[19:07] * govg (~govg@unaffiliated/govg) has joined #raspberrypi
[19:07] <vikaton> mgottschlag: dont you mean 126,64,0 ?
[19:08] <vikaton> gosh darn it >:(
[19:09] * Ahmed90 (~Ahmed90@unaffiliated/ahmed90) has joined #raspberrypi
[19:09] <mgottschlag> well, that's what it should be when you start from 256,128,0, but that's not what your code does :)
[19:09] * tomeff (~tomeff@ip-78-102-111-158.net.upcbroadband.cz) Quit (Read error: Connection reset by peer)
[19:10] <vikaton> wouldnt my for loop than be for (i = 100; i > 0; i--) { softPwmWrite(READ1, r * i / 100);
[19:10] * Noldorin (~noldorin@unaffiliated/noldorin) Quit (Ping timeout: 260 seconds)
[19:10] <mgottschlag> if you want brightness to be a value between 100 and 0, yes
[19:11] <mgottschlag> 256 would just give you finer steps
[19:11] <vikaton> hrm
[19:11] <mgottschlag> hm, or no, it wouldn't
[19:11] <mgottschlag> the additional precision is lost in the PWM call
[19:11] <mgottschlag> it would just be slower, and would otherwise look identical
[19:12] * tomeff (~tomeff@ip-78-102-111-158.net.upcbroadband.cz) has joined #raspberrypi
[19:14] <vikaton> lets ee if it works
[19:14] * oxhak (~OxHaK@unaffiliated/oxhak) Quit (Ping timeout: 240 seconds)
[19:18] <heller_> mgottschlag: i know that much, that i need to write some register and then read some register
[19:19] * _jamesl (~Kaiser@unaffiliated/jamesl/x-3950537) has joined #raspberrypi
[19:20] <_jamesl> Why is it pointless to set up RAID5 on a raspberrypi and 3 usb to sata converters?
[19:20] <styler2go> has anyone got php7 working on rpi with nginx?
[19:21] * bigx (~bigx@cam44-2-82-235-243-114.fbx.proxad.net) Quit (Ping timeout: 272 seconds)
[19:21] * exobuzz (~xbuzz@2001:470:1f09:1970:225:22ff:febd:27b8) has joined #raspberrypi
[19:22] <mgottschlag> _jamesl: RAID is used for increased availability, or for performance
[19:22] <mgottschlag> it does *not* work as a backup
[19:22] <_jamesl> I need RAID in case one drive fails
[19:23] <_jamesl> It's for a Samba NAS
[19:23] <mgottschlag> if you already do backups, just increasing the backup frequency might be better
[19:23] * lautzu (~lautzu@unaffiliated/lautzu) has joined #raspberrypi
[19:23] <niston> _jamesl: it will be slow
[19:23] <mgottschlag> of course a RAID will help for those last hours between the backup and the disk failure, but not much more
[19:24] <vikaton> mgottschlag: it worked thankfully, but how do I make it so it doesnt reach all the way down to 0
[19:24] <niston> but if speed is not a concern, it may be just fine nonetheless
[19:24] <mgottschlag> and the pi is *really* slow for a NAS
[19:24] <vikaton> like 10 so it doesnt completely shut off
[19:24] <_jamesl> mgottschlag, what about Pi 2?
[19:24] <mgottschlag> well, then you just loop from 100 to 10, or from 100 to 20
[19:24] <mgottschlag> _jamesl: hm... in my opinion, still too slow :D
[19:25] <mgottschlag> if you invest enough money for 2 disks, you might as well get something with GBit ethernet
[19:25] <vikaton> thats what I tired :(
[19:25] <_jamesl> but many people online say you can use it as a NAS and web server
[19:25] <vikaton> trying again
[19:25] <mgottschlag> the pi2 might achieve 10MB/s
[19:25] <niston> _jamesl: you can, but it will be slow - which may or may not matter.
[19:26] <mgottschlag> with RAID on 3 disks, likely quite a bit less
[19:26] <mgottschlag> because all 3 disks and ethernet all go through the same USB port
[19:26] <niston> this ^^^^^
[19:26] <_jamesl> niston: slower than 300kB/s?
[19:26] <mgottschlag> I have a synology diskstation here, which easily pumps 60MB/s through the network
[19:27] <mgottschlag> if I'd do this again, I'd probably rather get a cheap celeron based mini itx board (those are ~80€ atm)
[19:27] <mgottschlag> those should even be able to saturate GBit ethernet
[19:27] <_jamesl> so the pi is useless as a server?
[19:27] <mgottschlag> the pi is good if you don't need much throughput and if you are on a very tight budget
[19:27] <niston> _jamesl: serving 300kBps should be doable.
[19:28] <mgottschlag> that certainly isn't too much for the pi, unless you have a database-heavy webapp
[19:28] * lautzu (~lautzu@unaffiliated/lautzu) Quit (Ping timeout: 256 seconds)
[19:28] <vikaton> mgottschlag: got it thank!
[19:28] * shinji257 (~gunlar@unaffiliated/shinji257) has left #raspberrypi
[19:28] * shinji257 (~gunlar@unaffiliated/shinji257) has joined #raspberrypi
[19:29] <_jamesl> Nope, just a few static html pages and some zip files. I'm also taking one picture every day.
[19:29] <mgottschlag> vikaton: now, if you wonder why it appears to be faster when it's dark, then read https://en.wikipedia.org/wiki/Gamma_correction :)
[19:30] * lautzu (~lautzu@unaffiliated/lautzu) has joined #raspberrypi
[19:30] * Anaxyn (Anaxyn@botters/Xenthys/bot/Anaxyn) Quit (Quit: Wheeeeeeeeee!!!)
[19:30] <vikaton> heh, don't think ill understand gamma correction while im still in precalc :(
[19:31] <mgottschlag> (I mean, why the LED appears to fade faster when it is in the darker color range)
[19:31] * cave (~various@h081217073183.dyn.cm.kabsi.at) Quit (Remote host closed the connection)
[19:31] <mgottschlag> basically, the eye sees log(color), so you need to do c^color to achieve linear brightness
[19:32] * MiningInc (~MiningInc@gateway/vpn/privateinternetaccess/mininginc) has joined #raspberrypi
[19:32] * TheRinger (~TheRinger@c-73-35-211-122.hsd1.wa.comcast.net) has joined #raspberrypi
[19:32] * Anaxyn (Anaxyn@botters/Xenthys/bot/Anaxyn) has joined #raspberrypi
[19:33] * _jamesl (~Kaiser@unaffiliated/jamesl/x-3950537) Quit (Quit: bye)
[19:33] * cave (~various@h081217073183.dyn.cm.kabsi.at) has joined #raspberrypi
[19:34] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) has joined #raspberrypi
[19:35] * lautzu (~lautzu@unaffiliated/lautzu) Quit (Ping timeout: 255 seconds)
[19:36] * TheRinger (~TheRinger@c-73-35-211-122.hsd1.wa.comcast.net) Quit (Ping timeout: 240 seconds)
[19:36] * bedah (~bedah@dyndsl-095-033-178-025.ewe-ip-backbone.de) has joined #raspberrypi
[19:36] * SopaXT (~sopaxorzt@unaffiliated/sopaxorztaker) Quit (Remote host closed the connection)
[19:37] <snowkidind> is there a way to auto detect and setup the edimax usb wifi? is there a gui?
[19:38] * TheRinger (~TheRinger@c-73-35-211-122.hsd1.wa.comcast.net) has joined #raspberrypi
[19:38] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) Quit (Ping timeout: 265 seconds)
[19:39] * somis (~somis@ has joined #raspberrypi
[19:40] <styler2go> has anyone got php7 working on rpi with nginx?
[19:41] <heller_> oh man im losing my head with i2c
[19:41] <heller_> im trying to work wth smbus now
[19:41] * Moonsilence (~Moonsilen@aftr-95-222-30-169.unity-media.net) Quit ()
[19:41] <deshipu> isn't that basically the same thing?
[19:42] <heller_> yes
[19:42] <heller_> im trying to get something out of this https://www.adafruit.com/datasheets/TSL2561.pdf
[19:42] <heller_> writing happens somehow like this write_byte_data(int addr,char cmd,char val)
[19:42] <snowkidind> still crackin at it eh, styler?
[19:43] <heller_> int addr seems to be device address, which i know
[19:43] <mgottschlag> heller_: try to read the ID register first
[19:43] <heller_> what is that :I
[19:43] <mgottschlag> page 13
[19:43] <mgottschlag> most I2C devices have an ID register to identify the device
[19:43] <mgottschlag> it's always in different places, so it's not really useful to detect devices, but it is good to check whether your I2C code works
[19:44] <mgottschlag> register 0xA is the ID register
[19:44] <mgottschlag> it should be 0x1X where X is some kind of chip revision (page 17)
[19:45] <heller_> do you mean that when i read the address with i2cdetect -y1 ?
[19:45] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[19:45] <mgottschlag> no
[19:46] <mgottschlag> it's a regular device register, you probably read it with read_byte_data or something like that
[19:46] <mgottschlag> i2cdetect only scans addresses
[19:46] <mgottschlag> as I said, the ID register is basically useless, so nothing really uses it
[19:46] <heller_> i think i need to do something like this: bus.read_byte_data(address, 1)
[19:46] <mgottschlag> but you know what to expect when you read from it, so you have something which you can check
[19:46] <mgottschlag> yeah, except that the register is 0xa or 10, not 1
[19:48] <heller_> print( bus.read_byte_data(address, 0xA) )
[19:48] <heller_> returns 10
[19:48] <heller_> i feel like its not the think were after here
[19:48] <mgottschlag> it should be something >16
[19:49] <mgottschlag> or is it 0x10?
[19:49] <mgottschlag> or try to read register 1 (Timing Register)
[19:49] <mgottschlag> you should get 2
[19:49] * lili (uid79385@gateway/web/irccloud.com/x-kvycceuemoammbjo) Quit (Quit: Connection closed for inactivity)
[19:49] <heller_> you mean print( bus.read_byte_data(address, 2) )
[19:50] <mgottschlag> yes
[19:50] <heller_> returns 0
[19:51] <mgottschlag> ah, hm
[19:51] <mgottschlag> I think you first need to write the command register before you can read anything
[19:51] <mgottschlag> this is a weird device :D
[19:52] <heller_> most annoying thing here is that in theory i know what do to
[19:52] <heller_> or atleast i think i know
[19:53] <heller_> To operate the device, issue a command
[19:53] <heller_> to access the CONTROL register followed by the data value 03h to power up the device
[19:53] <mgottschlag> hm, try reading 0xaa
[19:53] <heller_> check out page 19
[19:54] * lautzu (~lautzu@unaffiliated/lautzu) has joined #raspberrypi
[19:54] <mgottschlag> yeah, but reading registers should work even when the device is not powered on
[19:54] <mgottschlag> but 0xaX is needed as the register name, not just that last digit
[19:54] * teepee (~teepee@unaffiliated/teepee) Quit (Ping timeout: 240 seconds)
[19:54] <heller_> register name?
[19:55] <mgottschlag> eh, register address
[19:55] <mgottschlag> because the device does not expect a raw register address, but a full command byte
[19:55] <mgottschlag> so, try reading 0xaa
[19:55] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) has joined #raspberrypi
[19:55] <heller_> print( bus.read_byte_data(address, 0xAA) )
[19:55] <Swensson> Guys I got some problem... I got 4 brushless motors connected to 4 pwm esc's connected to my raspberry... Im able to make them spin with some python scripting... But I want to control the motors with xboxdrv (wired xbox controller) Anyone know how to do this?
[19:55] <heller_> prints out 80
[19:55] * lemonzest (~lemonzest@unaffiliated/lemonzest) Quit (Quit: Leaving)
[19:55] <mgottschlag> huh
[19:55] <heller_> mgottschlag: something you, me or we wanted?
[19:56] * Anderson69s (~Anderson6@bas69-h01-176-144-249-160.dsl.sta.abo.bbox.fr) has joined #raspberrypi
[19:57] * mrBear (~mrbear@c-6ed7e255.310-1-64736c12.cust.bredbandsbolaget.se) has joined #raspberrypi
[19:57] <mgottschlag> ah, 80 not 0x80
[19:57] <mgottschlag> hm, no, still too large
[19:57] <mgottschlag> that should have been the ID register
[19:57] <mgottschlag> ah, no
[19:57] <mgottschlag> try reading 0x8a
[19:58] <mgottschlag> 0xaa would be a word transfer, but we only want one byte
[19:58] <heller_> same thing
[19:58] * teepee (~teepee@unaffiliated/teepee) has joined #raspberrypi
[19:58] <heller_> prints out 80
[19:58] <mgottschlag> if that doesn't yield something between 16 and 32, then try writing 0x3 to 0x80, and then reading 0x80
[19:59] <mgottschlag> (writing 0x3 to the control register as described on the bottom of page 14)
[20:00] * DexterLB (~dex@79-100-30-158.btc-net.bg) Quit (Read error: Connection reset by peer)
[20:00] <Anderson69s> hi all, how are you? I'm looking to launch a python script on boot on raspbian jessie is it possible? I also notice that the auto login cli option in raspi-config doesn't work on a connected display :-/ . I'm using the latest release of jessie lite from raspberrypi.org
[20:00] * Kostenko (~Kostenko@bl14-205-114.dsl.telepac.pt) Quit (Quit: I was raided by the FBI and all I got to keep was this lousy quit message!)
[20:01] <mgottschlag> Anderson69s: is there something like /etc/rc.local on the pi? then that would for example be a place where you could start your script
[20:01] <heller_> mgottschlag: By writing a 03h to this register, the device is powered up
[20:01] <heller_> what the hell is 03h
[20:01] <mgottschlag> that's just 0x3, 3 hexadecimal
[20:02] <heller_> oh
[20:02] <heller_> that clears alot
[20:02] <heller_> ooooh
[20:02] <Anderson69s> mgottschlag: I already tried, python script launch on login...
[20:02] <heller_> mgottschlag: so let me get this right
[20:02] <heller_> control register is 7 to 0
[20:03] <heller_> so basically its 8 segments
[20:03] <heller_> and 03h is same as 0000 0011
[20:03] <mgottschlag> yes
[20:03] <heller_> which means it writes 1 and 1 to last two?
[20:03] <mgottschlag> where "segments" = bits
[20:03] <mgottschlag> yes
[20:03] <heller_> right
[20:04] <heller_> that really cleared up a lot
[20:04] <heller_> i was wondering what on earth are these 0xh
[20:05] <heller_> so i need something like this: bus.write_byte_data(address, 0x3, 1)
[20:05] <heller_> right?
[20:06] <mgottschlag> no, address, 0x80, 0x3
[20:06] <heller_> where did you get the address 0x80 ?
[20:06] <mgottschlag> the first is the device address, the second is the register address (=command register), the third is the value
[20:07] * dudi879 (~dud@bxd54.neoplus.adsl.tpnet.pl) Quit (Quit: WeeChat 1.3)
[20:07] <mgottschlag> the result on the bus should be like the 4th diagram on page 12
[20:07] <mgottschlag> no, the 3rd
[20:08] <mgottschlag> the command byte is set in a way that the highest bit is set (always needs to be set, see the command register documentation), and the lowest 4 bits specify the control register (where we want to write 0x3)
[20:08] <heller_> err heh
[20:08] <heller_> then what
[20:08] <heller_> :)
[20:09] <mgottschlag> then try to read 0x80 again
[20:09] <mgottschlag> you should see what you just wrote
[20:09] <heller_> then it prints out 10
[20:09] <heller_> bus.write_byte_data(address, 0x3, 1)
[20:09] <heller_> print(bus.read_byte_data(address, 0x80))
[20:09] <mgottschlag> "NOTE: If a value of 03h is written, the value returned during a read cycle will be 03h. This feature can be used to verify that the device is communicating properly."
[20:09] <mgottschlag> okay, hm
[20:09] <heller_> oops
[20:10] <mgottschlag> now that's the point where I would attach my I2C bus debugger to the bus to see whether I am writing rubbish
[20:10] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) has joined #raspberrypi
[20:10] <heller_> prints out 3
[20:10] <mgottschlag> (I *always* get to that point btw... hardware is a pain, every time.)
[20:10] <heller_> bus.write_byte_data(address, 0x80, 0x3)
[20:10] <heller_> print(bus.read_byte_data(address, 0x80))
[20:10] <heller_> that prints out 3
[20:10] <mgottschlag> cool, now what about 0x8a? :)
[20:10] <mgottschlag> but that means that communication works
[20:11] <heller_> do i always need to write 0x80, 0x3 ?
[20:11] <heller_> or just to test it?
[20:11] <mgottschlag> writing 0x80, 0x3 starts the device
[20:11] * bizarro_1 (~bizarro_1@22.Red-83-47-132.dynamicIP.rima-tde.net) Quit (Ping timeout: 246 seconds)
[20:11] <heller_> so basically only on setup?
[20:11] <mgottschlag> now that we know that I2C communication works you can follow the instructions on page 19
[20:11] <mgottschlag> yeah
[20:12] <mgottschlag> btw, if you don't have any "read_word" function, you can just read one register after the other and combine the bytes yourself
[20:12] * AiGreek (~textual@was67-1-88-181-72-119.fbx.proxad.net) Quit (Read error: Connection reset by peer)
[20:13] <heller_> its almost you saying "if you don't have any "read_word" function, you can just read one blahblahblah..."
[20:13] <mgottschlag> just make sure you wait 400ms after you've started the chip btw
[20:13] <mgottschlag> hm?
[20:13] <heller_> im sorry im still quite not following
[20:13] <mgottschlag> well, their ReadWord reads multiple consecutive registers in one transaction and combines them into one integer
[20:13] * Gunni (~gunni@kjarni/gunni) Quit (Ping timeout: 246 seconds)
[20:14] <mgottschlag> e.g. DATA0LOW and DATA0HIGH
[20:14] * Gunni (~gunni@kjarni/gunni) has joined #raspberrypi
[20:14] <mgottschlag> but you can read DATA0LOW first (0x8C), then DATA0HIGH (0x8D), and then combute the 16-bit value by taking "DATA0HIGH * 256 + DATA0LOW"
[20:16] * nonopposition (crazyed@wrongplanet/CrazyEddy) Quit (Remote host closed the connection)
[20:18] * Ahmed90 (~Ahmed90@unaffiliated/ahmed90) Quit (Quit: Leaving)
[20:19] <heller_> hmm
[20:19] <heller_> i may even get some readings here
[20:20] <heller_> wow
[20:20] <heller_> im really reading it :D
[20:20] <mgottschlag> nice :D
[20:20] <heller_> http://pastebin.com/F4h8Q8Dh seems right?
[20:22] <mgottschlag> yes
[20:22] <heller_> aweome
[20:22] <heller_> or awesome
[20:23] <heller_> awesomely lots of thanks mgottschlag
[20:23] <mgottschlag> yw :)
[20:25] <heller_> seeing page 20
[20:25] <heller_> 0x02 is the default gain and integration time
[20:25] <heller_> if i want 16x gain, ill just have to write 0x11?
[20:25] * nonopposition (crazyed@wrongplanet/CrazyEddy) has joined #raspberrypi
[20:26] * mrBear (~mrbear@c-6ed7e255.310-1-64736c12.cust.bredbandsbolaget.se) has left #raspberrypi
[20:26] * Anderson69s (~Anderson6@bas69-h01-176-144-249-160.dsl.sta.abo.bbox.fr) Quit (Quit: Time to EAT, SLEEP OR WHATEVER BYE!!!!!)
[20:26] <mgottschlag> yes
[20:26] <snowkidind> i installed a edimax wifi usb… i can log in via ssh on ethernet but not wifi. Why?
[20:27] <mgottschlag> snowkidind: do you have a wifi connection?
[20:27] <snowkidind> yea
[20:27] <snowkidind> i have a monitor hooked up to it and am surfing the net
[20:29] <mgottschlag> can you ping the device on both IP addresses?
[20:30] <snowkidind> yes
[20:31] <snowkidind> on the ethernet i can log in all the way via ssh
[20:31] <mgottschlag> then SSH should also work on both IP addresses
[20:31] <mgottschlag> do you mean an outgoing SSH session, or incoming?
[20:31] <snowkidind> on the wifi i get the login screen but it wont accept my password; same user
[20:31] <snowkidind> terminal open on my desktop (macPro
[20:31] <mgottschlag> hm, that's weird, no idea then
[20:31] <snowkidind> yea strange its some user account strangeness
[20:32] <snowkidind> its not the user raspberry
[20:32] <mgottschlag> sometimes, when you address the device with a DNS name or something like that, that name of course is only bound to one of the two IP addresses, but if you connect via IP, you shouldn't have any problem
[20:32] <snowkidind> i mean pi
[20:32] <snowkidind> yea its not letting me log in as pi either
[20:33] <mgottschlag> hm, you are sure that it is the right IP address, and you aren't accidently trying to log into your wifi router or something like that? :D
[20:33] * AiGreek (~textual@was67-1-88-181-72-119.fbx.proxad.net) has joined #raspberrypi
[20:33] <mgottschlag> because that just doesn't make any sense
[20:33] <snowkidind> 10s ill break out my ip scanner
[20:33] <mgottschlag> just compare to the output of "ifconfig" on the pi
[20:34] * Alchamy (toris@vega.yfd.co.za) has joined #raspberrypi
[20:35] <snowkidind> ok the scanner settled it
[20:36] * Kostenko (~Kostenko@bl14-205-114.dsl.telepac.pt) has joined #raspberrypi
[20:37] <snowkidind> i told my arouter to make a static ip but when i restarted it went to .21
[20:39] <heller_> mgottschlag: care to tell me one more thing
[20:39] <snowkidind> thanks for the logical approach
[20:39] * Macuser (~textual@unaffiliated/macuser) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[20:43] <mgottschlag> heller_: ask
[20:43] <heller_> where did you get the 0x80
[20:44] <mgottschlag> look for the command register documentation
[20:44] <mgottschlag> it's at the top of the other register descriptions
[20:44] <mgottschlag> it's bit 7
[20:44] <mgottschlag> 1000 0000 = 0x80
[20:44] <mgottschlag> "Must write as 1."
[20:45] <heller_> aaah you got the pdf open?
[20:45] <mgottschlag> yes
[20:45] <heller_> page 13
[20:45] * puyansude (~alain@ has joined #raspberrypi
[20:45] <heller_> addresses from 0h to Fh
[20:45] * holodoc (~holodoc@unaffiliated/holodoc) Quit (Ping timeout: 246 seconds)
[20:46] <mgottschlag> page 14 on the top, to read/write a byte, the command register needs to be 0x80+address
[20:46] <heller_> no wait
[20:47] <heller_> the 0x8e is 0000 0000 1000 1110
[20:47] <mgottschlag> well, it's only one byte, so just 1000 1110 :)
[20:47] * smill (~smill@ Quit (Ping timeout: 240 seconds)
[20:47] <heller_> so basically it writes 1 to CRC and DATA0LOW etc?
[20:48] <mgottschlag> no
[20:48] <snowkidind> im beginning to feel like this wifi usb is crap
[20:48] * BrianH (~BrianH@c-71-60-24-13.hsd1.pa.comcast.net) Quit (Quit: Textual IRC Client: www.textualapp.com)
[20:48] <mgottschlag> so, every I2C transaction first writes the command register, which is described at the top of page 14
[20:48] * Datalink (~Datalink@unaffiliated/datalink) has joined #raspberrypi
[20:48] <mgottschlag> so, 0x8e would set the CMD bit, and would set ADDRESS to 0xe
[20:49] <mgottschlag> CLEAR, WORD and BLOCK are 0 as we are not interested in interrupts or larger transactions
[20:49] <mgottschlag> now, that command instructs the chip to use register 0xe for the next byte you read or write
[20:49] <mgottschlag> so by writing 0x8e you tell the chip, "now read or write DATA1LOW"
[20:50] <mgottschlag> (depending on whether the next I2C packet is a read or write transfer)
[20:50] <snowkidind> so i can connect with my login. but then it stops working… then i have to go to the pi and “surf the net” for a second then it starts working again
[20:51] <mgottschlag> snowkidind: does it work when you run a ping command in parallel, causing some network traffic?
[20:51] <mgottschlag> in that case, it's a problem with wifi power management
[20:51] <heller_> mgottschlag: may i pm you? i have to go soon and i would like this to stay safe somewhere
[20:51] <mgottschlag> you probably can disable that with a kenel parameter
[20:51] <mgottschlag> heller_: sure
[20:51] * Datalink_ (~Datalink@unaffiliated/datalink) Quit (Ping timeout: 265 seconds)
[20:51] <snowkidind> seems to be working
[20:52] <snowkidind> alongside a ping
[20:52] <snowkidind> but in ten minutes it wont work again im fearing
[20:53] <mgottschlag> I have a rtl8088 based wifi card (or whatever that chip was again), and it works similar, except that once the connection is dropped, only manually reconfiguring the network helps
[20:53] * pcglue (~pcglue@cpe-104-175-108-43.socal.res.rr.com) has joined #raspberrypi
[20:53] <mgottschlag> the connection just breaks down when there is no network traffic anymore
[20:54] <snowkidind> i think thats whats happening
[20:54] <mgottschlag> snowkidind: http://www.modmypi.com/blog/disable-wifi-power-management
[20:54] * holodoc (~holodoc@unaffiliated/holodoc) has joined #raspberrypi
[20:54] <snowkidind> seems to be working on restart now thats a plus
[20:54] <snowkidind> oh snap nice link.. reading...
[20:59] <snowkidind> ok i turned power management off will have to see how it goes
[21:00] * sphenxes (~sphenxes@194-118-164-65.adsl.highway.telekom.at) Quit (Ping timeout: 260 seconds)
[21:00] * sphenxes01 (~sphenxes@194-118-164-65.adsl.highway.telekom.at) Quit (Ping timeout: 255 seconds)
[21:00] * sphenxes01 (~sphenxes@194-118-164-65.adsl.highway.telekom.at) has joined #raspberrypi
[21:01] * sphenxes (~sphenxes@194-118-164-65.adsl.highway.telekom.at) has joined #raspberrypi
[21:01] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) Quit (Remote host closed the connection)
[21:02] * shantorn (~Shane@71-222-115-87.ptld.qwest.net) has joined #raspberrypi
[21:02] * irc_smirk (17f24525@gateway/web/freenode/ip. has joined #raspberrypi
[21:03] * Ispira (uid96374@gateway/web/irccloud.com/x-olbieirimjlcypyl) has joined #raspberrypi
[21:03] * sphenxes01 (~sphenxes@194-118-164-65.adsl.highway.telekom.at) Quit (Remote host closed the connection)
[21:06] * MiningInc (~MiningInc@gateway/vpn/privateinternetaccess/mininginc) Quit (Ping timeout: 260 seconds)
[21:08] * gregd (5ead09ef@gateway/web/freenode/ip. Quit (Ping timeout: 252 seconds)
[21:17] <ShorTie>
[21:17] * Anaxyn (Anaxyn@botters/Xenthys/bot/Anaxyn) Quit (Remote host closed the connection)
[21:17] <irc_smirk> hello
[21:20] * Macuser (~textual@unaffiliated/macuser) has joined #raspberrypi
[21:20] * wili (~wili@ has joined #raspberrypi
[21:20] * Syliss (~Home2@c-24-23-6-50.hsd1.ca.comcast.net) has joined #raspberrypi
[21:27] * esas (~esas@unaffiliated/esas) has joined #raspberrypi
[21:30] * shiftplusone (~shift@unaffiliated/shiftplusone) has joined #raspberrypi
[21:31] * Anton2k_ (uid80598@gateway/web/irccloud.com/x-zzqpvntldztdhbsj) has joined #raspberrypi
[21:31] * Anaxyn (Anaxyn@botters/Xenthys/bot/Anaxyn) has joined #raspberrypi
[21:34] * NEXUS-6 (~fffcdsxas@unaffiliated/nexus-6) has joined #raspberrypi
[21:35] * Wolfie (wolfie@wolfietech.ca) Quit (Read error: Connection reset by peer)
[21:35] * Wolf1098 (wolfie@wolfietech.ca) has joined #raspberrypi
[21:35] * weemsledeux (~textual@unaffiliated/weems) has joined #raspberrypi
[21:36] * Wolf1098 is now known as Wolfie
[21:38] * travnewmatic (~travnewma@cpe-70-121-33-133.tx.res.rr.com) has joined #raspberrypi
[21:39] <warpie> hello
[21:40] <Swensson> Sup
[21:40] <warpie> Sown
[21:40] * Tach[Away] is now known as Tachyon`
[21:40] * Smuckerz (smuckerz@unaffiliated/smuckerz) Quit (Quit: ZNC - http://znc.in)
[21:40] * Tachyon` (~tachyon@autie.net) Quit (Quit: ZNC - http://znc.in)
[21:42] * irc_smirk (17f24525@gateway/web/freenode/ip. Quit (Ping timeout: 252 seconds)
[21:44] * torchic___ (~noturboo@2a04:dd00::2c32:c94e) Quit (Ping timeout: 255 seconds)
[21:45] * holodoc (~holodoc@unaffiliated/holodoc) Quit (Ping timeout: 272 seconds)
[21:45] * tomeff (~tomeff@ip-78-102-111-158.net.upcbroadband.cz) Quit (Ping timeout: 256 seconds)
[21:45] * gosty (~textual@c-73-172-159-155.hsd1.md.comcast.net) Quit (Ping timeout: 260 seconds)
[21:47] * Viper168_ (~Viper@unaffiliated/viper168) has joined #raspberrypi
[21:47] * torchic___ (~noturboo@2a04:dd00::2c32:c94e) has joined #raspberrypi
[21:48] * Viper168 (~Viper@unaffiliated/viper168) Quit (Ping timeout: 240 seconds)
[21:50] * tomeff (~tomeff@ip-78-102-111-158.net.upcbroadband.cz) has joined #raspberrypi
[21:50] * holodoc (~holodoc@unaffiliated/holodoc) has joined #raspberrypi
[21:51] * Syliss (~Home2@c-24-23-6-50.hsd1.ca.comcast.net) Quit (Quit: Syliss)
[21:52] * wili (~wili@ Quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[21:52] * NEXUS-6 (~fffcdsxas@unaffiliated/nexus-6) Quit (Ping timeout: 240 seconds)
[21:52] * mgottschlag (~quassel@reactos/tester/phoenix64) Quit (Ping timeout: 246 seconds)
[21:57] * knob (~knob@mobile-166-172-190-044.mycingular.net) has joined #raspberrypi
[21:59] * TheLostAdmin (~TheLostAd@ Quit (Quit: Leaving)
[21:59] * Berg (~chatzilla@pa114-73-173-208.pa.nsw.optusnet.com.au) has joined #raspberrypi
[22:00] * sphenxes (~sphenxes@194-118-164-65.adsl.highway.telekom.at) Quit (Remote host closed the connection)
[22:00] * revere (~revere@unaffiliated/revere) has left #raspberrypi
[22:01] * tom_lowndes (~tom_lownd@host-84-9-75-18.dslgb.com) Quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[22:02] * netzfisch (~Thunderbi@x55b0640f.dyn.telefonica.de) has joined #raspberrypi
[22:02] * Viper168_ is now known as Viper168
[22:04] * shantorn (~Shane@71-222-115-87.ptld.qwest.net) Quit (Ping timeout: 265 seconds)
[22:07] * phillw (~phillw@unaffiliated/phillw) has left #raspberrypi
[22:08] * Smashcat (~chatzilla@cpc14-nrwh10-2-0-cust449.4-4.cable.virginm.net) has joined #raspberrypi
[22:09] <Smashcat> Hi, is anyone using the VC4 GPU driver here? Got a problem getting it to output to my monitor (just blank with "Out of Range" message. Settings in config.txt don't seem to be used by VC4
[22:09] * irc_smirk (17f24525@gateway/web/freenode/ip. has joined #raspberrypi
[22:10] * gosty (~textual@c-73-172-159-155.hsd1.md.comcast.net) has joined #raspberrypi
[22:10] * doomlord (~textual@host86-153-157-188.range86-153.btcentralplus.com) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[22:10] * wiiguy (~fake@unaffiliated/wiiguy) has joined #raspberrypi
[22:11] * Tachyon` (tachyon@ has joined #raspberrypi
[22:11] <irc_smirk> hello
[22:11] * Smuckerz (smuckerz@unaffiliated/smuckerz) has joined #raspberrypi
[22:12] * uriah (~uriah@unaffiliated/uriahheep) Quit (Ping timeout: 240 seconds)
[22:13] * toomin (~HomoSapie@unaffiliated/toomin) Quit (Ping timeout: 246 seconds)
[22:17] <Xark> Smashcat: Which driver? How does one not use VC4? :)
[22:18] * Myrtti (~myrtti@freenode/staff/myrtti) Quit (Remote host closed the connection)
[22:18] <Smashcat> Xark: Using the prebuilt image with VC4 driver etc built into the kernel here, but display just goes black as it boots (initially does show the rainbow image)
[22:19] * tomeff (~tomeff@ip-78-102-111-158.net.upcbroadband.cz) Quit (Read error: Connection reset by peer)
[22:19] * knob (~knob@mobile-166-172-190-044.mycingular.net) Quit (Quit: Leaving)
[22:19] <irc_smirk> im new to node. trying to access if its the right tool for a proejct
[22:19] <Xark> Smashcat: I see. Well, settings in config.sys are all you can tweak I think. The fact it shows the rainbow is interesting...
[22:19] <irc_smirk> basically i want to crawl a website and check for updated info
[22:20] <irc_smirk> then send updates to another script.
[22:20] <Smashcat> Xark: Yeah, it seems to show the display, then I guess the VC4 driver is loading, and after that, the HDMI signal is stopping or something
[22:20] <irc_smirk> is node.js good at that? i mean easy to program
[22:20] <irc_smirk> i have js experience and i have php experience
[22:20] * tomeff (~tomeff@ip-78-102-111-158.net.upcbroadband.cz) has joined #raspberrypi
[22:21] <Smashcat> irc_smirk: Might as well do that in PHP to be honest. It's pretty easy
[22:21] <Xark> Smashcat: It may be switching resolutions to something your monitor doesn't support. I have this issue on a DVI monitor and the fix is to "hardcode" the mode settings (IIRC, I had to use "hdmigroup 2" and mode 82 to get 1920x1080@60Hz).
[22:21] <irc_smirk> oh im sorry i thought i was in #node.js
[22:21] <irc_smirk> but cool i get a non koolaid answer
[22:21] <Smashcat> :)
[22:21] * Encrypt (~Chuck-nor@AMontsouris-553-1-63-22.w92-151.abo.wanadoo.fr) has joined #raspberrypi
[22:21] <irc_smirk> whtas a good web crawling type library
[22:21] <Encrypt> Hi o/
[22:21] <irc_smirk> for php i mean
[22:22] <irc_smirk> way back when i was using snoopy
[22:22] <Smashcat> Xark: Yep that's what I thought, so I did force 640x480 in config.txt, and it initially comes up in that resolution, but then it goes black. So I suspect the VC4 driver is not reading that config file
[22:22] <Smashcat> irc_smirk: Just use the cURL extension to PHP
[22:23] <Smashcat> irc_smirk: You'll have to write some code, but you said you have experience with PHP, so it shouldn't be a problem.
[22:23] * clonak (~clonak@ has joined #raspberrypi
[22:24] <Xark> Smashcat: Is the monitor HDMI (with HDMI cable)?
[22:24] <Smashcat> Xark: Yep, never had any problems with it before
[22:25] * cave (~various@h081217073183.dyn.cm.kabsi.at) Quit (Read error: Connection reset by peer)
[22:25] * cave (~various@h081217073183.dyn.cm.kabsi.at) has joined #raspberrypi
[22:25] <Xark> Smashcat: Not sure, you can try "display" items here -> http://elinux.org/R-Pi_Troubleshooting#Coloured_splash_screen
[22:25] <Xark> Er, http://elinux.org/R-Pi_Troubleshooting#Display
[22:25] <irc_smirk> yeah but i want something simple to walk the dom
[22:26] <irc_smirk> javascript is conveninet for that
[22:26] <irc_smirk> so microcenter has pi zero unlisted now
[22:26] <irc_smirk> i called and they said they will honor the backorder peope andits a large list
[22:26] <Xark> Smashcat: The rainbow screen is displayed after the "start.elf" bootloader is read from SD (so your SD must work).
[22:26] <irc_smirk> so no mo pi zero for methis year
[22:26] <irc_smirk> i wonder how long this will go on for
[22:27] <Smashcat> Xark: Yep it is booting, I'm logged into it via ssh. I can't see any error messages though.
[22:27] <Xark> Smashcat: What does "tvservice -s" tell you?
[22:28] <Smashcat> Xark: I don't have that command. Which package is it in?
[22:28] <Xark> Smashcat: It is there by default in jessie, AFAIK.
[22:28] <Smashcat> Xark: Not here :( This is a Jessie build
[22:29] <Xark> Smashcat: For me /usr/bin/tvservice and -s displays "state 0x120006 [DVI DMT (82) RGB full 16:9], 1920x1080 @ 60.00Hz, progressive" (also from ssh).
[22:29] <Xark> Smashcat: If it is not brand new jessie, I would suggest re-download.
[22:30] <irc_smirk> anyone setup the pi with audio system?
[22:30] <Smashcat> Xark: No, this is a special build with the VC4 drivers in it. Not really much point downloading the vanilla build :)
[22:31] <Xark> Smashcat: Okay. Sounds like VC4 drivers are not ready for prime time. :)
[22:31] <Smashcat> Xark: No, they're under development, but I'm eager to try them out. Fully accelerated desktop, WebGL in browser, OpenGL 2 etc are all nice :)
[22:32] <irc_smirk> on pi?
[22:32] <Smashcat> irc_smirk: yep
[22:32] <H__> irc_smirk: not yet, but i've been looking at the HiFiBerry Digi+ with SP/DIF
[22:34] * r_02 (~r_02@ip-174-137-10-133.swatco.com) has joined #raspberrypi
[22:35] <irc_smirk> i think i want to try having pi control chromecast audio
[22:35] <r_02> So I found a hype power stick you can get at Walmart.
[22:35] <r_02> 2200 mAh Lithium-Ion BatteryInput: DC 5V, 1A (Max)Output: DC 5V, 1A (Max)
[22:35] <r_02> Ran my pi for the rest of its battery life.
[22:35] <Xark> Smashcat: So I take it you have already done everything at https://wiki.freedesktop.org/dri/VC4/ ?
[22:36] <irc_smirk> r_02 how much
[22:36] <Smashcat> Xark: Well, you only need to do most of that if building the kernel module etc on an existing raspbian install I think. They also provide prebuilt images to avoid all of that.
[22:36] <r_02> It's like 7/8$
[22:36] <irc_smirk> pic?
[22:36] * lili (uid79385@gateway/web/irccloud.com/x-fnxklzkuuseuesjc) has joined #raspberrypi
[22:36] <irc_smirk> small
[22:36] <irc_smirk> ?
[22:36] <r_02> Can find on amazon chesper
[22:36] <r_02> Yeah
[22:37] <r_02> Hold I'll find a pic
[22:37] <irc_smirk> you get what 2 or 3 hours on it?
[22:37] <r_02> http://ecx.images-amazon.com/images/I/31h1ScgUJwL._SY400_.jpg
[22:37] <r_02> It wasn't fully charges
[22:38] <irc_smirk> nice
[22:38] <r_02> That pic wasn't the exact one but looks exaclty the same
[22:38] * kbytes (~kbytes@unaffiliated/kbytes) has joined #raspberrypi
[22:38] <r_02> I am going to full charge it and then do it again.
[22:38] <irc_smirk> how long do you think it will power the pi
[22:38] <r_02> Puts out 5v 1a
[22:39] <r_02> Not sure.
[22:39] <irc_smirk> also will depend what other stuff you have plugged into the usb right?
[22:39] <r_02> Yes. Keyboard and mouse and Ethernet is what I had plugged in
[22:40] <r_02> Keyboard (and maybe mouse) has power requirements under them
[22:40] * kbytes (~kbytes@unaffiliated/kbytes) Quit (Client Quit)
[22:45] * KRESH (~Esh@cm56-202-149.liwest.at) Quit (Quit: Going offline, see ya! (www.adiirc.com))
[22:45] * lili (uid79385@gateway/web/irccloud.com/x-fnxklzkuuseuesjc) Quit ()
[22:47] * kbytes (~kbytes@unaffiliated/kbytes) has joined #raspberrypi
[22:47] * Myrtti (~myrtti@freenode/staff/myrtti) has joined #raspberrypi
[22:48] * Felipehfj (~Felipe@2001:1291:200:885d:2455:128e:6c78:2acc) has joined #raspberrypi
[22:52] * Wolfie (wolfie@wolfietech.ca) Quit (Remote host closed the connection)
[22:53] * Felipehfj (~Felipe@2001:1291:200:885d:2455:128e:6c78:2acc) Quit (Quit: Leaving)
[22:53] * Wolfie (wolfie@wolfietech.ca) has joined #raspberrypi
[22:57] * bedah (~bedah@dyndsl-095-033-178-025.ewe-ip-backbone.de) Quit (Remote host closed the connection)
[22:58] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) Quit (Remote host closed the connection)
[22:58] <Smashcat> You can work out roughly how long it will last as it's a 2200mA/h battery, so if (for example) the pi is pulling 1.1A, it'll last 2 hours etc.
[22:59] <Smashcat> I think a Pi on its own uses about 0.2A. So it should last over 10 hours without any external hardware
[23:00] <ozzzy_> a Pi sitting their idling only serves to increase the entropy of the universe
[23:00] * netzfisch (~Thunderbi@x55b0640f.dyn.telefonica.de) Quit (Ping timeout: 255 seconds)
[23:01] * Macuser (~textual@unaffiliated/macuser) Quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[23:01] <Smashcat> :)
[23:01] <gordonDrogon> Pi's vary in the idle current they need - depending on the model, but I've run an older B for just under 24 hours on a 15,000mAh USB power pack.
[23:02] <Smashcat> Building Xorg on a Pi... this will take some time...
[23:02] <gordonDrogon> any specific reason to not just install the package?
[23:02] <Smashcat> gordonDrogon: Testing a new driver.
[23:02] * trumpetarn (~trumpetar@h88-129-226-41.dynamic.se.alltele.net) Quit (Read error: Connection reset by peer)
[23:03] <gordonDrogon> ok
[23:03] * mpmc_ is now known as mpmc
[23:04] * zupzupper (~Zup@ Quit (Ping timeout: 246 seconds)
[23:06] <r_02> Any package I can install in Ubuntu mate to monitor battery?
[23:06] <gordonDrogon> the Pi doesn't have battery monitoring hardware, so it's pretty irrelevant ...
[23:06] <Smashcat> r_02: The Pi can't monitor battery level on its own
[23:06] <Smashcat> snap
[23:06] <r_02> Hmm
[23:07] <Smashcat> r_02: You need an ADC chip to do that. They're pretty cheap though
[23:09] <Smashcat> You could actually use a simple voltage divider so that when the battery level falls below a useful level, it allows a GPIO pin to go low. So you couldn't measure th level, but would know when it's time to change the battery/shutdown
[23:14] * djhworld (~djhworld@ has joined #raspberrypi
[23:14] * Encrypt (~Chuck-nor@AMontsouris-553-1-63-22.w92-151.abo.wanadoo.fr) Quit (Quit: Sleeping time!)
[23:16] * alip is now known as parrhesiastes
[23:18] * vikaton (uid59278@gateway/web/irccloud.com/x-tizfzberjwjlmixx) Quit (Quit: Connection closed for inactivity)
[23:18] * weemsledeux (~textual@unaffiliated/weems) Quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[23:19] * djhworld (~djhworld@ Quit (Client Quit)
[23:20] * netzfisch (~Thunderbi@x55b0640f.dyn.telefonica.de) has joined #raspberrypi
[23:21] * weemsledeux (~textual@unaffiliated/weems) has joined #raspberrypi
[23:22] <r_02> Smashcat how long you think it takes to charge that battery?
[23:23] <r_02> I have it plugged up to a Samsung phone charger
[23:23] * puyansude (~alain@ Quit (Ping timeout: 260 seconds)
[23:23] * AbouEmre (~Thunderbi@ Quit (Ping timeout: 260 seconds)
[23:23] <r_02> Output is 5v 1000mAh
[23:23] <Smashcat> r_02: Depends on the charger really. Can take from an hour upwards I expect.
[23:23] <Smashcat> You can't just plug the phone charger into the battery though. You need a charging circuit
[23:24] <Smashcat> a "phone charger" is just a power supply really.
[23:25] * gbaman (~gbaman@host81-139-185-126.in-addr.btopenworld.com) has joined #raspberrypi
[23:27] <r_02> Well that battery didn't come with any charger and I'm not sure to use on it.
[23:27] * netzfisch (~Thunderbi@x55b0640f.dyn.telefonica.de) Quit (Ping timeout: 255 seconds)
[23:28] <treeherder> so i've used my pi a lot for arious embedded projects
[23:29] <treeherder> just recently got a tv and would like to stream movies from my desktop to my tv via the pi
[23:29] <treeherder> and the first thing i tried was vlc + mplayer + etc
[23:29] <treeherder> mplayer picks up the stream from my desktop
[23:29] <r_02> http://www.amazon.com/ask/questions/Tx2GU9F1607D2JV/?source=allQuestionsPage
[23:29] <treeherder> but it's extremely choppy, even with the cache tswitch
[23:30] * Viper168 (~Viper@unaffiliated/viper168) Quit (Ping timeout: 265 seconds)
[23:30] <treeherder> any tips out there for rpi model B and streaming video? is it just not gonna work?
[23:30] * Noldorin (~noldorin@unaffiliated/noldorin) has joined #raspberrypi
[23:31] * fnlstrm (~finlstrm@ip70-181-34-150.ri.ri.cox.net) Quit (Ping timeout: 255 seconds)
[23:33] <deshipu> lowering the resolution should help a bit
[23:34] * turtlehat (~turtlehat@ has joined #raspberrypi
[23:34] * MiningInc (~MiningInc@gateway/vpn/privateinternetaccess/mininginc) has joined #raspberrypi
[23:34] * H4ndy is now known as h4ndy
[23:34] <treeherder> i would really like to watch at 1080p but ti doesn't work at even much lower resolutions currently
[23:38] * ctrlshftn is now known as ctrlshftn-away
[23:40] * Anton2k_ (uid80598@gateway/web/irccloud.com/x-zzqpvntldztdhbsj) Quit (Quit: Connection closed for inactivity)
[23:40] * Noldorin (~noldorin@unaffiliated/noldorin) Quit (Ping timeout: 240 seconds)
[23:40] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) has joined #raspberrypi
[23:40] * r_02 (~r_02@ip-174-137-10-133.swatco.com) Quit (Ping timeout: 255 seconds)
[23:41] * shiftplusone (~shift@unaffiliated/shiftplusone) Quit (Ping timeout: 264 seconds)
[23:47] <Smashcat> treeherder: Maybe just buy a cheap chromecast? They work great, stream from pretty much anything
[23:47] <irc_smirk> chromecast
[23:47] * chod (~chod@toy-town.demon.co.uk) has joined #raspberrypi
[23:47] <irc_smirk> and cast now
[23:47] <irc_smirk> lets you stream torrents to chromecast
[23:47] <irc_smirk> use rasp as node.js server
[23:48] <Smashcat> Or download a Kodi image, and make your TV an awesome smart TV :))
[23:48] <irc_smirk> chromecast
[23:48] * JakeSays (~jake@chat.thatswhatjakesaid.com) Quit (Ping timeout: 246 seconds)
[23:51] * JakeSays (~jake@chat.thatswhatjakesaid.com) has joined #raspberrypi
[23:51] <irc_smirk> foudn this helpful http://www.circuitbasics.com/useful-raspberry-pi-commands/
[23:52] * PasNox (~pasnox@2a01:e34:ee42:d070:65cc:58e8:fa9d:45cd) Quit (Quit: Leaving - Cross platform IDE http://monkeystudio.org)
[23:54] * j12t (~j12t@c-107-3-142-14.hsd1.ca.comcast.net) Quit (Ping timeout: 260 seconds)
[23:57] * bizarro_1 (~bizarro_1@22.Red-83-47-132.dynamicIP.rima-tde.net) has joined #raspberrypi

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