**** BEGIN LOGGING AT Wed Dec 05 03:00:01 2018 Dec 05 06:08:05 hey all Dec 05 06:08:12 whos here? zmatt? Dec 05 06:17:40 haha Dec 05 06:17:47 back on it hedgeberg Dec 05 06:18:55 my know isn't as broad and complete as zm*tts but i do have quite a bit of experience with this platform Dec 05 06:18:58 i grew up on it Dec 05 06:19:29 (i just defer to him when he's here) Dec 05 06:20:55 heya ayjay_t Dec 05 06:21:20 just to confirm you are on twitter right? youre the one that pointed me in this direction? Dec 05 06:21:39 yep! Dec 05 06:21:42 I think @misterpikul? or am I goofing that up? Dec 05 06:21:47 no you're right Dec 05 06:21:50 noice Dec 05 06:22:01 im so bad with handles etc so each little victory is good Dec 05 06:22:16 surprising Dec 05 06:22:38 you're basically a twitter giant in the alt-hardware space Dec 05 06:23:12 so, I guess I got my answer already on twitter, but whats the best way to get i2c done at a high level on this thing? Dec 05 06:23:44 david said ioctl's, and he tends to know his embedded linux p well, but it would be nice to not have to do ioctl's Dec 05 06:24:25 mostly just hoping to poke at this little i2c display using some commands listed on an avrfreaks post to get it to boot at some point later this week, then duplicate on a teensy or some other low-level board Dec 05 06:24:29 there are probably wrappers for it on github, but i think that would be the most support solution Dec 05 06:24:58 the raspberry pi and beaglebone interfaces to the common protocols are usually the same because the kernel has several layers of abstraction before you find i2c/spi interfaces in /dev Dec 05 06:25:07 and then finally switch to either tinyfpga or icebreaker and write an i2c master device in verilog Dec 05 06:25:13 yeah Dec 05 06:25:19 so however its implemented different on rpi vs bbb its on a much lower level in the kernel than would impact your userspace drivers Dec 05 06:25:25 yup Dec 05 06:25:28 god, I really love linux Dec 05 06:25:49 its got its issues but it really is good Dec 05 06:25:49 that also means pretty much whatever you find for another board will likely work unless there are really fundimental feature differences Dec 05 06:26:38 although ill tell you that usually the i2c and spi hardware units on the bbb are pretty intensely featureful Dec 05 06:26:51 like the spi driver on the bbb is wicked fast and extremely flexible Dec 05 06:26:56 especially compared to stuff like teensy Dec 05 06:27:11 (nxp's kinetis line is one of my main lines too) Dec 05 06:27:42 (i use the *-dev drivers) Dec 05 06:28:14 Oh I wasn't planning to use higher-level stuff on the teensy Dec 05 06:28:26 I was going to program at the baremetal layer Dec 05 06:28:29 i mean even the actual hardware logic isn't as featureful Dec 05 06:28:33 yeah Dec 05 06:28:38 but thats nice for an i2c controller tbh Dec 05 06:28:39 buffer size, flexibility, etc Dec 05 06:29:00 clock precision Dec 05 06:29:09 when working on the switch, setting up the sdmmc drivers on the TX1 chipset was /awful/ because the tegra is /way too featureful/ Dec 05 06:29:28 yeah thats the other side of it Dec 05 06:29:37 i knew someone who gave up on bbb baremetal uart Dec 05 06:29:42 theres like 4 different clock dividers you need to poke just to get the controller talking Dec 05 06:30:44 either way that device will be pretty forgiving Dec 05 06:31:09 ioctls are suboptimal obvs because your program immediately becomes less expressive Dec 05 06:31:13 less readable Dec 05 06:31:37 wrapping them in the smallest shims would probably make them 1000X easier Dec 05 06:33:20 good luck hedgeberg Dec 05 06:33:35 yeah Dec 05 06:33:40 I like my helper functions tbh Dec 05 06:34:19 :-p someone has to write them Dec 05 06:35:18 i mean Dec 05 06:35:28 you'd be amazed at some of the code I've seen Dec 05 06:35:32 but yeah Dec 05 06:35:42 anyway, i gotta bounce, have work code to write Dec 05 06:35:43 night! Dec 05 07:44:17 Hello Dec 05 07:44:59 Anyone here? Dec 05 07:47:41 no, nobody is here. Dec 05 07:48:15 helpme: just ask your specific question. if somebody knows, he/she will answer. if nobody knows, nobody will answer. Dec 05 11:00:43 is BBONE-BLACK-4G open source Dec 05 11:01:00 I'm getting a 'No space on device' error df -h indicates that /dev/mmcblk1p1 3.5G 3.5G 0 100% / might be the culprit. I'm not using SD card so is it safe to delete this file/ Dec 05 11:01:36 how good is BBONE-BLACK community Dec 05 11:01:43 Guest67459: hehe no, this is a device file that just indicates that your sd card is full. you cannot delete it, and it wont help either Dec 05 11:01:57 Guest67459: better check with ncdu or something like it. Dec 05 11:06:53 I haven't got a CD card Dec 05 11:07:49 eMMC Dec 05 11:09:46 if you're still running the default lxqt image, you may want to consider flashing the iot image. by not including a desktop environment (which most people will never use), it leaves a lot more free space to begin with Dec 05 12:15:47 Hello everyone. I want to contribute towards this project. Can anyone get me started? Dec 05 12:16:41 if you're talking about gsoc, see https://beagleboard.org/gsoc Dec 05 12:17:12 (it also has a link to the gsoc-specific chat) Dec 05 12:17:38 ohkay thanks :-) Dec 05 14:43:58 demo script not working Dec 05 14:44:30 can someone help Dec 05 14:45:42 kcs: well, which "demo script"? Dec 05 14:45:48 kcs: and what is "not working"? Dec 05 14:46:04 kcs: what board are we talking about anyways, and what did you do/try? Dec 05 14:46:28 blinking onboard LED is not working on beaglebone black revC Dec 05 14:47:02 ... when doing *WHAT*? Dec 05 14:55:36 demo script 'blink on-board led' not working on my BBB Dec 05 14:58:22 demo script 'blink on-board led' not working on BBB. please help Dec 05 15:03:32 demo script not working Dec 05 15:04:20 kcs: if you just repeat yourself over and over again, and join/leave every minute, theres no way helping you, sorry. Dec 05 15:05:39 sorry I am new to the forum.I am learning to use the forum now. Dec 05 15:06:40 kcs: its not that complicated. try to ask your question as precise as possible. and wait for a possible answer, it might take some time. Dec 05 15:09:13 yes i will wait, understood how this works now. My problem is that I have connected my Beaglebone black to the website. I tried to run the Demo script 'Blink onboard LED', the script would not run on my board. This the problem. Dec 05 15:09:59 kcs: "to the website" means that you have connected through usb, you could open 192.168.7.1, you got the editor and everything, right? Dec 05 15:11:42 yes i have connected through USB. I have connected with the ip 192.168.7.2 . yes i have got the editor. Dec 05 15:13:28 kcs: and you're following http://beagleboard.org/Support/bone101 Dec 05 15:15:33 yes i am following it. but the script is not running Dec 05 15:16:27 means, if you paste+saved it, then click run, nothing happens? no error, no message, no nothing? Dec 05 15:18:45 I clicked run on the Website. Dec 05 15:19:36 I am using teraterm. how do I open the editor? Dec 05 15:19:50 and you did explicitly save it (step d), as well as explicitly select it in the run dropdown(step e)? Dec 05 15:27:03 i followed the instructions just getting errors Dec 05 15:32:51 error: Unable to write to /sys/class/leds/beaglebone::usr3/brightness this is the error i am getting Dec 05 15:45:22 encountering the following error "error: Unable to write to /sys/class/leds/beaglebone::usr3/brightness". can someone help Dec 05 17:35:16 kcs: that path looks wrong Dec 05 17:35:48 also that error is terrible uninformative.. what software/library are you using? Dec 05 17:36:39 I think the path is /sys/class/leds/beaglebone:green:usr3/brightness (even though the led isn't green anymore, the name has been preserved for compatibility) Dec 05 17:36:51 but you can just check the contents of /sys/class/leds/ to be sure Dec 05 17:38:15 oh you're running a demo? that's weird to get this sort of error Dec 05 17:39:53 I don't really have any experience with bonescript though, so not sure Dec 05 17:40:18 unless you're already using the latest image, you can try reflashing to the latest firmware to see if that fixes the problem Dec 05 17:55:38 local network; connect Beaglebone to router/switch with USB. have a laptop connected over wifi. Beaglebone docs say, it "will utilize mDNS to broadcast itself to your computer" Dec 05 17:55:48 so, from my laptop, if i do, tcpdump -i wifi_interface 'udp port 5353' i should see these broadcasts? Dec 05 17:56:49 yep Dec 05 17:57:46 i don't; might this have something to do with the power source; usb to a third pc? Dec 05 17:58:11 eh, no Dec 05 17:58:31 wait, "connect Beaglebone to router/switch with USB" ... you meant "with Ethernet" I presume? Dec 05 17:58:46 yeah, sorry Dec 05 18:00:09 I don't know how frequent those broadcasts are though, normally it will just reply in response to requests that are broadcast Dec 05 18:00:59 but assuming you have avahi on your laptop (avahi-daemon and libnss-mdns) you should be able to do: getent hosts beaglebone.local Dec 05 18:05:25 or, one way to stimulate the broadcasts is by unplugging ethernet on the beaglebone and plug it back in Dec 05 18:13:01 also, it will only work if your wifi is bridged to your ethernet, mdns will normally not pass through ip routers. having wifi and ethernet bridged together is what you typically want anyway though, and is what I'd expect from a typical wifi access point Dec 05 19:03:49 Hi Dec 05 19:24:44 sigh Dec 06 01:02:03 LoadCape! Dec 06 01:02:33 I got the LoadCape running well but my Python example is just "okay" for now. Dec 06 01:02:56 Are any people in here using their LoadCape for anything? Dec 06 01:04:42 brb Dec 06 01:06:09 jkridner[m]: periodic reminder: "load cape" is in production, but github.com/beagleboard/capes claims it's still "prototype", there's no schematic pdf, and no overlay for it in the overlays repository Dec 06 01:09:41 Right-O! Dec 06 01:10:05 The Sinks are GNDs on the screw terminals. Dec 06 01:10:17 For motors and other loads. Dec 06 01:11:12 VIN is for power to the LoadCape and the loads or I can use battery supplies for the positive leads for those loads. Dec 06 01:11:42 and all while plugged in via the Sink1 - Sink8 for GNDs. Dec 06 01:12:27 zmatt: what are you doing as of now? Dec 06 01:12:52 watching youtube Dec 06 01:13:04 Oh. Anything interesting on? Dec 06 01:13:53 no, youtube is entirely devoid of any interesting content, I like watching uninteresting things Dec 06 01:14:02 Oh. Nice! Dec 06 01:14:14 I like meek, boring things too. Dec 06 01:14:34 Twiddle my thumbs while watching my thumbs comes to mind. Boy! Dec 06 02:02:29 Is anyone reading BeagleBone Robotics Projects? I am stuck on page 22 with cat/var/lib/connman/settings: and getting the error message No such file or directory Dec 06 02:02:54 at the very least you're missing a space between "cat" and the path Dec 06 02:03:09 Oh wow. Thank you. Dec 06 02:04:52 Well at least it changed it to "Permission denied" I think I will just keep adding spaces to the other words. Dec 06 02:06:02 lol, no Dec 06 02:06:05 Crap no luck Dec 06 02:06:20 permission denied means exactly what it says Dec 06 02:06:52 since the settings file may contain e.g. a wifi password, it is normally not readable by most users Dec 06 02:06:56 I am back to the "No such file or directory" error when I add spaces in front of every word. Dec 06 02:07:52 "cat" is the command, "/var/lib/connman/settings" is the path of the file you're trying to view. at least one space is required to separate them, and none should be anywhere else Dec 06 02:08:01 I never got the windows driver to work but @hedgeberg walked me through a walk around. Dec 06 02:09:04 to work around the permissions issue you can put "sudo" in front of the command (separated by a space). though I'm wondering why you're trying to directly meddle with connman's settings file in the first place Dec 06 02:09:35 the connmanctl command exists to examine and alter network settings Dec 06 02:10:05 back on Monday, November 26th, 2018 at 9:59 PM ( @hedgeberg walked me through a walk around.) Dec 06 02:10:28 and why do you think that is relevant right now? Dec 06 02:11:00 I am on page 22 of the book BeagleBone Robotic Projects and reading it word for word. Dec 06 02:11:55 published in 2013... oh boy Dec 06 02:12:15 It says "you will want to access and available Wlan to update your system. Dec 06 02:12:26 I have the second edition. Dec 06 02:12:46 copyright 2017 Dec 06 02:12:51 ah Dec 06 02:13:02 You scared me for a second. Dec 06 02:13:04 that's better at least Dec 06 02:13:19 yeah I just googled it and didn't initially notice there were two editions Dec 06 02:13:45 I am lost enough as it is......I don't need any help. I am trying to save the world with my ideas..... don't need any extra hurdles. Dec 06 02:13:56 still, books tend to get outdated very fast Dec 06 02:13:56 Slacker. ;) Dec 06 02:14:39 Yeah. The first chapter refers to Windows 7 and uses the icons. Dec 06 02:16:19 @zmatt Unfortunately there are not many options for BeagleBone Blue. Dec 06 02:16:23 wtf, the "code repository" for this book on github consists entirely of .docx files Dec 06 02:17:11 I would like to create a digital bread crumb trail behind me so that I can help lower the barriers to entry into the BeagleBone world. Dec 06 02:17:25 send me some too. Dec 06 02:17:37 bread is good. Dec 06 02:18:33 Okay....... but they are in small bytes. (I said digital bread crumbs) Dec 06 02:18:43 Hahahaha! Dec 06 02:19:04 RD_: Did zmatt help you yet? Dec 06 02:19:05 RD_: about connecting to wifi, see http://strawsondesign.com/#!manual-wifi Dec 06 02:19:30 I was going to help w/ connman ideas that I learned from zmatt. Dec 06 02:19:32 ha! Dec 06 02:19:48 Okay. Thanks. Dec 06 02:20:02 @zmatt ^ Dec 06 02:20:14 this is apparently the new version of the manual: http://strawsondesign.com/docs/librobotcontrol/networking_wifi.html Dec 06 02:20:56 since the beaglebone blue is basically a beaglebone with integrated robotics cape, the documentation from strawsondesign.com should be quite relevant in general Dec 06 02:21:08 Yep! Dec 06 02:21:21 LOL digital went up a revision as well. Dec 06 02:21:50 Has anyone used a LoadCape yet? Dec 06 02:21:52 they also make the librobotcontrol (formerly known as libroboticscape) library typically used on the beaglebone blue Dec 06 02:22:39 The blue be bad, boy. Quadruple words starting w/ B instead of our fav. three (BBB). Dec 06 02:23:07 so whenever your book and the documentation from strawsondesign.com disagree with each other, the latter is more likely to be correct Dec 06 02:24:47 @zmatt. Thank you.....I was just about to ask you that question. For the perhaps a year or more, the BeagleBoard.org site had a blank wiki page. I mentioned it to Jason Kridner and he took it down and rerouted it. Dec 06 02:27:21 I have never been able to find a clear definition of what information I can use from the BeagleBone Black and what is not compatible on the BeagleBone Blue. I am a manufacturing engineer. I want to see something like a tree with forks in it or a VENN diagram. Dec 06 02:28:45 any info related to the beaglebone black that doesn't specifically depend on physical interfaces it has that the blue doesn't (e.g. ethernet or the expansion headers) also applies to the blue Dec 06 02:29:27 mostly when information is wrong it is not due to difference in beaglebone variant but rather because the information is oudated Dec 06 02:29:30 *outdated Dec 06 02:30:16 but yeah the overall documentation situation is... not good Dec 06 02:34:59 Hire me! Dec 06 02:35:07 I will do it for pennies on the dollar! Dec 06 02:36:05 I need a proof reader, though. Dec 06 02:36:23 I will pay the proofer a penny out of every "pennies" I earn. Dec 06 02:36:27 Do you allow screen sharing? Do you use Slack? Dec 06 02:37:38 I was going to use Pastebin to show the word doc and the associated screen captures and arrows I have created but it looks like Pastebin is text only. Dec 06 02:38:34 correct, it is Dec 06 02:39:56 do it! Pastebin the software update! Dec 06 02:43:17 The software update? Dec 06 02:44:22 Sure. Dec 06 02:44:33 I thought you updated that book software. Dec 06 02:44:38 I wanted to see it. Dec 06 02:45:52 I may have chimed in on the wrong part of the conversation. Maybe the update never took place. If that is the case, please forgive me. Dec 06 02:46:22 @set......No....I am a manufacturing engineer lost in the world of BeagleBone Blue software. I am making my own notes and making screen captures for myself and hoping to contribute something to anyone who follows the same path. Dec 06 02:46:49 Oh. Dec 06 02:46:52 I have that book. Dec 06 02:47:23 I have tried numerous times to make things work from that Phd. grad. I have failed each time. Dec 06 02:48:07 I think his name is Dr. Grimmett. Dec 06 02:48:40 That person has some interesting books but updated items, like w/ what zmatt stated, happen quickly. Dec 06 02:48:47 Sometimes too quickly for book producers. Dec 06 02:49:03 Ooh! Dec 06 02:49:05 My notes so far look like this. https://drive.google.com/file/d/1S1p8Gu_DN3VYa9_wG-jf2OP7JCIwJPIa/view?usp=sharing Dec 06 02:49:42 I will look but...be warned. I know nothing about frogs climbing trees. Dec 06 02:51:20 Hey RD_: why are you using serial over SSH? Dec 06 02:51:58 or...serial instead of SSH? Dec 06 02:53:48 I mean...using serial has it items of interest for radio but for just signing in, I always used SSH. I never really thought about it. Dec 06 02:54:27 because he hasn't connected it to wifi yet, and if I understand correctly usb networking isn't working because his Windows is acting up for some reason Dec 06 02:54:45 Oh. Dec 06 02:55:24 Odd days. RD_: did you ever use what zmatt showed you for connman in the strawsondesign stuff? Dec 06 02:55:25 hopefully the manual page I linked to will help him connect the beaglebone to wifi Dec 06 02:55:32 Right-O! Dec 06 02:55:51 I did miss that portion of the chat. Dec 06 02:56:04 zmatt: I thought you were watching youtube? Dec 06 02:56:19 I twiddle and you youtube, right? Dec 06 02:57:35 Up, up, and otay! brb. Dec 06 02:58:49 @set I am a manufacturing engineer so I am reading BeagleBone Robotics Projects second edition. (because I want to learn Beaglebone Blue and there are precious few resources. **** ENDING LOGGING AT Thu Dec 06 03:00:01 2018