**** BEGIN LOGGING AT Fri Oct 31 02:59:59 2014 Oct 31 03:18:36 js Oct 31 03:18:41 node specifically Oct 31 05:12:51 m_billybob have you read the book Programming the BeagleBone Black: Gettings started with BeagleBone and Javascript? Oct 31 05:13:05 er javascript and bonecsript Oct 31 05:13:06 nope Oct 31 05:13:29 personally, i have no interrest in bonescript. Oct 31 05:13:46 But am interrested in Nodejs Oct 31 05:17:05 im trying an example use socket.io and node Oct 31 05:18:30 but im getting "Error: Cannot find module '/opt/cloud9/build/standalonebuild/node.js' " Oct 31 05:19:32 any ideas? this book has no troubleshooting advice :/ Oct 31 05:20:19 it halts in " NativeModule.prototype.compile = function() { ..." in node.js Oct 31 05:22:01 here is the code https://gist.github.com/jhoughjr/5e6a2ed6d308e56779d4 Oct 31 06:16:09 jimmyhoughjr, good is your friend Oct 31 06:16:13 google* Oct 31 06:16:37 i finally fixed it sans google, had various typos Oct 31 06:16:59 I can use a named function in places where they are using anonymous ones correct? Oct 31 06:17:02 this is one reason why im not big on using ppls code like bonescript Oct 31 06:17:26 imho bonescript isnt even needed Oct 31 06:17:44 hi im unable to connect to beaglebone via serial usb after a system upgrade. Oct 31 06:18:40 how do i connect now? Oct 31 06:19:43 or any way to reset ssh password from the web console? Oct 31 06:38:47 m_billybob bonescript wasnt the problem Oct 31 06:39:06 all it is is a lib to access the GPIO Oct 31 06:39:37 som1 it has serial usb? Oct 31 06:39:50 jimmyhoughjr, i guess, but problem is I'm still new-ish to Nodejs, and I like to keep things as clean as posible. Oct 31 06:39:53 he eft Oct 31 06:40:07 ah Oct 31 06:40:09 he left, but his question was so vague no way in hel anyoen could troubleshoot it Oct 31 06:40:31 yeah i didnt know there was serial over the usb, but ive just had my board 2 days now Oct 31 06:40:45 could be anything from modules conflicting with newer kernel to the need for modeprobe Oct 31 06:40:51 yeah its known as g_serial Oct 31 06:40:55 it is pretty handy Oct 31 06:41:17 but now its on like donkey kong, i got a dict of urls and a little function to serve them Oct 31 06:41:17 modprobe* Oct 31 06:41:35 cool thing about nodejs Oct 31 06:41:35 and nwo i have a reason to use my html5 book Oct 31 06:41:45 is you can use it with express to serve up static content Oct 31 06:41:53 did you do any programming before node? Oct 31 06:42:01 lots Oct 31 06:42:07 what langs? Oct 31 06:42:11 im an experienced programmer Oct 31 06:42:40 im fairly experienced myself, been programming in one for or another since i was a kid in BASIC Oct 31 06:42:45 qbasic ( first )ASM C/C++ C# VB.NET, and I can read many other language although not personal hands on Oct 31 06:43:18 TI basic was my first, the to GW basic and QBasic Oct 31 06:43:36 im rusty in most except C, and javascript. although im not a javascript guru either Oct 31 06:43:48 then i went to vb, but .net frustrated me so i quit for a long time Oct 31 06:44:13 but then I wanted to develop for the ipad, so i learned some OOP and Objective-C Oct 31 06:44:13 .net is so easy, but honestly NOdejs could easily eclipse .NET Oct 31 06:44:42 i didnt know much oop then, and when they took my winsock control it pissed me off Oct 31 06:45:04 Nodejs, the libraries included are very robust and can achieve many thigns peopel migth do with .NET. except its a bit different Oct 31 06:45:11 is it normal for node to take up most of the cpu on the beaglebone black? Oct 31 06:45:18 no Oct 31 06:45:29 could it be from cloud9 ? Oct 31 06:45:43 what OS are you most familiar with ? Oct 31 06:45:59 i have a reason for asking . . . Oct 31 06:46:20 programming? iOS, then MacOS Oct 31 06:46:34 jimmyhoughjr, thats aloaded question though i couldnt say you'd have ot examine top Oct 31 06:46:34 ive used debian for linux a lot but im not an expert Oct 31 06:46:39 no i mean gernal usage Oct 31 06:46:49 yeah i looked at top, thats how i saw Oct 31 06:47:03 idk I guess OS X Oct 31 06:47:04 Id consider building your own image from scratch or with RCN's help Oct 31 06:47:20 the bone is running the latest debian Oct 31 06:47:21 and only including what you need/ want Oct 31 06:47:42 eventually I will, im using this to prototype some automated control stuff Oct 31 06:48:04 i had wanted to learn some ruby and use ruby on rails Oct 31 06:48:05 those images are meant for demo purposes though not so much as production Oct 31 06:48:25 they have al oad of crap on them Oct 31 06:48:27 but node is a lot faster to tinker with it seems Oct 31 06:48:38 you done any tdd? Oct 31 06:48:42 or bdd? Oct 31 06:48:48 well ive built my own images Oct 31 06:49:00 and with node these images are tiny by comparrison Oct 31 06:49:07 less than 200M in size Oct 31 06:49:16 tdd as in test driven devekopment ? Oct 31 06:49:20 no idea what bdd is Oct 31 06:49:33 development* Oct 31 06:50:20 bdd is behavior driven development Oct 31 06:50:41 I didnt do much of it, but a UAT framework we used at work was meant for it Oct 31 06:51:51 I ask about tdd because id like a good framework for it with node Oct 31 06:52:25 and id LOVE a mocking framework Oct 31 06:53:30 hmm seems there is JsMockito i might check that out Oct 31 06:56:21 check out whats it Oct 31 06:56:35 there are testintg frameworks for javascript Oct 31 06:56:52 tutsonline ? Oct 31 06:57:06 forget the site name thes youngin's over there seem to love Nodejs Oct 31 06:57:11 tutsplus Oct 31 06:58:22 http://tutsplus.com/ so some of these are pay some are free but if you browse their lsit you should be able to figure out various technoogies atleast to research Oct 31 06:58:46 i want to say jasmine is one ? but im not sure Oct 31 07:00:02 that sounds familliar, i think i heard the server guys talking about it at my old job Oct 31 07:00:19 it might be an mvc framework though id have to look Oct 31 07:04:56 well i think its bedtime for me, good talking to you and im sure ill see you around Oct 31 07:10:30 hi Oct 31 07:11:30 zoom__: thanks for the pm spam Oct 31 11:59:15 For accessing BBB SPI1, is it just needed to load the "BB-SPI1-01-00A0-dtbo" file. Or do i have to remove HDMI from using SPI1 bus first and then add the file. Can someone help Oct 31 13:53:33 Hi, for Beagle-Bone-Black Kernel 3.2 it's possible to read analog inputs from file "/sys/xyz.../AIN0". Where can I get the source of this driver? For newer device tree kernels it's "bone-iio-helper", but for Kernel 3.2? Oct 31 14:54:57 Hello, I am a undergrad with a lot of interest in linux kernel hacking and os development (like to work with low level stuff) and find your project interesting. Is there anyway in which I can contribute to your project. Oct 31 14:56:37 Hello, I am a undergrad with a lot of interest in linux kernel hacking and os development (like to work with low level stuff) and find your project interesting. Is there anyway in which I can contribute to your project. Oct 31 14:56:38 Hello, I am a undergrad with a lot of interest in linux kernel hacking and os development (like to work with low level stuff) and find your project interesting. Is there anyway in which I can contribute to your project. Oct 31 14:56:38 Hello, I am a undergrad with a lot of interest in linux kernel hacking and os development (like to work with low level stuff) and find your project interesting. Is there anyway in which I can contribute to your project. Oct 31 14:56:38 Hello, I am a undergrad with a lot of interest in linux kernel hacking and os development (like to work with low level stuff) and find your project interesting. Is there anyway in which I can contribute to your project. Oct 31 14:56:39 Hello, I am a undergrad with a lot of interest in linux kernel hacking and os development (like to work with low level stuff) and find your project interesting. Is there anyway in which I can contribute to your project. Oct 31 14:56:39 Hello, I am a undergrad with a lot of interest in linux kernel hacking and os development (like to work with low level stuff) and find your project interesting. Is there anyway in which I can contribute to your project. Oct 31 14:56:39 Hello, I am a undergrad with a lot of interest in linux kernel hacking and os development (like to work with low level stuff) and find your project interesting. Is there anyway in which I can contribute to your project. Oct 31 14:56:40 Hello, I am a undergrad with a lot of interest in linux kernel hacking and os development (like to work with low level stuff) and find your project interesting. Is there anyway in which I can contribute to your project. Oct 31 14:57:23 cat sat on your keyboard ? Oct 31 14:57:43 what do you mean ? Oct 31 14:58:27 same message repeated 10 times or so... Oct 31 14:58:36 that is not a way to make friends here Oct 31 15:00:04 I guess people are having all kinds of trouble with PRU, if you can grok it and write good instructions (or just those that are having the trouble) then I’m sure many would be grateful Oct 31 15:00:22 this is weird. not even running anything node and node.js are taking 100% of my cpu :( Oct 31 15:00:49 Nobody was replying, so I spammed it. Anyways, sorry for that Oct 31 15:01:10 it’s all hallows eve, maybe people have other place to be... Oct 31 15:02:08 ditto for friday. I have no life but that doesn’t mean everyone is like that... Oct 31 15:02:19 any ideas? people have said its not normal for node to be maxing the cpu when just botted Oct 31 15:02:39 ok Oct 31 15:03:04 hmm well it finally wnet back fown to around 10& Oct 31 15:03:14 jimmy: no idea… #beagle-bonescript would be a better place for node questions Oct 31 16:03:02 how to enable SPI on Debian? Oct 31 16:05:58 mkad: which board and which debian ? Oct 31 16:21:28 mashiara, BBB rev C, Debian jessie Oct 31 16:22:50 I guess by loading a cape... http://elinux.org/BeagleBone_Black_Enable_SPIDEV#SPI0 Oct 31 16:23:08 https://learn.adafruit.com/introduction-to-the-beaglebone-black-device-tree/overview Oct 31 16:23:25 but I've only done it on Ubuntu Trusty Oct 31 16:41:23 mashiara, thanks Oct 31 16:41:49 mashiara, seems like SPI0 is enabled after getting patched dtc I wonder why Debian does not have new dtc Oct 31 16:42:01 mashiara, now next step to check if it works;/ Oct 31 16:50:46 hmm nothing Oct 31 16:52:08 see that it did not get exported as spidev1 (I had that problem, never figured out how to fix it) Oct 31 16:52:32 also had some trouble with loading the cape automatically on boot, so try loading it manually Oct 31 17:06:30 is anyone using beagleboard xm with ubuntu 14.04.1 with kernel version: 3.17.1-armv7-x3? Oct 31 17:06:49 i cant access the gpio anymore, i was using the gpio157 with ubuntu 12.10 kernel version 3.7.10-x3 Oct 31 17:07:00 i updated to kernel version: 3.17.1-armv7-x3 Oct 31 17:07:12 still the same problem, echo high > /sys/class/gpio157/direction isnt setting the pin to high :/ Oct 31 17:07:14 vncm: I think I saw your post on the mailing list. Oct 31 17:07:26 anything in 'dmesg' log? Oct 31 17:07:34 what happens when you do the export? Oct 31 17:08:00 ie. echo 137 > /sys/class/gpio/export Oct 31 17:08:00 it creates the pin Oct 31 17:08:03 lrwxrwxrwx 1 root root 0 Jan 1 2000 gpio157 -> ../../devices/virtual/gpio/gpio157/ Oct 31 17:08:09 it was before Oct 31 17:08:14 and now looks like this Oct 31 17:08:15 that's just a symlink Oct 31 17:08:24 lrwxrwxrwx 1 root root 0 Oct 31 18:05 gpio157 -> ../../devices/68000000.ocp/49058000.gpio/gpio/gpio157/ Oct 31 17:08:32 i know Oct 31 17:08:43 I mean, does 'dmesg' say anything? Oct 31 17:09:12 did you check the pinmux? Oct 31 17:09:24 is there a chance something else is muxed to the pin? Oct 31 17:09:54 do you have /sys/kernel/debug/(something about pinmux)? Oct 31 17:10:07 let me check that :) Oct 31 17:12:11 jkridner, do 3.17 support overlays ? Oct 31 17:13:17 mkad: not typically. I think 3.17 (or perhaps it wasn't until 3.18?) has base overlay support, but no cape manager yet. so, someone would have needed to patch it to add cape manager. Oct 31 17:13:46 it is called 'changesets' instead of 'overlays' now. https://lkml.org/lkml/2014/7/23/756 Oct 31 17:15:29 yes there is /sys/kernel/debug/pinctrl/ and here is whats inside http://pastebin.com/uJBw5qPf Oct 31 17:15:51 hello i am new to beagle.Can anyone help me out. Oct 31 17:16:10 looks like it was just this month: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7941b27b16e3282f6ec8817e36492f1deec753a7 Oct 31 17:16:48 ah, part of it went into 3.17: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=201c910bd6898d81d4ac6685d0f421b7e10f3c5d Oct 31 17:17:01 sarangi: don't ask to ask. please read the topic. Oct 31 17:17:40 ok.thanks anyways @jkridner Oct 31 17:17:42 vncm: I need to run to lunch. I suggest you figure out which pin is yours and see if the mux mode is 7 (last 3 bits all 1's) Oct 31 17:18:19 ok i will try Oct 31 17:18:20 thanks Oct 31 18:28:15 i am unable to connect 192.168.7.2 . Oct 31 18:30:53 ssh is working fine, but when i trying to connect 192.168.7.2 its not connecting. Oct 31 18:33:04 Board have Older image."Older software images require you to EJECT the BEAGLE_BONE drive to start the network. With the latest software image, that step is no longer required."what it meant? Oct 31 23:44:52 hello all. Does anyone know where I can find the recipe for the angstrom image that was used way back with the 3.8.13 kernel? Nov 01 02:49:05 hello Nov 01 02:49:31 I can't seem to get arecord to produce any audio using the Audio Cape Rev A1 with the BBB... Nov 01 02:50:28 anybody know what alsamixer settings I should be messing with? **** ENDING LOGGING AT Sat Nov 01 03:00:00 2014