**** BEGIN LOGGING AT Sun Jun 10 03:00:03 2012 Jun 10 05:17:39 Any beaglebone pro's wan a help me get ADC working on a beaglebone running debian on the latest kernel Jun 10 05:22:16 no /sys/devices/platform/tsc directory. Jun 10 05:22:40 or /sys/devices/platform/omap/tsc Jun 10 05:24:03 any ideas gents? Jun 10 09:03:20 Hi guy, Can I write and run java program (especially network) on beagle bone Jun 10 11:37:14 can't see why not Jun 10 11:37:52 maybe he can't program at all Jun 10 11:41:50 well if you can get some simple java running on an ubuntu desktop, you should be able to get the same code running on a beagle bone Jun 10 11:42:16 so the question comes down to "can I write and run java programs?" Jun 10 11:42:51 and the answer to that is "yes, google a java beginners tutorial" Jun 10 11:44:12 no, it won't work Jun 10 11:44:18 because it's java Jun 10 11:44:38 if it 'works' it's just an illusion Jun 10 11:46:10 are you asserting that java cannot run on the beaglebone, or are you just trying to confuse the issue with your opinions on java? Jun 10 11:47:35 OMAP even has that jazelle IP block *giggle* *snort* Jun 10 11:56:08 isn't that succeeded by TumbEE? Jun 10 11:56:49 let me guess the number of open source JVM's supporting that: at least a jazillion Jun 10 11:56:58 *ThumbEE Jun 10 11:57:01 http://en.wikipedia.org/wiki/Jazelle_RCT#Thumb_Execution_Environment_.28ThumbEE.29 Jun 10 11:57:07 same thing afaict Jun 10 11:57:13 not the same thing Jun 10 11:57:22 wikipedia is notoriously inaccurate about all things arm Jun 10 11:57:56 as with everything else Jun 10 11:58:13 handy to know Jun 10 11:58:17 thumbee is a special mode with a few extra instructions intended to aid jit compilers for managed code Jun 10 11:58:43 for instance in a jvm backend Jun 10 11:59:04 jazelle executes jvm bytecode directly Jun 10 11:59:14 simple opcodes are handled entirely in hardware Jun 10 11:59:39 complex ones invoke an interpreter in, supposedly, an efficient way Jun 10 12:01:07 so what's the difference between Jazelle RCT and Jazelle DBX? Jun 10 12:16:57 Jun 10 12:20:31 good question Jun 10 12:20:40 the jazelle docs are restricted even within arm Jun 10 13:24:05 anyone interest in looking over a guide I wrote to get slackware (well, armedslack) running on the beaglebone? Jun 10 14:31:12 Am I correct in measuring 3.3V @ 60mA coming out of gpio38 when I turn it on? Jun 10 14:31:14 I thought the GPIO pins were supposed to be super-low... LIke 3-4mA ? Jun 10 14:31:43 what load are you attaching to it? Jun 10 14:31:51 I don't know how much they can drive Jun 10 14:33:36 Well, this was with an LED hooked up Jun 10 14:33:43 220 ohm resistor Jun 10 14:33:55 Essentially, the blink tutorial from Make Jun 10 14:34:46 3.3V through 220 ohm and an LED can in no way produce 60mA Jun 10 14:34:47 Watching their video it concerned me that they used only a 220 ohm resistor since I could've sworn that I read somewhere that the GPIO pins on the Beaglebone were only supposed to output ~4mA Jun 10 14:34:58 with a green LED you'd get about 5.5 mA Jun 10 14:35:35 you do know ohm's law? Jun 10 14:36:12 Yeah Jun 10 14:36:34 Well, I measured the output from the pin to my multimeter... The LED was probably only pulling 5.5mA like you said Jun 10 14:36:51 how did you attach the multimeter? Jun 10 14:37:12 riskable, (3v3-2v)/220R ~0.0059 Jun 10 14:40:30 Give me a sec, I'm setting up this little experiment again :) Jun 10 14:43:01 This is strange, I can't seem to power my Beaglebone via VDD_5V this morning Jun 10 14:44:21 jakeday: I'm interested in seeing it. Jun 10 14:45:43 Strange... Apparently the + rail on the right side of my breadboard broke at some point between last night and this morning. The BB powers up just fine if I use the rail on the left Jun 10 14:45:54 er, reviewing it even. Jun 10 14:46:32 Right now my best guess is this: Children. I left it out in the open. I mistakenly figured it would be safe considering it was unplugged and the power connector was out of sight! Jun 10 14:47:00 batteries ftw! Jun 10 14:47:06 Crap, I have to go... bbl Jun 10 14:47:12 Figures, right as I'm just about done Jun 10 14:53:39 ok Jun 10 14:55:51 here's the link for my slackware on beaglebone guide: https://docs.google.com/document/d/11H6tDZ9dtQa_Pijjh5tLOLVa1JGJ3-IpPTMUfNcxLBY/edit Jun 10 14:56:38 jkridner__: let me know if it's straightforward enough and easy to follow Jun 10 14:57:59 Does ubuntu work with 7" lcd + Beaglebone (Not beagleboard) Jun 10 17:03:33 OK, with gpio38 on (echo 1 > value) I am getting 59.2mA going from the pin to ground on my multimeter Jun 10 17:05:54 ...and the reading going from the LED to ground is 3.3mA Jun 10 17:27:28 riskable, you know an amperemeter is used to be connected in series to the circuit ? Jun 10 17:41:18 damn ISP-cut always talking to a wall :( Jun 10 17:41:36 riskable, got my last line ? Jun 10 17:43:31 I figured he'd come back with something like that Jun 10 17:44:46 mru, yes. but claiming to know ohm's law failed somehow ;) Jun 10 17:45:12 well, we've seen worse here Jun 10 17:45:12 Ig ot it Jun 10 17:45:26 I haven't worked with electronics in 1.5 years. All this stuff fell right out of my head Jun 10 17:45:47 like the guy who'd "never experienced a halting problem" Jun 10 17:46:09 riskable, seriously if you forgot in that short time, it was never IN. Jun 10 17:46:17 1.5 years ago I built an RFID cloner, a 4 8x8 LED matrix display (using shift registers), and several other things... Apparently I've forgotten everything :( Jun 10 17:46:37 I haven't done anything serious with electronics for ~10 years Jun 10 17:46:52 Actually, maybe it was 2 years ago now Jun 10 17:46:54 but I can still whip up a simple transistor circuit if needed Jun 10 17:47:06 My memory sucks Jun 10 17:47:18 37th percentile long-term (I've been tested--it's a problem) Jun 10 17:47:24 maybe you should have got the ecc version after all Jun 10 17:48:18 Once I figure this out (again), and then maybe one more time it should be locked in :) Jun 10 17:50:50 at least, now you know the GPIO is somewhat short-circuit protected ;) Jun 10 17:52:00 who knows, he already said some rail is broken Jun 10 17:52:22 hey in there Jun 10 17:53:00 I got highlighted like 12 hours ago, and how my god, I didn't realize the kind of stupid questions that were asked since then (and I haven't read the whole backlog :p) Jun 10 17:53:16 glad to see I'm not asking the most stupid ones :) Jun 10 17:53:54 The rail on my breadboard is broken... It is old and has been through a lot :D Jun 10 17:53:58 maybe we shall write and maintain an IRC FAQ Jun 10 17:55:48 well, there's http://26-26-54.hardwarebug.org/ ... Jun 10 17:56:27 and I think the first FAQ answer should be "U=RI" :) Jun 10 17:57:05 no, the top answer is http://26-26-54.hardwarebug.org/30 Jun 10 17:57:18 ahah :) Jun 10 17:58:04 like it :) Jun 10 17:59:35 * guyzmo is happy, today is my i2c-free day \o/ Jun 10 18:02:52 and reading the mailing list Jun 10 18:03:03 I should add I'm happy to say it's a connman-free day too :p Jun 10 18:08:09 why do people install that annoying thing? Jun 10 18:19:07 mru - why is it per default in angstrom ? Jun 10 18:19:14 I'm trying the same circuit (lighting a row of LEDs on an 8x8 matrix) with gpio39 and it isn't working at all. It seems "echo 1 > value" on that one doesn't do anything at all. The direction is set to 'out' Jun 10 18:20:23 riskable - did you try to check the voltage between the pin and the ground ? Jun 10 18:20:33 No :) Jun 10 18:20:42 you should first try that out Jun 10 18:20:53 to check if your code is wrong, or your electronics Jun 10 18:24:54 That won't cause a problem? Pin->ground? Jun 10 18:25:12 Earlier in this channel someone suggested I *not* do that :) Jun 10 18:27:33 riskable - ohm's law again Jun 10 18:27:55 your voltmeter has more than 1MOhm resistance Jun 10 18:28:18 your pin is outputing about 3.3V Jun 10 18:30:03 U=RI => 3.3=1M*I <=> I=3.3/1000000 <=> I=.0000033A Jun 10 18:30:51 and that means, it's almost equivalent as an open circuit Jun 10 18:32:10 and you know what, I've learned Ohm's law in 2001 and haven't done electronics for 9 years in the mean time Jun 10 18:35:48 riskable - here is an introduction course to electronics : http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-002-circuits-and-electronics-spring-2007/ Jun 10 18:36:28 you should definitevely watch/read/exercise it thoroughly, so you understand what you do, even before you use a multimeter Jun 10 18:43:36 Maybe a GPIO mode is set on these pins that makes them work differently than gpio38? Hmm Jun 10 18:44:50 riskable, maybe this one was not that hard to kill ? Jun 10 18:45:15 Well other ports work fine :P Jun 10 18:45:27 Why would one or two ports stop working while everything else is fine? Jun 10 18:45:39 This is the first time I've used these two particular GPIOs anyway Jun 10 18:46:28 riskable, tons of reasons, at least you mentioned a row of 8 LED and never said something about a buffer. Jun 10 18:47:15 lautriv: Actually, it was a row of LEDs but I was only lighting the first one... 220ohm resistor Jun 10 18:47:21 Just a basic green LED Jun 10 18:54:38 GPIO1_3 == gpio35 in sysfs, right? Jun 10 18:55:05 When I try to export that gpio it gives me: -sh: echo: write error: Device or resource busy Jun 10 18:55:27 ...but there's no gpio35 in /sys/class/gpio Jun 10 19:01:07 Googling around I'm not the first person to have this problem, apparently :) Jun 10 19:11:05 * riskable is systematically testing all the GPIOs Jun 10 19:23:18 After testing, it seems that only gpio34, gpio35, and gpio39 are not working as expected Jun 10 20:33:28 riskable, are thos intended to be an output ? Jun 10 21:25:43 hey has anybody here played with arch on the beaglebone at all? Jun 10 21:29:59 yeah Jun 10 21:31:46 I have a stoopid question then Jun 10 21:31:56 what's the default username/password combo? Jun 10 21:37:48 right Jun 10 21:37:54 did you look at the readme? Jun 10 21:39:40 username and password are both root i believe Jun 10 21:40:01 i moved away from arch and put slackware on mine Jun 10 21:40:11 hmm Jun 10 21:40:12 ok thanks Jun 10 21:40:18 np Jun 10 21:53:01 Any good wifi capes for the 'bone? Jun 10 22:03:34 hello, all Jun 10 22:04:04 anyone know what the de-facto standard distro is for embedded systems like the beagleboard? Jun 10 22:15:04 lautriv: Yes, intending to use them as outputs Jun 10 22:19:27 enthdegree: busybox Jun 10 22:19:38 aholler, sounds like a fun time Jun 10 22:35:44 any recommendations on a stable wireless adapter for the Beaglebone? Jun 10 22:37:30 I'm looking for one that's connected by SPI myself, ether the TI1271/3 or the P54 Softmac. Jun 10 22:38:12 trelane: are you wanting a cheap one? Jun 10 22:38:48 i'm using a ralink 5370sta usb wifi micro dongle, got it form amazon shipped for a total of $6.10 Jun 10 22:38:55 jakeday, not looking for egregiously expensive, but I've had problems with the ralinks Jun 10 22:39:00 lol Jun 10 22:39:04 have two of 'em sitting here Jun 10 22:39:07 my ralink works great Jun 10 22:39:09 both explode Jun 10 22:39:10 those? Jun 10 22:39:55 i'm connected to my home wireless n network now doing an upgrade Jun 10 22:40:23 that said, i've heard nothing but good things from the netgear n150 Jun 10 22:40:36 yep, I'm running into a 2wire running CCMP Jun 10 22:40:39 i just went with cheap, cause if it didn't work it was only $6 Jun 10 22:40:54 interesting Jun 10 22:41:07 the rawlinks either jam up loading the module, or the atheros dies with a memory allocation problem (Wtih plenty of spare ram) Jun 10 22:41:42 i had to make some changes to the module source before i compiled it, but all is well Jun 10 22:41:53 Got a link to the card, jakeday? Jun 10 22:42:05 compiled it for my 3.1 kernel running on armedslack Jun 10 22:42:10 link on amazon? Jun 10 22:42:13 Yes. Jun 10 22:42:17 one sec Jun 10 22:42:41 http://www.amazon.com/gp/product/B004I8B8Z6 Jun 10 22:43:00 SANOXY brand, but using ralink chipset Jun 10 22:43:10 specifically the 5370sta as mentioned Jun 10 22:43:49 Okay, checking it out now. Jun 10 22:43:53 ok Jun 10 22:44:03 like i said, mine is working great Jun 10 22:44:59 i just downloaded all the required packages for slackware to get x11 running Jun 10 22:45:37 been ssh'd to it all day today as well Jun 10 22:46:02 What driver does it run? ath9k_htc or rt2800usb? Jun 10 22:47:55 You probably have to lsmod to find out. Jun 10 22:49:15 it's running their new rt537x driver (rt5370sta per config and lsmod), which i believe is derived from their older rt28xx module Jun 10 22:51:55 Must be new in the 3.x series. Jun 10 22:52:56 perhaps Jun 10 22:56:23 Ahhh okay, it's in staging now. Not a prob. Jun 10 22:57:16 ok Jun 10 22:59:56 I'm running Gentoo on my 'bone. So all I would need is the AA battery shield, two SD breakouts, and I shall have my own wifi hotspot! Jun 10 23:04:16 very nice Jun 10 23:04:38 i tried gentoo, ubuntu, angstrom, and arch.... i just had to have my beloved slackware! Jun 10 23:04:48 loving my beaglebon, though Jun 10 23:04:59 beaglebone* Jun 10 23:06:17 Yep, I started up on Slackware but when Pat went into the hospital and I needed a more tuned system I jumped to Slackware. Jun 10 23:06:32 From Slackware to Gentoo. Jun 10 23:06:44 Besides, i was compiling my own kernels by then. Jun 10 23:07:33 That reminds me, anyone check if 3.4.x supports the 'Bone? Jun 10 23:07:48 what kind of man doesn't build his own kernel? Jun 10 23:07:57 i have only tried up to 3.3.7 Jun 10 23:09:45 mru, what kind of man is using ubuntu and not even mentioning debian ? Jun 10 23:10:25 Grepping through a 3.4 source. Looks like it's in there. Jun 10 23:15:35 STrRedWolf, talking about vanilla kernel ? Jun 10 23:15:48 Yes. Jun 10 23:16:01 I run vanilla on my amd64 laptops. Jun 10 23:16:22 STrRedWolf, why should they remove it, when it was in former versions ? Jun 10 23:17:07 Well, I was looking at 3.2, and the vanilla didn't have it. 3.3 I think didn't have it eather. Jun 10 23:18:10 STrRedWolf, so your former version was not vanilla, that's another case. Jun 10 23:19:05 Yeah, it's currently running on a patched git-version 3.2 Jun 10 23:19:27 BTW: I figured out why the power rail on the right side of my breadboard wasn't working to power the Beaglebone... My son was playing around with the voltage switch and changed it to be 3.3V :) Jun 10 23:19:32 Don't know why I didn't think to check that earlier Jun 10 23:19:46 (probably because my children distracting me =) Jun 10 23:20:53 I've had it set to 5V for so long I completely forgot it was adjustable, hah Jun 10 23:21:16 Very satisfied with that purchase though. Highly recommended: http://www.adafruit.com/products/184 Jun 10 23:22:26 Ahhh yes, Adafruit is always good. I gotta look at that for another project. Jun 10 23:29:19 Oh! That's where I saw it. CircuitCo's BeagleBoardToys has the 4-AA battery cape. Jun 10 23:32:37 Catcha all later. Jun 10 23:38:18 Interesting: If I use cloud9 and run blinkled.js I can get the GPIO pins in question to work properly Jun 10 23:38:37 It seems that I only encounter problems using them when using the sysfs interface via the shell Jun 11 00:24:34 xxiao, hi Jun 11 00:28:06 xxiao, The patch you gave me Im trying to use it and get "can't find file to patch at input line 5" Jun 11 00:31:53 nm its because I deleted the drivers folder Jun 11 00:38:39 hey question Jun 11 00:39:06 is the Li-5m03 available anywhere precompiled as a module for the demo image that comes with an xM? Jun 11 00:39:15 LI-5M03 driver, that is Jun 11 01:10:27 Borillion: it's odd Jun 11 01:10:35 i applied it and built that kernel just fine Jun 11 01:10:43 in short it's verified by me Jun 11 01:20:10 Borillion: that patch was tested , not sure why it did not work for u Jun 11 01:28:44 OK, I've determined that driving the LEDs on my 8x8 matrix works great straight from the Beaglebone's GPIO pins... No need for transistors (its very low power). However, in order to make it work like a proper display I also need to enable/disable connecting the half the pins to ground. On the Arduino I could simply connect these cathodes to digital pins and set them to LOW. Can I do something like that on the Beaglebone or do I Jun 11 01:28:44 need to use some transistors? Jun 11 01:31:03 I don't want to fry my BB by setting "echo 1 > gpio38/value" having that pass through a 220ohm resistor and an LED connected to gpio39 which is set to "echo 0 > gpio39/value" Jun 11 01:46:03 riskable: read the manual Jun 11 01:46:13 riskable: omap pins are not meant to source that kind of current Jun 11 01:46:20 jacekowski: I am, but it isn't very clear on this point Jun 11 01:46:28 jacekowski: That's what I thought Jun 11 01:46:47 jacekowski: What would you recommend for controlling ground connect/disconnect on the Beaglebone? Some transistors? Jun 11 01:49:13 depends on your circuit Jun 11 01:49:25 i would think about using some 4000 series logic Jun 11 01:49:38 possibly a shift register Jun 11 01:49:58 I've got shift registers... That's actually what I was thinking about Jun 11 01:50:59 Got a 74HC595AN right in front of me and probable a dozen more in my storage bins :) **** ENDING LOGGING AT Mon Jun 11 02:59:58 2012