**** BEGIN LOGGING AT Tue Apr 07 02:59:57 2020 Apr 07 03:00:57 type A is also for things like flash drive Apr 07 03:02:11 matt? Apr 07 03:05:09 Hey. Apr 07 03:05:33 Was giving mattbone some info Apr 07 03:05:40 Oh. Sorry. Apr 07 03:05:45 okok Apr 07 03:05:48 Proceed! Apr 07 03:05:58 mattbone?? Apr 07 03:07:24 boris johnson it england not doing well Apr 07 03:07:59 I'm going to call it a night Apr 07 03:08:48 rest well ... Apr 07 03:10:34 Good night... Apr 07 03:11:33 sorry Apr 07 03:16:41 a usb port should beable to power the board and a lcd cape right? Apr 07 03:17:10 my board turns on with no lcd Apr 07 03:17:22 when I have it plugged in the screen flashes than nothing Apr 07 03:17:34 no lihghts on anything Apr 07 03:21:50 Does your driver have a linux driver? Apr 07 03:25:07 ??? Apr 07 03:25:26 supposedly the cape is made for BBB Apr 07 03:25:32 i did not put any drivers on it Apr 07 03:25:39 I am not even able to post Apr 07 03:25:46 or boot for a second Apr 07 03:25:50 instant shut down Apr 07 03:25:50 Right but I Have an older cape. IT is only supported for kernel 4.4.x. Apr 07 03:26:24 It luckily works w/ kernel 4.14.x b/c of the BBB.io folks. Apr 07 03:26:38 this is a new cape Apr 07 03:26:42 Okay. Apr 07 03:26:45 just bought Apr 07 03:26:49 NHD-7.0CTP-CAPE-V Apr 07 03:26:59 Oh. Do you have a link for it? Apr 07 03:27:17 https://www.newhavendisplay.com/nhd70ctpcapev-p-9536.html Apr 07 03:28:46 I think that one was made three years ago. Apr 07 03:29:47 is that considered old Apr 07 03:30:11 Not really but finding support is not easy b/c everyone wants updated things, supposedly. Apr 07 03:30:22 I am reading the manual right now. Apr 07 03:30:46 Are you using it w/ other capes? Apr 07 03:30:50 arggh Apr 07 03:30:52 no Apr 07 03:30:54 Okay. Apr 07 03:30:58 just have it plugged in Apr 07 03:31:07 I am mad that I cannot turn it on Apr 07 03:32:31 https://pastebin.com/qF8Xnar9 Apr 07 03:32:40 Those are the pins that it uses. Apr 07 03:32:53 40 pins on the BBB. It is not an easy cape to handle. Apr 07 03:33:46 do they have code for it to operate? you may wish to check the pin configuration in it's EEPROM if necessary. Also check the current ping configuration as it should set up the cape on boot. Apr 07 03:33:49 It has EEPROM for setting up the BBB. Apr 07 03:34:17 GenTooMan: There may be an already type up .dts file. Apr 07 03:35:17 It has a dipswitch! Apr 07 03:35:30 MattB0ne: Have you read about the dipswitch section yet? Apr 07 03:35:49 https://www.newhavendisplay.com/userguides/NHD-7.0CTP-CAPE_User_Guide.pdf Apr 07 03:36:00 let me look Apr 07 03:36:53 5vdc supply too. YOu need to supply the BBB 5vdc. Apr 07 03:37:08 brb Apr 07 03:37:18 can a usb port give that much power Apr 07 03:37:31 I wouldn't try it.. Apr 07 03:37:58 GenTooMan Apr 07 03:38:24 hmmm Apr 07 03:38:30 i have a problem then Apr 07 03:38:41 I actually have a BB green Apr 07 03:38:45 so I do not have that jack Apr 07 03:39:15 I can use the micro usb port but then I cannot connect and ssh in Apr 07 03:41:31 That might be a reason. Apr 07 03:41:32 you figure if the board could not get power it would stop feeding the cape Apr 07 03:42:50 The top of page 9 states what is needed to run the Cape. Apr 07 03:42:54 let me try on my fast cellphone charger adaptor Apr 07 03:43:06 1.0A only at 5v. Apr 07 03:43:25 For your BBB, use a 5v 1A wall adapter. Apr 07 03:43:32 Nothing more... Apr 07 03:43:59 Putting more wattage in the BBB can damage your board. Apr 07 03:44:46 It says 2A on page 9. Apr 07 03:44:54 I thought 1A was all that could be used? Apr 07 03:48:03 It is okay if a Cape is plugged in. Apr 07 03:48:09 Hmm you may need to supply that power to the header non sys5V Apr 07 03:48:43 So, 5v 2A is okay w/ BBB and this Cape. Apr 07 03:49:24 * GenTooMan rubs his chin ... scratches himself as a consequence. Apr 07 03:49:33 At least, that is what the .pdf guide suggests and the SRM suggests it is okay (assuming if the proper hardware is on the Cape). Apr 07 03:49:35 Oops! Apr 07 03:51:06 So, page 9 of the Cape user guide and page 87 of the SRM for the BBB should get you up and running. Apr 07 03:53:48 Also, a handy article on this Cape is here: http://www.newhavendisplay.com/specs/NHD-7.0CTP-CAPE-V.pdf. Apr 07 03:54:44 thanks I will take a look Apr 07 03:54:50 hopefully there is a workaround Apr 07 03:55:02 link is broke Apr 07 03:55:43 Hmm. Apr 07 03:55:48 That is a good link. Apr 07 03:56:03 Of course, it is w/out the . at the end. Apr 07 03:56:24 I was just finishing my sentence. Apr 07 03:57:12 MattB0ne: But, the Cape info. guide suggests 5vdc 2A barrel jack plug for use w/ this Cape. Apr 07 03:57:44 If you come across the BBB, get it b/c the cape suggests it only works w/ the BBB and not the other boards. Apr 07 03:58:11 I mean, all they made as reference was the BBW (beaglebone white). Apr 07 03:58:49 But, the BBG and BBGW all use different expansion header routes compared to the BBB. Apr 07 03:59:51 yeah Apr 07 03:59:55 have to spend the money Apr 07 04:00:03 seems like the path of least resistance Apr 07 04:00:18 dang was hoping to dodge buying another board Apr 07 04:00:26 Well, the guide stated it is only for the BBB. Apr 07 04:00:41 I am just guessing that it will not work on another board. Apr 07 04:01:33 i emailed them Apr 07 04:01:37 they said it was compatible Apr 07 04:01:41 I will follow up tomorro Apr 07 04:01:44 Oh, w/ the BBG? Apr 07 04:01:49 yeah Apr 07 04:01:51 Nice! Apr 07 04:01:57 but they may of overlooked the power issue Apr 07 04:02:11 I wonder how to power the BBG so that it accepts 5v 2A vdd. Apr 07 04:02:25 That is the test, now. I presume. Apr 07 04:02:26 is rev C the latest BBB Apr 07 04:02:32 Yes. Apr 07 04:03:03 yeah is there another way to power these boards i was lookign at the green manual and it seems it is just the usb Apr 07 04:03:14 Right but... Apr 07 04:03:18 There is... Apr 07 04:03:34 There are the expansion headers but those are taken up by the Cape. Apr 07 04:03:49 Let me make sure of this idea. Apr 07 04:03:56 I remember reading it a while back. Apr 07 04:09:27 https://groups.google.com/forum/#!topic/beagleboard/uhOh08jSlVA is nice but there are better conversations about it. Apr 07 04:09:47 Power routed to the board via the expansion header could be provided from powerderived on a cape. Apr 07 04:09:58 so i need a cape Apr 07 04:11:03 a power cape Apr 07 04:11:15 The header pins on the board for power out are located on the expansion headers. Apr 07 04:11:23 Oh. Apr 07 04:11:29 I got what you are saying. Apr 07 04:12:13 you ever use a power cape? Apr 07 04:12:14 brb Apr 07 04:12:18 Nope. Apr 07 04:12:19 Okay. Apr 07 04:12:23 afk for a bit Apr 07 04:12:50 alright. Apr 07 04:27:48 looks like it draws .18A at 9.6V which means it needs ~ 0.5A for the back light boost converter minimum. It's powered through the sys 5V power. Apr 07 04:31:13 The sound, unwavering knowledge and all for Capes! Apr 07 04:41:47 back Apr 07 04:41:51 will a power cape work? Apr 07 04:42:10 GenTooMan: will it work with a power cape Apr 07 08:23:54 Good day. I am trying to understand how to use a PRU on the Pocket Beagle. Running Debian Stretch with kernel 4.14.108-ti-r113. I am looking at the code at https://github.com/beagleboard/cloud9-examples/tree/v2020.01/PocketBeagle/pru. Apr 07 08:26:23 When I try to compile blinkInternalLED.pru0.c with gcc blinkInternalLED.pru0.c -o blink. I get blinkInternalLED.pru0.c:10:21: fatal error:, which leads me to think pru_cfg.h is missing. Where do I get this header file ? Apr 07 11:47:44 m Apr 07 12:08:09 m2u Apr 07 13:50:13 test Apr 07 14:35:38 broke... Apr 07 20:33:28 well, hello all :) Apr 07 20:36:18 tip: if you have a question, just ask it. a mere "hello" will typically not get you any response Apr 07 20:37:23 can anyone help with a input/output error i keep encountering on the beaglebone blue? Apr 07 20:37:42 (and have patience when asking a question. there are plenty of knowledgeable people here, but most only glance at chat occasionally so it can take time to get any response) Apr 07 20:39:16 Aban: you'll have to be a lot more specific. "an input/output error on the beaglebone blue" is too vague for anyone to possibly be able to help you Apr 07 20:43:37 so after logging into the board through a serial connection it works fine for at least a few minutes, but then i come back a day later to work on it some more and it won't accept any commands anymore and will just throw the error "Input/output error". I tried to reboot it with "sudo reboot", but it throws the same error, and I don't want to keep Apr 07 20:43:37 unplugging it to power it off in fear of file corruption or something like that. Apr 07 20:45:04 try leaving a "journalctl -k -f" open in a separate window to see what the kernel is logging when this happens Apr 07 20:45:21 are you running from eMMC or SD card? Apr 07 20:45:45 uh i think eMMC Apr 07 20:45:58 eMMC is what is on the board right? Apr 07 20:46:04 i don't have an sd card in it Apr 07 20:46:53 the only reasonable explanation for every command you try to give an I/O error is if the filesystem is suddenly unreadable, which I've seen happen when an eMMC is worn out, causing its internal controlller to crash or otherwise cease to respond to commands Apr 07 20:47:23 though there might be other ways in which it could happen, this is just the only situation where I personally have seen something like what you're describing happening Apr 07 20:47:37 the kernel log is really the best way to tell what's going on Apr 07 20:48:41 wait you say "serial connection" .. do you mean ssh, or genuinely a serial connection? Apr 07 20:49:21 and yeah eMMC is what's on board Apr 07 20:50:26 i am connected through usb using the serial connection option on PuTTY Apr 07 20:53:50 why use that instead of ssh? serial has some annoying limitations, like it won't know the correct terminal configuration to use nor will applications know your terminal width/height (so various terminal applications may behave weirdly or look all messed up) Apr 07 20:55:13 are there no errors printed on the serial console between when the systems works and when it has stopped working? hmm, I guess it won't in case of usb serial since it's just *a* serial interface but not *the* serial console Apr 07 20:56:01 well I was following what some book said to do; it is a little outdated and it sounds like at one point you had to set up ssh with a serial connection before it was usable Apr 07 20:56:42 anyway, I suggest you just capture the problem by leaving "journalctl -k -f" open (on the serial interface or via ssh) Apr 07 20:56:45 ehh Apr 07 20:56:51 you've never needed to "set up ssh" Apr 07 20:57:02 not at any time in the lifetime of the blue anyway Apr 07 20:57:32 hmm ok, but i still need to grab the ip from serial right? Apr 07 20:57:37 no Apr 07 20:57:53 how old is that book? Apr 07 20:58:11 2015 i think Apr 07 20:58:21 bizarre Apr 07 20:58:54 anyway, the beaglebone's IP via usb is 192.168.7.2 on windows and linux and 192.168.6.2 on mac and linux Apr 07 20:59:07 on mDNS-enabled systems you can also just use the hostname beaglebone.local Apr 07 20:59:26 if connected to its wifi access point, its IP is 192.168.8.1 Apr 07 21:00:12 oh yeah i tried connecting to the wifi access point but it wouldn't connect when i entered the password Apr 07 21:00:28 the default password is "BeagleBone" right? Apr 07 21:00:47 that's what the getting-started guide claims yes Apr 07 21:02:52 ok well i just tried again and for whatever reason it connected through wifi this time Apr 07 21:03:24 anyways here is a pastebin from the journal command if you need it https://pastebin.com/bLRV4RX0https://pastebin.com/bLRV4RX0 Apr 07 21:03:45 oh it got removed Apr 07 21:04:16 mmcblk1 is eMMC and error -110 is timeout, i.e. the eMMC is not responding to commands Apr 07 21:05:58 this seems consistent with wear-out of the eMMC Apr 07 21:06:14 sorry Apr 07 21:06:32 well thanks for the help Apr 07 21:06:45 i might be able to get a replacement since this is only like a week old Apr 07 21:06:54 wear-out in a week time is really bizarre Apr 07 21:07:05 maybe it was faulty? Apr 07 21:07:22 like, we've managed to do that once, but that was due to a bug in a logging system that was causing gigabytes of data to be written per hour Apr 07 21:07:25 maybe Apr 07 21:08:28 could this be file corruption per chance? Apr 07 21:08:48 i did unplug it to restart if a couple of times when i first ran into this error Apr 07 21:09:11 I mean, I'm sure that filesystem corruption has happened, but it's the result rather than the cause Apr 07 21:09:50 the eMMC itself doesn't care about filesystem corruption since it just considers the entire filesystem to be a big pile of bytes Apr 07 21:10:58 I guess in theory corruption of the eMMC's internal metadata might cause it, depending on how well the eMMC firmware was written, but I've never seen that happen and we have hundreds of beaglebones in the field and they're never cleanly shut down, they're just turned off by cutting power Apr 07 21:12:38 (we do have the eMMC reconfigured to SLC mode to try to minimize the risk of filesystem corruption, but I very much doubt that has any effect on the reliability of the eMMC's internal bookkeeping) Apr 07 21:14:41 I guess some sort of hardware fault could also cause the eMMC to be unresponsive, but in that case it wouldn't be initially responsive after power on either... the fact that it initially works but at some point ceases to respond does suggest an eMMC firmware crash to me Apr 07 21:22:07 is there any way I can fix it? Apr 07 21:25:15 probably not (other than ignoring eMMC and booting from sd card instead), though it's hard to say for certain without knowing for certain what's the actual problem. if it's really wear out then the big question would be how the fuck did it wear out in a week's time Apr 07 21:27:57 I am trying to control relays with the GPIO pins, but the output isn't powerful enough to do so. what is the best way to do this? Apr 07 21:29:19 Guest88534: https://www.petervis.com/Raspberry_PI/Driving_Relays_with_CMOS_and_TTL_Outputs/Driving_Relays_with_CMOS_and_TTL_Outputs.html Apr 07 21:29:22 something like that Apr 07 21:32:15 in general gpios should be used as digital signals, not to drive significant amounts of current... Apr 07 21:33:57 4 mA (which seems to be what the circuit on this page was designed for) is about the maximum I'd recommend Apr 07 21:44:26 Is there a tool for finding the addresses or registers of the GPIO, ADC, etc pins on the BBB? Apr 07 21:45:02 set_: that question doesn't really make any sense. also why would you need those in the first place? Apr 07 21:45:40 I want to use memory mapping like you decribed in C/C++ and to make some source w/ the addresses of my pins. Apr 07 21:46:00 ehm what Apr 07 21:46:02 I mean...I can look at different things on my board but I was wondering if there was a utility to find this info. Apr 07 21:46:10 For instance... Apr 07 21:46:24 0x3A means what exactly? Apr 07 21:46:30 ????? Apr 07 21:46:35 what are you talking about? Apr 07 21:46:54 How to I find it, where is it located, and what tool can I use to search for the addresses of my pins and registers? Apr 07 21:47:17 Okay. I will explain further. Apr 07 21:47:18 pins don't have addresses any more than they have a color or a favorite food Apr 07 21:47:31 Okay, okay. Apr 07 21:47:39 addresses of registers are irrelevant for you Apr 07 21:47:47 I thought the gpio chips have addresses. No, they are not! Apr 07 21:48:03 I want to make nice source in C/C++ and do things w/ it. Apr 07 21:48:06 you shouldn't try to bypass the kernel unless you have a very good reason Apr 07 21:48:16 Like what is a good reason? Apr 07 21:48:29 Entertainment or learning? Apr 07 21:48:58 dunno, I don't use /dev/mem myself except for some extremely gross diagnostic tools I've written Apr 07 21:49:05 See! Apr 07 21:49:11 Gross and awesome! Apr 07 21:49:22 Fine. Apr 07 21:49:30 I will keep reading my C book. Apr 07 21:49:47 why are you trying to learn C instead of startin with a simpler language like python? Apr 07 21:49:55 since I know you can't write python code either yet Apr 07 21:50:19 (since I've seen what your python code looks like) Apr 07 21:50:25 B/c...people learning Python are gearing their minds to the other boards and are staying away from the BBB related boards. Apr 07 21:50:29 Ha. ha. Okay. Apr 07 21:50:43 I know about source. Do not get me wrong. Apr 07 21:51:04 I like to provide source for real things but for me and my tests, it is just fun for now. Apr 07 21:51:33 The only people in town that provide real substance for employment use C++. Apr 07 21:51:43 I already found them. Apr 07 21:51:52 They do not care about Python now for some reason. Apr 07 21:52:06 I mean...yea. Python is good for data. Apr 07 21:52:27 Like...data for scrapping, stats, and etc... Apr 07 21:53:04 But...I would suggest learning C/C++ and knowing how to interchange each one to one another. I have a couple books. I will keep reading. Apr 07 21:56:01 @zmatt: Thank you again for your insight. I will keep this idea in mind around arrays, pointers, and not finding registers/addresses. Aw. Apr 07 21:56:29 most of the time you would be best served using existing libraries. Apr 07 21:56:42 less likely to have errors bite you. Apr 07 22:00:41 I like to know things, GenTooMan. I am glad you chimed in. Apr 07 22:02:16 GenTooMan: On the RelayCape, how am I supposed to account for 12vdc with what amperage? It states the 24vdc amperage. Apr 07 22:02:31 Is there a method or formula I am not aware of currently? Apr 07 22:03:16 I see the bbb.io/latest-images site has been updated! Nice. And... Apr 07 22:03:21 In bright blue! Apr 07 22:03:22 Ha. Apr 07 22:03:29 Zoinks. Apr 07 22:03:59 24vdc at 12A. Apr 07 22:04:12 But...if I use 12vdc, would 12A still be 12A? Apr 07 22:05:24 Oh. It is 15A for 24vdc. Apr 07 22:05:40 And 12A for 250vac. Apr 07 22:09:31 Would it be 24vdc * 15A = 360W && 12vdc * 7.2A = 90W? Apr 07 22:09:33 Or... Apr 07 22:10:17 Would I divide 12vdc * 15A by 2? Apr 07 22:10:42 Same thing. Apr 07 22:10:43 Sheesh. Apr 07 22:11:32 Dang it. 7.2A is actually 7.5A in my brief idea. Apr 07 22:28:54 C is fast. Boy! Apr 07 22:29:02 vroom and zoom all day. Apr 07 22:40:51 AC and DC for relays behaves a bit differently. Arcing is an issue with DC far more than AC. So the air gap voltage for DC is much lower when breaking a current. 12V would have the same current breaking as 24V things get more interesting as you increase voltage. Apr 07 22:41:54 Okay. Thank you, sir. Apr 07 22:42:04 I was wondering about this fact. Apr 07 22:43:10 The current limit is related to how much surface you have when breaking the voltage. As I said things get really strange in higher voltages. Apr 07 22:44:10 If you look and high current relays they have a larger contact area and most of them are sealed (filled with quenching gas). Apr 07 22:44:19 and == at Apr 07 22:44:24 Okay. I will be extra precautious b/c of my past experience w/ high voltage. Apr 07 22:44:47 bzzt, bzzt. Filled w/ gas? Apr 07 22:44:54 Hmm. I have never once heard that idea. Apr 07 22:46:44 Well, the bot went rouge on me and the server died. Apr 07 22:46:48 Ha. Apr 07 22:46:56 Off to the new image. Apr 07 22:47:03 err OK. Apr 07 22:47:34 Yea. Apr 07 22:47:46 I am fine. The bot hit some stuff and got stuck. Apr 07 22:49:28 Luckily the wheels are cheap foam. Apr 07 22:49:47 If the tires were full of grip, it would have had some troubles. Apr 07 22:53:31 speaking of robots the seed studio servo cape kind of was a bit silly in design. I was not thrilled by how cheesy they made it. A bit disappointing because usually their stuff isn't half bad (IE it's good enough to mess with). Apr 07 22:53:52 Oh. I must have missed that one. Apr 07 22:54:01 you bought one I thought. Apr 07 22:54:38 you messed with it before you got the one based on the PCA (whatever) device from NXP. Apr 07 22:54:56 it also had a full bridge motor driver. Apr 07 22:55:05 Oh. Yeea. Apr 07 22:55:08 The PCA. Apr 07 22:55:14 Oh. Apr 07 22:55:43 Yea. I am planning on getting that little bugger going at some point. More reading and better understandings will inevitably help. Apr 07 22:56:56 I should just use some i2c Cape for the Servos. Apr 07 22:57:57 But...that chip, the PCA9685, has beat me in the past but not in the future. I need to read up. Apr 07 22:58:17 Oh. Apr 07 22:58:22 You mean the Motor Bridge Cape. Apr 07 22:58:24 Yep. Apr 07 22:58:43 I have that one on the BBGW. That is the one that went rouge on me. Apr 07 22:59:18 I blamed my chromebook too. Yikes. Apr 07 22:59:34 I should have known something changed and it needs to be updated. Apr 07 22:59:36 right that had a lot of strange design choices in it. Apr 07 23:00:03 I think they just made something and sold it to be honest :D Apr 07 23:00:21 I thought it was a neat, little Cape. It has servo control, a plethora of motor choices, and LEDs. Apr 07 23:00:23 So... Apr 07 23:00:43 right blinking lights those are important (apparently :) Apr 07 23:01:02 In hindsight, the easier the better. But, w/ all those motor driver choices, it is hard to just throw stuff together. Apr 07 23:01:25 You have to set aside time, people, and make tests that work before production. Apr 07 23:02:12 It is a whole part to the company that produces, i.e. not just one person. Apr 07 23:03:05 well as I said it looks like someone was experimenting and a salesman but it for sale without it actually being a useful product yet :D Apr 07 23:03:48 but == put ugh. It's weird I put the wrong word in so spelling isn't the issue and the b and p are in different places. Hmm Apr 07 23:05:07 Odd. Apr 07 23:05:11 Bugs! Apr 07 23:06:43 I would still use that Cape for small displays and fun times. Apr 07 23:07:06 Like, if someone wanted to pick apart the source. The source is actually very long and dedicated. Apr 07 23:07:17 Someone knew how to handle the GPIO.c and GPIO.h files. Apr 07 23:07:51 Then, the fellow or people turned it into a wrapper for Python functions and source. Apr 07 23:08:28 Beyond me but I keep trying to learn. Apr 07 23:08:31 It will take time. Apr 07 23:13:15 it always does. Apr 07 23:14:23 It would have helped me from the get go if I knew how to make wrappers from C/C++ to python but... Apr 07 23:14:25 Heh? Apr 07 23:15:13 that's actually quite a bit more difficult to do that actually code in python. Apr 07 23:15:26 so don't feel bad huh? Apr 07 23:15:52 Yea. I should have had a book by my bedside for that but yea. I am learning slowly. Apr 07 23:21:14 reality is there are a LOT of things to learn before you can make a wrapper in python. Apr 07 23:21:46 I was reading about it a while back but never fully grasped it. I might never go back. Who knows? Apr 07 23:25:12 OK let me give you some things to consider, how do you cross the ocean? Apr 07 23:25:20 Boat! Apr 07 23:25:53 so you would get a boat and cross the ocean with it? Is it really that simple? Apr 07 23:26:38 No. Apr 07 23:26:43 Boats are expenses. Apr 07 23:26:57 Just pointing out that to cross the ocean you have lots of preparation so much so that the actual voyage is anticlimactic. The same goes with python wrappers. Apr 07 23:27:08 Ha. Apr 07 23:27:23 Still, they can be useful to people in the short term. Apr 07 23:30:26 I think you need to work through what you are learning and be sure you learn enough to do something useful. As for C++ it's way over rated mostly because it's like "the cloud" people heard the cloud and started "the cloud" cult. The cloud was never something new, in fact the idea is so old it's embarrassing just how disgraceful those people are. Really "the cloud"? It's "could based"? It's just obfuscating what is really going Apr 07 23:30:26 on. Apr 07 23:31:04 diatribe done :D Apr 07 23:32:51 diatribe! Apr 07 23:33:25 I learned that word the other day! Apr 07 23:33:43 That is what I do to family, i.e. they say. Apr 07 23:34:24 But, I get what you are describing. Apr 07 23:34:45 It is like the next "big" thing will be flying cars says a small percentage of the pop. Apr 07 23:35:26 That is all we need. Flying car theft! Apr 07 23:35:32 well their are people who live off the "fad" of the land instead of doing something useful or being clear as to what they are doing. Apr 07 23:36:02 your assets could literally just fly away huh? Apr 07 23:36:09 I guess you are right. People love marketing. Open markets, free markets, and such. Apr 07 23:36:10 Yep. Apr 07 23:36:24 Sell this, buy that, Amazon! Apr 07 23:36:53 I want to grab stuff at times to build things. Still! Apr 07 23:37:04 I use Amazon when I have to. Apr 07 23:37:17 I get bored w/ not knowing things. So, I reach out to people more educated in the field. Apr 07 23:37:25 That is my issue. Apr 07 23:37:54 Man, "if I only knew this." Or, "if I only knew that in 2014." Apr 07 23:38:24 hmm it's complicated. as I pointed out you need a passion to learn not just do. You never know what you have learned will be of use I always say. Apr 07 23:39:18 That is smart. I want to not be bored. Stuff makes people less bored. If it is them buying useless stuff to learning a trade, people need to be occupied. Apr 07 23:39:59 We are not children roaming the streets looking for another venture to capitalize on any longer. Things got complicated. You are right. Apr 07 23:40:43 SPeaking of...I just got that image for the BBAI (a board I most likely will never make myself). Apr 07 23:41:45 speaking of which do write down your plans and then start working through that plan as you experiment. your success rate will go way up that way. Apr 07 23:42:08 Nope. Apr 07 23:42:10 write down what you do, you'll remember it better too. Apr 07 23:42:12 I already learned about plans. Apr 07 23:42:19 Right. Now, that is smart. Apr 07 23:42:35 Trying to not do the same incorrect item twice is smart. Apr 07 23:42:50 that's what the plan is for ... it's an outline you have and when it's wrong write your changes on it. Apr 07 23:43:00 I just pushed Y. But, I am going to push it again. Y Y Y Y Y. Nothing! Apr 07 23:43:00 :D Apr 07 23:43:17 I hate plans these days. I am in a funk. Apr 07 23:43:20 This big red button that's says detonate, I wonder what it does. Apr 07 23:43:31 Push it but not at home! Apr 07 23:43:48 try this from home (LOL) Apr 07 23:44:03 Big red button say, "Push me at home!" Oops. Apr 07 23:44:49 I thought it would be cool to get in the public again to try out another way to be in the public arena. Apr 07 23:44:59 It is not easy. Apr 07 23:45:02 anyhow you have my suggestions ... my uncle was doing experiments up until he was too old to do them LOL I think he stopped at 80 something. Apr 07 23:45:13 Nice. Apr 07 23:45:20 What happened? Apr 07 23:45:20 he's 93 Apr 07 23:45:25 Awesome! Apr 07 23:45:32 he retired at 80 by the way. Apr 07 23:45:38 Nice, sort of. Apr 07 23:45:52 It is hard to keep active is you retire beforehand. Apr 07 23:46:03 I think this is one issue w/ our culture these days. Apr 07 23:46:13 Too much money upfront and too much funds for random tasks. Apr 07 23:46:26 But...I will get shutdown over that view. Apr 07 23:47:09 I suggest keeping a note book handy. hard to do (I can understand) but do it anyway. well I need to finish yet another design. Apr 07 23:47:50 Right. Apr 07 23:47:53 Okay. Apr 07 23:48:08 I have one right here. I can verify w/ photo if necessary? Apr 07 23:48:22 Ooh, la-la. Apr 07 23:48:24 Ha. Apr 07 23:58:33 Hey Sir, it must be trying, to say the least, on your senses when things change and it takes forever to update/upgrade items in question. Apr 08 00:00:52 heh I just upgrade my computer after 10 years. I just realized my home computer I built 10 years ago was 10 times more powerful than the desktop I had at work. Apr 08 00:01:30 never go light on things you need to work with. Apr 08 00:03:19 Fine. Good idea. Apr 08 00:03:29 Update! Apr 08 00:06:32 exclamation points are the newest fad. Well, it was until emoji took over the button pushing apparatuses. Apr 08 00:07:00 Now, I cannot even show excitement in text. It has to be done in emoji. Blah. Apr 08 00:13:42 really? YOU can't SHOW excitement? Apr 08 00:18:31 Yes...I can try! Apr 08 00:18:49 Oh well. I failed but the "!" was in it. Apr 08 00:19:05 GenTooMan: Why is port 8080 showing a server on my BBB? Apr 08 00:19:19 It is a pointless server right now. Apr 08 00:19:47 I used ss and netstat to account for this usage. Apr 08 00:19:57 Then, I just went to the ip and port. Apr 08 00:20:13 It shows some kind of odd server on my BBB while online. Apr 08 00:27:54 yeah I'm still trying to figure out what it's their. I hope it's not a back door web server or something someone "Left" by acident. Apr 08 00:28:05 Oops! Apr 08 00:28:09 did you try https://:8000? Apr 08 00:28:11 If so, that would be odd. Apr 08 00:28:16 Not yet. Let me check. Apr 08 00:28:46 I noticed it with nmap but I haven't ascertained the reason for it. Apr 08 00:29:12 I just tried w/ port 8000 but it keeps waiting. Apr 08 00:29:15 Waiting! Apr 08 00:30:15 it does not state disconnecting or disconnected. Apr 08 00:30:24 It is in a waiting phase. Apr 08 00:32:18 hmm wait ... that's let me check something. Apr 08 00:33:27 They are all listening. Apr 08 00:33:36 nginx Apr 08 00:33:43 I'm running nmap to see what it thinks it is. It might require some sort of authentication Apr 08 00:33:49 8000 is systemd. Apr 08 00:34:05 nginx is 8080. Apr 08 00:34:11 ah hmm really. Apr 08 00:34:34 nodejs is 8000 too. Apr 08 00:34:56 Yep. Apr 08 00:36:17 I found w/ ss that there are some TCP ports listening. I need to look up more. Apr 08 00:37:47 1880 and 3000 and 8000 just keep me waiting to connect so far. Apr 08 00:37:53 I wonder if all the ports it opens are documented. Apr 08 00:38:01 Hmm. Where? Github? Apr 08 00:38:31 No for the image IE the image should say what services etc. are available by default. Apr 08 00:40:02 Oh. Apr 08 00:40:04 Okay. Apr 08 00:40:07 I will look around. Apr 08 00:40:32 I mean. ss -tulw. Apr 08 00:40:38 It shows quite a bit of info. Apr 08 00:40:58 Local address and port and then Peer Address and port. Apr 08 00:41:45 looks like 5 ports are open by default ssh 22 53 seems to be some sort of service nginx is at 80 and 8000 is nodejs 3000 is clod9 (heh) Apr 08 00:42:34 it probably also shows ports that are connected or in use. A server has a listening port and then it creates ports for things that connect to the server. Apr 08 00:43:24 I think that I can filter these ports w/ ufw but I will keep them for now. Who knows what will happen if I choose to remove them? Apr 08 00:43:54 Loose networking or something worse! I could be sent back in time to 1918 during the last pandemic. Apr 08 00:45:50 local domain server appears to be up Apr 08 00:50:46 you will notice many of those ports aren't actually up many are labeled UNCONN Apr 08 00:51:03 I saw those. Apr 08 00:51:39 I have 11 listening and they are all tcp. Apr 08 00:52:35 It does not show me the service that the 8080 takes up. Apr 08 00:53:36 don't have that so can't torment I mean test it. Apr 08 00:53:43 Blah. Apr 08 00:54:47 I guess I could stop them w/ the PID. Apr 08 00:54:49 Maybe? Apr 08 00:57:36 you would have to know the PID Apr 08 00:57:42 Right. Apr 08 00:58:06 with ss -tulw you don't see that easily :D Apr 08 00:59:00 Please hold. I will see the command. Apr 08 01:00:00 sudo lsof -nP -iTCP -sTCP:LISTEN should show you every PID on the LISTEN ports. Apr 08 01:05:43 well 3 of the ports are likely for 8080 I have 8 ports for the other 5 port ID's active still not sure what 53 does however. Apr 08 01:07:01 I am not sure whatever happened is actually happening! Is it still going on? Okay, so. I know nothing about the new system. I shall learn it! Apr 08 01:07:02 that listed only 1 of the 5 active services on my BBB Apr 08 01:07:11 Oh. Apr 08 01:07:12 Hmm. Apr 08 01:07:54 well putty is a bit of a pain because it doesn't accept pastes from X so hand typing stuff is it. Apr 08 01:08:46 Blah. Apr 08 01:08:51 Yep. Apr 08 01:08:58 It only accepts right click. Apr 08 01:09:54 I feel bad for the large library typists. Apr 08 01:10:11 It must take an age/era to figure out what changed and how to make it work. Apr 08 01:12:31 If my system busts, I will keep you informed. I am like an informant now. This is nice. Apr 08 01:17:00 set_ the sys spy Apr 08 01:23:22 Ha. Apr 08 01:23:49 I spy a _______. Apr 08 01:24:20 set_ Got a message from Jon on Google board. He wants to know how you made out with the relays. Get a site to look at. I downloaded the package and it compiled fine on my BBB. Here's the site Apr 08 01:24:20 https://www.element14.com/community/community/designcenter/single-board-computers/next-genbeaglebone/blog/2019/08/15/beaglebone-black-bbb-io-gpio-spi-and-i2c-library-for-c-2019-edition Lots of Demo code included. Also try out my relay script? It's worth a look. Apr 08 01:24:56 Oh. iobb? Apr 08 01:25:36 I have not tried your script yet. I am upgrading/updating my newly found BBB.io/latest-images image. Apr 08 01:25:51 I am trying to get an old bot, that did go rouge today, to work. Apr 08 01:26:41 It's got some 'case' statements. Command line parsers. Error detection for invalid gpio's Cool 8) 8) Apr 08 01:26:48 The BBGW has issues w/ USB webcams (I believe). I could be wrong but I want to reply to these fellows to let them know if I am successful or not w/ the bot cam. Apr 08 01:26:49 Okay. Apr 08 01:27:32 ok. I'll be in & out.:b :b Apr 08 01:27:40 ALright. Enjoy. Apr 08 01:28:04 and all I am doing is designing an LCD cape I know it's exciting... keep calm :D Apr 08 01:28:15 Yeea, yea, yea! Apr 08 01:28:27 "Get on w/ you bad self." Apr 08 01:28:41 my nephew calls my uncle facetious for a good reason. Apr 08 01:28:59 Is that how you spell that? Apr 08 01:29:03 I always wondered. Apr 08 01:29:25 I have been saying that word for years w/out knowing how to spell it. Apr 08 01:31:02 I always think "Facet" "i" "ous" and it works Apr 08 01:31:19 Nice. Apr 08 01:31:38 Face TI o us? Apr 08 01:31:55 i is normally a dipthong for "ee" sound as in see wee and bee Apr 08 01:32:11 I am about to lose it. See, wee, bee! Apr 08 01:32:12 Ha. Apr 08 01:33:42 well it's easier to remember that way. Interestingly ramaji Japanese uses the same diphthong and I used it in Greek as well so it must be a linguistic thing. Apr 08 01:34:06 Latin or Greek. Dang scholars from 11 A.D. Apr 08 01:37:06 Well, I got my Flask app loaded prematurely and nothing works. Nice! Apr 08 01:43:13 next servo cape. Apr 08 01:45:27 No. Apr 08 01:45:41 Not right now. I am still messing w/ this old bot idea w/ new softness. Apr 08 01:50:16 heh I switched from the LCD cape to a servo cape project I finished the schematic for the former and now I am working through the later. Apr 08 01:50:43 https://stackoverflow.com/questions/11583562/how-to-kill-a-process-running-on-particular-port-in-linux Apr 08 01:50:44 There. Apr 08 01:50:53 I found some nifty info. on this server humbug. Apr 08 01:51:15 Well, a little late but the titanic still showed up in Ghost Busters. Apr 08 01:56:03 sudo lsof -i :8080 <<< this shows what PIDs are on that port, too. Apr 08 01:56:14 Mostly, nginx. Apr 08 02:02:20 huh lsof -i :80 doesn't yield anything nor does :22,:53 or :8000 however :3000 yields nodejs Apr 08 02:06:00 Hmm. Try w/ sudo. Apr 08 02:07:39 hmm 53 is the dns so that's OK Apr 08 02:08:35 Aw. Apr 08 02:08:40 I guess I needed more authority! :D Apr 08 02:08:44 Ha. Apr 08 02:08:55 authoritize that BBB. Apr 08 02:22:16 I changed the source, so I thought, and then used make and sudo make install on the required files. I am done for the night. Apr 08 02:22:22 no-go! Apr 08 02:23:40 set_ Got a message from Jon on Google board. He wants to know how you made out with the relays. Get a site to look at. I downloaded the package and it compiled fine on my BBB. Here's the site Apr 08 02:23:41 https://www.element14.com/community/community/designcenter/single-board-computers/next-genbeaglebone/blog/2019/08/15/beaglebone-black-bbb-io-gpio-spi-and-i2c-library-for-c-2019-edition Lots of Demo code included. Also try out my relay script? It's worth a look. Apr 08 02:23:49 Otay! Apr 08 02:24:37 It's got some 'case' statements. Command line parsers. Error detection for invalid gpio's Cool 8) 8) Apr 08 02:24:48 Um, stop it. Apr 08 02:25:14 it stops! Apr 08 02:25:21 brb Apr 08 02:25:27 Fine. Apr 08 02:25:57 Join the love train Apr 08 02:26:25 The O'Jays Apr 08 02:27:17 this seems like deju vu... Apr 08 02:27:30 The rain or the terrain? Apr 08 02:27:34 You can only stop a process you created. Otherwise you have to use sudo Apr 08 02:27:41 Aw. Apr 08 02:28:13 * GenTooMan does kill -9 on set_'s processes Apr 08 02:28:56 If you have multiple processes with same name you can use killall name Apr 08 02:29:35 kill -9 tisk-tisk Apr 08 02:30:22 -9 isn't that almighty Apr 08 02:30:39 siginit 0 Apr 08 02:31:11 oh -15 to you LOL Apr 08 02:31:52 Slow death! Aw! Apr 08 02:32:14 Right back where we started from. Maxime Nightengale Apr 08 02:32:28 good night.. Apr 08 02:32:34 bye Apr 08 02:33:02 set_ don't do siginit 0 Apr 08 02:33:07 Fine. Apr 08 02:33:36 BBB will go into single user and reboot Apr 08 02:34:59 I'm sorry it's elinit 0 Apr 08 02:35:08 I'm sorry it's telinit 0 Apr 08 02:35:18 I'm sorry it's sudo telinit 0 Apr 08 02:35:24 Okay. Okay. NO issue. I do not mess w/ the inits much. Apr 08 02:35:34 don't worry if that's the worst you do, I am sure millions of people are worse off. Apr 08 02:36:11 I am off nicely except for this mow job. Apr 08 02:36:28 way back that's how we brought a main frame down to single user for maintanace Apr 08 02:36:34 But...grass supposedly does not carry COVID-19. Apr 08 02:36:39 OH. Apr 08 02:37:26 Be careful out there. Apr 08 02:37:27 telinit 0 chages the run level 0 Apr 08 02:38:22 you know ... I have never had to do that but 2 times in 26 years.. Apr 08 02:38:27 If you do a who -aH you can see the current run level. Apr 08 02:41:43 Kool & the gang Jungle Boogie Apr 08 02:42:21 set_ Got a message from Jon on Google board. He wants to know how you made out with the relays. Get a site to look at. I downloaded the package and it compiled fine on my BBB. Here's the site Apr 08 02:42:22 https://www.element14.com/community/community/designcenter/single-board-computers/next-genbeaglebone/blog/2019/08/15/beaglebone-black-bbb-io-gpio-spi-and-i2c-library-for-c-2019-edition Lots of Demo code included. Also try out my relay script? It's worth a look. Apr 08 02:42:42 It's got some 'case' statements. Command line parsers. Error detection for invalid gpio's Cool 8) 8) **** ENDING LOGGING AT Wed Apr 08 03:00:04 2020