**** BEGIN LOGGING AT Fri Dec 21 03:00:02 2018 Dec 21 11:47:49 Hi guy's I'm new with beagleboard. How can I connect it to an incremental encoder with RS422 Dec 21 11:47:52 ? Dec 21 11:49:29 sorry connection lost Dec 21 12:30:49 if you mean an incremental encoder that has an rs422 interface already, you'd just need an rs422 line interface for the beagle. If you mean a generic encoder, you'd need a line interface for the beagle, and both a processor and a line interface for the encoder Dec 21 12:33:22 422 line interfaces are less common than 485 interfaces, at least from the ebay suppliers. but for an encoder you could probably use it in receive-only so you could use a 485 interface wired for tx-only at the encoder and and another for rx-only at the beagle Dec 21 12:34:42 you can also get USb 485 and 422 interfaces if you just want to plug in, rather than use the beagle's uarts Dec 21 12:34:44 rs485 is simply a more stringent electrical spec right? Dec 21 12:34:51 compared to rs422 Dec 21 12:41:08 no, it's the same electrical spec as 422, but has the capability to be enabled / disabled. this makes it possible to drive it as a bus with multiple transmitters (or swapping the ends of a single tx/rx pair), whereas 422 would use two pairs for full duplex Dec 21 12:42:28 but assuming your encoder is just sending increment events, like a pc mouse, it's fairly irrelevant Dec 21 12:43:03 yes and no. an rs422 bus only has one driver, but rs485 may be used in the same way and I'm very certain it does not have the same electrical spec in that case Dec 21 12:43:18 rs422 only specifies 10 receivers, rs485 specifies 32 receivers Dec 21 12:43:53 fair enough, it may have higher drive levels Dec 21 12:44:16 and some transceivers go above and beyond the spec and support 256 nodes on a single bus Dec 21 12:44:25 I think it mainly has to do with the receiver characteristics Dec 21 12:44:36 i.e. the bus load Dec 21 12:45:42 you could be right, though in most instances manufacturers use 485 transceivers like max485 to implement 422 so for any one case you might find they're similar Dec 21 12:47:51 yes that was what I meant to say: since rs485 is compatible with but more tightly specified than rs422, it makes sense to find mainly rs485 devices at some point Dec 21 12:48:47 anyway, time to go to work, afk Dec 21 16:48:31 Hello everyone, who know how to execute a script on startup using BeagleBone Black wireless? I try to use the "crontab @reboot" method, but it doesn't work Dec 21 16:53:50 the "proper" way would be by creating a systemd service, but you can also just put commands in /etc/rc.local Dec 21 16:54:55 using a systemd service gives more control over when exactly the script is run, and the environment in which it is run Dec 21 16:54:56 I can not find the rc.local file in my board Dec 21 16:55:19 I can not find the rc.local file in /etc Dec 21 16:56:04 you can just create a script there Dec 21 16:56:36 I trie it 10 min ago, it did not work. Dec 21 16:56:40 don't forget to put a shebang at the top (e.g. #!/bin/bash) and make the script executable Dec 21 16:56:51 O Dec 21 16:57:12 oh, I forgot it. I will try it now。 Dec 21 16:58:08 also in newer systemd you actually have to tell it to enable rc.local Dec 21 16:58:35 it's not enabled by default? I thought it was Dec 21 17:00:00 if it isn't, then indeed you'll need to do: sudo systemctl enable rc-local Dec 21 17:01:00 Thank you, Zmatt. Dec 21 17:01:57 huh, rc-local.service has Type=forking? that's... weird Dec 21 17:14:39 tbr: actually it can't be enabled, it has no [Install] section Dec 21 17:14:59 "This unit gets pulled automatically into multi-user.target by systemd-rc-local-generator if /etc/rc.local is executable." Dec 21 17:15:52 zmatt: I had some experiences with newer ubuntu and maybe debian buster where I had to enable it explicitly Dec 21 17:16:21 it's still like this in debian sid Dec 21 17:16:26 mkay Dec 21 17:23:51 Guest18857: for the alternative option of creating your own systemd service file, here's an example: https://pastebin.com/KXVdTNrL Dec 21 17:45:44 to zmatt, I found an easy solution - “@reboot . /path/scriptname.sh" Dec 21 17:48:41 But I met another questioMy script is "/sbin/iw dev wlan0 interface add mesh0 type mp mesh_id mnet" , this command is work in command line, but it does not wok in startup time. I get a error message "command failed: No such device (-19)" Dec 21 17:49:11 that's because it is run too early Dec 21 17:49:40 How to control the run order? Dec 21 17:49:58 I use sleep ? Dec 21 17:50:01 using a systemd service gives you the ability to impose specific constraints Dec 21 17:50:04 see my example Dec 21 17:50:10 ok Dec 21 17:51:21 in your case you probably don't need either of the two example dependencies, but you want one on sys-subsystem-net-devices-wlan0.device Dec 21 17:52:03 to ensure the wlan0 device exists Dec 21 17:52:49 to zmatt, thank you, I will try your method. Dec 21 21:59:13 lol... https://turbo.fish/ Dec 21 22:02:58 rust Dec 21 22:03:04 .fish is great tho Dec 21 22:03:09 i need to snap up a couple of those Dec 21 22:03:37 that whole thing is css rofl Dec 21 22:04:09 <​> <​> <​> <​> <​> <​> <​> <​> <​> Dec 21 22:04:14 hillarious source code Dec 22 00:17:51 I'm wondering about TI's AM65XX series it's 64bit FP 1.1GHz core (but only 2G external memory support without ECC). I'm wondering if that was be the Beagle board NG (or the or something) Dec 22 00:19:59 uhh what? it supports up to 32GB of external memory, and supports ECC for both internal and external memory Dec 22 00:21:25 note btw that the A53 has lower performance per core per GHz than the cortex-A15 (the A53 is the 64-bit version of the A7), though having twice the number of cores may compensate Dec 22 00:22:28 it's still very new though, and none of the previous Keystone processors ever had a beagle-like board I think Dec 22 00:23:08 beagles have all been omap-family/derivative SoCs so far Dec 22 00:30:23 it's a cool SoC though Dec 22 00:46:21 three quad-core PRU subsystems... Dec 22 00:56:20 Yeah, it is a little size able admittedly. I guess I read the address space information wrong. The AM6528 is in sampling. I suppose that would be hard to come buy considering how much the first keystone cores were priced. Dec 22 00:58:04 It has display support (3 display cores) DSP I think it's for smart TV applications now that I look at it (IE server) it has 2 PCI-E lanes on it. Dec 22 01:02:09 smart TV applications, lol Dec 22 01:04:15 TI describes it as "a SoC capable of high-performance industrial controls with industrial connectivity and processing for functional safety applications" Dec 22 01:05:54 Big buttons that mean "STOP?" Dec 22 01:07:30 GenTooMan: it is definitely not aimed at any sort of media applications. e.g. it has no hardware video en-/decoding acceleration like the am57xx does (which has it because it's the broadmarket version of an automotive infotainment processor) Dec 22 01:07:38 Hey...I know I make a fuss over trivial stuff at times. Should I type up a book on BBB related stuff, e.g. Capes, modules, and/or different peripherals? Dec 22 01:08:45 I could call it, "Boness!" Dec 22 01:10:06 Hey! Dec 22 01:13:18 I always wanted to make the clothes line approach to decriminalization, literally. I could set up a security system w/ a clothes line near the door that is operated by a motor. "BUSTED," it would read to the deviant coming into my home unannounced! Dec 22 01:13:53 Add them LEDs and boo-shaka-khan! Lights, camera, action! Dec 22 01:14:32 GenTooMan: its pru subsystems look pretty sweet though... https://liktaanjeneus.nl/icssg.svg (this times three) Dec 22 01:19:18 I know, I know. The big corporations have the market covered. But, yes but, "little man does good" is a winner at dinner time. Dec 22 01:19:19 ... Dec 22 01:19:21 Am I right? Dec 22 01:20:06 BBB! Dec 22 01:23:40 Okay. Forget it. Dec 22 01:24:27 I am still making this book. Dec 22 01:26:35 I found a Kindle Create app. on the web. They have uploads to the Amazon.com marketplace w/ their three options for e-book making. I thought it was coolness to the maximum. Any feedback is much appreciated. Dec 22 02:15:51 feedback? Dec 22 02:17:03 Serious...I am tired of just working for fun. I want to try to do something w/ what people have helped me to learn. Dec 22 02:17:05 ... Dec 22 02:17:18 It is my way of giving back. Dec 22 02:18:07 $5.00! Dec 22 02:46:13 has anyone got a guide for getting wayland working on BBB? I think I'm close but it's crashing on startup Dec 22 02:47:22 https://paste.debian.net/1057030/ Dec 22 02:47:52 i think "No currently active connector found." is the problem Dec 22 02:48:42 "failed to choose EGL config for output" is the problem presumably Dec 22 02:50:21 I'm wondering if I'm missing one of the modules Dec 22 02:51:34 does kmscube work? Dec 22 02:51:52 no Dec 22 02:52:40 back when I was doing stuff with sgx, I did have kmscube working (I didn't get around to trying weston back then) Dec 22 02:52:52 https://paste.debian.net/1057031/ Dec 22 02:53:25 anything in kernel log? Dec 22 02:54:28 which repository are you using for kmscube btw? Dec 22 02:54:29 Dec 21 08:25:29 beaglebone kernel: [ 24.454521] [drm] Initialized pvr 1.14.3699939 20110701 for 56000000.sgx on minor 1 Dec 22 02:54:41 so that seems to work\ Dec 22 02:55:01 yours :) Dec 22 02:55:11 from the debs Dec 22 02:56:40 is your lcd wired for 16-bit or 24-bit? since one of the changes I did was https://github.com/mvduin/kmscube/blob/master/kmscube.c#L185-L186 Dec 22 02:56:54 (really, it ought to auto-detect, but I was too lazy to implement that) Dec 22 02:56:57 24 bit Dec 22 02:57:11 then you'll want to revert the latest commit in my repo Dec 22 02:57:44 will it break anything apart from kmscube? Dec 22 02:57:53 otherwise I can just see if I can get weston working Dec 22 02:58:09 it would be good to first confirm kmscube works as a "sanity check" Dec 22 02:58:25 since it uses the gbm backend, just like weston does Dec 22 02:59:10 which repo are you using for weston? Dec 22 02:59:33 the default Dec 22 02:59:40 just apt-get installed it Dec 22 02:59:43 oh Dec 22 02:59:44 ok **** ENDING LOGGING AT Sat Dec 22 03:00:02 2018