**** BEGIN LOGGING AT Sun Feb 23 02:59:57 2020 Feb 23 03:12:28 reset is on of those Feb 23 03:17:43 Yea. I know, I know. Feb 23 03:17:55 reset works if the board actually boots. Feb 23 03:18:30 But...I am out for the night. I think my brain went. Feb 23 03:18:57 something about Java and Hadoop for tensorflow pip install. Blah. Feb 23 03:19:29 I see the jdk has hard float for 32 bit arm now. Feb 23 03:19:36 On the main page! Feb 23 03:19:59 No more backwood pages to search through. Feb 23 03:23:24 better than froward pages I guess Feb 23 03:29:47 I guess. Brain stoppage. Now. Feb 23 09:08:43 is it possible to load from sata disk? Feb 23 14:24:46 embden_new[m]: what board? Feb 23 14:59:58 bb-x15 Feb 23 15:01:03 I think it can boot from sata, but I've never tried it and don't know what's needed to do so Feb 23 15:02:26 specifically, I don't know if bootrom can load u-boot from sata, but even if it can't (or it doesn't work), u-boot (loaded from eMMC) should definitely be able to load linux from sata Feb 23 16:31:38 hello!! Feb 23 16:54:00 hi Feb 23 19:44:34 Is there a suitable case for the BBB AI? Feb 23 19:45:10 Can this be setup over USB like the BBB Black? Feb 23 19:45:40 Damaged micro-sd clot net new BBB. Feb 23 19:46:47 Rather, damaged SD Card Slot and new BBB. Feb 23 20:27:24 KenUnix: the BBAI (not "BBB AI") has the same form-factor as the BBB (that's about the only thing it has in common), and some of the major connectors are in the same place Feb 23 20:27:43 it can be powered via USB, but it has an USB-C connector and requires substantially more power than the BBB Feb 23 20:28:12 note that putting it in a case sounds like you'd have an interesting time keeping it sufficiently cool, be sure to integrate a fan Feb 23 20:38:41 I have a plan to use it to drive HDMI display. Must be safe. Feb 23 20:39:49 Will access it via SSH or VNC over IP. Feb 23 20:40:41 if you keep it in an unventilated case I think it would overheat even when idle... probably even if you disable TIDL :P Feb 23 20:41:30 it also sounds like expensive overkill to use a BBAI to just "drive" an HDMI display, whatever that means Feb 23 20:41:56 I just that the BBB needs more storage eMMC. Feb 23 20:42:34 what are you using all that space for? Feb 23 20:44:50 I'm curious since we reconfigure eMMC on our production beaglebones in a way that enhances reliability but cuts space in half, and we still use much less than half the space on eMMC Feb 23 20:45:09 Well with Debian,TightVNC,lxterminal loaded spaces goes quick. Can run off SD-Card and use eMMc for /home & /usr/bin? Feb 23 20:45:44 oh you're running a desktop environment on it... why? Feb 23 20:46:20 "drive an HDMI display" sounded like it was an embedded application, not that you're trying to use it as a desktop PC Feb 23 20:47:46 Yes, embedded app. First time using Micro-SD and I went and broke the SD-Slot. Sigh. Feb 23 20:48:02 I have used the BBB for a GUI application before, but iirc that requires about 20MB or so for the entire GUI application including all shared libraries it used (we ran it in a container from a readonly image, for ease of updating) Feb 23 20:48:45 (we used Qt5 running directly on the framebuffer, not X11) Feb 23 20:50:32 I also made mistake: sudo apt upgrade!! Bye,bye space. Feb 23 20:50:56 apt upgrade shouldn't increase space usage much (if at all) overall, just temporarily while installing stuff Feb 23 20:50:58 very n00b suck beagle :D Feb 23 20:51:05 such* sorry! :D Feb 23 20:51:26 I regularly update our beaglebones, no problem Feb 23 20:51:56 well, our dev beaglebones, and we push out updates to our production beaglebones every now and then Feb 23 20:52:12 we try to have as few packages on production beaglebones as possible, so less to update nayway Feb 23 20:52:23 sudo apt update went OK. sudo apt upgrade failed leaving only about 120MB space. Feb 23 20:52:30 zmatt: updating firefox and chromium won't go well :D Feb 23 20:52:45 KenUnix: sounds like you started with the lxqt image, there's your mistake Feb 23 20:52:45 nor libreoffice if that's still on the stock image :/ Feb 23 20:53:26 KenUnix: and like I said, apt upgrade will require a significant amoung of temporary space during the update... if apt upgrade failed, you typically have a hosed system Feb 23 20:53:32 No, No don't use them. Would like to remove chrome. Feb 23 20:54:22 KenUnix: also, how'd you manage to break the sd card slot... that's the first time I heard of someone doing that o.O Feb 23 20:55:34 Never used one before. Trying to remove card broke off one of the gold pins. Feb 23 20:55:55 o.o Feb 23 20:56:16 What can I say. 71 year old klutz. Feb 23 20:56:45 Can I uninstall chrome? Does vnc need lxqt? Feb 23 20:57:51 lol... I still have trouble visualizing how. even if you don't realize the sd card slot has an eject mechanism (if you press the card you'll hear a click and it'll be pushed out), the card isn't being mechanically held in place by anything more than friction, so you should be able to pull it out without problems Feb 23 20:58:38 you can uninstall anything you want, although I think it's often easier to start with a minimial image and install stuff you want than start with an image filled to the top with crap and try to identify and remove stuff you don't need Feb 23 20:59:16 but I've worked with debian systems for quite a substantial time (I run it on my laptop and home server) so that probably affects my perspective Feb 23 20:59:25 Using vnc resulted in garbage text using vim or shell. Uninstalled qterminal. Installed lxterminal then ln /usr/bin/lxterminal /usr/bin/qterminal now works great. Feb 23 20:59:46 why would you use a terminal via vnc instead of logging in via ssh? Feb 23 21:01:48 as for what it needs, that depends on the vnc server you use... tightvnc needs x11, but others exist to grab the framebuffer console directly I think Feb 23 21:02:00 but why do you need it anyway? isn't the setup right next to you? Feb 23 21:02:12 You really don't but it is nice to work if it's there. Feb 23 21:05:18 Yes, next to me now, not later. Yes SSH & WinSCP over IP works fine and. So, broken SD-Slot I guess I can't do clean instll over IP? Feb 23 21:06:49 in theory you can, and I intend to get a working setup for that eventually (we want to switch to network-based flashing during production)... but right now it would be a rough road Feb 23 21:08:10 flashing via usb might be marginally easier since people have worked on tools to do so... basically it'll usb-boot the beaglebone into a tiny linux system (running out of RAM) that turns the eMMC into a usb mass storage device, so you can then reflash eMMC as if it were an SD card Feb 23 21:08:35 zmatt do you or your company have a EB page? Feb 23 21:08:44 EB? Feb 23 21:10:14 Ah, WEB site? Trouble with left eye. Depth of field way off. Feb 23 21:10:50 I mean, where I work certainly has a website, but you won't find anything related to beaglebones on there Feb 23 21:11:11 we sell expensive speakers => https://dutchdutch.com/ Feb 23 21:11:49 That's a shame. You seem to have a good bit of knowledge. Feb 23 21:12:06 yeah but I suck at writing it up Feb 23 21:14:03 That was one of my failings while working, over documenting stuff & code. Hard habit to brake since I started in Unix in 1974. Feb 23 21:14:32 overdocumenting sounds better than underdocumenting Feb 23 21:15:37 Well the over documenting also helped ME. Down the road when I had to modify code I could rad my comments. Feb 23 21:16:26 Need a new keyboard or new eyes. Feb 23 21:19:57 Zmatt just removed chromium & gained 114MB space. Feb 23 21:24:59 Zmatt forgot to tell you I also have ntpdate & vsftpd installed. Feb 23 21:25:24 ntpdate? why? ntp synchronization is enabled by default afaik Feb 23 21:25:41 (using systemd-timesyncd) Feb 23 21:27:11 Well the/date/zone didn't work until ntpdate was installed and the local timezone was linked.? Feb 23 21:28:20 define "didn't work" ... if time doesn't synchronize out of the box then that would be a bug, if you mean the timezone might be wrong then sure you need to configure that, but it has nothing to do with ntpdate Feb 23 21:30:14 cp -f /usr/share/zoneinfo/America/New_York /etc/localtime & /usr/sbin/ntpdate -b -s -u 0.north-america.pool.ntp.org . Always started with same wrong date and time. Feb 23 21:31:50 a better way to change the timezone would be "sudo timedatectl set-timezone America/New_York" ... obviously you only need to do that once Feb 23 21:32:04 /etc/localtime should be a symlink, not a copy Feb 23 21:32:10 Netherlands? Me Philadelphia, PA. Feb 23 21:32:13 but timedatectl will take care of that Feb 23 21:33:11 and like I said, in my experience the default beaglebone images will ntp-synchronize out of the box... they've been doing that for as long as I remember Feb 23 21:33:38 timedatectl returns debian@beaglebone:~$ sudo timedatectl Local time: Sun 2020-02-23 16:32:35 EST Universal time: Sun 2020-02-23 21:32:35 UTC RTC time: Sun 2020-02-23 21:32:36 Time zone: Etc/UTC (EST, -0500) Network time on: yesNTP synchronized: yes RTC in local TZ: no Feb 23 21:33:55 see, NTP is enabled and synchronized (ntpdate would not do that) Feb 23 21:34:30 also you don't need "sudo" if you're just using timedatectl to query information Feb 23 21:34:34 only when changing settings Feb 23 21:35:15 OK. As a test can I disable ntpdate and do a cold restart? Feb 23 21:36:38 ehh, if ntpdate is automatically invoked at boot then I'd guess systemctl disable ntpdate should work Feb 23 21:36:48 I'm not sure since I don't use it Feb 23 21:37:47 OK, I'll try it. Hold. Feb 23 21:39:36 debian@beaglebone:~$ sudo systemctl disable ntpdateFailed to disable unit: No such file or directory Feb 23 21:39:57 it's probably not something that gets invoked automatically at boot? Feb 23 21:40:03 dunno Feb 23 21:46:38 The only systemctl that looks like time related is time-sync.target Feb 23 21:46:58 that's not related to ntpdate Feb 23 21:47:33 systemd-timesyncd.service and time-sync.target are responsible for ntp synchronization by default Feb 23 21:48:04 (time-sync.target is merely a target that indicates that time synchronization is complete, to allow other services to use it for ordering) Feb 23 21:52:38 Well how about unstaiiling ntpdate & cold restart? Feb 23 21:53:18 I mean, if it's not being invoked at boot it doesn't matter whether it's installed or not Feb 23 21:54:16 OK, I'll remove it and cold start, wait. I can always re-install it Feb 23 22:00:01 OK. It still got the date/time? Out of the box it did not. Maybe installing & removing ntpdate helped? I dunno. Feb 23 22:01:05 Does the BBB support POE? Feb 23 22:01:17 if it has network access, it should ntp-synchronize out of the box Feb 23 22:01:42 the only thing you'll need to do (once) is set the desired timezone Feb 23 22:01:49 and no it does not support POE Feb 23 22:05:21 OK, Ethernet with external power supply. I'll try that when my new BBB & power supply comes in. Feb 23 22:09:37 Wow, removing ntpdate & chromium now 225MB space. Enough for apt upgrade or better not? Feb 23 22:19:42 sudo timedatectl set-timezone America/New_York Feb 23 22:20:08 Thanks for the help, bye. Feb 23 22:47:47 I suppose technically you can use a POE splitter and a 12V to 5V converter Feb 23 22:48:46 or get a 5V splitter (option 2) might be the barrel connector that could be an issue. Those are like $10 US anyhow :D Feb 23 23:59:05 you don't need the barrel connector, you can power the beaglebone via P9 Feb 24 00:02:30 most POE splitters have barrel connectors on them last I checked but yes you can supply power via P9 too (although that does occupy the connectors) Feb 24 00:03:24 oh since you said "might be the barrel connector that could be an issue" I mentioned the alternative... not sure what you meant then anyway Feb 24 00:06:54 probably thinking DC to DC converter for 12V to 5V power or something like that however they do have POE devices that output 5V 2+A so that works too Feb 24 00:08:40 I digress hmmm how small is the IoT image these days? < 2G Feb 24 00:11:22 the bone-debian-9.9-iot-armhf-2019-08-03 image has 2.13G in use, but if you remove some packages that are irrelevant on the AM335x then it has 1.72G in use Feb 24 00:12:50 removing the bone101 package would free up another 248M Feb 24 00:14:50 removing wireless drivers would free up 115M Feb 24 00:16:19 Oh that's not too bad roughly 600M after removing junk ... Feb 24 00:17:33 ehh, 1.72G - 248M - 115M is about 1.36G, not 600M Feb 24 00:17:41 600M sounds about how much the console image uses I think Feb 24 00:18:13 (and if you're stripping the iot image all the way down to 600M, you'd definitely be better off starting with the console image to begin with) Feb 24 00:18:29 I was thinking free... but I digress. Feb 24 00:18:46 ahh Feb 24 00:18:58 I could flush the dpkg cache too that might help. Feb 24 00:19:15 there's nothing cached that isn't automatically cleaned up already I think Feb 24 00:20:02 the latest shipped image had about 180M in the cache. Feb 24 00:20:15 in /var/cache/apt/archives ? Feb 24 00:20:34 (dpkg doesn't have a cache) Feb 24 00:22:30 rcn normally has a rule that cleans that directory out after package installation Feb 24 00:25:37 there was that much stuff in /var/cache/apt/archives it wasn't empty after some removal I had enough space to update the image. Feb 24 00:32:30 Hello... When I connect usb webcam to beaglebone and run grabber program (https://github.com/derekmolloy/boneCV) I get this error Feb 24 00:32:37 ioctl(3, VIDIOC_DQBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE}) = -1 EAGAIN (Resource temporarily unavailable) Feb 24 00:32:47 I see this error when running using strace Feb 24 00:32:54 I get that error too. Feb 24 00:33:01 wow...that was fast ! Feb 24 00:33:15 Even w/ other cv2 programs, I get that error. Feb 24 00:33:31 I think it is on their side of things. I have not figured it out just yet. Feb 24 00:33:55 I have a working program that might interest you. Please see here, dang it. Hold. Let me get the link. Feb 24 00:34:09 eagain is not an error Feb 24 00:34:41 True..the resource is not available...but how to solve it Feb 24 00:34:50 https://www.hackster.io/functt/recording-and-usb-web-cameras-with-the-bbai-and-opencv-d8d68d is as small program I use. Feb 24 00:35:32 thanks set_ . ...this requires installing opencv then Feb 24 00:35:33 it's not a thing to be solved, getting eagain is normal during operation. whatever actual problem you're trying to solve, this isn't the underlying cause of it Feb 24 00:35:42 the grabber program...I believe only requires v4l2 Feb 24 00:36:01 Are you using opencv? Feb 24 00:36:23 I saw the error and thought you were. Sorry. Feb 24 00:36:40 for grabber pgoram..opencv is not required Feb 24 00:36:41 note that the beaglebone is not great for usb webcams... not only does it has little processing power to deal with image/video data, the usb controller and its linux driver are fairly crap and have quite poor performance as a result Feb 24 00:36:45 Oh. Feb 24 00:36:50 but I will instal opencv for your program Feb 24 00:36:59 All I care is grabbing image using webcam Feb 24 00:37:05 I wouldn't suggest using opencv for that Feb 24 00:37:06 then I want to pass it on to tesseract ocr Feb 24 00:37:21 just use any v4l2 image grabber Feb 24 00:37:26 opencv would be complete overkill Feb 24 00:37:34 zmatt that is what I m using Feb 24 00:38:12 Did you use sudo to write your files? Feb 24 00:38:21 https://github.com/derekmolloy/boneCV Feb 24 00:38:25 Okay. Feb 24 00:38:36 I tried sudo too Feb 24 00:38:50 The grabber program on this link does not use opencv Feb 24 00:38:55 it is v4l2 Feb 24 00:39:10 kiwi_29: any reason to use some obscure program from a 7-year old repository, instead of just some standard off-the-shelf v4l2 programs? Feb 24 00:39:13 whereas boncv program uses opencv Feb 24 00:39:47 zmatt if you know any standard off the shelf program, please let me know..because I m not v4l2 expert Feb 24 00:40:03 I used that program because it is first in google search ;) Feb 24 00:40:32 that sounds unlikely, unless you included "beaglebone" in your search terms, which would be a mistake Feb 24 00:40:42 Ha. Feb 24 00:40:43 what you're looking for would be generic for linux Feb 24 00:40:43 ! Feb 24 00:41:19 I think you can use v4l2-ctl (part of the v4l-utils package) to grab a frame Feb 24 00:41:36 there might be better tools Feb 24 00:41:52 I am going to look up, what was it, v4"l"2. Feb 24 00:42:09 Is that an ell or a one? Feb 24 00:42:55 or maybe try uvccapture (name of package as well as the program) Feb 24 00:43:06 set_: l as in linux Feb 24 00:43:11 v4l = video for linux Feb 24 00:43:40 https://www.kernel.org/doc/html/v4.9/media/uapi/v4l/v4l2.html: got it. Feb 24 00:43:50 Yea. That sounds like a lot of work. Feb 24 00:44:02 that's kernel documentation, not end-user documentation Feb 24 00:44:08 Oh. Sorry. Feb 24 00:44:10 Oops. Feb 24 00:44:32 uvccapture seems to work easily on my laptop Feb 24 00:44:39 hmm, or does it Feb 24 00:44:48 Can we see the feed? Feb 24 00:44:53 Hahhaha. Feb 24 00:46:24 ok never mind, uvccapture doesn't work on my laptop Feb 24 00:47:49 (with or without -m ) Feb 24 00:48:28 http://trac.gateworks.com/wiki/linux/v4l2 is some idea that looks to give some ideas. Feb 24 00:49:59 I know it is not python but they have other links to other examples. Feb 24 00:51:11 I have time. Should I plug something in? Feb 24 00:51:25 I can install v4l2, also. Feb 24 00:52:12 kiwi_29: Are you still working w/ that error code? Feb 24 00:52:34 no since it's not an error Feb 24 00:52:45 Okay. Sorry. What is it? Feb 24 00:52:54 Just a print of one of the functions? Feb 24 00:53:03 it's irrelevant, a wild goose chase Feb 24 00:53:08 Oh. Okay. Feb 24 00:53:19 Sounds fun! Feb 24 00:54:09 The gray geese here actually just wander up to people. Feb 24 00:54:35 "Got food," they would ask if they could talk. Instead, the geese just honk at me and bite. Feb 24 00:54:44 Sheesh. Feb 24 00:55:02 set_ I m looking in to uvccapture Feb 24 00:55:10 Okay. Feb 24 00:55:13 one image got generate uvccapture Feb 24 00:55:18 but is not opening Feb 24 00:55:20 uvccapture. Feb 24 00:55:21 Hmm. Feb 24 00:55:25 tried using -m option Feb 24 00:55:32 like I said, uvccapture didn't work on my laptop, with or without -m Feb 24 00:55:35 but then uvccapture is not opening Feb 24 00:55:45 sorry..uvccapture is not exiting Feb 24 00:56:05 will check and update here Feb 24 00:56:06 oh that sounds like maybe it's not working, but the kernel driver isn't ;) Feb 24 00:56:11 *maybe it's woring Feb 24 00:56:38 Okay. Maybe we can try another source or are you "hard up" on v4l2? Feb 24 00:56:54 there's not really any alternative to v4l2 Feb 24 00:57:10 just different programs that all use v4l2 Feb 24 00:57:16 Oh. Okay. So, there are not any video capture libraries for...oh. Feb 24 00:57:17 Okay. Feb 24 00:57:33 They are all basedo on the tech. of it. Got it. Feb 24 00:57:42 basedo = based Feb 24 00:58:54 semi-SUCCESS ! Feb 24 00:59:05 atleast the image is opening Feb 24 00:59:12 although it is all gren Feb 24 00:59:16 green Feb 24 00:59:25 that might be an autosuspend issue Feb 24 01:01:50 try setting /sys/module/usbcore/parameters/autosuspend to -1 (you probably need to unplug the camera and plug it back in for it to take effect) Feb 24 01:02:05 or alternatively, append usbcore.autosuspend=-1 to the "cmdline" variable in /boot/uEnv.txt and reboot Feb 24 01:02:13 thanks zmatt . I m also suffering now from full disk :( Feb 24 01:02:29 so don't start with an almost-full disk to begin with Feb 24 01:02:30 ;) Feb 24 01:04:35 Did you people figure out the issue? Feb 24 01:04:44 I finally just plugged in. Sheesh. Feb 24 01:16:43 v4l2-ctl --device /dev/video0 --all <<< try that to find out about your usb webcam! Feb 24 01:17:20 I figured some might not have accessible capture abilities. Feb 24 01:26:34 Oh well. I guess I try. Feb 24 01:28:58 I'll need to better than fry :d Feb 24 01:29:52 Boy! Feb 24 01:30:16 GenTooMan: I am just learning new stuff (as usual). GTK-3 here I come! Feb 24 01:58:13 Like scatter plots, there are scatter brains too. Me, me, me. Hey, I am updating my board now (BBGW). The install of the sudo ./update_kernel.sh script keeps telling me it cannot set my locale. Feb 24 01:58:15 What is that? Feb 24 01:59:10 can you pastebin the output of the "locale" command? Feb 24 01:59:16 sure. Feb 24 01:59:30 it might be your ssh client is passing along locale settings that aren't available on the BBB Feb 24 01:59:56 (I understand the idea behind allowing ssh client to specify the locale, but it rarely works out well in practice. I personally disable it) Feb 24 02:00:30 https://pastebin.com/XMXS67ru is what printed to console. Feb 24 02:00:45 uhh ok Feb 24 02:01:15 that's also weird Feb 24 02:01:21 but in that case, no idea Feb 24 02:01:33 I changed it w/ dpkg-reconfigure tzdata after the update. Hmm. Feb 24 02:01:45 tzdata is timezone, not locale Feb 24 02:01:51 Oh. Feb 24 02:01:54 What is locale? Feb 24 02:02:01 location? Feb 24 02:02:17 Around that area of the world? Feb 24 02:02:19 language and language-related settings (e.g. date formatting, stuff like that) Feb 24 02:02:24 Oh. Feb 24 02:02:25 Okay. Feb 24 02:02:30 Hmm. Argh. Feb 24 02:02:50 most common would be en_US.UTF-8 Feb 24 02:03:11 The update kept stating "reverting back to 'C'" Feb 24 02:03:23 yeah it looks like no locale is configured at all Feb 24 02:03:32 "C" basically means "no locale" Feb 24 02:03:35 Okay. No language. Neat! Feb 24 02:03:36 Oh. Feb 24 02:03:59 "POSIX" and "C" are equivalent Feb 24 02:04:02 for locale Feb 24 02:04:07 Okay. Feb 24 02:04:15 It works. So, this is not dire. Feb 24 02:04:24 ("C" is the historical name for the "POSIX" locale) Feb 24 02:04:48 Oh. Nice. Feb 24 02:11:25 I cannot get my vncserver working. Is there some specific command to figure out what is happening on my end? Feb 24 02:14:44 Forget it. I forgot about my ufw "FIREWALL!" Feb 24 02:33:29 Man. My .xsession-errors are unlimited. Yikes. Feb 24 02:37:42 ufw! Argh! Feb 24 02:44:10 Dang it. Feb 24 02:44:32 Does cloud9 still work for older images and models of the BBB, BBG, BBBW, BBGW? Feb 24 02:51:40 Hey, I am missing the cloud9 stuff on this board. Is there a way to get it back? Feb 24 02:56:29 I am missing bonescript stuff too. Feb 24 02:56:36 Send rations! **** ENDING LOGGING AT Mon Feb 24 02:59:57 2020