**** BEGIN LOGGING AT Mon Jan 20 02:59:59 2014 Jan 20 03:54:56 Depends on what you want to do with them. If you want to do Ethernet over them, an Ethernet switch or an USB Ethernet interface. Jan 20 03:57:10 I'm looking over some code interfacing with an I2C DAC. When the voltage signal is sent it's broken up into two bytes via: bytes = [(voltage >> 4) & 0xFF, (voltage << 4) & 0xFF]. I can't really find anything in the datasheet for the dac that indicates needing to do this. Jan 20 03:57:40 Any thoughts on why this is done? Jan 20 04:15:13 perhaps the register writing is only 8 bits, prehaps they're not even stored in the same order... Jan 20 04:17:06 hmm it is a 12 bit dac though Jan 20 04:19:11 this is the only thing I can find the hints as to why it's being broken up: https://www.sparkfun.com/datasheets/BreakoutBoards/MCP4725.pdf figure 7-2 Jan 20 04:25:49 i2c generally only writes a byte of data at a time Jan 20 04:28:54 so with the left shift and right shift commands, is it sending the most significant bit first, and least significant bit last, or something? Jan 20 04:33:38 Alright, I think I just need to sit down and work out exactly what is happening with the bitwise operators in that line. Thank you for the help thurgood! Jan 20 05:32:40 Hey guys, so I have a question regarding the official API to control the BBB. What is the language the official API written in? Does an official C lib exist? Or is it written in ASM> Jan 20 06:29:10 there is no "official" API Jan 20 06:35:18 hello Jan 20 06:45:30 yo Jan 20 06:48:46 anyone know because here is no beaglebone avaiable across the europe? Jan 20 06:48:55 BBB* Jan 20 06:49:14 it doesn't seem to be available anywhere in the world Jan 20 06:51:08 uhm.. i've sell my raspi yesterday... Jan 20 06:51:23 ok, let'so go buying...... Jan 20 06:51:33 uhm.. ehm. ... dho XD Jan 20 06:52:21 so, i will wait Jan 20 06:53:49 it seems they are starting to show up in the US again Jan 20 06:54:20 :/ Jan 20 06:54:42 mouser.jp says jan 21 Jan 20 06:54:49 so you probably don’t have to wait much longer Jan 20 06:55:00 the good news is that it's not the first time it happen ... so it mean the community is "exploding"! Jan 20 06:55:17 yeah Jan 20 06:55:53 happened a a bad time for me, I fried one, tried to use a raspberry pi to replace it (didn’t work because it has an i2c hardware issue), and had to buy a BBB for almost $100 Jan 20 06:56:05 people started realizing that an armv6 with not enough ram and a closed boot loader sucks Jan 20 06:57:06 yeah Jan 20 06:57:23 the i2c bus doesn’t support clock stretching Jan 20 06:57:32 means it won’t work well with an arduino or other slow device Jan 20 06:58:18 which is like most of the purpose i was using my BBB for Jan 20 06:58:40 You cal always configure the i2c clock to 100khz instead of 400.. Jan 20 06:58:49 *can Jan 20 06:59:04 didn’t work for me until i got all the way to 200Hz Jan 20 06:59:26 isn't that all bitbanged from the linux kernel anyway on that thing? Jan 20 07:13:27 aurelien it's true Jan 20 07:13:35 the community is expanding Jan 20 07:16:18 because of huge limitations of rasberry pi Jan 20 07:17:13 only one pwm? :-/ they need to set-up an external header for the second one, used for analog audio Jan 20 07:17:32 only one pwm on BBB you mean? Jan 20 07:17:46 no, on raspberry pi Jan 20 07:17:56 tbr: no i don’t think it’s bitbanged. it’s in the SOC documentation Jan 20 07:18:10 and is one of the reason because people prefer BBB Jan 20 07:18:12 and buried in there somewhere there is “oh sorry clock stretching doesn’t work and nobody is going to fix it" Jan 20 07:18:23 how many does the BBB have? Jan 20 07:18:29 I will need 3 soon Jan 20 07:18:50 more than 3 XD Jan 20 07:19:00 I think in my case, as soon as any collisions happen, if there is no clock stretch it all goes downhill Jan 20 07:19:01 yay Jan 20 07:20:01 66 GPIO :D Jan 20 07:20:32 my only wish is that ethernet and usb were brought out onto the headers but that is minor Jan 20 07:20:46 and i doubt many people need or want that Jan 20 07:29:42 have the BBB the canbus interface? Jan 20 07:29:43 O_o wow Jan 20 07:34:37 elenciu: yes Jan 20 07:35:14 but you still need a tranceiver Jan 20 07:40:14 ohhh :( Jan 20 07:55:43 elenciu: easiest way is probably with the CANBus Cape Jan 20 08:32:43 morning, I am trying to emit sound using a buzzer. I am trying to use the pwm Jan 20 08:32:51 sound is very low. Jan 20 08:33:58 did anyone try hooking up a buzzer? Jan 20 08:37:07 by the way I also try to use a 1.4 A/5V power supply and still see wifi disconnects Jan 20 08:37:19 but the buzzer is my main issue now Jan 20 08:38:16 how did you connect it? Jan 20 08:38:25 you need to add some driver inbetween Jan 20 09:14:54 gm av500 Jan 20 09:15:28 thanks av500, like a FET hooked to the 5V? Jan 20 09:16:47 as for the power supply: would a 1.4A/5V power supply sufficient for the BBB and a wifi usb? Jan 20 09:17:03 or need I supply more then 1.5A? Jan 20 09:40:04 hoi woglinde Jan 20 09:44:03 1.5A should be OK Jan 20 09:50:06 Hello Jan 20 09:50:40 I got problem. I coonect my BBB with usb to my PC. But power led still off. Jan 20 09:50:55 Could you please help? Jan 20 09:57:06 bad cable?= Jan 20 09:58:34 or a broken OS installation Jan 20 10:12:07 hi koth Jan 20 10:12:22 tbr or broken bbb Jan 20 10:21:42 av500: thanks. in regard to the buzzer. I am using a piezo electic buzzer. did you ever use these to emit sound? Jan 20 10:22:08 will a single FET transistor suffice? Jan 20 10:24:41 cityLights: you will need some form of power too Jan 20 10:24:58 cityLights: most people i know use electrical power for piezo buzzers Jan 20 10:30:41 Hi! I want to buy a beagleboard black to a project, but first i need to know...Can the beagleboard black play videos in html5?? Jan 20 10:31:25 the BBB is not a multimedia board. you can only do software decoding. Jan 20 10:31:25 hm I am freezing today Jan 20 10:31:43 That said, it should 'just work' if you have a proper browser Jan 20 10:31:51 it will load the CPU ofc Jan 20 10:33:08 If i install ubuntu and chromium it should run html5 videos or mpeg4, right?? Jan 20 10:33:37 it might, if the CPU manages to keep up Jan 20 10:33:47 certainly not 1080p or such Jan 20 10:34:25 720p?? Jan 20 10:35:15 just try it out Jan 20 10:35:42 Jp121: no Jan 20 10:36:09 standalone with selected content, maybe. inside a browser with all the memcpy, no Jan 20 10:36:20 agai, the BBB is not for HD video Jan 20 10:38:01 and ubuntu+chrome? :p Jan 20 10:38:27 4k Jan 20 10:41:24 could someone that have a BBB with ubuntu that can test this site for me??? http://www.videojs.com/ Jan 20 10:44:53 thanks KotH Jan 20 10:45:28 cityLights: read the datasheet of the buzzer Jan 20 10:45:32 cityLights: it will tell you what it needs Jan 20 10:45:42 cityLights: Jan 20 10:45:50 I was still hoping to get a low volume sound Jan 20 10:45:51 cityLights: most also contain an example circuit Jan 20 10:47:11 I have a 240V wires connecting to the a cape I made. the high power hooks up near the usb. the usb has a wifi adaptor Jan 20 10:47:25 can this be causing wifi disconnects? Jan 20 10:47:44 could someone that have a BBB with ubuntu that can test this site for me??? http://www.videojs.com/ Jan 20 10:47:57 the 240Vac is connected to a power supply which is on the cape Jan 20 10:51:25 cityLights: depends on what kind of power supply, what power you draw, whether it's spky or not, on the capacitors on the board, on the quality of the usb stick and on the wheather in borneo Jan 20 10:52:14 i am using the small edimax wifi adaptor, its very popular Jan 20 10:52:52 the power supply is 240Vac ->5v/1.4A switch power supply Jan 20 10:53:46 could someone that have a BBB with ubuntu that can test this site for me??? http://www.videojs.com/ Jan 20 11:00:54 could someone that have a BBB with ubuntu that can test this site for me??? http://www.videojs.com/ Jan 20 11:01:04 tickets to brussels are costly now.......should have booked in dec. gonna miss fosdem :( Jan 20 11:01:15 Jp121: although i dont have a BBB it seems to work on my debian Jan 20 11:01:17 Jp121: HTH Jan 20 11:01:34 hitlin37: book early, fly cheap :) Jan 20 11:01:56 hitlin37: and hotels are mostly booked too Jan 20 11:02:15 my stupid, it was 30 euro to n fro in dec. Jan 20 11:02:32 from where? Jan 20 11:02:35 aachen? Jan 20 11:02:40 sthlm Jan 20 11:02:47 oh.. that's cheap Jan 20 11:03:39 book early, book often Jan 20 11:04:19 av500: you read too much ESR Jan 20 11:14:39 hm this week I will know where I will stay in brussel Jan 20 12:16:29 woglinde: So after asking here a few times, "where to meet beaglebone users" Jan 20 12:16:54 I decided to where a BBB as a necklace Jan 20 12:17:05 so ppl will see me wearing the BBB Jan 20 12:17:16 I hope this will solve the problem Jan 20 12:17:55 I also hope my SO wont get board at Brussels Jan 20 12:20:34 hm, wouldn't be judo costume better? Jan 20 12:22:25 well, I assume some geeks will attend - so I wont look that odd Jan 20 12:23:00 also, I seem to run in to some electronic issues with the BBB, as wifi strength and soon the ADC Jan 20 12:23:13 I plan to hook up a current sensor soon Jan 20 12:23:32 and other users - may have hints Jan 20 12:31:40 cityLights: there is enough to see in brussels to fill two days Jan 20 12:32:07 Are you a resident to Brussels? Jan 20 12:32:29 cityLights: no, i couldnt live there Jan 20 12:32:33 cityLights: not enough good chocolate Jan 20 12:32:50 Are you French? Jan 20 12:32:51 cityLights: but make sure that your SO doesn't end up in places like http://hardwarebug.org/files/img_3085.jpg Jan 20 12:33:09 dü ai söund fräntsch? Jan 20 12:33:22 "not enough good chocolate" Jan 20 12:33:44 learn: french care about wine, not about chocolate Jan 20 12:33:45 KotH, now you do ! Jan 20 12:34:19 ogra_: ok, the i start careing about wine instead of chocolate :) Jan 20 12:34:39 no, the typical fränsch accents indeed :P Jan 20 12:35:14 é and è are french accents, not ö and ä Jan 20 12:35:39 fft ... Jan 20 12:35:40 :) Jan 20 12:35:48 know thy langauge! ;) Jan 20 12:36:00 for americans it is all the same ... Jan 20 12:36:52 yes, we have to be carefull not to be confused with arabs Jan 20 12:37:24 :) Jan 20 12:43:27 just wish using gEDA was easier Jan 20 12:43:47 I hate that I had to use mil inch in the foot print Jan 20 12:44:08 I mean , everywhere I saw that mm is supported... Jan 20 13:00:07 cityLights: the OE booth is a good place to start at FOSDEM Jan 20 13:01:06 Hi, if I don't have a file /etc/network/interface, do I have to upgrade my Angstrom (so it's only available in the later release) or can I create it? Jan 20 13:01:46 av500: how can I tell its you in the booth? Jan 20 13:01:54 its not Jan 20 13:01:55 :) Jan 20 13:02:20 will the booth have a solder iron? Jan 20 13:02:38 woglinde: florian: ^^^ Jan 20 13:02:40 or, does "hacking" mean code-only Jan 20 13:03:35 av500: I din't think so... we do not have one in the box at least. Jan 20 13:03:54 "hackers" these days.... Jan 20 13:07:24 a freind at work suggested I use the pc speker module with the buzzer I hooking to the BBB Jan 20 13:07:36 did anyone here tried it? Jan 20 13:16:24 florian hm you did not sign up on the oe fosdem page Jan 20 13:16:33 at least the time I added me up Jan 20 13:17:06 woglinde: yes Jan 20 13:24:10 hello, anyone here? Jan 20 13:26:29 no Jan 20 13:26:29 14:26:17 [freenode] -!- There is no such nick anyone Jan 20 13:26:35 sorry, pal. Jan 20 13:29:00 oh you :) Jan 20 13:30:19 I just wanted to ask rather simple question: I want to create a tiny beaglebone server so i could control GPIO from a web interface and I dont know what language to start with. My main language being c# Jan 20 13:31:19 It seems that python is often recommended, but node.js also seems to be attractive Jan 20 13:35:28 basically, use whatever you feel comfortable with. Jan 20 13:35:41 after all its just some file I/O you want to do. Jan 20 13:35:57 cgi ftw! Jan 20 13:36:37 av500: yes, Computer Generated Images ftw... since jurassic park, that is. Jan 20 13:37:21 i know i can use whatever, I just want to choose the most useful and easy to learn language which could also benefit me in future for this job :) Jan 20 13:37:51 and also well supported on the beaglebone Jan 20 13:37:53 java it is then Jan 20 13:37:55 gah this connectors Jan 20 13:38:15 like impossible to remove, only a matter of time before you break a connection of wire when using them Jan 20 13:38:30 just clip the pins you dont need Jan 20 13:38:50 not for the headers, already did that ;) Jan 20 13:39:42 java didnt seem popular? Do you think i can get just as much examples as with python or node.js? Jan 20 13:39:57 for all my 2mm pitch connectrs, there was only one i could find locally that’s reliably in stock so i thought it was a good idea to use it Jan 20 13:40:01 bad idea Jan 20 13:40:55 2mm? Jan 20 13:40:59 you a pro? Jan 20 13:42:42 haha no just limited in space Jan 20 13:47:48 java didnt seem popular on beaglebone? Do you think i can get just as much examples as with python or node.js? Jan 20 13:49:28 lots of examples for python Jan 20 13:51:24 and what about java or node.js? Jan 20 13:51:47 sorry, no experience there Jan 20 13:57:13 what would happen if I connected the barrel 5v pin to the USB +5v Jan 20 13:57:20 could anything break? Jan 20 13:57:38 * heeen wonders if that would help with power drops from my wifi card Jan 20 13:59:29 why not connect the barrel to the barrel Jan 20 13:59:34 they end up in the same PMIC Jan 20 15:19:40 av500: I meant the usb host port Jan 20 15:19:56 as in bypass the usb host controller supply Jan 20 15:20:04 ah Jan 20 15:20:05 which is limited to 500mA Jan 20 15:51:01 is there a different chat dedicated for debian on a beagle board? Jan 20 16:03:16 no Jan 20 16:40:14 I wanted to update the software of my BBB. I downloaded the iso from 2013-09-04, wrote it to an sdcard (under linux using xzcat | dd of=/dev/sdd, then inserted that microSD in the BBB, powered down, pressed the button next to the SD card and powered up. But now, only one led (the second user led, counting from the network port) shines, but according to the manual (http://beagleboard.org/Getting%20Started) Jan 20 16:40:15 they all should shine... Jan 20 16:40:25 does anyone know, what that means? Jan 20 17:14:49 Has anyone found any UK stoke today? Jan 20 17:14:57 *stock Jan 20 17:21:54 Has anyone seen any UK or European stock today? Jan 20 17:23:03 smssms: what make you think that anyone even looked? Jan 20 17:23:26 I have a I2C 12 bit dac I'm trying to controll with the BBB. I'm looking at some code from the raspberry pi on how to interface with it, and they have this command: bytes = [(voltage >> 4) & 0xFF, (voltage << 4) & 0xFF]. Which, I guess, is to break up the 12 bits into two bytes, in order to send it over I2C Jan 20 17:24:37 It seem's like theres extra information on the 2nd byte though, or does the DAC know to ignore the last 4 bites of that data? Jan 20 17:24:58 LetoThe2nd: I look on acouple of sites daily, was just hoping other people are also searching too - there might be stock one day.. Jan 20 17:27:44 Anyone want to sell a BBB? Jan 20 17:28:00 I'll pay £100,000,000 or less! Jan 20 17:29:11 apparently you can buy one for a capitalist profit margin: https://plus.google.com/102344295024422039483/posts/9Gb6mPqAm3n Jan 20 17:30:48 smssms: http://www.amazon.com/Beagleboard-BeagleBone-Black-Beaglebone-A6/dp/B00CHYOLHK/ref=sr_1_1?ie=UTF8&qid=1390238907&sr=8-1&keywords=beaglebone Jan 20 17:30:49 Blimey, with that + shipping from the US that would nearly use up my £100,000,000 Jan 20 17:31:14 that might be an old model though? Jan 20 17:31:45 the differences are neglegible Jan 20 18:43:58 yesss Jan 20 18:44:14 took all day but i got flashing to atmega8 over i2c working Jan 20 18:52:17 johnwalkr: very nice. Jan 20 18:52:44 going to be very useful indeed. Jan 20 18:53:03 i’ve taken the this robot apart about 500 times Jan 20 18:53:05 no more Jan 20 18:53:16 hrhr I know the problem Jan 20 19:02:05 oof, one prob Jan 20 19:02:09 johnwalkr, you should build a robot to do that Jan 20 19:02:14 bootlader is 5k, program is 4k Jan 20 19:02:19 total mem is only 8 Jan 20 19:02:24 should be solvable Jan 20 19:04:12 johnwalkr: which number did you count? Jan 20 19:04:21 just the hex files Jan 20 19:04:29 i don’t actually know if i can just add them like that? Jan 20 19:04:41 it seems to not copy the whole firmware over though Jan 20 19:04:49 johnwalkr: aah because 5k would be a bit toooo big Jan 20 19:04:53 the bootloader works perfectly otherwise Jan 20 19:06:03 johnwalkr: no, that .hex file is a different layout, with multiple lines, one address per line and 2 Bytes (ascii hex) per byte Jan 20 19:06:13 oh ok Jan 20 19:06:17 i knew that Jan 20 19:06:31 means it should be well under i reckon Jan 20 19:07:04 guessing 2k for the bootloader then Jan 20 19:07:51 johnwalkr: my i2c bootloader is about 1k and still too huge btw Jan 20 19:08:09 is yours for atmega8? Jan 20 19:08:33 among others Jan 20 19:08:43 i got this one from the gumstix project Jan 20 19:09:10 firmware was pretty easy to get compiled, though they don’t support it for atmega8 Jan 20 19:09:20 was pretty hard to get the firmware loader to compile on BBB though Jan 20 19:09:25 what is your solution? Jan 20 19:09:41 custom protocol Jan 20 19:09:51 and its a bad one :P Jan 20 19:09:58 is it open? Jan 20 19:10:17 not that i’m going to just use it and ask a million questions, this solution seems so close Jan 20 19:10:18 for me yes, but no quality to put it on github etc Jan 20 19:12:22 i will put this one on github if i get it working Jan 20 19:13:56 i should’ve forked it in the first place instead of just going at it Jan 20 19:14:15 but we use svn here and it’s a pain to use local svn plus github Jan 20 19:14:28 there is git-svn ;) Jan 20 19:15:28 i’m going to pretend i didn’t see that Jan 20 19:15:28 hmm maybe I could rewrite my bootloader with json, if this avr json parser is really small Jan 20 19:15:51 not all my code is open either Jan 20 19:23:06 woop Jan 20 19:23:09 it was working Jan 20 19:23:19 i had a delay in writing on the BBB side ot make it work Jan 20 19:23:26 needed a delay on the read side too Jan 20 19:23:30 jsut was missing verify Jan 20 19:36:39 Humpelstilzchen: quick question. Can I compile anything from the arduino IDE using avr-gcc? Jan 20 19:37:32 johnwalkr: sorry never used Arduino Jan 20 19:37:45 ok Jan 20 19:59:43 Humpelstilzchen: back together and confirmed working :) Jan 20 19:59:46 thanks for your help Jan 20 20:13:13 has anyone here used the bbb to make any type of 3 axis cnc?? Jan 20 20:17:19 reat .. I've seen a few applications like that online Jan 20 20:18:57 I'm planning on making a pcb mill for custom projects and i already have a really nice reflow oven and i was looking at using the bbb to controll the cnc mill. but i didnt know how well it would work. Jan 20 20:19:17 google beagle linuxcnc Jan 20 20:19:20 i did find a shield for it but i dont know if i like it Jan 20 20:19:30 there's a couple of options out there Jan 20 20:20:52 http://probotix.com/index.php?view=product&path=16&product_id=204 Jan 20 20:21:12 thats the cape im looking at. is there a better one? or cheaper one thats just as good? Jan 20 20:26:03 reat .. have you seen http://bb-lcnc.blogspot.co.uk/ ? Jan 20 20:26:22 the Hardware capes section particularly? Jan 20 20:28:26 i was actually just there. Looks like getting stepper drivers is cheaper then a cape. Jan 20 20:28:29 sadly Jan 20 20:29:27 probably .. where u based? Jan 20 20:29:32 US Jan 20 20:29:36 ah my bad .. illinois Jan 20 20:29:49 yep Jan 20 20:29:57 at least where my connection pops out Jan 20 20:30:03 for pcb milling .. you're probably fine with steppers Jan 20 20:30:28 if you can find hybrids and/or a small gearbox you'll get better precision Jan 20 20:30:47 well im going to gear the steppers down a lot Jan 20 20:30:55 yup Jan 20 20:31:11 so one step would probably end up being 1/16 or something Jan 20 20:31:20 1/64 Jan 20 20:31:34 its been done with arduinos and similar Jan 20 20:32:00 so that might be an equally useful resource Jan 20 20:32:02 yea. Well im also using it to controll my reflow right now Jan 20 20:32:17 how well does that work? Jan 20 20:32:24 perfect every time so far Jan 20 20:32:36 yeah we got a cheap toaster oven .. $60 .. works a treat Jan 20 20:32:43 tweaked the timings slightly Jan 20 20:33:08 would be better to automate it fully really Jan 20 20:33:09 I did something simmilar but i made my own encloser and used 8 coils from toster ovens Jan 20 20:33:28 like the pizza oven principle? Jan 20 20:33:35 ? Jan 20 20:33:39 with a conveyor Jan 20 20:33:55 oh no. its just an octagon so i can control the heat better Jan 20 20:34:03 ah Jan 20 20:34:11 64 thermocouples Jan 20 20:34:14 this thing only got the two elements .. works fine Jan 20 20:34:45 i originally did that but i wanted more precision. i also do boards 48*36 i think Jan 20 20:35:02 http://www.newburyelectronics.co.uk/blog/pcb-assembly/low-cost-smd-lead-free-solder-paste-reflow/ Jan 20 20:35:17 fine for letter size Jan 20 20:35:26 yea Jan 20 20:35:28 anything bigger than that we outsource Jan 20 20:35:34 but typically thats plenty big enough Jan 20 20:35:40 see i found it cheaper to do it myself Jan 20 20:36:05 for 1-offs .. often is .. but if you're doing quantity .. have a business behind you :) Jan 20 20:36:06 and being able to do just about the biggest size board i can buy without going rediculus Jan 20 20:36:23 we can't readily get board much bigger than letter Jan 20 20:36:29 so its not worth it Jan 20 20:36:33 not really. producing 7000 boards it was cheaper to d myself Jan 20 20:36:39 no way .. Jan 20 20:36:50 you went to the wrong companies :p Jan 20 20:37:30 yep. i get each of the 48*36" boards for under $100 and those hold almost 100 of the boards im making Jan 20 20:37:49 the rest is bascially free for me then Jan 20 20:38:24 we get quotes regularly of around $10 Jan 20 20:38:30 bare boards Jan 20 20:38:40 its a good baseline price for u Jan 20 20:38:41 these are also 6 layer boards im making Jan 20 20:38:43 us* Jan 20 20:38:57 yuk rahter you than me :p Jan 20 20:39:18 glad ur havin fun though :) Jan 20 20:39:52 its fairly simple. once i get my mills running and another reflow finished im going to open up my companies R&D lab for small projects from people Jan 20 20:40:49 im just looking for a cheaper way to make a mill. its like 10k for a premade one Jan 20 20:40:57 aye Jan 20 20:43:21 ok I must get home .. gettin late .. bbl :) Jan 20 21:45:14 hello Jan 20 21:45:28 is any any one here Jan 20 21:46:14 kamran: try /who to see who is here. Jan 20 21:46:40 anyy one Jan 20 21:46:58 i have some quyeris Jan 20 21:47:18 hello Jan 20 21:47:24 hello Jan 20 21:47:42 hello aurelien Jan 20 21:47:48 ask your question without asking if you can ask ... kamran Jan 20 21:47:56 are u working on BeagleBoard Jan 20 21:48:06 just a user Jan 20 21:48:10 of a bbb Jan 20 21:48:20 what about price in dollar Jan 20 21:48:29 is available in india Jan 20 21:49:31 * aurelien don't know about the price of a bbb in india Jan 20 21:50:11 ok Jan 20 21:50:30 how to burn programe in it Jan 20 21:51:52 Can any one help to provide me some guidence how to setup BBB SPI Ångström os? Jan 20 21:52:11 kamran: you can write it directly or by the web interface Jan 20 21:52:34 kamran: you can also use your another OS using the micro sd card Jan 20 21:53:18 baicly i am using a microchip microcontrollers Jan 20 21:53:31 but want to swict on arm with linus Jan 20 21:54:01 can any one sugest the way to going Jan 20 21:54:15 kamran: BBB use angstrom linux by default Jan 20 21:54:23 it's a good start point Jan 20 21:54:31 ok Jan 20 21:54:51 after that, you'll choose another OS depending of your needs with the board. Jan 20 21:55:03 iam not fimilar with linux i using a windows Jan 20 21:55:25 can i use ubantu Jan 20 21:55:32 yes Jan 20 21:55:39 ubuntu is also linux Jan 20 21:55:44 in fact linux is a kernel Jan 20 21:55:54 the fact is that people don't use the right words Jan 20 21:56:05 android / Linux Jan 20 21:56:12 ubuntu (gnu/linux) Jan 20 21:56:25 angstrom (gnu / Linux) Jan 20 21:56:49 arch (gnu / linux) Jan 20 21:56:55 ... Jan 20 21:57:08 which one is better and easy Jan 20 21:57:57 kamran, all depend to do what Jan 20 21:58:55 the one that follow the best the K.I.S.S. principle is certainly Arch ARM one Jan 20 21:59:06 basic that i wants to know how we decide which distribution i use Jan 20 21:59:33 you have to know what you want to do with you beagle board first Jan 20 21:59:43 or make your own experience ;-D Jan 20 21:59:58 kamran: distributions are just tools, which tool best serves you will depend on the job and skill level you have with using the tool Jan 20 22:00:16 ok Jan 20 22:03:00 basic ihave my own product in flow measuremet just i want to add wireless communication and touch screen in it Jan 20 22:03:50 but i dont know from where i start that Jan 20 22:03:57 angstrom could make the trick for that, but maybe you should install android with which you should be more familiar Jan 20 22:04:43 ok Jan 20 22:04:47 you will need a touch screen capes and wireless + a big micro sd card depending of your needs Jan 20 22:05:28 ok Jan 20 22:05:45 on beagleboard Jan 20 22:09:38 hello Jan 20 22:10:04 somebody know witch part of system define the /sys structure? Jan 20 22:10:26 sysfs?! Jan 20 22:10:38 y Jan 20 22:11:39 zangdar64 : sysfs is a virtual filesystem, created on the fly by the kernel, where various things inside the kernel are exposed to userspace tools. Jan 20 22:11:51 ok Jan 20 22:12:29 if i whant to complete a device structure i have to recompile the kernel? Jan 20 22:13:32 zangdar64 : what does that mean? Jan 20 22:13:41 depending if the kernel you use have already activate the functions/hardware you wish zangdar64 Jan 20 22:15:15 zangdar64 : "complete a device structure" does not mean anything to me Jan 20 22:15:35 zangdar64 : try expressing what you want to do in another way Jan 20 22:16:06 CareBear\: bah at the time he want to compile a kernel that is to activate hardware, or activate some functions. Jan 20 22:16:43 (sorry for my english)i want to access to the tps65217 status register in /sys/bus/i2c......./ like i access to the regulator voltage Jan 20 22:17:16 zangdar64 : don't worry about the english as long as we eventually understand each other :) Jan 20 22:18:24 oh so you see /sys/kernel and want to put your fingers there ... hmm hmm that is not the way to use (if it's that you want to do) Jan 20 22:18:57 at the time you want to touch the kernel (which mean: activate / desactivate functionnalities) you have to recompile it. Jan 20 22:19:15 and that each time for each version with your settings. Jan 20 22:20:08 ok what is the good way for you? Jan 20 22:20:26 zangdar64 : please see the BBB_SRM.pdf for Rev. A6A. page 44 says "There is no fuel gauge function provide by the TPS65217C. That would need to be added if that function was required. Access to 1-wire SPI, or I2C interfaces required to use a fuel gauge will need to be accessed by using the expansion headers on the board." Jan 20 22:22:07 zangdar64: seems that it's already activated. Jan 20 22:22:31 zangdar64 : on the next page the SRM also explains that I2C0 is connected to the TPS65217. do you know that the TPS65217C actually has registers with the information that you want to read? Jan 20 22:23:27 i can read the register by using i2c command Jan 20 22:23:34 zangdar64 : ok! Jan 20 22:23:36 great! Jan 20 22:23:56 and what's the next step that you would like to take? Jan 20 22:25:02 i whant to set automaticaly this status register in a file to access it by other program Jan 20 22:25:24 (the sentence seem not to be very clear) Jan 20 22:26:00 zangdar64 : why not make the other program read the value like i2c does? Jan 20 22:26:02 you can read registers on i2c from programs Jan 20 22:26:47 you just treat the /sys/bus /i2c just like another file Jan 20 22:26:57 erm .. correct the path, obviously :) Jan 20 22:27:18 oh Jan 20 22:27:34 zangdar64 : the voltages are already available in files Jan 20 22:28:04 zangdar64 : cat /sys/bus/i2c/devices/0-0024/regulator/regulator.2/microvolts Jan 20 22:28:30 y but the data i want to access is the status registerthat define if AC USB or battery is plug Jan 20 22:29:04 (and witch interupt fire from next time) Jan 20 22:29:50 zangdar64 : in that case you will need to program something using a technique similar to what i2cget uses Jan 20 22:44:07 Other question, somebody know if it is possible to access to the tps65217 interrupt pin connected on the processor NNMI PIN like on a microcontroleur Jan 20 22:44:31 zangdar64 : do you mean for the power button? Jan 20 22:44:48 not only the power button Jan 20 22:45:07 but an interupt is sent if the power button is pressed Jan 20 22:48:20 the am3359 is a cpu not a controller Jan 20 22:48:54 you'll find it has potentially hundreds of interrupt sources, for instance Jan 20 22:49:00 the power button is already exposed to userspace via the kernel input subsystem - there is an evdev event source available: /dev/input/event0 Jan 20 22:49:39 I think the idea is to gain similar functinoality to the AC-plug event on a laptop CareBear\ Jan 20 22:49:53 and unplug/etc .. and battery charge status Jan 20 22:50:30 y i wan to make a similar function Jan 20 22:52:02 https://groups.google.com/forum/#!topic/beagleboard/-LwTvsgd-78 Jan 20 22:53:27 you'll want to refer to the end of this one too... http://processors.wiki.ti.com/index.php/AM335x_Linux_Power_Management_User_Guide Jan 20 22:53:42 ok ty Jan 20 22:53:47 or more :) Jan 20 23:40:22 hey guys, i need a way to query the AIN pins of the Beaglebone Black other than the sysfs, which is too slow for my application. any ideas? Jan 20 23:44:19 ssl_ .. /dev/mem .. method ? Jan 20 23:58:41 veremit: not sure how that would work, can you elaborate pls? Jan 20 23:59:02 or link some guide/tutorial Jan 20 23:59:38 same method as you use for fast gpios .. without the Pru. Jan 21 00:00:53 i found this one: but it seems to be only appropriate for diginal GPIOs http://chiragnagpal.com/examples.html Jan 21 00:01:57 http://hackaday.com/2013/12/07/speeding-up-beaglebone-black-gpio-a-thousand-times/ is the principle Jan 21 00:02:33 yes i've seen this page but it also does not explain HOW it's done Jan 21 00:02:46 now who wanted to do linuxcnc for pcb milling again??? Jan 21 00:03:06 the stackoverflow article not work for you/ Jan 21 00:04:04 http://stackoverflow.com/a/20874882 Jan 21 00:04:09 honestly, i dont quite understand it. not really into C coding Jan 21 00:04:34 yeah its pretty hard-core Jan 21 00:04:36 veremit, not so much PCB milling for me, but what about laser photoploting? Jan 21 00:04:44 nice Jan 21 00:05:09 * N2TOH used to have LPKF milling machines Jan 21 00:05:14 very slow Jan 21 00:05:21 can't remember the nick from when I was at work earlier ... :/ Jan 21 00:06:22 I've had thoughts about building a plotter with a bluray laser, but have grumbled over the finer details Jan 21 00:06:29 ssl_ .. a python tut ... http://www.alexanderhiam.com/tutorials/beaglebone-io-using-python-mmap/ Jan 21 00:07:18 ssl_ .. hopefully you can see the theory from that Jan 21 00:07:47 N2TOH .. hmm probably wrong wavelength light .. Jan 21 00:08:05 thanks, at least there are some explanations there Jan 21 00:08:11 stick to photolithography :) Jan 21 00:08:24 I need UV light as the resist is UV sensitive Jan 21 00:08:30 yep Jan 21 00:08:49 it won't be anything like fine enough detail except for basic wok Jan 21 00:08:51 work* Jan 21 00:09:01 with a laser plotter I can skip a step Jan 21 00:09:17 oh yeah I get the principle :p Jan 21 00:09:36 but much of the machinery is quite specialised .. Jan 21 00:10:04 you -can- improvise .. but your results could be quite variable :) Jan 21 00:10:18 and worse.. inconsistent :\ Jan 21 00:10:36 I don't have the room to setup a full scale board house Jan 21 00:10:37 brb a few Jan 21 00:14:41 I hav an issue where the upload speed from the beaglebone black seems to be capped at 5mbit. How to fix? Jan 21 01:00:49 zump .. what are you trying to do? Jan 21 01:01:22 veremit: measuring network perf using iperf Jan 21 01:01:29 veremit: its a network issue not a BBB one Jan 21 01:01:35 ok np then :D Jan 21 01:55:55 hi, i am doing a university sumo robot project, my plan was to use a beagle bone black and open cv. had a few questions if some one can answer Jan 21 01:56:05 1- can the beagle bone black run open cv? Jan 21 01:56:19 2- do these board have pwm capability to dirve motors? Jan 21 01:58:51 alphaomega: yes to both Jan 21 01:59:12 robots with beagle's have been done Jan 21 01:59:25 imagine if there was some sort of search engine, into which one could put relevant terms, and get back results of similar pages where other people have used those terms to describe things Jan 21 01:59:36 i know beagleboard xm can, what about the beaglebone black? Jan 21 01:59:41 lol myself .. really?! wouldn't that be awesome! Jan 21 01:59:50 the processor is the same Jan 21 02:00:02 ok... similar .. not identical :P Jan 21 02:00:04 alphaomega: ^^^^ could you see about writing such a search engine thingy? seems we really need one! Jan 21 02:00:44 thanks, i figured ill get more of a straight answer from here. Jan 21 02:01:41 first time I've ever heard "irc" and "straight answer" used in a sentence. Your optimism makes me almost ashamed to be in such a snarky mood! Jan 21 02:02:08 without a negative too, myself !! Jan 21 02:02:32 myself: hehe Jan 21 02:02:38 (almost) Jan 21 02:02:46 alphaomega: yes the black is a good target for the core of robotics Jan 21 02:02:52 alphaomega: with some caveats Jan 21 02:03:04 alphaomega: it all depends on the specs and such for what you want to accomplish Jan 21 02:03:22 alphaomega: i.e. you are not going to build a google self driving car from the black Jan 21 02:03:22 * georgem_home sniffs around for yummy troll snacks Jan 21 02:03:41 * prpplague hands georgem_home some scooby snacks Jan 21 02:03:47 it would need to be able to handle between 2-4 motors and opencv with a logitech cam Jan 21 02:04:05 the question is how much processing you're gonna load up opencv with, and only you can answer that Jan 21 02:05:45 would it be ok as a micro controller or would i need to add something like an arduino to it? Jan 21 02:06:16 * prpplague spews beer and chokes Jan 21 02:06:33 the beagle is Not a controller .. Jan 21 02:06:35 ok, i'm off to do other things at the mention of arduino Jan 21 02:06:39 lol Jan 21 02:07:24 alphaomega .. you'll need some interface hardware .. the beagle will only do processing Jan 21 02:07:27 i asked at first and some one said it had pwm capability for motorcontrol Jan 21 02:07:46 it does have timers/pwm .. but no power control for them .. you'll need some drivers Jan 21 02:08:21 can you guys recommend one? Jan 21 02:08:52 again .. it depends what exactly you want to drive with it .. some circuits will suit different motors better Jan 21 02:09:40 what suits a dc brush motor won't work for a stepper motor, for instance :) Jan 21 02:10:34 it would be a 12v .6a unipolar stepper motor Jan 21 02:12:28 so you'll want something that controls a 12v supply from a 3.3v logic signal Jan 21 02:14:44 I think people should be required to give academic credit to their IRC advisors when #beagle or #arduino does more than 10% of their senior design project for them Jan 21 02:14:55 like, list authorship or something Jan 21 02:15:37 sure ill give you 20% Jan 21 02:15:39 :P Jan 21 02:15:50 snark bonus? :D Jan 21 02:15:52 imagine doin this kinda project 30-40 years ago .. you'd be reading books for weeks .. Jan 21 02:16:13 and the beagle would be in aroom all of its own :) Jan 21 02:16:23 shit I tried to blink an LED with an AVR 6 years ago. Jan 21 02:16:36 only 6?! :P Jan 21 02:16:48 myself: dammm my dsylexia just got the better of me Jan 21 02:16:59 " shit I" Jan 21 02:17:11 *smile* Jan 21 02:17:33 Spent four days cursing at Visual Studio, two passes with System Restore for hosed-up USB drivers, two weeks trying to get my head around makefiles, and finally gave up and just waited for arduino to be invented. Jan 21 02:18:08 heh I was lucky to get the atmel dev board from a mate who had it for a project Jan 21 02:18:15 So, I get it. But on the other hand, IRC is not Google and when IRC gives you search terms, go search for them. :P Jan 21 02:18:19 otherwise it was those silly pic16c84's Jan 21 02:18:27 * myself shudders Jan 21 02:18:39 irc != google :) Jan 21 02:18:45 ping 10.0.0.200 Jan 21 02:18:47 crap Jan 21 02:18:51 sorry :( Jan 21 02:18:58 that was 12-14 years ago ... :) Jan 21 02:18:59 * no route to host Jan 21 02:19:11 Pong. Jan 21 02:26:37 hello, i am trying to use the "kpartx" command on the BBB running stock Angstrom. I was able to install "kpartx" using opkg but it says "device-mapper" is not available in the kernel. I looked this up and on an x86 system running Linux you can use "modprobe dm_mod" but on Angstrom the "dm_mod" module isnot available. What is the replacement module name instead ? Jan 21 02:27:30 you'll probably have to build that module in the kernel Jan 21 02:28:21 sure, but that doesn't make sense. why would a package be built if it is not going to work on the system. Jan 21 02:29:05 it would be impossible to consider every conceivable configuration of kernel/module/package out there .. so a few shortcuts are taken, assumptions are made :p Jan 21 02:29:33 so .. it Does work .. provided the prerequisites are met .. as all packages are. Jan 21 02:30:35 I don't know any packaging system out there which can perfectly detect kernel configuration. Gentoo comes close .. but relies on the config files referring to the running kernel .. which isn't always the case either Jan 21 02:31:17 veremit: ok. how do i build a kernel module without bending over backwards on the Angstrom ? Jan 21 02:32:20 whether you do it on the beagle itself (which could take time) or do it on a PC .. neither is a particularly trivial task Jan 21 02:34:16 ok. i have built the whole Angstrom image myself actually before I installed it. do you have any pointers to adjusting the kernel bitbake files to build the device-mapper module or should i just scour through the kernel related files Jan 21 02:35:19 it'll be somewhere in the kernel config .. if you get a 'make menuconfig' at some point .. should be in there .. can't think of anywhere else they'd be hiding it Jan 21 02:36:20 yup .. middle of this page .. http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/ch09s05.html Jan 21 02:37:05 probably don't need the extra modules though Jan 21 02:39:30 veremit: thanks. when i installed kpartx on the Angstrom using opkg, the lvm2 package also got installed. it does have some device-mapper stuff so i need to see what it is doing that is different and maybe the kernel module name is different on the Angstrom than the x86. thanks for your advice Jan 21 02:39:43 possibly :) Jan 21 02:39:48 np good luck Jan 21 02:50:15 veremit: has there been any news on the SGX OpenGL support for Kernel >= 3.8 Jan 21 02:51:03 dunno about the beagle .. last graphical stuffs I saw was for the imx6 on the wandboards :) **** ENDING LOGGING AT Tue Jan 21 02:59:59 2014