**** BEGIN LOGGING AT Wed Dec 22 02:59:56 2021 Dec 22 07:56:16 hi Dec 22 07:57:39 How to copy files from Windows to Beaglebone Green Dec 22 08:02:08 Guest26: if you have windows 10/11 you can enable "OpenSSH Client" in settings -> apps -> optional features Dec 22 08:02:28 and then use scp to copy files to/from the beaglebone Dec 22 08:03:06 there are no doubt also a variety of gui options for scp/sftp though I'm not a Windows user myself so I don't have advice on that Dec 22 08:06:06 you should be able to find plenty of resources if you just google "windows sftp" or "windows ssh copy files" or something like that Dec 22 08:07:19 OK, I've use putty to connect to my beaglebone green.  when I set putty,then click "open",then pop-up a window, it let me input the password Dec 22 08:09:49 I  input password like "root" or "admin"  or "temppwd",they all error, cmd windows show "Access denied" Dec 22 08:10:02 login: debian, password: temppwd Dec 22 08:11:36 can this faq window  send the picture? Dec 22 08:11:49 ? Dec 22 08:12:24 Can I post pictures here Dec 22 08:12:32 no Dec 22 08:13:20 but like I said you should be able to connect with username "debian" and password "temppwd" Dec 22 08:14:24 when inpu the "debian" as my putty's host name,it show:unable to open connection to debian" Dec 22 08:14:35 that's not the hostname, it's the username Dec 22 08:15:44 hostname is 192.168.7.2 if the beaglebone is connected via usb Dec 22 08:15:55 where to input the username ,when i use putty to log bbg's vnc Dec 22 08:16:13 ok ,I'll try it right away Dec 22 08:16:20 vnc? what vnc? Dec 22 08:16:53 and if I remember correctly putty asks for the username Dec 22 08:18:16 yup, putty should ask for username and password Dec 22 08:18:30 ok,i know what's error Dec 22 08:20:25 I typed "@root:192.168.7.2" earlier, which is the wrong format;  Now I type "192.168.7.2" and it works, the window asks me what my login name is, I type in Debian, then enter the password temppwd and I'm in. Dec 22 08:20:38 THANKS VERY MUCH!!!!!!!! Dec 22 08:21:12 that syntax is wrong anyway, I think it *is* possible to specify username and hostname in there, but the syntax would be "username@hostname" e.g. "debian@192.168.7.2" Dec 22 08:21:34 not sure that works in putty though, but it does in most ssh clients Dec 22 08:23:28 I tried the method you said "debian@192.168.7.2" and it works. Dec 22 10:53:48 does anyone knows why do we use these? Dec 22 10:54:17 just wait Dec 22 10:54:45 #define _I2C_NUMBER(num) I2C_NUM_##num Dec 22 10:55:02 #define I2C_NUMBER(num) _I2C_NUMBER(num) Dec 22 10:55:19 those two are from a single file Dec 22 10:55:48 I mean what's the purpose of having 2 lines? One line is enought to do the things Dec 22 11:09:28 the exact behaviour of the C preprocessor is quite weird Dec 22 11:12:01 ark: if you have #define foo 42 then I2C_NUMBER(foo) will preprocess to I2C_NUM_42 while _I2C_NUMBER(foo) will preprocess to I2C_NUM_foo Dec 22 11:23:19 Can I use TightVNC to connect to the Beaglebone Green desktop Dec 22 11:24:16 most images do not include a desktop, if yours shipped with one then it probably has really ancient firmware and should be reflashed to something recent Dec 22 11:24:55 ok,thanks Dec 22 11:28:18 s Dec 22 11:29:30 We have confirmed that the current BBG control panel is installed using an image of AM3358 Debian 10.3 2020-04-06 4GB SD IoT.  Can this version of the image run display VNC desktop? Dec 22 11:53:12 btw speaking of display, we can even run a x11 daemon in a tui right and then start any DE which will be rendered on another screen right? Dec 22 11:58:16 i do not kown Dec 22 11:59:45 ark: not sure what you mean by that Dec 22 12:00:41 Guest26: I mean, it's a linux system, you can do with it whatever you want, but a desktop environment takes up a lot of space and will generally perform very poorly on the beaglebone, its SoC was designed for industrial applications, not for use as a desktop computer Dec 22 12:01:39 I think so Dec 22 12:02:23 But I want to run Qt on Beaglebone Green Dec 22 12:02:58 that doesn't require x11 let alone a desktop environment Dec 22 12:05:44 Where are you from? Dec 22 12:05:52 qt5 can run directly on the framebuffer (using the linuxfb backend, or using the eglfs backend if you put in the effort to get the gpu drivers working) Dec 22 12:06:11 qt5 also has a vnc backend that turns a qt5 application into a vnc server Dec 22 12:06:32 (if you need to test your qt5 application on the beaglebone but want to access its gui via vnc for convenience) Dec 22 12:07:35 I am installing the desktop environment Dec 22 12:07:55 Do you think it's necessary Dec 22 12:08:11 I think it's neither necessary nor a good idea Dec 22 12:08:48 So what am I supposed to do Dec 22 12:09:29 Then what should i do Dec 22 12:12:37 I mean... I kinda just answered that Dec 22 12:14:39 How to run GUI programs without a desktop Dec 22 12:14:40 obviously if you really want to use x11 you can install it (although I'd then suggest some minimal install and not an entire desktop environment), but a more sensible approach for using qt5 for an embedded gui application (assuming it's single-window fullscreen) is to run it without x11 Dec 22 12:15:02 I'm assuming that's your intention anyway, you haven't really explained what it is you want to do Dec 22 12:18:03 I just want to run a GUI program on Beaglebone Green Dec 22 12:18:33 what kind of gui program? why do you specifically want to run it on the beaglebone? Dec 22 12:20:18 Small, data acquisition display Dec 22 12:20:29 like I said, it's a linux system so you can do whatever you want, but not all approaches will work equally well and it's hard to give advice on what to do without having more to go on than the extremely vague "I want to run a gui program" Dec 22 12:20:39 as in, you want to _make_ a gui program for the beaglebone? Dec 22 12:21:06 or do you mean you have an existing qt5 program you want to run? Dec 22 12:21:11 how did you highlight that word? Dec 22 12:21:14 make Dec 22 12:21:44 ark: I just put underscores before and after... if it was highlighted, that's just your irc client doing that Dec 22 12:22:03 oh Dec 22 12:22:03 Can i add you to wechat Dec 22 12:22:17 btw for qt on beaglebone Dec 22 12:22:19 https://www.youtube.com/watch?v=yXTJC-_rlMY Dec 22 12:22:46 ...quite sufficient for some knowledge... Dec 22 12:23:26 ark: that looks like they *are* running a desktop environment on the bbb though Dec 22 12:23:37 also, they use gtk Dec 22 12:23:40 not qt Dec 22 12:23:49 or, hmm Dec 22 12:24:02 ah, yeah, they leave qt for a part 2 Dec 22 12:24:10 yea Dec 22 12:24:16 I sent from part 1 Dec 22 12:24:17 also this video is extremely ancient Dec 22 12:24:45 perhaps some parts still apply, but I'd be nervous about any beaglebone resource that old Dec 22 12:25:46 so how do ppl create display projects for any embedded linux project? Dec 22 12:26:11 it's been a while since I did anything with qt5 on the beaglebone, but when we used it our qt5 developer simply designed the application on his own pc, then copied the project to the beaglebone and built it there (which was easier than getting a cross-compile setup working) Dec 22 12:26:44 so how is it done these days? Dec 22 12:26:51 do they still use qt? Dec 22 12:26:52 and we ran it using the eglfs backend although that was a headache to get working, you can also use the linuxfb backend which iirc just worked Dec 22 12:27:01 I mean, qt is one of the options Dec 22 12:27:16 what are the others Dec 22 12:27:37 I know LVGL as another, though heard linux fb support is ppor Dec 22 12:27:41 *poor Dec 22 12:28:24 dunno, there's probably tons... I think gtk can also be run directly on the framebuffer, there's also sdl Dec 22 12:28:51 if you get the gpu drivers working you also have opengl es/es2 available Dec 22 12:30:13 I think the qt5 option has improved since last time I used it (which was many years ago) ... back then we chose to use eglfs instead of linuxfb even though it was slower because linuxfb didn't support double-buffering, which was a consequence of it using the legacy framebuffer interface instead of the modern drm interface Dec 22 12:30:42 while it looks like qt5's linuxfb backend nowadays does support drm Dec 22 12:31:18 (since qt5.10) Dec 22 12:33:42 btw I had a question, relating to beagleV, will the processor's architecture made open source? Dec 22 12:33:45 I also had to patch qt5 back then because it was hardcoded to use 32-bit (XRGB8888) pixel format instead of checking which pixel formats the display supported... that problem has also bee nfixed Dec 22 12:34:42 ark: you mean the logic design (verilog/vhdl or whatever is used) for the cpu core itself? that doesn't sound very likely Dec 22 12:35:01 yea that only Dec 22 12:36:08 there's really so much to learn Dec 22 12:36:37 and sometimes it feels like tech is going fwd in leaps and bounds and all am learning will be useless Dec 22 12:37:47 specific knowledge may get obsolete, although usually much remains relevant, and the more you know about a general topic the easier it is to learn whatever is the latest flavor-of-the-day I think Dec 22 12:38:32 I still remember the days when I had bought a PIC12F675 Dec 22 12:39:02 I never got a chance to program that, and within a few years all these got nearly obsolete Dec 22 12:39:14 and in came STM32 Dec 22 12:39:18 ESP Dec 22 12:39:24 and the likes Dec 22 12:39:46 I mean, PICs are still used plenty afaik Dec 22 12:40:05 not those tiny PIC12/PIC8 Dec 22 12:40:25 you may find PIC16/PIC32 plenty though Dec 22 12:41:24 PIC12F675 is still in production Dec 22 12:41:35 ok Dec 22 12:41:37 and, remarkably nowadays, actually in stock ;) Dec 22 12:41:52 but yeah, there's a huge diversity of microcontrollers Dec 22 12:41:56 nobody's buying that's why, lol Dec 22 12:42:17 look at STM, there's none literally here Dec 22 12:45:41 yeah I've heard from my brother they had huge trouble finding the STM microcontroller they used Dec 22 12:46:06 they eventually managed to get a stack of 'em thanks to a contact in china Dec 22 12:55:07 heh, the qt5 vnc backend is kinda cool... e.g. QT_QPA_PLATFORM="vnc:size=1280x720" /usr/lib/x86_64-linux-gnu/qt5/examples/widgets/gallery/gallery Dec 22 12:56:06 though it doesn't seem to make the main window automatically be fullscreen Dec 22 13:00:46 maybe that example just isn't well suited Dec 22 13:04:21 yeah, this works quite well! /usr/lib/x86_64-linux-gnu/qt5/examples/widgets/tutorials/notepad/notepad -platform "vnc:size=1280x720" -qwindowgeometry 1280x720+0+0 Dec 22 14:46:01 I am looking for a solution to use on the expansion connectors at the bottom of a beagleboard x15 does any one have any ideas Dec 22 15:13:42 I think on the latest testing images you can just configure the pins using config-pin just like on the BBB... if that's what you mean (your question isn't very clear) Dec 22 15:13:46 oh he left Dec 22 19:00:40 hi, I have a question. Will BeagleBoard black be updated for USB-C. If not will it be continued to manufacture for next year? (There are problems with bbb availability in Poland and EU I think) Dec 22 19:01:08 everyone has availability issues with electronic components right now Dec 22 19:02:31 yes, that's true. Just thinking if Beagleboard Black is good choice for open source project or if it could be discontinued in next year (I hope not:)  ) Dec 22 19:02:43 there are no plans to discontinue it Dec 22 19:03:33 great! thank you :) Dec 22 19:03:36 looks like farnell is expecting to have the BBB in stock again in a few weeks Dec 22 19:04:49 https://pl.farnell.com/en-PL/seeed-studio/102110420/beaglebone-black/dp/3520081 Dec 22 19:06:28 I'm on notification list there Dec 22 19:06:36 thank you for your help Dec 22 19:08:32 as for usb-c, that would be a pretty substantial modification for not much benefit Dec 22 19:08:43 I'm not sure there's even still enough space left for a usb-c controller Dec 22 19:09:14 the board is cramped enough as it is **** ENDING LOGGING AT Thu Dec 23 02:59:56 2021