**** BEGIN LOGGING AT Sat Sep 23 03:00:03 2017 Sep 23 03:44:56 GRRRRRR Kicad in its current form blows Sep 23 05:34:29 i need help in programming Sep 23 05:35:11 can you help me? Sep 23 17:05:58 Up, up, and OTAY! Sep 23 18:16:25 Hi All, according to this : https://github.com/RobertCNelson/bb-kernel/issues/49 usb gadget serial isn't supported with windows 7 without proper inf dile, doesn anyone has a clue on how to make one ? Sep 23 19:27:19 Hi All, according to this : https://github.com/RobertCNelson/bb-kernel/issues/49 usb gadget serial isn't supported with windows 7 without proper inf dile, doesn anyone has a clue on how to make one ? Sep 23 20:28:28 Hey Yo! Sep 23 20:28:29 BBB! Sep 23 20:28:52 Does anyone use the MRAA and UPM stuff for their BBB/BBGW? Sep 23 20:29:50 I am asking because "painless" from cmake building means "pain-in-the-tail," not "painless." Sep 23 20:29:52 Yep! Sep 23 20:30:29 Okay...see here. I got the MRAA and UPM module I need for my hardware. Sep 23 20:31:01 Now...compiling it is just not easy on me because of my lack of instruction. Sep 23 20:31:18 Instruct me! Sep 23 20:36:34 ... Sep 23 20:37:01 I have a build directory but the instructions want me to make a build directory, i.e mkdir build. Sep 23 20:37:14 Now... Sep 23 20:37:58 I cannot have two build directories in the same directory. Dang it! Intructions need to be longer and more drawn out. Sep 23 20:41:56 ... Sep 23 21:06:10 hi there channel :-) Sep 23 21:13:35 hi dury Sep 23 21:14:38 Up, Up and OTAY! Sep 23 21:14:39 Boo! Sep 23 21:15:18 I've just flashed rev. A5C with bone-debian-9.1-console-armhf-2017-09-17-1gb.img.xz Sep 23 21:17:03 then I did apt-get xfwm4 for light desktop. Is it right? Sep 23 21:17:30 well apt-get install xfwm4 sorry Sep 23 21:17:54 how do I launch that desktop noe? Sep 23 21:18:04 noe = now Sep 23 21:18:39 zmatt, are you there? Sep 23 21:25:52 after that /dev/mmcblk1p1 size=1.8g ; used=507m ; avail=1.2g ; used=31% ; mounted on / Sep 23 21:26:29 how to launch xfwm4 Sep 23 21:28:52 florian, can you drive me please Sep 23 21:38:46 zmatt, busy? Sep 23 21:48:26 wanna very light desktop environment in this tight eMMC 2gb rev. A5C Sep 23 21:51:00 does xfwm4 depend on xorg? Sep 23 22:32:49 decided for lxqt-core there must be lighter than that Sep 23 22:44:46 every desktop environment depends on xorg or wayland Sep 23 22:45:19 launching xorg can be done through startx but is most commonly done using a display managed such as lightdm Sep 23 22:45:56 thanks for answer Sep 23 22:46:25 installing lightdm or some other dm should pull in the necessary dependencies Sep 23 22:47:05 then just sudo systemctl start display-manager or reboot Sep 23 22:47:26 did sudo apt-get install lqxt-core Sep 23 22:49:08 yes, that is one ingredient but not enough :) Sep 23 22:52:05 zmatt, how can I configure autostart X this case lqxt without typing username and psswd Sep 23 22:52:45 lightdm has a config file where you can enable that Sep 23 22:54:24 1.2gb used after lqxt-core installed Sep 23 22:54:36 really? that sucks Sep 23 22:54:54 avail 511m Sep 23 22:55:24 ohh, by default it probably pulls in "recommended" packages, not just required packages.... hmm Sep 23 22:56:51 so, why exactly are you trying to get a desktop environment on a beaglebone again? with a cortex-a8 cpu, 2GB of eMMC, and 512MB of ram... it's never going to be a comfortable environment for that I think Sep 23 22:57:40 yep testing environments there must be lighter than lqxt Sep 23 22:58:41 angstrom did why not with stretch Sep 23 23:00:29 it's not bad with this lqxt Sep 23 23:00:50 you can no doubt get a fairly light gui if you put in enough effort, but I'm still not sure why... if you just want a single-board computer and don't care about I/O capability then the beaglebone just isn't the greatest choice Sep 23 23:01:55 the beaglebone is great for its I/O... analog inputs, pwm outputs, uarts, i2c, spi, hardware pulse counting, lots of gpio, etc :) Sep 23 23:02:36 minimal environment with web browser Sep 23 23:03:31 a minimal environment with web browser would be to omit the window manager entirely and just start the web browser as the only application within the X session :) Sep 23 23:05:05 (I don't exclude the possibility you might be able to run a fullscreen web browser without X even, e.g. qt5 applications can run fullscreen without X or wayland) Sep 23 23:05:58 zmatt, can you help me with lightdm to autostarx, please? Sep 23 23:07:17 after you install lightdm it should autostart on boot I think... if it doesn't, try: sudo systemctl set-default graphical Sep 23 23:08:04 ok one minute Sep 23 23:09:32 done that Sep 23 23:09:47 zmatt, now reboot? Sep 23 23:11:04 yes Sep 23 23:11:28 (or you can manually start it with sudo systemctl start lightdm ) Sep 23 23:15:54 says failed to start lightdm.service: Unit lightdm.service not found Sep 23 23:16:26 uhh, did you install it? Sep 23 23:16:39 lightdm? Sep 23 23:17:29 yes? you can't start something that's not installed :) Sep 23 23:17:49 sorry Sep 23 23:18:18 another additional 18.2 mb to do that Sep 23 23:19:55 hited yes for those packages Sep 23 23:24:22 not bad... Sep 23 23:25:25 but doesn't go straight to X have to type username & psswd Sep 23 23:25:40 on lightdm Sep 23 23:36:20 like I said, lightdm has a config file where you can configure autologin Sep 23 23:36:33 check /etc/lightdm/... Sep 23 23:53:41 success :-) Sep 23 23:53:59 https://github.com/kororaproject/kp-documentation/wiki/Autologin-in-LightDM thanks that Sep 23 23:56:47 not bad Sep 23 23:58:29 thanks zmatt happy with this x-window-manager and stretch goes not bad Sep 23 23:58:46 it loads quicker Sep 23 23:58:54 than jessie Sep 24 01:15:38 Hey man...can Autorun on Cloud9 use .py files to run on start-up? Sep 24 01:15:45 ... Sep 24 01:16:21 * zmatt knows nothing about cloud9 Sep 24 01:16:27 Dang! Sep 24 01:16:41 Oh well...back to the old drawing board. Sep 24 01:17:10 I got another one for you, zmatt: Um, do you use MRAA or UPM modules? Sep 24 01:17:19 never heard of them Sep 24 01:17:23 Dang! Sep 24 01:17:27 Okay...touche! Sep 24 01:17:43 Um...dang it. Sep 24 01:17:46 Oh well. Sep 24 01:17:49 on the bright side... Sep 24 01:17:51 I have tea. Sep 24 01:17:53 yea? Sep 24 01:17:54 Cool! Sep 24 01:18:05 Do not spill my cup of tea on my BBB? Sep 24 01:18:29 Okay zmatt: Do you know how to compile things that do not work as is? Sep 24 01:18:30 will try. our beaglebone cemetary is full enough already Sep 24 01:18:35 no! Sep 24 01:19:07 uhh, I have no idea what you mean with that Sep 24 01:19:11 Build? Sep 24 01:19:44 Okay! For instance, I have this upm module that I installed using npm. Sep 24 01:20:06 Now, I must compile this upm module to make it usable but I am at a lack of instruction. Sep 24 01:20:12 uhh Sep 24 01:20:16 Heh? Sep 24 01:20:20 npm will normally compile modules for you if necessary Sep 24 01:20:34 zmatt: This time it did not. Sep 24 01:20:57 npm install should leave you with a fully functional module... if it didn't, and the module didn't come with special instructions, then it's simply a bug Sep 24 01:21:06 Oh. Sep 24 01:21:09 You are right. Sep 24 01:21:11 Bugs! Sep 24 01:21:25 Now...I must erase all things. Dang! Sep 24 01:21:32 My bbb cannot take another set of bugs. Sep 24 01:21:50 I hate trying to use my processor to waste on bugs. Sep 24 01:22:26 Hey zmatt: Do you program the BBB much? Sep 24 01:23:48 I am asking because I have this darn grove module and it is a Grove GPS module. Sep 24 01:24:05 I want to use it but I suck. Therefore, I must look to other sources for ideas. Sep 24 01:24:25 ... Sep 24 01:24:58 Oh and socket.io, have you heard of this bunch of stuff? Sep 24 01:25:33 ... Sep 24 01:26:41 vaguely, but I generally try to avoid nodejs when I can. unfortunately I can't always since my boss likes nodejs, but my work in it is mostly limited to writing fairly low-level modules to glue nodejs to other stuff Sep 24 01:27:20 (e.g. I wrote https://github.com/dutchanddutch/node-sd-daemon ) Sep 24 01:27:21 Like what? Sep 24 01:27:28 Oh. Sep 24 01:28:01 and modules for dbus and avahi (since existing ones sucked) Sep 24 01:28:27 Hey zmatt: Enough of nodejs, do you ever use python at all? Sep 24 01:28:35 not really Sep 24 01:28:38 Dang! Sep 24 01:28:41 Okay. Sep 24 01:28:55 I mean, I've programmed a bit in it, but I didn't like it Sep 24 01:29:01 I try to stick with .js and .py files to get familiar in them alone. Sep 24 01:29:02 Oh. Sep 24 01:29:28 What is your choice for the BBB and beyond? Sep 24 01:29:47 (e.g. I made https://github.com/mvduin/py-uio but stopped working on it because I didn't like python) Sep 24 01:29:54 mostly C++ Sep 24 01:30:22 Oh. I started in C++ and thought it was very difficult. I never remember anything in that language. Sep 24 01:30:39 cout and how to end each line still beats me. Sep 24 01:31:05 yeah I don't think it's the language for you :P Sep 24 01:31:09 Yep. Sep 24 01:31:13 I need simplicity. Sep 24 01:31:27 The old, "One-Two." Sep 24 01:31:34 simplicity is a property that C++ does not have Sep 24 01:31:46 So, what have you done in the BBB realm lately? Sep 24 01:32:03 mostly boring stuff for work Sep 24 01:32:18 I am asking because I am always looking for extra stuff to try and not fail at. Sep 24 01:32:44 I failed the MRAA and UPM stuff over and over again, e.g. since 2015. Sep 24 01:32:45 a fair amount of javascript code for nodejs, which generally makes me want to wash my brain afterwards Sep 24 01:32:53 Ha! Sep 24 01:33:12 Before 2015, MRAA and UPM was glorious! Sep 24 01:33:23 use a time machine to go back Sep 24 01:33:27 Check! Sep 24 01:33:35 I got one, beer! Sep 24 01:33:40 easy solution every time Sep 24 01:33:42 Ha! Sep 24 01:34:03 I got this BBGW running right now. Sep 24 01:34:34 I got some e-mail program, a Grove_GPS.py file, and a couple of random temp. scripts. Sep 24 01:35:11 I found that Grove_GPS.py file on the BBB software from the Stretch stuff. Sep 24 01:35:15 Someone just put it on there. Sep 24 01:35:47 ... Sep 24 01:36:16 So, I tried to get the grove_GPS.py file to run as is. No-go! I had to fail. Sep 24 01:36:18 Boo! Sep 24 01:36:32 I tried to situate the software some. Sep 24 01:36:57 I have this odd, gps module with a grove-UART connection that is already made. Sep 24 01:37:10 Four wires and it is ready. Odd? Sep 24 01:37:22 ... Sep 24 01:37:53 Hey...do you want to see something funny I made? Sep 24 01:38:05 Metal, BBB, and Python! Sep 24 01:38:33 ? Sep 24 01:38:50 Serious. I will show you. It is a youtube.com link to my funny creation. Sep 24 01:39:32 A bbb runs the brains and some H-Bridge from Seeed Studio runs the power and motors. Sep 24 01:39:44 ... Sep 24 01:41:11 https://youtu.be/0W2CNGT-C2o is the link to my account and the funny creation. Sep 24 01:41:31 yay, it moves Sep 24 01:41:41 I was going to put an engine on it and make it cut grass. Sep 24 01:41:58 That was my goal for years until I figured out things change too quickly. Sep 24 01:42:36 I can probably set the thing to do other stuff, e.g. send an e-mail every so often. Sep 24 01:42:52 "I am cutting your grass, master!" Sep 24 01:42:55 lol Sep 24 01:43:16 I have the engine still but I got lazy and started working more. Sep 24 01:43:31 Or...yea. I was sleeping too often. Sep 24 01:43:33 Not working. Sep 24 01:43:44 Oh well, that project needs to be completed. Sep 24 01:44:18 I got a normally open door sensor/window sensor. Sep 24 01:44:43 This thing could go on the machine and send e-mails when it keeps opening the sensor. Sep 24 01:44:59 Every rotation of the wheel. Ha! Sep 24 01:45:31 ... Sep 24 01:46:50 I still think the opposite of kilroi_off should be kilroi_on Sep 24 01:49:27 https://pastebin.com/ramJEXvW is the link to this so-called Grove GPS module stuff with the BBGW and the UPM/MRAA stuff. Sep 24 01:50:10 The software was well-thought out and it seems like it would be a good start but I cannot get it to run correctly, i.e. without errors. Sep 24 01:50:14 ... Sep 24 01:53:08 Here is the error...Error: Illegal arguments for construction of _Exports_GroveGPRS and it denotes var sensor = new sensorObj.GroveGPRS(0); Sep 24 01:53:10 ... Sep 24 01:55:15 what's the 0 argument ? Sep 24 01:55:30 Good question. Sep 24 01:55:36 I will look it up. Sep 24 01:55:48 UART 0 Sep 24 01:56:02 uart 0 is the console port Sep 24 01:56:06 wrong uart :) Sep 24 01:56:23 Oh. So, grove UART is something different? Sep 24 01:57:11 I think it may be UART1 instead. Sep 24 01:57:15 the beaglebone has 6 uarts (or 7 if you include the one in PRUSS) Sep 24 01:57:42 I have the dang BBGW. Sep 24 01:57:43 you need to check which uart is the one that connects to the grove connected to which you attached the module Sep 24 01:57:50 Okay. Sep 24 01:58:00 It just says UART. Sep 24 01:58:01 the AM335x (the SoC that's on every beaglebone variant) has 6 uarts (or 7 if you include the one in PRUSS) Sep 24 01:58:09 Okay. Sep 24 01:58:30 ... Sep 24 01:58:36 Be back in a jiff. Sep 24 01:59:08 it's uart2 Sep 24 01:59:33 (according to the BBGW schematic) Sep 24 02:00:05 Dang! Sep 24 02:00:13 I was thinking it was Grove_UART Sep 24 02:00:23 Okay. I should change that software some. Sep 24 02:00:23 that's not an uart number Sep 24 02:01:00 I went to Seeed Studio's site and looked online. Where did you find the schematic? Sep 24 02:01:36 I am still waiting for the github.com page to show up. Sep 24 02:01:54 you may want to double check whether those pins have indeed been configured for uart functionality, e.g. using my show-pins utility ( sudo ./show-pins | grep 'uart 2' ) Sep 24 02:01:59 github Sep 24 02:02:02 I think Sep 24 02:03:11 Okay. Sep 24 02:03:14 Please hold. Sep 24 02:03:39 the grove uart header corresponds to P9.21 and P9.22 Sep 24 02:04:26 I do not have that cmd in my BBGW. Sep 24 02:04:34 https://github.com/mvduin/bbb-pin-utils/ Sep 24 02:04:38 get it there :) Sep 24 02:04:43 Okay. Thank you. Sep 24 02:04:49 You wrote that, heh? Sep 24 02:05:04 yes Sep 24 02:05:31 Cool! I am about to get it and check things out. Sep 24 02:05:31 and since not long ago it actually has a README explaining the columns ;) Sep 24 02:05:38 Cool beans! Sep 24 02:06:13 the pin description is slightly BBB-specific but other than that it should work for any beaglebone variant Sep 24 02:07:42 i hope. I will check it out. Sep 24 02:09:21 I cannot get it to work. Sep 24 02:09:29 ? Sep 24 02:09:57 what error are you getting? Sep 24 02:10:00 I tried and got an error. Here: Illegal hexadecimal digit 'P' ignored at /usr/local/sbin/show-pins line 59, <> line 3. Sep 24 02:10:01 pin 0 (PIN0): 481d8000.mmc (GPIO UNCLAIMED) function pinmux_emmc_pins group pinmux_emmc_pins Sep 24 02:10:21 let's see... Sep 24 02:10:29 which kernel are you using? Sep 24 02:10:47 Linux beaglebone 4.9.35-ti-r44 Sep 24 02:11:18 #1 SMP PREEMPT Sat Jul 1 00:54:33 UTC 2017 Sep 24 02:13:09 huh, that's really strange... I'm also running a 4.9 kernel and for me that line starts with "pin 0 (44e10800.0)" Sep 24 02:13:30 where does that difference in output come from... hmm... Sep 24 02:13:45 I do not have stand-alone. Sep 24 02:13:56 I have everything on my flash. Sep 24 02:14:10 can you pastebin the contents of /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins Sep 24 02:14:15 Sure. Sep 24 02:14:30 and /sys/kernel/debug/pinctrl/44e10800.pinmux/pins Sep 24 02:14:37 okay. Sep 24 02:16:02 Hello...I cannot get into the debug section of my kernel. Sep 24 02:16:14 sudo cat /sys/kernel/... Sep 24 02:16:14 Eh ut oh? Sep 24 02:16:17 okay. Sep 24 02:17:15 assuming your beaglebone has internet access you can pipe the output directly into the pastebinit command Sep 24 02:18:13 Okay...I got the first amount of pinmux stuff read. Please hold. Sep 24 02:19:31 meanwhile I'm installing the same kernel onto a bbb to see if I can reproduce this Sep 24 02:19:39 https://pastebin.com/7qUbz4nn is the link to /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins Sep 24 02:19:40 Okay. Sep 24 02:21:35 looks like the pin thing is the only change, curious Sep 24 02:21:43 Here it be: https://pastebin.com/M5zxzkPj Sep 24 02:21:53 okay, same change there Sep 24 02:22:02 Should I go poop yet? Sep 24 02:22:29 that's a decision you will really have to make on your own Sep 24 02:22:36 Okay...pooping is out for now. Sep 24 02:22:45 To the BBGW. Sep 24 02:23:11 should be trivial for me to fix show-pins to be compatible with this output Sep 24 02:23:22 I can update. Sep 24 02:23:26 No issue. Sep 24 02:23:45 .img file it must be. Sep 24 02:23:50 I'm waiting a bit more for the kernel install complete so I can hopefully test it myself... but this bbb has older eMMC and is sloooow Sep 24 02:24:19 Yea...my BBB A1 is slow too. Sep 24 02:24:32 I got that sucka kickin' in a huge disk now. Sep 24 02:24:42 Flash! Sep 24 02:25:10 this is a C, but an older C Sep 24 02:25:14 Oh. Sep 24 02:25:18 I have the 2 GB. Sep 24 02:25:41 I have one of those too, an A5A. it's still useful to me since it's the only bbb I have that has its jtag header soldered on Sep 24 02:26:09 oh. All of mine have that piece on mine, I think. Sep 24 02:26:27 The six pins. Sep 24 02:26:44 Well, some. Sep 24 02:26:53 no, that's the console header Sep 24 02:26:57 Oh. Sep 24 02:27:04 jtag is the 20-pin header on the bottom Sep 24 02:27:41 yep, I can reproduce the error Sep 24 02:27:44 Oh. Sep 24 02:27:47 must be a thing of 4.9-ti kernels Sep 24 02:27:57 Dang. What do you think I should do? Sep 24 02:28:04 wait for me to fix the script Sep 24 02:28:22 Okay. Should I eat six phillie cheese steaks? Sep 24 02:28:29 i.e. While I wait? Sep 24 02:28:41 that's a decision you will really have to make on your own Sep 24 02:28:47 :P Sep 24 02:28:55 Dang it. I am not sure if I can but I can try. Sep 24 02:34:31 zmatt: I am going on a smoke break. If I do not make it back in five minutes, pray for rain. See you soon. Sep 24 02:34:45 okay, I'm about halfway through fixing it Sep 24 02:38:39 Otay! Sep 24 02:41:17 fix pushed to github Sep 24 02:41:32 Okay...I will be right back. Sep 24 02:46:12 I get an Illegal hexadecimal digit 'P' ignored at /usr/local/sbin/show-pins line 59, still. Sep 24 02:47:02 uhh, then you didn't update it? Sep 24 02:47:07 Oh. Sep 24 02:47:09 Please hold. Sep 24 02:48:07 I updated it. Sep 24 02:48:21 Still, no-go. Sep 24 02:48:44 Should I use show-pins.1 Sep 24 02:48:46 ? Sep 24 02:49:17 oh lol, remove show-pins (and show-pins.1) first Sep 24 02:49:24 wget doesn't overwrite existing files by default Sep 24 02:49:34 Okay. Sep 24 02:50:02 I think using wget -N would work also Sep 24 02:50:46 Okay. Sep 24 02:51:10 permission denied. Sep 24 02:51:20 sudo :P Sep 24 02:51:32 Dang! Sep 24 02:53:05 it worked! Boy! Sep 24 02:53:41 I do not think UART is configured. Sep 24 02:53:47 so, P9.21 and P9.22 should be configured to uart 2 txd and uart 2 rxd respectively Sep 24 02:54:07 if they're not, try: sudo config-pin P9.21 uart Sep 24 02:54:14 and ditto for P9.22 Sep 24 02:54:26 Okay...I think my hdmi is in the way. Sep 24 02:54:38 no it's not, since you don't have hdmi, and also those are completely unrelated pins Sep 24 02:56:15 as I said earlier, the pin description column (the first column) is somewhat specific to the BBB. the expansion header pin numbers are still valid, but the additional connections or special considerations be may different Sep 24 02:56:28 Okay. Sep 24 02:56:32 see https://github.com/mvduin/bbb-pin-utils/#description Sep 24 02:57:05 P9.22 / spi boot clk 84 fast rx up 1 uart 2 rxd ocp/P9_22_pinmux (pinmux_P9_22_uart_pin) Sep 24 02:57:05 P9.21 / spi boot in 85 fast rx up 1 uart 2 txd ocp/P9_21_pinmux (pinmux_P9_21_uart_pin) Sep 24 02:57:14 ok, so they're configured right Sep 24 02:57:38 then you should be able to use GroveGPRS(2) Sep 24 02:57:50 Okay. Let me check. Sep 24 02:57:55 I will be right back. **** ENDING LOGGING AT Sun Sep 24 03:00:00 2017