**** BEGIN LOGGING AT Mon Aug 25 02:59:58 2014 Aug 25 03:02:32 What serves http://192.168.0.25/Support/bone101/? Aug 25 03:02:38 Maybe node? Aug 25 03:03:49 I wish there was a BBB barebone distro! Aug 25 03:04:04 No bonescript, no node, no apache, no nothing.. Nothing but apt. Aug 25 03:06:34 Is there some kind of meta package that would remove most of what's included in the BBB that's not included in the Debian distro? Aug 25 03:08:52 not sure, ask rcn-ee Aug 25 03:08:57 he's not here thoug Aug 25 03:09:18 try http://bugs.elinux.org/ Aug 25 03:10:27 I don't think it's a bug. I just don't know what BBB includes extra. Like /usr/bin/node autorun.js Aug 25 03:10:42 I'll bet that's the Gremlin Aug 25 03:11:02 open a ticket and robert will see it Aug 25 03:14:39 Nah.. I can probably muddle through.. It will just take time.. /usr/local/lib/node_modules/bonescript/autorun.js was serving up the localhost page mentioned earlier. Aug 25 03:15:12 Unfortunately, I removed it inmy zeal instead of moving it. Aug 25 03:15:19 :-) Aug 25 05:19:11 good morning Aug 25 05:19:17 any cape designers here? Aug 25 05:24:17 i'm using adafruits lib to design a cape for myself and in the schematics are some pins named "pwr_but" and "sys_resetn". am i right when i connect a switch between them and gnd that thay work? Aug 25 05:24:39 s/thay/they Aug 25 05:47:03 ragnar76: look at the SRM, it should explain those pins Aug 25 05:47:16 srm? Aug 25 05:47:30 system reference manual Aug 25 05:51:20 i'll have a look Aug 25 05:55:07 * tbr is surprised, that adafruit would not mention the SRM Aug 25 05:59:12 i didnt know about that and i've searched for an eagle lib over the web and found one on github Aug 25 09:01:03 Hii all Aug 25 09:02:08 i am trying to access i2c over BBB, but i can't find any link suitable. as such my i2cdetect is showing device address but i am facing error on executing i2cget Aug 25 09:13:21 any one here? Aug 25 09:15:07 a lot of people. Aug 25 09:15:29 but you are not providing relevant details, so nobody feels like giving an answer. Aug 25 09:16:05 plus, if its the old quick command problem, or if you didn't read the datasheet of your i2c device properly, also nobody will be interested, i think. Aug 25 09:45:03 LetoThe2nd, but why its working on my Pi? Aug 25 09:45:16 and i read the Data sheet Aug 25 09:46:23 RahulAN: i already told you: probably the pi i2c controller supports this particular special command. it seems the bbb does not, so you have to do it manually. no change there since the last time we spoke. Aug 25 09:46:56 LetoThe2nd, yes but how to get into it? i am not getting relevent details Aug 25 09:47:30 http://elinux.org/Interfacing_with_I2C_Devices Aug 25 09:47:46 i got this but cant find how do i do wwith mems.. Aug 25 09:48:24 because the rest is your specific device and your datasheet. you have to find the relevant information yourself. Aug 25 09:54:22 I am trying to do this.. Aug 25 11:35:02 ~seen hitlin37 Aug 25 11:35:57 still not working? what's the behavior? Aug 25 11:36:05 hi there Aug 25 11:36:22 hitlin37: it sits at home all day ;) Aug 25 11:36:40 well, after throwing the last elsif, it stopped working Aug 25 11:37:08 I need another go , at it Aug 25 11:37:32 obviously I need less if/elif then I used Aug 25 11:37:47 I now have this question Aug 25 11:38:04 As I am using epoll, my code is interupt driven Aug 25 11:38:34 So I thought what would happen in-case no water flows Aug 25 11:39:14 then no interrupt will occur and no epoll event. Aug 25 11:39:36 so I need some timer, to wake me up in case no water flows for 5 min Aug 25 11:40:01 but I want to properly close my resources and faucet Aug 25 11:40:07 how can I do this? Aug 25 11:41:27 trying to pastebin the relevent code Aug 25 11:42:38 have a look http://pastebin.com/Apab1eE1 Aug 25 11:43:16 is epoll nodejs thing? Aug 25 11:43:26 never heard of it Aug 25 11:43:30 I want setWatchdog() at line 19 to bring me to some tear-down Aug 25 11:43:42 epoll is from linux select() Aug 25 11:43:45 like poll Aug 25 11:43:49 poll() Aug 25 11:44:42 ok. so what exeactly you are trying to do. Checking if bucket is full ?= Aug 25 11:45:07 the water sensor emits a pulse when water flows Aug 25 11:45:17 every 5.5 pulses mean a litter passed Aug 25 11:45:40 when no pulses for 1 min - I need to close the faucet Aug 25 11:46:00 and alert me by email Aug 25 11:47:27 and you begin with? no flow? Aug 25 11:47:36 yes Aug 25 11:48:37 and what is initial value of "litres" Aug 25 11:50:53 0 Aug 25 11:51:21 brb Aug 25 12:05:02 cityoflights2: forget watchdog, did you got debounce correct? Aug 25 12:10:52 basic idea for making reading is, only read values when (current_time - last_time_output_toggled) > some_minimum_debounce_Delay_that_is_your_constant) Aug 25 12:11:37 if this satisfies, you save the key state and do this in loop to get the correct key press and leave false presses Aug 25 12:14:02 everytime a liter passes, you need to catch that pulse. Aug 25 12:19:28 and I am back Aug 25 12:19:30 so Aug 25 12:19:59 I need linux timer hook to take me out of waiting for the next poll event Aug 25 12:25:25 cityoflights2: did you manage to get debounce thing correct. Aug 25 12:25:33 no Aug 25 12:25:39 you can leave watchdog and first ge the debounce correct first Aug 25 12:25:41 first code worked Aug 25 12:25:50 sure Aug 25 12:26:27 you mean the last pastebin was working one? Aug 25 12:26:49 no, last pasebin - is not working Aug 25 12:26:56 but I will fix it later Aug 25 12:27:04 will post here when it is ok Aug 25 12:33:51 cityoflights2: in your first pastebin this morning, you were doing this Aug 25 12:33:51 * hitlin37 time_since_first_bounce = now - first_bounce_timestamp Aug 25 12:34:06 ok Aug 25 12:34:08 where first_bounce_timestamp was same as now Aug 25 12:34:20 which i guess not the correct way to begin Aug 25 12:34:29 you make the first Aug 25 12:34:35 you make the first_time = 0 Aug 25 12:34:47 to make sure you start with some reading Aug 25 12:35:04 for example, see here: http://arduino.cc/en/Tutorial/Debounce Aug 25 12:35:07 thanks Aug 25 12:35:37 if you see theere, lastDebounceTime = 0 in the beigning Aug 25 12:36:06 so first reading is taken when program is executed and it is chehcked if reading is valid or not. Aug 25 12:36:32 and ofcourse, it is done in loop from there Aug 25 12:37:03 but that's arduino specific example, but logic should be similar. Aug 25 12:37:18 atleast for getting the pulse reading right. Aug 25 12:48:26 cityoflights2: there was a project tweeting amount of water used in toilet using bb. you should look into that. Aug 25 12:52:50 tbr ^^ Aug 25 12:57:11 lol right Aug 25 12:57:27 microswitch on the flush trigger -sigh- Aug 25 12:58:18 ya....cpu in toilet :p Aug 25 13:10:33 thanks hitlin37 Aug 25 13:12:12 well, if you are not leaving in europe , water is expensive Aug 25 13:12:45 water's expensive enough in europe :p Aug 25 13:13:05 but since I don't use the toilet at homea great deal .. since I'm not here that much ... Aug 25 13:13:13 I probably waste more in the shower :) Aug 25 13:16:40 I live in a three floor house, the garden is water for an hour at night and half an hour during the morning. Aug 25 13:16:56 this is far too much water Aug 25 13:18:24 ouch you don't wanna be watering gardens.... Aug 25 13:18:33 hitlin37 / cityoflights2 yeah, the "Internet-of-Toilets" is my project, what about it? Aug 25 13:18:50 link please Aug 25 13:19:08 github dm8tbr, one of the repositories Aug 25 13:19:53 thanks tbr for pinging here, i was just telling cityoflights2 to look there to get the pulse of each liter correct. Aug 25 13:20:13 I used the ADC Aug 25 13:20:43 as I have a tank full of water that gets drained across a flush. So I can just convert level to volume. Aug 25 13:21:43 if I would have bothered to implement linear approximation between calibration points it would be accurate down to 50ml or less Aug 25 13:21:56 right now it just does 0.5l increment matching Aug 25 13:22:12 I am using a flow sensor Aug 25 13:22:25 and need to distinguish the pulses I get Aug 25 13:22:41 so a single odd pulse is discarded Aug 25 13:23:11 and a few close pulses, means a real trigger Aug 25 13:23:45 and when I count enough triggers , I end Aug 25 13:23:51 no need for ADC Aug 25 13:23:56 in my case.. Aug 25 13:28:24 what do you use to detect level tbr? I was lookin once at a system to monitor a rainwater tank level Aug 25 13:28:40 being underground its kinda .. inconvenient! Aug 25 13:31:02 veremit: I rigged something using a potentiometer from a servo (nice tight housing) and a long arm with a piece of styrofoam at the end Aug 25 13:31:35 ah .. can't see that working over a distance of ~1m lol Aug 25 13:31:43 veremit: there are various sensors for such tanks Aug 25 13:31:53 yeah was trying to find a cheap solution :) Aug 25 13:31:55 the fancy ones are ultrasonic Aug 25 13:32:14 right Aug 25 13:32:31 you could also use a pulley system with a floating part and a counterweight Aug 25 13:32:56 and then detect the position of the pulley somehow Aug 25 13:33:05 as long as the counterweight was waterproof Aug 25 13:33:13 and an encoder would theoretically work Aug 25 13:34:12 professional sensors are also just a rod with a weighted float triggering reed switches inside the rod Aug 25 13:34:12 ultrasonic sensors aren't expensive .. wonder whether there's much 'magic' involved .. could be a good arduino project Aug 25 13:34:31 yes .. thats whats used for the pump .. tilt switch Aug 25 13:34:48 there are transducers on dx and aliexpress, you might be able to put something together Aug 25 13:34:58 the humidity might be an issue Aug 25 13:35:14 I'd imagine you can compensate.. Aug 25 13:35:53 a thin plastic film directly in front of the sensor might work well enough Aug 25 13:36:11 oh look .. youtube example .. lol .. <3 google Aug 25 13:36:17 :) Aug 25 13:36:28 did we ever get that google bot in here?! :D Aug 25 13:37:04 I'd have also gone ultrasonic, but it was a holiday weekend and I wanted something working NAO! Aug 25 13:38:45 yeah my neighbour's currently ruining my holiday weekend Aug 25 13:53:40 hi guys, i am trying to rma my beaglebone through the authorized supplier that i purchased it through. I have a revision a6a I believe. Dont know as I removed the serial number. I can tell you it is not a revision b or revision c. With me rma'ing it will i get a 2gb beaglebone black back? also how long should i be expecting this supplier to take to get things started. Its been about 5 days since i spoke with them and t Aug 25 13:53:40 hey have not reached back out to me yet Aug 25 13:56:14 I thought you could RMA direct to beagle. Aug 25 13:56:32 as long as you showed proof of purchase though an authorised distributor Aug 25 13:57:40 depending on your local law rma'ing to beagleboard directly is not really an option Aug 25 13:58:47 damn these boards end up in some dodgy countries ... -sigh- Aug 25 13:59:23 veremit: in EU you should always deal with supplier in first case to get legal protections Aug 25 13:59:25 veremit: yeah, like those with only 45days of manufacturers guarantee ;) Aug 25 13:59:59 -shrug- Aug 25 14:03:00 ok the building work next door resumes .. I'ma make a bid for freedom Aug 25 14:14:10 <_Rotti> hi Aug 25 14:32:18 bye for now Aug 25 16:27:39 Hi Aug 25 16:27:56 Quick question what .dtb file should I use on a beaglebone black if I want to boot a vanilla kernel? Aug 25 16:32:41 Namely, there are two files, am335x-bone.dtb and am335x-boneblack.dtb. I wonder which one should be used Aug 25 16:33:31 not sure, but I image that the one without the black is for the original beaglebone (the white one) Aug 25 16:37:29 anyone get beaglelogic running? I am updated to the latest kernel but get a ton of errors when doing echo BB-BEAGLELOGIC > /sys/devices/bone_capemgr.*/slots Aug 25 16:39:26 thurgood: nope. The original was OMAP3. AM335x is specifically the black :-/ Aug 25 16:39:58 no beagleboad was onamp Aug 25 16:40:07 omap even Aug 25 16:40:18 bones have always been am335x Aug 25 16:49:00 Are you sure? Aug 25 16:49:35 Oh Aug 25 16:49:36 Indeed Aug 25 16:49:48 Weird, I was sure it was OMAP3 Aug 25 16:49:59 Ok Aug 25 16:50:09 I got confused with the beagle*board* Aug 25 16:50:19 ok so beagleboard is OMAP3 Aug 25 16:50:28 beaglebone *and* beagleboneblack are AM335x Aug 25 16:50:39 the classic was omap35xx and the xM was dm3730 Aug 25 16:50:41 (notice the difference between beagle*bone* and beagle*board*) Aug 25 16:51:01 yeah, so actually the beagleboard *was* OMAP3 :) Aug 25 16:51:28 very similar to omap mostly changed to dm for marketing as far as I could tell Aug 25 16:51:35 ok Aug 25 16:51:48 So anyway, I'm getting logs that look like "could not find pctldev for node" Aug 25 16:51:53 (when booting the Linux kernel) Aug 25 16:52:03 I don't know what this means nor if it should be fixed Aug 25 16:59:46 Got it Aug 25 17:00:07 I needed to enable CONFIG_PINCTRL_SINGLE Aug 25 17:12:14 Good Afternoon. I was curious as to if anyone had any experience of disabling/not using non-volatile memory in the u-boot boot-loader for their Beagle board? I am working with one and for security reasons need it not store anything upon shutting down. Aug 25 17:15:19 boot from network type stuff? Aug 25 17:40:09 I am looking for a sample code for my bbb to use with my rgb matrix from rgb-123 Aug 25 17:47:57 Anyone have any links for me to view Aug 25 18:35:49 Afternoon folks. Anyone available to talk with a newbie? Aug 25 18:42:59 Sakamoto try to type /topic into your irc client Aug 25 18:43:04 and read the answer **** BEGIN LOGGING AT Mon Aug 25 22:00:32 2014 **** BEGIN LOGGING AT Mon Aug 25 22:13:09 2014 Aug 25 22:18:59 is there any framebuffer opengl application that I can run to test if the touchscreen/3d accel of my beaglebone black is ok, without installing xserver Aug 25 23:02:29 bborg_builds: help Aug 25 23:02:29 Get help on what? (try 'help ', or 'commands' for a command list) Aug 25 23:02:36 bborg_builds: commands Aug 25 23:02:36 buildbot commands: commands, dance, destroy, excited, force, hello, help, last, list, mute, notify, source, status, stop, unmute, version, watch Aug 25 23:02:41 bborg_builds: status Aug 25 23:02:41 runtests: building('make -j4 ...') [ETA 18m06s] Aug 25 23:04:47 bborg_builds: status Aug 25 23:04:47 runtests: building('make -j4 ...') [ETA 16m09s] Aug 25 23:31:01 bborg_builds: status Aug 25 23:31:01 runtests: idle, last build 10m01s ago: build successful **** ENDING LOGGING AT Tue Aug 26 02:59:58 2014