**** BEGIN LOGGING AT Sat Oct 27 03:00:02 2012 Oct 27 05:12:53 Hello Everybody, I'm trying to use beagleboard xM running Android Gingerbread with a bluetooth dongle connected to the USB port in order to communicate with a BT weighing scale. I have built the source with the necessary files for the BT stack. Now, I want to find some helpful tutorials on accessing the data coming in from the BT dongle and store the weight in a database. Oct 27 05:13:10 In short, can anybody lead me to a proper tutorial on accessing the USB port from Android for Beagleboard xM? Oct 27 05:40:55 Please help ^^^^^ Oct 27 05:49:15 Guest95947: android has a BT stack, just use that Oct 27 06:24:00 @dm8tbr Is there a way to access the USB port from inside the Android API (Gingerbread) in case I'm using a wired USB connection from the weighing scale to the Beagleboard-xM ? Could you direct me to any project which will serve as an example for me to learn and build upon? Oct 27 06:27:09 Guest95947: does the scale work on desktop linux? you can learn from how it works or can be accessed from there Oct 27 06:28:15 JFTR: I will NOT respond to privmsg. Oct 27 06:41:15 <_av500_> unless there is a paypal notification that goes with it Oct 27 06:47:26 @dm8tbr Sorry, I did not notice your previous message Oct 27 06:47:28 of course the moron thinks continuing to privmsg is acceptable Oct 27 06:47:53 * dm8tbr goes to clean his desk instead Oct 27 07:00:34 <_av500_> start from the left and sweep to the right Oct 27 07:04:00 yep, it's like the N9 Swipe ui. whoosh and it's a new empty surface. Oct 27 07:04:29 dm8tbr, just make sure you don't have any rubber band effect when you get to the end of the desk Oct 27 07:05:08 yup, don't want apple to sue me (aside from the hilarious video that it would make...) Oct 27 07:06:21 _av500_: #caurday! Oct 27 07:06:32 *caturday even Oct 27 07:32:44 guten Tag herr und fraus Oct 27 07:52:56 <_av500_> mranostay: gm mranostay Oct 27 09:42:25 <_av500_> guess everbody is showellin' snow today Oct 27 10:30:00 nope! it's a balmy 31 celsius here in perth Oct 27 11:23:03 no snow here, but it's getting a little chilly so I switched on another computer Oct 27 11:35:57 no snow, that is like Sunday or Monday Oct 27 11:36:18 with any luck, there won't be snow until january Oct 27 11:36:28 and with a bit more luck, there won't be any even then Oct 27 11:36:53 the benefits of living on the coast Oct 27 11:41:11 reminds me to check weather forecasts for CPH and BCN Oct 27 11:41:46 * mru predicts bcn will be the warmer of the two Oct 27 11:43:28 indeed. looks like it will be a nice weekend in BCN after LCE/UDS and before ELCE :) Oct 27 11:44:49 when do you travel between? Oct 27 11:47:16 they got me a nice flight for friday evening, so I'll be there ahead of you Oct 27 11:47:40 great, you can scout out the place before I arrive then Oct 27 11:47:44 :) Oct 27 11:47:46 locate some good trolling spots Oct 27 11:48:13 I don't even know which hotel I'll be staying. Our assistant didn't send me a confirmation yet. Oct 27 11:48:18 but hopefully close by Oct 27 11:48:56 I hate it when they delay confirming things Oct 27 12:26:42 Crofton|work: spent this morning looking for a new bike :-D Oct 27 12:36:56 cool Oct 27 12:37:02 they get expensive after a while Oct 27 12:48:59 Crofton|work: looking at 900 GBP Oct 27 12:49:13 Crofton|work: for decent trail bike for next couple of years Oct 27 12:49:58 Crofton|work: I am annoyingly sized between two common frame sizes Oct 27 12:50:27 <_av500_> bit bang it Oct 27 12:52:19 that is annoying Oct 27 12:54:04 XorA|gone: ask alice for a piece of that mushroom Oct 27 14:55:19 hi folks, following the "don't ask to ask" rule is tricky - i'd like to ask if people would be interested to know of an initiative to create a beagle-board-like AM3892 CPU Card Oct 27 14:56:06 what is the am3892? Oct 27 14:56:14 * Crofton|work loses track easily Oct 27 14:57:10 Crofton: am3892 - a 1.2ghz ARM Cortex A8 which has 2 32-bit DDR3 1600mhz interfaces, 2x PCIe, SATA-II, 10/100/1000 Ethernet Oct 27 14:57:21 it's a monster :) Oct 27 14:57:25 rofl Oct 27 14:57:32 talk with hrw Oct 27 14:57:36 he is not on right now Oct 27 14:57:48 and the CPU's about the same price as a DM3730 Oct 27 14:58:04 *curious* - who's hrw? Oct 27 14:58:28 Marcin, he has been asking about something like this for years Oct 27 14:58:35 oh right - ok! Oct 27 14:58:52 http://bit.ly/Y7cOmg was the discussion i noted initially Oct 27 14:59:50 if you happen to see him around (and i don't) would you mind mentioning this link to him? http://rhombus-tech.net/ti/am389x/ Oct 27 15:00:04 http://marcin.juszkiewicz.com.pl/2012/09/28/lets-take-a-look-at-arm-boards-again/ Oct 27 15:00:09 oo taaaa Oct 27 15:00:27 hmm, i recognise that name from somewher Oct 27 15:02:30 thanks Crofton. Oct 27 15:12:48 Crofton: ahh, i got it. i know where i've encountered marcin before - it's from openembedded (which i'm a huge fan of) Oct 27 15:16:51 haha crofton is from ioe too Oct 27 15:16:54 ups oe Oct 27 15:25:34 woglinde - i recognise that name. where have i seen _you_ around before, huh? egads this is like memory lane for me ha ha Oct 27 15:26:06 * lkcl was doing htc linux reverse-engineering around 2004-6 Oct 27 15:27:00 I am involved with oe too Oct 27 15:27:38 what is MLO binary file? Oct 27 15:30:34 koen, you awake? Oct 27 15:31:58 denid52 first stage bootloader Oct 27 15:34:29 >>woglinde, thanks, but what is MLO stand? Oct 27 15:39:58 no one knows Oct 27 15:41:12 medium-late overlay Oct 27 15:41:32 Meta-LOader Oct 27 15:46:04 mru>> thanks! Oct 27 15:46:16 o.O Oct 27 15:46:24 I wonder why the name matters Oct 27 15:46:33 mother-loving oaf Oct 27 15:47:50 hm arndale Oct 27 16:53:46 <_av500_> doing 1ghz a8 in 2012 is late Oct 27 16:53:52 <_av500_> lkcl: ^^^ Oct 27 16:54:29 <_av500_> 2013 rather Oct 27 16:54:38 doing ARMv6 is later ;) Oct 27 16:55:26 <_av500_> yes, its an r-pi killer Oct 27 16:56:10 <_av500_> ah, it has dual hdvpss Oct 27 16:59:16 * dm8tbr wonders what to build out of such a beast? Oct 27 16:59:46 a dual-wifi card router and NAS and multimedia-STB? Oct 27 17:01:01 <_av500_> not sure what hdvpss can do Oct 27 17:01:16 <_av500_> no idea if it even encode or decodes Oct 27 17:01:22 <_av500_> could be a vision thing only Oct 27 17:03:32 _av500_: yep. but if you know of anything better that's also FSF Hardware-Endorseable *please tell me*! Oct 27 17:05:21 _av500_: every ARM Cortex A9 SoC manufacturer i know, virtually every single one of them put together a SoC with a proprietary GPU. automatically that excludes the FSF from being able to consider it, with the exception of... Oct 27 17:05:43 ah yeah it's the limadriver guys, so anything with MALI 400 *might* in the near future be acceptable Oct 27 17:06:23 but, also, i am actively seeking other SoCs which are suitable for non-FSF as well. Oct 27 17:07:32 i do need help though! contacting these companies and getting access to their SoCs is... challenging. samsung has a general rule of not dealing with anyone below 10k units for example Oct 27 17:08:29 TI has a formal process, but the OMAP4 and OMAP5 are "restricted to mass-volume". although we qualify (because of our links to Great Wall), OMAP4 is bloody well BXPA "munitions" export restricted! Oct 27 17:09:23 i've asked about OMAP5 just last week: the enquiry has gone through and i've received acknowledgement that it's being passed "up the chain". TI are very very good about that kind of thing. Oct 27 17:10:10 i could go on and on about the endless enquiries i've been making, but you'd go mad :) Oct 27 17:46:04 hello Oct 27 17:46:11 is anybody here? Oct 27 17:46:16 no Oct 27 17:46:44 :( Oct 27 17:47:40 nope Oct 27 17:47:45 we're all dead, sorry Oct 27 17:48:36 can you help me? Oct 27 17:48:45 we don't know Oct 27 17:58:02 <_av500_> ask a question Oct 27 17:58:36 <_av500_> lkcl: the AM has an sgx, how is that endorsable Oct 27 17:58:44 <_av500_> an frankly, i dont give a damn about the FSF Oct 27 17:59:40 fsf endorses epoxy Oct 27 17:59:54 <_av500_> and cuttin the /WR pin Oct 27 18:13:34 hello everybody Oct 27 18:13:58 http://www.catb.org/esr/faqs/smart-questions.html Oct 27 18:14:34 i have a pthread problem with eclipse IDE Oct 27 18:15:05 isn't eclipse java? Oct 27 18:15:24 i want to write an app for beaglebone, i write it at Eclipse Oct 27 18:15:34 in what language? Oct 27 18:15:39 c Oct 27 18:15:50 what eclipse got to do with it then? Oct 27 18:16:09 I include arm-linux-gnueabihf/lib and include fordelr to the projet Oct 27 18:16:53 but eclipse not found the pthread_create pthread_join and all of pthread funcitons Oct 27 18:17:01 eclipse indigo Oct 27 18:18:18 _av500_: AM3892 doesn't. AM3894 does. likewise for the... what's-the-name... Oct 27 18:19:05 TMS320DM8167 and 5: no proprietary GPU, 8168 and 66, powervr SGX Oct 27 18:19:50 _av500_: my interest in the FSF is two-fold. a) free software freedom b) they're *very* desperate clients :) Oct 27 18:20:29 there quite literally are *zero* ARM-based products for the FSF to be able to answer the daily questions "i wanna tablet, please recommend one 4 me" Oct 27 18:20:56 so there's money in them hills (arrr) :) Oct 27 18:22:17 Totti: don't use eclipse. write a Makefile and use make. then you can add -lpthread to the build command in the Makefile, and you're done. Oct 27 18:22:59 you're producing applications that are only 10s or 100s of kbytes long, wtf are you using a 140 *GIGABYTE* development environment for?? :) Oct 27 18:23:16 and of course adding -lpthread is the wrong way to do it Oct 27 18:23:31 mru: probably - thank you for pointing that out :) Oct 27 18:23:59 you should compile _and_ link with -pthread Oct 27 18:24:07 Crofton|work: awake Oct 27 18:24:08 i see loads of Makefiles, i don't necessarily memorise the details Oct 27 18:26:16 i like eclipse for developping, but i think i write the app at eclipse, and then compile it at beaglebone Oct 27 18:31:43 lkcl: nobody has ever made money on "free" hardware Oct 27 18:39:09 mru: i have no intention of selling "free" hardware. it's a long story. this is a bootstrap process Oct 27 18:40:14 mru: the target is 100 million units and above. the problem with working at that level is that asking the clients even for $50k development costs is .... they just look at you funny :) Oct 27 18:40:49 well, nobody can say you lack ambition Oct 27 18:40:50 so by using the modular approach, and by helping out the FSF and a couple of others, i can get the FSF to crowd-fund half the development costs Oct 27 18:41:09 mru: mmmm... true :) Oct 27 18:41:13 but look at other fsf-endorsed hw projects Oct 27 18:41:25 none of them ever went anywhere Oct 27 18:41:26 i just got absolutely f****g sick of the GPL violations Oct 27 18:41:38 there we can agree Oct 27 18:41:39 yeah. because they're an all-or-nothing monolithic hardware design Oct 27 18:41:56 look at insanity like broken^Wopenmoko Oct 27 18:41:58 whereas here, i can get a beagle-board-like EOMA68 CPU Card done Oct 27 18:42:11 it's so "free" it doesn't exist Oct 27 18:42:18 and an allwinner a10 one, and an exynos 5 one (i wish!) etc. etc. Oct 27 18:42:26 actually, I've seen an openmoko phone Oct 27 18:42:28 and they all plug into the *exact* same chassis Oct 27 18:42:30 it was absolutely useless Oct 27 18:42:44 yeah, so have i. dr schaeller of goldelico has done the GTA04 board Oct 27 18:42:49 it uses the DM3730 Oct 27 18:43:05 and has a 3G HSDPA chipset from Option. Oct 27 18:43:07 veeery nice Oct 27 18:43:27 http://projects.goldelico.com/p/gta04-main/ Oct 27 18:43:40 but it's useless Oct 27 18:44:09 it's bulky, ugly, and the software doesn't work Oct 27 18:44:22 i... don't want to comment on that. dr schaeller believes in it. and has actually succeeded. Oct 27 18:44:35 he can believe whatever he wants Oct 27 18:44:40 well, luckily, you can install android etc. etc. Oct 27 18:44:42 whatever you want Oct 27 18:44:46 waving around a dr title doesn't impress me Oct 27 18:44:59 he he Oct 27 18:45:12 and that product doesn't fit any definition of success I've ever seen Oct 27 18:45:32 the GTA01 and GTA02 didn't, that's for sure. too late, too many mistakes. Oct 27 18:46:00 i will say this: it's a pity that the GTA04 wasn't created 2, 3 or 4 years ago. but, the DM3730 wasn't out then Oct 27 18:46:14 dm3730 is old already Oct 27 18:46:30 and it was out 3 years ago Oct 27 18:46:32 *anything* from T.I. that's available in 1k quantities is "old" :) Oct 27 18:47:02 it's the OMAP4 and the OMAP5 i really want access to, but you have to be "approved" by T.I. to get them Oct 27 18:47:52 it's really frustrating, buuut, you know that "ambition" you mentioned? *sigh* i just have to be veeery patient. i'm in this for the next 10 years. Oct 27 18:48:02 so... Oct 27 18:48:16 hi guys Oct 27 18:49:27 hi unsolo Oct 27 18:51:58 * unsolo is setting up for messing with his own boot thing on a BB XM Oct 27 18:53:14 i wonder how much better openocd 0.6.x is compared to the 0.4.x which i used the last time Oct 27 19:15:17 <_av500_> lkcl: nothing is for the next 10 years Oct 27 19:15:37 <_av500_> prepare to switch silicon every year Oct 27 19:16:38 <_av500_> and how is a non tablet TI chip with an SGX going to answer the FSF free tablet question? Oct 27 19:16:48 <_av500_> that stellaris is not a low power cpu most likely Oct 27 19:18:33 <_av500_> and if you pick the part without SGX, what good is it at all in a tablet? Oct 27 19:18:48 <_av500_> you wanna run OPIE? Oct 27 19:23:03 _av500_: every year? no, i anticipate that once we get going, there will be a new EOMA-68 CPU Card every 3-4 *months*. Oct 27 19:23:54 _av500_: but because of EOMA-68, the chassis designs can pretty much stay as-is (except stylistically) pretty much... forever. Oct 27 19:24:24 _av500_: sorry, you may have missed what i said already. the AM3892 doesn't have SGX. the AM3894 does however. Oct 27 19:25:26 _av500_: again, because of the "split" between the "bit with the CPU" and "everything else", the *exact* same tablet chassis can be mass-produced at very good margins, and the only bit that's really expensive would be the AM3892 CPU Card Oct 27 19:26:06 everyone else would use the-latest-and-greatest-mass-volume-non-FSF-endorseable-EOMA68-CPU-Card-with-a-Cortex-A9-or-A15-or-whatever Oct 27 19:27:13 and those cards would be constantly upgraded, every 3-4 months, from a wide range of SoC vendors, we don't actually care whom: they all get a chance to sell mass-volume quantities of their SoC in module form Oct 27 19:28:03 av500 opie runs fine on the simpad Oct 27 19:28:48 _av500_: it's a hell of a long story. last time a journalist asked me about it the response i gave him was 7,000 words Oct 27 19:33:49 seems to me that openocd + gdb are better friends than last time at least Oct 27 19:34:01 bbl to play more.. Oct 27 19:37:03 <_av500_> woglinde: of course it does Oct 27 19:38:29 <_av500_> lkcl: so who is going to actually *buy* your crippled, outdated FSF compatible CPU card? Oct 27 19:39:02 <_av500_> if you are planning on a new card ever 4 month, why would you depend on the few sales to FSFreetards? Oct 27 19:39:48 <_av500_> you speak of 10 million units, whats the 1k to the FSF gonna help? Oct 27 19:42:37 _av500_: that's what i aim to find out, by using "minimum committment" crowd-source funding. not enough committments? money's returned, oh dearie me, must try harder Oct 27 19:43:39 _av500_: bootstrapping. dealing with 100 million units, the people who deal at that level won't give you even $10k to make a prototype. so we have to find another way to get the prototypes funded Oct 27 19:44:11 <_av500_> i thought you had the chinese behind you Oct 27 19:44:13 once we have the prototypes, they can be submitted to the large mass-volume companies we're working with, and they'll churn out the designs by the bucket-load Oct 27 19:44:31 av500: yes. it's a long story. Oct 27 19:44:34 <_av500_> i know Oct 27 19:44:39 that sounds insanely optimistic Oct 27 19:44:40 *sigh* :) Oct 27 19:44:43 <_av500_> i read arm-netbooks Oct 27 19:44:49 <_av500_> dont repeat it all here Oct 27 19:44:57 unsolo: no, just.... persistent :) Oct 27 19:45:07 av500: *lol* Oct 27 19:45:55 morning Oct 27 19:46:00 er afternoon Oct 27 19:46:02 unsolo: i'm going to keep on at this until it succeeds. and that really is the end of the matter. there *is* no room for "can't do it". Oct 27 19:46:11 mranostay: m^Hafternoon Oct 27 19:47:40 sounds so... yoda. Oct 27 19:48:22 emeb: *cackle*. Oct 27 19:48:49 can't be helped. *rueful*. Oct 27 19:49:18 there is always room for failure :) Oct 27 19:51:12 there's always room for dessert. Oct 27 19:52:30 mranostay: and you learn from it and try again. repeat until success. it's like developing and testing code, only... odder Oct 27 19:52:39 so failure is the same volume as dessert. Hmmm... Oct 27 19:52:42 more... "yoda" as emeb says ha ha Oct 27 19:55:15 btw, emeb: if ever i turn out to be a pompous ass *and* successful, you have my full permission to bludgeon me to death with a full-scale lifesize replica of "yoda", ok? Oct 27 19:56:47 heh - not my style. Oct 27 19:56:53 I'd just point & laugh. Oct 27 19:57:22 <_av500_> i'll do the bludgeoning Oct 27 20:06:39 av500: deal :) Oct 27 20:08:10 <_av500_> can I half bludgeon you for the pompous bit? Oct 27 20:08:18 <_av500_> just asking Oct 27 20:08:20 <_av500_> :) Oct 27 20:10:59 why can i do? Oct 27 20:11:08 pay off the witnesses? :) Oct 27 20:11:38 half the witnesses - for the pompous bit. Oct 27 21:37:57 im new to beagle board Oct 27 21:38:09 and need support for portin android Oct 27 21:39:40 I have a beaglebone with a weathercape in a remote location. I need to put a momentary switch on a pair of pins such that when the switch is closed, it will send an http request to reset the router at that remote location. Which pins could I use? Oct 27 21:39:49 android has already been ported Oct 27 21:39:56 http://beagleboardtoys.com/wiki/index.php?title=BeagleBone_Weather shows which pins are used by the cape. are all the others ok to use? Oct 27 21:55:43 jmbrowning: P9 pin 10 to ground will do it...see https://github.com/bradfa/beaglebone_pinmux_tables/blob/master/beaglebone_pins_p9 and the SRM Oct 27 21:59:46 mdp: thanks! Oct 27 22:01:06 great now just gotta figure out a debounce circuit for an SPST switch! Oct 27 22:06:26 the interwebs know all Oct 27 22:07:06 sounds like a fun project...good luck! Oct 27 22:11:00 when I was a kid we used a cap and a resistor Oct 27 22:11:32 I think we established earlier that this was when we were living in caves Oct 27 22:22:15 debouncing an spst switch http://www.youtube.com/watch?v=tmjuLtiAsc0 Oct 27 22:30:12 when I was a kid we'd _read_ about those things in _books_ Oct 27 22:36:29 i heard about them things...:-) ...maybe I will just do it in s/w so the pin has to be held high for ten milliseconds before sending the command. then no caps/resistors Oct 27 22:36:48 thanks all! Oct 28 01:13:59 _av500_: yo Oct 28 01:14:29 does LH get really really picky about bag weight? Oct 28 01:14:38 like 1 kilo overage Oct 28 01:22:01 arrrrrrrrgh.... Oct 28 01:22:09 stupid stupid stuipd Oct 28 01:22:24 #defines out of whack..... wasted an hour Oct 28 01:26:57 mranostay: pack some helium balloons Oct 28 01:29:18 and why did you let them weigh the bags anyway? Oct 28 01:59:56 mdp ? Oct 28 02:05:27 mdp has to be in beer time atm :P Oct 28 02:24:34 mru: they weight bags here Oct 28 02:27:36 even carry-on? Oct 28 02:29:33 depends on the airline Oct 28 02:29:54 I always use online checkin so they never really get a chance Oct 28 02:30:04 and I don't check bags **** ENDING LOGGING AT Sun Oct 28 03:00:02 2012