**** BEGIN LOGGING AT Sun May 31 02:59:59 2015 May 31 03:18:03 good news, I am able to send control to my serial device via bbb's host usb port :D May 31 03:34:57 my NodeJS app worked very well too :) I am not able to turn on/off my a sprinkler zone :D May 31 03:35:13 bbb detected it as /dev/ttyUSB0 May 31 04:49:38 halp. Trying to get SPI working on my BBB - followed instructions here: http://elinux.org/BeagleBone_Black_Enable_SPIDEV - From that, I want to use SPI0 to avoid HDMI conflicts, but following the steps for SPI0 results in a /dev/spidev1.0 device being created. (and which doesn't seem to work, not that I'd expect it to) May 31 04:51:39 Everythign I've done refers to SPI0 - I've gone through and checked it all. slots has 'BB-SPI0-01', /lib/firmware has 'BB-SPI0-01-00A0.dtbo' May 31 04:51:53 but there sits /dev/spidev1.0 :( May 31 05:09:09 hi folks, where do I specific a static ip address on eth0? May 31 05:10:16 cd networks May 31 05:11:45 zumba_ad_: Are you running Angstrom, or Debian/Ubuntu? May 31 05:11:52 i found it May 31 05:11:54 if Deb, https://wiki.debian.org/NetworkConfiguration#Configuring_the_interface_manually should get you goung May 31 05:11:55 it's interfaes May 31 05:12:53 i'm ssh to the old ip and i'd like for the new ip to take effect May 31 05:13:24 what would be the command to restart it May 31 05:13:44 back in my fedora days, I run ifconfig down && ifconfig up & May 31 05:13:50 I think if you ifconfig eth0 up and then down... yeah May 31 05:13:50 something like that May 31 05:14:03 oh, i forgot the interface :D May 31 05:14:05 that'll also knock your connection off, though May 31 05:14:08 yup May 31 05:14:17 that's why I put & at the very end May 31 05:14:24 i think i put it before on a script May 31 05:14:39 sometimes too, service network restart May 31 05:14:46 but that's fedora May 31 05:14:58 ooh, fancy :) May 31 05:15:14 btw, how do I check if i'm on debian or angstrom? May 31 05:15:24 uname just says linux May 31 05:15:38 ah /etc/issue file May 31 05:15:50 Debian GNU/Linux 7 \n \l May 31 05:15:50 cat /etc/os-release May 31 05:15:56 ok, i'll try that May 31 05:16:08 yup, it's debian May 31 05:16:11 i don't see angstrom May 31 05:16:38 older Beagles shipped with Angstrom, I think they've moved to Debian recently May 31 05:17:00 i'm extremely happy this evening. I got my NodeJS REST api running. I'm now able to turn on/off my sprinkler system using bbb :) May 31 05:17:07 Nice! May 31 05:17:27 it detected the usb-to-serial really quickly without any issues May 31 05:17:42 kernel created /dev/ttyUSB0 May 31 05:20:16 i created a script ifconfig eth0 up and down 2 lines then executed it with ./eth.sh & May 31 05:20:41 hmmm, still old ip address and not the static one May 31 05:21:52 i'll just shutdown -r now May 31 05:28:44 shutdown -r now did it :) May 31 11:37:34 Hi there, I'm looking for some help to make measures on AINx. I'm a newbee and I actually don't understand anything.. :] I've tried to use libpruio, but didn't manage to setup how to make 20000 measures in one second. May 31 11:38:09 I firstly tried to make measures spaced with a sleep, but I don't think it's the good way.. http://pastebin.com/T1dGxVMs May 31 11:43:33 I think that MM measure may be the good way, but I'm not able to use it correctly. Is there someone who can help me : I want to make 20k measure in one second then read them ? May 31 12:06:22 Kube: are you sure that AINx supports that fast a sample rate? May 31 12:09:15 agmlego|skynet: no -_- actually I meant 200 measures in a second... May 31 12:47:56 Kube: configure the ADC subsystem such, that it samples continously, and sends you and interrupt each time a new value is available May 31 12:57:41 KotH: so you're telling me to use RB mode instead of MM one ? but the pruio_config accept timer parameter only for MM mode. How can I control the sample rate other way ? thank you May 31 13:01:54 hello all May 31 13:02:14 I want to ask something May 31 13:02:49 My LCD keeps going to sleep after I connect it to my BeagleBoard (original Rev C5) May 31 13:03:02 How can I fix that??... thanks May 31 13:25:52 Is it a LCD monitor or a display module? May 31 13:26:33 You may want to look at the system settings as well as try sticking a keyboard on it to see if keystrokes wake it up May 31 13:51:41 Kube: no idea about what mode is what May 31 13:51:52 Kube: but that's the way people usually do it May 31 13:56:01 KotH: ok thanks, do you have an example anywhere ? May 31 13:57:42 Kube: sorry, nope May 31 13:57:58 Kube: never done it with linux... i usually only use ADCs on uC May 31 14:04:21 I wrote a deb file and in it I change the connman config file. how should I handle system config change in debian? May 31 14:25:01 Hello everyone! May 31 14:25:54 Can i ask questions here? May 31 14:27:55 * Topic for #beagle is: http://beagleboard.org/chat has a guide on how to ask questions and links to the logs | never ask to ask, just ask | be patient | pastebin a boot log | http://ahsoftware.de/Beaglebone_Black_Boot_explained.svg | http://beagleboard.org/latest-images | http://beagleboard.org/Support/bone101 | direct bonescript/node.js questions to #beagle-bonescript | books: http://bit.ly/bbb-books May 31 14:28:50 ie. Just ask. May 31 14:29:54 alas I don't think the topic Ever comes up in the web client .. so its completely useless .. unless I'm mistaken. May 31 14:34:55 veremit: it's right there at the top in dark gray and with the URLs clickable. May 31 14:35:20 ah thanks tbr :) lol May 31 14:35:42 wtf does nobody read it then :/ May 31 14:37:04 my next query would be whether the links are up-to-date with the current processes/etc. But I'll let that go :p May 31 14:37:12 because May 31 14:38:02 what would be really shit-hot would be a set of pages detailing the config/boot/image details of all releases. May 31 14:38:12 but yeah. lol. May 31 14:38:54 I fear there have beena lot of beagles on the shelf which are suddenly burst into life lol May 31 16:41:34 hi folks, I found a power supply rated 5v 2A. Reading from multimeter was 5.18v. This should be fine right? May 31 16:44:52 most of the power supply i see in amazon are 5v 2A too May 31 16:48:12 zumba_ad_ .. is that connected or unconnected ? May 31 16:48:33 just connected to my wall power, no load May 31 16:48:56 i made a reading from the jack while it was connected to the wall May 31 16:49:22 given it's likely to drop when you connect it .. and that's already within 5% .. May 31 16:50:29 i connected it and the bbb turned off quickly May 31 16:50:47 i got scared so I brought it back up and connected to my laptop. It's good, whew May 31 16:50:51 why did it turn off? May 31 16:51:13 was/it also connected over usb? it might have tried to restart May 31 16:51:22 provided you don't see smoke (!) you're probably fine May 31 16:51:34 it didn't, it's turning on fine May 31 16:52:01 no, it wasn't connected to the usb. It was off when I connected the 5v ps May 31 16:52:05 cool .. carry on :) May 31 16:52:19 i can ping it now May 31 16:52:28 but why can't the 5v ps i connected turn it on? May 31 16:52:36 do you think it's a bad connector/jack? May 31 16:53:11 i'm ssh'd now into it so it's still good May 31 16:53:43 there's a small chance its the wrong pin size .. there are two common DC jack pin sizes .. 2.1mm and 2.5mm .. one way round they don't fit together .. the other, it might not connect May 31 16:53:51 I constantly have this problem at work May 31 16:53:54 lol May 31 16:54:04 got it May 31 16:54:27 you can get adapters .. I got a boxful :D May 31 16:54:44 if the pin was right, it the ps should have powered it properly right? May 31 16:55:10 the other common gotcha is whether the pin is positive or negative May 31 16:55:19 yeah, that was my concern too May 31 16:55:24 that you can easily check with your meter .. the 'pin' should be positive May 31 16:55:33 I think the beagle has a protecton diode .. or damn well should have lol May 31 16:55:35 i check all other adapters here and core is always the positive May 31 16:55:41 ok May 31 16:55:48 just going through the 'checklist' ;) May 31 16:55:59 but i am not sure if beaglebone's ps center is ground May 31 16:57:38 you can check with your meter .. one way will measure + volts .. the other - volts ;) May 31 16:57:59 yup, i was aware of that May 31 16:58:00 you can prove this .. the red lead of meter will be + May 31 16:58:02 ;) May 31 16:58:12 the beagle is centre positive May 31 16:58:19 but what I wasn't sure is the ps sold in amazon have the center as negative May 31 16:58:22 oh ok :D May 31 16:58:26 which, broadly .. is 'normal' May 31 16:58:35 so maybe it's just the connector being smaller May 31 16:59:02 it turned off when I released the connector/jack from my fingers May 31 16:59:04 you might be able to hold it skew slightly .. and you'll tell if its that May 31 16:59:10 yeah May 31 16:59:13 yeah May 31 16:59:14 quite possible :) May 31 16:59:22 i'll try it again May 31 16:59:26 that sucks lol May 31 16:59:27 :) May 31 16:59:32 i know, scares me May 31 17:03:59 ok I'll bbiab .. gotta do somet stuff May 31 17:05:36 tried it but turned off quickly, I'll just buy a new one :) May 31 17:06:01 later :) May 31 17:11:02 I'll try not to laugh about "normal" polarity on circular barrel plugs May 31 17:29:37 maybe this ps i found is just really defective May 31 17:30:00 i remember i connected a nichrome wire and it heated up really hot May 31 17:56:03 i found a laptop with a dead hardisk, i'm now using it to power my beaglebone via usb :D May 31 17:56:05 it's working May 31 18:10:59 heh May 31 18:15:08 you can also power the BBB via the expansion header P9 (connect positive lead to pins 5-6, negative lead to pins 1-2) May 31 18:20:12 what is expansion header? May 31 18:20:39 and what will we connect to the expansion header? May 31 18:20:54 those two big headers on top, on which most of the processor's I/O is available May 31 18:21:34 ah the female headers May 31 18:21:38 hes May 31 18:21:41 k May 31 18:21:41 *yes May 31 18:21:58 but what do we connect to it? I mean the source May 31 18:22:26 "positive lead" of? May 31 18:22:31 a 5V supply May 31 18:22:40 ah cool May 31 18:22:47 it's exactly the same as the 5V barrel connector May 31 18:22:50 got it May 31 18:23:00 (as in, nothing but a PCB trace between those) May 31 18:23:01 i found a 5v supply but i think it's defective May 31 18:23:05 ah May 31 18:23:16 my bbb turns off quickly when I connect to it May 31 18:23:25 what is its current rating? May 31 18:23:32 2A May 31 18:23:58 but i think i ruined it last year when I connected a nichrome wire. I remember it heated up May 31 18:24:14 it still reads at 5.18v though May 31 18:24:27 normally a PSU isn't that easy to ruin, it should just shut off I think May 31 18:24:51 k May 31 18:25:19 so i'm not sure why bbb turns off so quickly like maybe 0.5seconds May 31 18:25:33 that's still quite long though May 31 18:25:58 but it suggests it can't actually supply enough current May 31 18:26:05 got it May 31 18:26:12 maybe, the 2A on the label is fake May 31 18:26:24 they forgot the "0." ;-) May 31 18:26:31 :D hahaha May 31 18:26:40 it was actually my Linksys wifi router's supply May 31 18:27:14 anyways, I'm happy i can access it May 31 18:27:43 i can now control my serial device via the bbb. I built a NodeJS app that uses Express and SerialPort module May 31 18:33:30 it might be 0.2A May 31 18:36:46 in that case you'll need pretty good power management, and a different bootloader since u-boot pays no attention to conserving power (draws much more than an idling system after boot) May 31 18:43:54 but I'd think a wifi router would also need more than 0.2A ... May 31 18:45:18 the other thing is it may be damaged May 31 18:48:19 yeah, but then it's kinda funny it reads 5.18 open-circuit and is still able to supply the BBB for half a second May 31 18:49:03 that only makes sense if its current is too limited, or maybe if its output is poorly regulated (output cap blown?) May 31 18:49:57 although in the latter case I'd also expect the PMIC is say "fuck you" much earlier already May 31 18:50:03 *to say May 31 18:51:47 like there's some nasty inrush current when the power path is enabled (dunno how much, my current reading clipped at 1.5A) May 31 18:52:36 It's alwys something. Oh well no way of knowing through the IRC chat at the moment :D May 31 18:53:41 no, would require a scope to see what's happening to the supply during that timeframe May 31 19:16:47 Well that and the ability capture. May 31 19:17:01 I should finish my beagle scope project May 31 20:27:09 hello, i tried to control an external led through P8_10 and adafruit's GPIO library. i remember that used to work previously. multimeter shows ~3V constantly even if i do GPIO.LOW. vice versa, ampere stays on 0 May 31 20:27:24 question is, have i fried my beaglebone? May 31 20:43:48 you should always buffer GPIO output from the beagle bone. Did you put a resistor between it and the LED? **** ENDING LOGGING AT Mon Jun 01 02:59:59 2015