**** BEGIN LOGGING AT Sat Dec 09 03:00:01 2017 Dec 09 06:03:28 o.O Dec 09 14:18:31 can some tell me whats the problem when i try to test my code on https://github.com/jstapels/mpu6050/ Dec 09 14:18:59 i have installed the mpu6050 with code "npm install mpu6050" Dec 09 14:19:26 my cmd says "npm WARN deprecated coffee-script@1.9.1: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)" Dec 09 14:19:40 then i put the code in test.js Dec 09 14:19:47 and "node test.js" Dec 09 14:20:03 and its says "TypeError: callback is not a function" Dec 09 14:20:23 does somebody know the problem? Dec 09 14:35:01 someone? :( Dec 09 18:48:34 ::respawn:/sbin/getty 115200 console Dec 09 18:52:11 anyone using "MASTERING EMBEDDED LINUX PROGRAMMING" Dec 09 19:17:30 I am having trouble with content of book "Mastering Embedded Linux Programming" on beaglebone black Dec 09 19:17:51 does anyone here use this book? Dec 09 19:33:45 Not I? Dec 09 19:34:54 GenTooMan: can you read my post? Dec 09 19:39:52 "I am having trouble with content of book "Mastering Embedded Linux Programming" on beaglebone black", "does anyone here use this book?" <-- response means I don't know who uses that book, I don't. Dec 09 19:40:47 First start with what version of the board and OS the book was written for. Things have changed significantly on the BBB. Dec 09 19:43:08 is there any reason I can't access this channel via Pidgin on ubuntu 16.04? Dec 09 19:47:55 I don't use Pidgin so I nary have an idea. I use Hexchat which is pretty much the best IRC client I've found thus far. Dec 09 19:51:48 Ceriand: thanks Dec 09 20:53:58 Hi Dec 09 21:37:38 I am having a hell of a time installing LXDE on a BBG Dec 09 21:37:54 i cannot get rid of chromium-common and chromium Dec 09 22:17:34 Life_is_a_Bone: I saw the error you pasted earlier... what on earth did you do? Dec 09 22:19:29 what steps did you take that led up to this mess, and what errors did you get along the way exactly? Dec 09 22:23:01 also, are you doing this on eMMC or SD card? how much free space do you have left? Dec 09 22:53:04 lol Dec 09 22:53:06 nothing Dec 09 22:53:23 i only had the BBG for like 2 days how much trouble could i get into Dec 09 22:53:29 i was trying to get my wireless going Dec 09 22:53:50 so I was playing around with things there but other than that I was in and out of /etc/network/interfaces Dec 09 22:53:51 so, BBGW then, not BBG ? Dec 09 22:53:59 trying to connect to my wifi Dec 09 22:54:04 /etc/network/interfaces isn't being used Dec 09 22:54:16 connman is the network manager used by default Dec 09 22:54:46 ok I thought i read somewhere that it overrides connman Dec 09 22:54:55 connman was not doing the job Dec 09 22:55:00 but in regards to apt-get Dec 09 22:55:06 I havent done much Dec 09 22:55:15 I am on an SD card Dec 09 22:55:25 i have plenty of room its a 32gb Dec 09 22:55:29 ok Dec 09 22:55:44 now i am assuming i am booting from the SD Card Dec 09 22:56:04 for the BBG it supposed to boot from the card if it is inserted but I am not sure how I can confirm Dec 09 22:56:07 if the card is bootable, it will default to booting from that Dec 09 22:56:23 i used etcher Dec 09 22:56:26 what does this say: df -h / Dec 09 22:57:04 to flash the card Dec 09 22:57:06 Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p1 30G 2.9G 26G 10% / Dec 09 22:57:22 loooks like i am ok Dec 09 22:57:22 yep, you're running from sd card and have plenty of space Dec 09 22:57:56 so I want to get LXDE going but chromium-common keeps messing everything up Dec 09 22:57:59 should I just start over Dec 09 22:58:00 just curious, why were you trying to install lxde ? you have an lcd cape? Dec 09 22:58:24 yes I noticed from the error that you had some weird mix of different versions or something Dec 09 22:58:40 i want to forward to Xserver so I can just drive via putty Dec 09 22:58:57 i read that I need a gui Dec 09 22:59:03 like GNOME Dec 09 22:59:23 i went for lxde since it seemed simpler ideally to get installed and working Dec 09 22:59:25 you want to use X forwarding... uh, okay... Dec 09 22:59:56 you don't actually need a full desktop environment for that, or indeed any xserver at all on the beaglebone side, just installing whatever programs you want to run should suffice Dec 09 23:00:51 the goal is to start making stuff and using the cloud9 or labview Dec 09 23:01:15 if you think there is a better way i am open to it. I am new at this Dec 09 23:02:38 I installed firefox Dec 09 23:02:42 maybe that did it Dec 09 23:03:03 why would you want to run a browser on the beaglebone? Dec 09 23:03:27 i want to get a driver on there so I can get my wireless working Dec 09 23:03:31 still not working correctly Dec 09 23:03:39 drivers are preinstalled Dec 09 23:03:40 that is sort of the impetus for everything Dec 09 23:03:49 wait Dec 09 23:04:11 do you have a BBGW or are you using some usb wifi adapter? Dec 09 23:04:17 usb wifi Dec 09 23:04:21 i have a stock BBG Dec 09 23:04:24 not the BBGW Dec 09 23:04:41 does it does up when you check "ip link" ? Dec 09 23:04:47 *show up Dec 09 23:05:13 it sees the wireless dongle Dec 09 23:05:19 i got it from the approved list Dec 09 23:05:27 then you don't need to install a driver Dec 09 23:06:03 i keep getting a message that is fails raise wlan0 Dec 09 23:06:32 when using connman? Dec 09 23:06:44 then when i go to the log it says wpa_somthing failed to start Dec 09 23:07:11 on conman i can scan wifi, turn the agent on, and list services Dec 09 23:07:19 because you're trying to use ifup, it's fighting with connman, and loses Dec 09 23:08:02 ok so i should say connman connect? Dec 09 23:08:08 at the prompt Dec 09 23:08:45 I don't really know how connman works, but you should either use it or get rid of it. mixing different network managers generally doesn't work :) Dec 09 23:08:46 also when connman has *A by your router what does that mean Dec 09 23:09:49 by the interface you mean? it probably defaults to access point like it would on wireless-only beaglebone variants Dec 09 23:10:03 ok Dec 09 23:10:09 but i'm purely guessing here, I don't actually know Dec 09 23:10:12 i will google conman specifics Dec 09 23:10:21 any idea on the apt-get thing Dec 09 23:10:26 i cannot install anything now Dec 09 23:10:36 always brings up that stupid chromium error Dec 09 23:10:37 my guess would be: you somehow made a big mess Dec 09 23:10:38 i tried purge Dec 09 23:10:43 haha Dec 09 23:10:50 should I just wipe Dec 09 23:11:12 apt can get really annoying when you have broken half-installed packages Dec 09 23:11:23 ok Dec 09 23:11:41 is there any like brute force option that will just blow out everything Dec 09 23:11:50 apt-get destroy and rebuild Dec 09 23:12:05 you can try sudo dpkg --force-all --remove followed by the package names Dec 09 23:12:39 then apt-get -f install to try to fix up the system Dec 09 23:13:46 if chromium got pulled in as dependency and whatever problem caused this version mess is still present, it might just recreate the problem Dec 09 23:14:18 reflashing might be faster and safer Dec 09 23:15:48 ok Dec 09 23:15:52 well thanks for your help Dec 09 23:15:57 and maybe consider *not* installing a gui, since I haven't seen you actually mention any compelling reason to do so (you mentioned cloud9 but it is preinstalled and doesn't require a gui on the bbb, you just connect to it with your browser) Dec 09 23:16:22 ok Dec 09 23:16:43 could i do the port forwarding without a gui on the BB Dec 09 23:16:55 just in case down the road i want to? Dec 09 23:16:57 port forwarding? to what? Dec 09 23:17:09 say i want to run matlab Dec 09 23:17:13 joking Dec 09 23:17:23 i dunno something that is gui driven from the bB Dec 09 23:17:24 lol Dec 09 23:17:45 just to have the capbility Dec 09 23:17:57 if you find yourself wanting to run matlab on the bbb, my recommendation would be to pause for a moment and rethink your life Dec 09 23:18:00 ;) Dec 09 23:19:35 you're asking hypothetical questions about an obscure and unlikely situation... the reason one might want to have a gui on the bbb is if it actually has a display attached. you don't Dec 09 23:22:04 fair point I will wait until i get a cape **** ENDING LOGGING AT Sun Dec 10 03:00:02 2017