**** BEGIN LOGGING AT Mon Mar 09 02:59:57 2020 Mar 09 11:09:22 hi guys. I am having some issues with enabling TTY2 RTS in the devicetree for use with an RS485 module. Anyone who can help me with this? Mar 09 11:19:24 tom14: there are plenty of knowledgable people here, but most only glance at chat occasionally, so it helps to just describe your problem clearly ("having some issues" is meaningless) so people who might have insight can reply Mar 09 11:19:50 (and have patience, it can take time to get a reply) Mar 09 11:20:38 asking for someone to "help you" with a vague problem is effectively asking people for time commitment, hence greatly reduces your chances of finding help Mar 09 11:25:59 my apologies, let me rephrase Mar 09 11:29:06 I am currently having issues enabling the a GPIO RTS signal for UART2 using the devicetree. Using the example by the bblayers (BB-UART2-00A0 and BB-UART4-RS485-00A0) I can see that the correct GPIO pin is configured as the correct pull is applies, however the signal is not driven when sending data (I am testing using a simple `echo abc > Mar 09 11:29:06 /dev/ttyO2`) Mar 09 11:31:38 I should also add that I am currently working on a fresh Debian 9 release Mar 09 12:32:47 tom14: I know that whether using a gpio as rs485 driver-enable is supported or not is dependent on which driver is used (omap-serial vs 8250-omap) and which kernel version is used Mar 09 12:33:07 unfortunately I can't remember what my findings were last time I dug into this Mar 09 12:33:51 zmatt can either driver me enabled/disabled using the devicetree? Mar 09 12:34:04 ? Mar 09 12:35:00 you're currently using the "rts-gpios" property to specify the gpio to be used? Mar 09 12:35:04 brb Mar 09 12:35:15 zmatt correct Mar 09 12:39:45 it looks like that property was introduced in linux kernel 5.3 Mar 09 12:41:30 I see that I am not up to date in this case (running 4.14.108-ti-r127) Mar 09 12:42:21 yeah the current stable kernel series for beagleboards and beaglebones is the 4.14-ti series Mar 09 12:42:40 the most recent -ti series available is 4.19-ti Mar 09 12:42:58 oh, never mind! 5.4-ti is available Mar 09 12:44:01 no idea if it's seen any testing whatsoever yet, or how much might be broken, but you could try it :) Mar 09 12:44:46 is there a way to accomplish this on 4.14-ti? Mar 09 12:45:21 use the actual rts pin (configured to uart rts mode) instead of a gpio Mar 09 12:46:07 for uart2 that means disabling hdmi video and then using P8_38 in mode 6 Mar 09 12:46:34 I am afraid that's not an option due to the layout of the custom HAT we are using :/ Mar 09 12:48:32 then your options are to try a newer kernel or build a custom kernel that uses the omap-serial driver (and its "rts-gpio" property) instead of the 8250-omap driver Mar 09 12:50:58 there's a decent chance using the latest 5.4-ti kernel (currently 5.4.20-ti-r5) may break things, but maybe it doesn't break anything you care about, and it's certainly less effort to just try it than to build a kernel with custom config :) Mar 09 12:51:57 thank you :) Mar 09 12:52:23 or you can try a -bone series kernel, which are available for basically every mainline kernel release, but these are even less likely to have seen any testing Mar 09 13:01:26 kernel series currently available in the APT repository, and the latest release in each: https://pastebin.com/raw/xQ0ufKkT Mar 09 13:14:44 how can I update the kernel on bb-x15 image? Mar 09 13:15:05 Should I copy images and change uEnv.txt's uname_r parameter? Mar 09 13:16:10 I have built a kernel with virtualization turned on so I want to use it Mar 09 13:34:08 embden[m]: just install the kernel package with dpkg, it'll update /boot/uEnv.txt for you Mar 09 13:35:03 zmatt: I have my custom kernel Mar 09 13:44:10 oh, I've never heard about make deb-pkg command Mar 09 13:49:59 though, I have problems building the kernel with that command Mar 09 13:51:31 it can't package due to the following errors: Mar 09 13:51:32 https://pastebin.com/q8QvQMTZ Mar 09 13:58:51 embden[m]: oh that's not going to work like that, I was assuming you'd use rcn's build script which compiles the kernel and create the debian package for you Mar 09 13:59:14 host architecture armhf Mar 09 13:59:21 you're compiling this on a beaglebone? o.O Mar 09 13:59:39 oh bbx15 Mar 09 13:59:50 even then it sounds masochistic to not cross-compile Mar 09 14:00:16 zmatt: I cross-compile Mar 09 14:00:40 oh yeah I just noticed it says mint... then it's probably confused, either that or I am Mar 09 14:01:02 anyway I never tried building a kernel debian package manually, I've only ever used rcn's build script for that Mar 09 14:01:47 (see my notes on building customized versions of bb.org kernels: https://pastebin.com/eLhrp1Hg ) Mar 09 14:02:12 you're trying to run a mainline 5.4 kernel? that sounds... adventurous Mar 09 14:02:51 the script created fakeroot and that fakeroot had arch - armhf Mar 09 14:02:57 thank you, I will check it out tomorrow Mar 09 14:03:04 I remember you shared it earlier Mar 09 16:24:12 zmatt you put some python code for changing the pinmux I can't seem to find it (heh new). I found a reference to it Feb 20th but no actual information. Mar 09 16:33:51 GenTooMan: this? https://pastebin.com/MKtWJ8G8 Mar 09 16:42:14 zmatt that might be it.. let me test. Mar 09 18:50:01 thanks zmatt that appears to be it. Sigh... I still can't believe I lost the link. Then again I had my X server reset 2 times that month. Mar 09 22:49:14 Hi, I want to buy a touchscreen 10'' display and it costs 169 EUR. Is it possible to find a bore cost efficient solution for my bb-x15. I want to develop a touch oriented desktop environment Mar 09 22:49:36 this is my choice: https://www.amazon.de/gp/product/B0823P93SX/ref=ox_sc_act_title_2?smid=AOSW5WTPUOMVP&psc=1 Mar 09 22:53:35 doesn't the x15 also have HDMI out? Mar 09 22:54:13 ds2: it does Mar 09 22:54:29 there may be cheap HDMI displays with a USB TSC for the Pi Mar 09 22:56:26 embden[m]: this is a little cheaper - https://www.amazon.com/Raspberry-Inch-Touch-Screen-Touchscreen/dp/B0776VNW9C/ Mar 09 22:58:59 https://www.amazon.com/10-1inch-HDMI-LCD-case-Touchscreen/dp/B01H013FGC/ Mar 09 22:59:01 and so forth Mar 09 23:05:34 ds2: thank you Mar 09 23:06:23 I was wondering whether someone had such experience here Mar 09 23:08:35 not on the x15 Mar 09 23:13:47 last pradan Mar 09 23:27:40 hdmi+usb touchscreen isn't really hardware-dependent though... if it works on the rpi or other linux systems it _should_ work just as fine on the bbx15 Mar 09 23:38:40 I also though that maybe it is possible to buy a tablet and attach it as a monitor somehow Mar 09 23:44:00 if a tablet can run X and you can run a network connection you can just add it as a new display the touch screen can be added as another HMI device under X. All doable but requires work. Mar 10 00:01:50 Sorry but has anyone ever thought of new miracles like numericals? Mar 10 00:01:57 Sorry. Back to my corner. Mar 10 00:10:14 s Mar 10 00:33:26 ds2: I tried to learn the gpu stuff. There is not that much info. on the page I found online. Mar 10 00:33:35 I guess it will take some time. Mar 10 00:34:17 I guess I got to get the required source first. Mar 10 00:34:18 Sheesh. Mar 10 00:34:21 hmm? Mar 10 00:34:24 gpu stuff? Mar 10 00:40:09 For the am335x. Mar 10 00:40:12 Let me show you. Mar 10 00:40:33 https://elinux.org/BeagleBoneBlack/SGX_%2B_Qt_EGLFS_%2B_Weston Mar 10 00:40:39 That is what I found for sgx. Mar 10 00:43:16 ds2: I just remember that we discussed, briefly, the gpu on the BBB and EGLFS programming. Mar 10 00:44:35 I guess I brought it up b/c of the video/graphics capabilities of the BBB and trying to do whatever w/ it. Mar 10 01:00:05 not eglfs Mar 10 01:00:16 it is more generic thing... not BBB specific Mar 10 01:00:29 SGX is the GPU on the BBB... Mar 10 01:00:34 it support OpenGLES Mar 10 01:00:53 learn about OpenGL, GPGPU w/OpenGL, and OpenGLES in that order Mar 10 01:01:34 the general idea is -OpenGL allows you to draw stuff in 3D space and have it "colored in" programatically Mar 10 01:02:04 the trick is have OpenGL draw a rectangle the size of the "screen" Mar 10 01:02:19 then each pixel on there can be programmed. Mar 10 01:03:47 Oh. Okay. Mar 10 01:04:10 Hmm. Neat. Mar 10 01:04:16 I need to write this down. Mar 10 01:07:08 so you have an input, processing, and an output Mar 10 01:07:34 "screen" is in quotes as it is just an area of memory...doesn't have to be a physical screen Mar 10 01:10:38 Okay. Mar 10 01:11:10 ds2: I just know I have a long way to go if OpenGL, GPGPU w/ OpenGL, and OpenGLES are to be learned. Mar 10 01:27:27 set_ https://www.opengl.org/ Mar 10 01:30:27 I have an off topic question Mar 10 01:32:42 Yes! Mar 10 01:32:47 I am there now. Mar 10 01:33:08 I got to a linux interface but this command no worketh: dmesg | grep DEVICE Mar 10 01:33:23 What command would I use to find my sgx device? Mar 10 01:33:26 kenunix up is as far as you think it is? Mar 10 01:34:55 I guess I should just install libgl1-mesa-glx libegl1-mesa libdrm-nouveau2 libdrm2? Mar 10 01:35:22 set_ are you running linux? Mar 10 01:35:35 On my BBB, yes. Mar 10 01:35:53 Or...are the drivers already installed already? Mar 10 01:36:11 I found this command too: find /lib/modules/4.1.0-2-amd64/ | egrep drm | sort -u Mar 10 01:36:30 I can add the armhf and uname -r findings in that command too, right? Mar 10 01:37:10 hmmm well finding the opengl device good question don't try to install stuff also it likely already has the driver installed. Mar 10 01:37:59 Okay. Mar 10 01:38:42 I guess, it is most likely needing to be cross-compiled or it is already listed at /lib/modules/ Mar 10 01:38:43 ... Mar 10 01:38:45 try "glxinfo | less" Mar 10 01:38:51 Okay. Mar 10 01:39:16 command not found Mar 10 01:39:27 ^ my feedback Mar 10 01:39:49 heh I got Error: unable to open display Mar 10 01:40:26 you did it on your BBB? you have the stock image in it? If you don't have display support opengl won't be installed. Mar 10 01:41:23 Oh. Let me go and check. Mar 10 01:42:41 4.14.108-ti-r127 is my kernel from BBB.io/latest-images. Mar 10 01:43:00 you have the iot version? Mar 10 01:43:18 set_: they are related...GLES is a subset so it is a matter of learning what is not possible in GLES vs GL...GPGPU is a concept Mar 10 01:43:29 Oh? Yep but I added support via apt install xfce4. Mar 10 01:43:31 Okay. Mar 10 01:43:43 So, I can get display support. Mar 10 01:44:05 ds2: Okay. Mar 10 01:44:32 GenTooMan: Where would I look to find my display support on the BBGW? /lib/modules/ but what module? Mar 10 01:44:56 I have IoT. Mar 10 01:45:40 But...the IoT image gave me options b/c of space. I took those options and got xfce4 instead of what is listed as a requisite for X11. Mar 10 01:45:41 Right? Mar 10 01:49:12 How far back to have do I have to search for the correct verioning for the SGX on the BBB in regards to the OpenGL "suite." Mar 10 01:49:15 ? Mar 10 01:50:22 Sorry. I was overloading you w/ questions. Mar 10 01:51:32 first yes overload. Does the BBGW support a display (Ie does it have an display connector)\ Mar 10 01:54:31 Dang it. Mar 10 01:54:33 No. Mar 10 01:55:01 Okay. Mar 10 01:55:07 So, onto another board. Sorry. Mar 10 01:55:34 I was using the vncserver command to view my video, photos, and other "thangs." Mar 10 01:55:53 Thangs = Fractals! Mar 10 01:56:30 Is outsourcing the video behind a server not good for the SGX onboard? Mar 10 01:56:32 Oh. Mar 10 01:56:35 I got you now. Mar 10 01:56:50 It might not support graphics at all even though it is a BBB relative. Mar 10 01:56:54 Okay. Switching boards. Mar 10 01:58:33 Okay. I am on a BBBW. It has micro HDMI output. Sorry. Mar 10 01:58:55 see if you can enter glxinfo Mar 10 01:59:00 Okay. Mar 10 01:59:44 From the command: glxinfo | less? Mar 10 02:00:29 command not found Mar 10 02:01:50 interesting so mesautils are installed Mar 10 02:02:13 I have drm Mar 10 02:02:17 On the BBBW. Mar 10 02:02:51 But... Mar 10 02:03:15 I would have to make the .ko.xz file decompressed. Mar 10 02:03:19 Well, all the files. Mar 10 02:03:46 eh probably not hmm let me think their is no simple answer unfortunately. Mar 10 02:03:57 There is a tinydrm.ko.xz Mar 10 02:04:20 I could try that idea out. I read about this before. I can attempt it but I will wait on your ideas first. Mar 10 02:06:19 don't install stuff it's kind of like throwing rocks at the window because you want to go outside. Mar 10 02:08:34 Okay. Mar 10 02:08:37 ?? Mar 10 02:08:38 Use the door. Got it. Mar 10 02:08:45 Hey... Mar 10 02:09:03 Look here on installation and sample packs: https://github.com/g-truc/ogl-samples. Mar 10 02:09:33 I thought it would be cool but my sgx is not registering right now. How to's would be good. I will keep looking. Mar 10 02:11:17 56000000.sgx is installed in /sys/devices/platform/ocp/ Mar 10 02:13:07 I looked in the file. It has entries. Mar 10 02:15:02 Well unfortunately their is no generic command, on my BBB I can type glxinfo and it will say "can't find display" that tells you if mesa is installed at least Mar 10 02:17:21 ds2 are you using a BBB for your opengl gfx processor experiments? Mar 10 02:17:52 Guys. Mar 10 02:17:54 You guys. Mar 10 02:18:11 note: if you want to do anything with the gpu on a bbb, mesa must NOT be installed Mar 10 02:18:18 I am about to decompress them modules and reboot after installing them. Mar 10 02:18:20 NOT? Mar 10 02:18:26 Okay. Mar 10 02:18:29 No mesa. Mar 10 02:18:30 also what? Mar 10 02:18:33 I will go and check. Mar 10 02:18:44 decompress and install modules? what are you talking about? Mar 10 02:19:19 the sgx modules are installed by default on current images Mar 10 02:19:49 @zmatt: /lib/modules/4..14.x-ti-r127/kernel/drm/tinydrm Mar 10 02:20:03 those are already installed, that's where installed modules live Mar 10 02:20:09 sorry. there is a /gpu in there somewhere. Mar 10 02:20:14 Oh. Mar 10 02:20:15 Okay. Mar 10 02:20:16 also tinydrm is irrelevant on the BBB Mar 10 02:20:20 oh. Mar 10 02:20:21 Okay. Mar 10 02:20:55 So, I "should" be able to install a source w/ the correct args to it and options for compiling the source and run it? Mar 10 02:21:02 but the sgx kernel modules aren't the problem, the userspace libraries are the problem Mar 10 02:21:10 For instance: Mar 10 02:21:11 Oh. Mar 10 02:21:28 also, OpenGL code won't work, only OpenGL ES1 and ES2 Mar 10 02:22:16 and x11 isn't supported if you want to use the gpu Mar 10 02:22:48 frame buffer only ? Mar 10 02:22:53 or wayland Mar 10 02:23:36 Oh. Okay. I found wayland. Mar 10 02:23:41 but getting wayland to run is also non-trivial I think, iirc it doesn't work with mainline wayland for some reason (unless that's been fixed) Mar 10 02:23:44 ES1 or ES2. Mar 10 02:23:45 set_: don't add even more complication Mar 10 02:23:56 Fine. Mar 10 02:23:59 No issue. Mar 10 02:24:06 set_ frame buffer as I stated Mar 10 02:24:13 Oh. frame buffer. Mar 10 02:24:17 I will look into it. Mar 10 02:25:58 set_: using the gpu on the bbb has a pretty high headache/benefits ratio :P Mar 10 02:26:34 whatever you're trying to do, I doubt it'll be worth the trouble Mar 10 02:29:11 Off topic question... Mar 10 02:29:28 I am going to show a display at the Maker Faire w/ your face. JK. Mar 10 02:29:34 Ha. Mar 10 02:29:48 I just want to learn more again. Mar 10 02:29:51 I can take a break. Mar 10 02:30:08 * GenTooMan eyes kenunix Mar 10 02:31:19 GenTooMan: yep Mar 10 02:31:24 My dell 5755 laptop is failing. I am getting another one. I think worse case swaping hard drive I'll have to enter my COA key. Different moher board , more ram trigger Windoze to challang me? Mar 10 02:31:48 who cares about x11 or wayland Mar 10 02:32:14 Man. Mar 10 02:32:22 render to memory Mar 10 02:32:25 You guys beat me and then leave me out to dry. Mar 10 02:32:36 "I will revenge me!" Mar 10 02:32:38 Ha. Mar 10 02:34:22 My dell 5755 laptop is failing. I am getting another one. I think worse case swapping hard drive I'll have to enter my COA key. Different mother board , more ram trigger Windoze to challange me? No ideas? Mar 10 02:35:47 Hmmm back up your data? Can you move installed programs from one windblows machine to another? The issue with using an older HD is it may be close to failing. Mar 10 02:37:43 google did some nice research on that https://storagemojo.com/2007/02/19/googles-disk-failure-experience/ <-- here Mar 10 02:38:37 Get a external hard drive and back it up like... Mar 10 02:38:52 A zambonni. I do not care how you spell it. Mar 10 02:39:19 New drive last year. I have soo much on HD. Many virtual box clients, office, a ton of stuff Mar 10 02:40:20 Oh. Mar 10 02:40:31 Well, raid? Mar 10 02:42:04 Dudes and ladies, I once bought a computer. They told me it had the ability to upgrade hardware. Mar 10 02:42:06 They lied. Mar 10 02:42:07 Boo! Mar 10 02:43:17 with windows you have to use a special program tool to move the programs. In linux it is not such a big deal. Mar 10 02:43:50 Oh. Yea. Like a hard drive software for moving files. Mar 10 02:43:51 Or... Mar 10 02:44:03 You can just move the files via usb. Mar 10 02:44:10 Pick and place. Mar 10 02:44:29 Sort of like Mac stuff. Mar 10 02:44:36 D & D. Mar 10 02:45:40 I am sure there is a command on wsl or powershell. Mar 10 02:50:31 using a pipe and such you can direct compressed tar output and decomress it on the other end. That can work over multiple partitions in linux. Unfortunately windows has the named drive holdover from CPM. Mar 10 02:51:33 Ah. Mar 10 02:53:54 set_ have you used tar? that might be a good place to learn a bit about archiving and tools. I use to archive entire HD that way. Made reloading all the tools a bit easier. Mar 10 02:54:19 Damn. Mar 10 02:54:24 Hmm. Mar 10 02:54:32 Nope. I mean I decompress them all the time. Mar 10 02:54:49 But, I have not used it for compression. Mar 10 02:55:47 I know tar can be used "both ways." Mar 10 02:55:54 compress/decompress Mar 10 02:56:15 Also, you can save while doing it, place the archive in specific folders, and so on. Mar 10 02:56:31 GenTooMan: beware with tar that to properly save and restore extended attributes it doesn't suffice to use --xattrs, when unpacking the archive you need --xattrs-include='*' Mar 10 02:56:53 that typically doesn't matter much, except when you're using it to backup a whole system Mar 10 02:57:13 I was just learning about the '?' special character. Can you save the entire image w/ tar or just files/dir? Mar 10 02:57:21 (you'll also want --acls unless that's the default, but I don't think it is) Mar 10 02:58:46 I am asking b/c w/ Windy-Days OS, you can only save the files/dir. The OS is not saved. Mar 10 02:58:51 Boo! Mar 10 02:59:12 dd instead of tar does that right? Mar 10 02:59:41 dd is not tar. Mar 10 02:59:42 dd only copies bytes **** ENDING LOGGING AT Tue Mar 10 02:59:57 2020