**** BEGIN LOGGING AT Wed May 31 03:00:04 2017 May 31 03:35:11 Hi, I'm having trouble with internet-over-USB with BBB. Strangely, I had it working great earlier today. I partitioned my mac with windows and then followed all the steps for "internet-over-USB" and "What time is is" in the exploring beagle bone book by Derek Molloy. I was able to do "ping google.com" "ping 8.8.8.8" and ping whatever successfully. Then I restarted the computer to go to Mac, and then back to Windows, and this is when May 31 03:35:45 I went through all the steps again in Derek Molloy's book, but nothing is working. I don't know how this could have just stopped working. May 31 03:36:48 My internet is working, and I am able to connect to 192.168.7.2 in chrome May 31 04:52:23 ohh woe is me :-( May 31 04:53:10 Ohh woe is me! :-( May 31 04:53:50 I'm trying to get ipv4 on wlan0 I am connected but only ipv6 May 31 04:54:00 I tried this: connmanctl config wifi_f45eabf77c59_414450_managed_psk --ipv4 dhcp May 31 04:54:30 It's debian on a BB Blue May 31 04:55:16 does the journal say anything? May 31 04:55:56 dmesg? May 31 04:56:05 journalctl May 31 04:59:18 journalctl | grep ip May 31 04:59:25 https://pastebin.com/gH1nvCuB May 31 05:00:29 that says you're running an AP on wifi May 31 05:13:49 so how about ifconfig SoftAp0 down May 31 05:18:06 Got it going :-) May 31 05:19:53 interesting, wordpress.com just sent me a notification of a "New comment" on a hackaday article... except that comment is from 2013 May 31 05:23:06 Any _up to the minute_ duidance on procedure to install ROS (a node) on BeagleBoard Blue running debian jessie? May 31 05:27:40 psh, up to date documentation... where's the fun in that? ;-) May 31 05:27:57 (never done anything with ROS myself so can't help you there) May 31 06:05:24 GumShoe_: its like on every ARM May 31 06:06:07 GumShoe_: ubuntu is best supporeted May 31 11:55:50 I am new to beagle bone.. just got my beagle bone black May 31 11:56:06 looking to interface it to a camera module May 31 11:56:16 any help from the community? May 31 12:06:35 what kinda camera? May 31 12:06:46 and what are you hoping to do with it? May 31 18:22:35 Hi. Is it possible to change the mode of the pins using the PRU? For example the pins P8_39 to P8_46? All of them can be read by r31 and written by r30. May 31 18:49:28 Hi All,when will the BBB linux will be released aligned to latest mainline linux ? (4.9.12) May 31 18:49:56 sorry 4.11/12 May 31 18:51:57 can i build BBB linux from mainline linux by applying some patches? May 31 18:56:58 cyberguy: a vanilla kernel should run just fine on the BBB May 31 19:12:57 though it may lack some functionality May 31 19:13:26 cyberguy: beaglebone-specific kernels are available all the way up to 4.12 though May 31 19:16:09 4.9 is the current stable series though May 31 19:16:38 (e.g. 4.9.30-ti-r37 or 4.9.30-bone4 ) May 31 19:17:32 hey there - I tried posting a question to the board earlier today but it doesn't look like it went through. Do I need to do anything special to see it? May 31 19:19:08 you mean the google groups? I'm pretty sure posts should be visible right away May 31 19:19:13 I think May 31 19:19:50 hmm, or maybe the first post from an account might get moderated? May 31 19:20:17 that's probably it, it looks like it posted successfully but I don't see it in the listing May 31 19:20:29 tbr: there currect kernel is 4.11 isn't it? May 31 19:21:04 cyberguy: latest beaglebone kernel from that series is 4.11.3-bone2 May 31 19:21:46 it's not hard to rebuild beaglebone kernels yourself, although there's rarely a need to unless you want to customize the config or apply your own patches May 31 19:22:28 there is a new driver that should go into linux mainline kenel. May 31 19:22:41 ? May 31 19:23:29 the driver to end all drivers May 31 19:23:33 and that driver won't be in the BBB linux since it's still not the latest... May 31 19:23:51 cyberguy: what are you talking about? May 31 19:24:17 and like I just said there are both 4.11-bone and 4.12-bone kernels May 31 19:24:33 Where are those ? I can't see them at GitHub May 31 19:24:42 you can just apt-get install them May 31 19:25:22 you can find snapshots of the patched source trees for all of rcn's kernels here -> https://github.com/RobertCNelson/linux-stable-rcn-ee/releases May 31 19:26:13 zmatt: ohhh great! thank you... I wasn't aware on that... May 31 19:26:33 to build from source it's more convenient however to use this build scripts, which will fetch the appropriate mainline linux, apply patches, configure the kernel, give you an opportunity to customize the config, compile the kernel, and build a debian package for it May 31 19:27:03 My question I tried posting is about Intel Wifi (iwlwifi) is missing on the latest X15 prebuilt images May 31 19:27:29 I have an intel 3160 on pci, the prebuilt images don't have iwlwifi for me to modprobe May 31 19:27:55 cyberguy_: of course if you don't need to customize it, you can just install a prebuild kernel via APT May 31 19:28:16 sndrGuy: how would you get the pci card connected to the x15's expansion headers? May 31 19:28:34 zmatt: what is the diffrence between https://github.com/RobertCNelson/linux-stable-rcn-ee and https://github.com/beagleboard/linux May 31 19:29:15 zmatt - we have a custom x15 board with a msata and mini pci connector. May 31 19:29:41 sndrGuy: okay, so just rebuild the kernel with suitable config? May 31 19:29:44 (custom am57x board I mean, it can boot the x15 images) May 31 19:30:04 like I just said, it's quite easy May 31 19:30:26 cyberguy_: I think the latter are just a subset of the former May 31 19:30:58 zmatt: and where is the "build script" you mentioned earilier?? May 31 19:31:53 https://github.com/RobertCNelson/bb-kernel for -bone kernels, https://github.com/RobertCNelson/ti-linux-kernel-dev for -ti kernels May 31 19:32:01 select the appropriate branch for the kernel series you want May 31 19:32:47 customize copy system.sh.sample to system.sh and adjust its content to flavor May 31 19:32:54 then run ./build_deb.sh May 31 19:33:16 zmatt - I compiled my own 4.4x ti bsp kernel but the config doesn't list the Intel module (Device Drivers > Network device support > Wireless LAN > Intel... all missing) May 31 19:33:49 the mainline 4.4x has it and it does build the iwlwifi but I need the ti bsp stuff May 31 19:34:37 okay so your problem doesn't actually have anything to do with x15 prebuilt images May 31 19:35:25 the kernel config gui has an option to show hidden config variables, then you can hunt for it and check why it's hidden (i.e. what its dependencies are) May 31 19:35:50 zmatt: thanks for your support! May 31 19:36:03 alternatively you could dig through the Kconfig files directly, or just google the config option since I think there are also online databases of 'em May 31 19:37:30 well the previous images I had in the past did have iwlwifi from what I can tell May 31 19:37:49 i'll dig around some more May 31 19:45:17 Is wayland useable on beaglebone black instead of x? May 31 19:47:32 haven't tried it myself yet, although it's on the to-do list May 31 19:47:55 especially since I did get the sgx drivers working May 31 19:49:02 I was messing around with weston a bit, but it was slow - basically unusable, but I didn't get sgx drivers working yet, so it makes sense. May 31 19:54:55 shpew12: you can find my mirror of the kernel drivers here -> https://github.com/mvduin/omap5-sgx-ddk-linux I also added a simple build script (though beware it contains some hardcoded paths you'll need to modify) May 31 19:56:58 you'll also need the userspace libs (omap5-sgx-ddk-um-linux) and TI's libgbm May 31 19:58:31 both can also be found on my github with some patches... the patch I did on omap5-sgx-ddk-um-linux is needed to make TI's libgbm work out of the box, while the patches I did on libgbm make the patch on omap5-sgx-ddk-um-linux unnecessary (but harmless) May 31 19:59:34 make sure there are no mesa libs installed unless you like headaches May 31 20:04:21 sndrGuy: I don't see an obvious reason why the option would be missing May 31 20:04:32 sndrGuy: the condition is PCI && MAC80211 && HAS_IOMEM May 31 20:05:00 Oh awesome, I'll let you know if I make any headway May 31 20:06:09 sndrGuy: well, except that apparently CONFIG_PCI isn't set... May 31 20:06:38 sndrGuy: you might want to enable that if you're using PCI :P May 31 20:06:49 (at least it's not enabled in the latest 4.9-ti kernel) May 31 20:07:30 (by which I mean 4.9-ti series from rcn, not the 4.9 series from TI) May 31 20:07:48 shpew12: good luck! :) May 31 20:08:17 shpew12: you can also find kmscube on my github account, that's a relatively simple test to confirm whether the libs are working May 31 20:11:38 shpew12: and these might be useful -> https://liktaanjeneus.nl/sgx/ it's a kinda messy everything-in-one package of the userspace libs, but it Works For Me™ ;) May 31 20:16:25 shpew12: combined with the debian package my build script produces for the kernel modules, that should get you working 3d May 31 20:24:58 Hi. Is it possible to change the mode of the pins using the PRU? For example the pins P8_39 to P8_46? All of them can be read by r31 and written by r30. I need to change the direction. May 31 20:25:36 NTQ: not easily May 31 20:26:19 NTQ: I think the EDIO pins do support direction-change controlled by PRU, but I haven't had time to play with those yet May 31 20:27:02 they won't be as fast as the r30/r31 gpios though (but still faster than the general GPIOs) May 31 20:27:32 zmatt: I want to interface with a FPGA in both directions. What do you mean with "not as fast as r30/r31"? May 31 20:27:51 well EDIO is a peripheral inside PRUSS May 31 20:29:22 never headr of it. But because I am new to beaglbone and PRUSS I guess it's to hard at the moment for me to understand it. May 31 20:29:35 or rather, EDIO is functionality of IEP ("Industrial Ethernet Peripheral"), which also contains timers May 31 20:30:17 (the reason for the "Ethernet" in the name is because it was added to serve the needs of EtherCAT... it doesn't really have anything to do with Ethernet specifically) May 31 20:30:55 In my cheat sheet I only found pr1_edio_data_out7 in mode 4. May 31 20:31:39 oh, sorry. in an other pdf I also found the other bits ;-) May 31 20:31:40 you can also find an overview of pru pins on the PRU tab of my pins spreadsheet ( https://goo.gl/Jkcg0w ) May 31 20:33:48 the part I don't understand is that edio also seems to have separate pinmux modes for input and output... yet I've seen example code from TI that uses them bidirectionally May 31 20:34:01 so some experimentation with that will be needed May 31 20:37:01 hmm.. thank you. I think for the moment I will only use r31 for reading. In the next phase of the project I will also need writing, but maybe this will also work with i2c or spi. For now I have no experience with EDIO and I would need help from someone who knows how to use it. May 31 20:37:20 btw nice spreadsheet May 31 20:37:26 it doesn't look hard, see TRM section 4.5.4.15-20 May 31 20:37:45 and TRM section 4.4.3.3 May 31 20:38:59 ok, thank you May 31 20:39:02 (also, you probably want to set the IEPCLK.OCP_EN bit as described in section 4.4.3.1, as I think there's a chance this may reduce access latency of IEP registers) May 31 20:40:46 https://git.ti.com/pru-software-support-package/pru-software-support-package/blobs/aa9606013059eb8728bcc1165c5032f0589469e0/pru_cape/pru_fw/PRU_HDQ_TempSensor0/temp_monitor_slave_0.c <-- this example seems to be using EDIO bidirectionally May 31 21:19:27 zmatt - sorry for the delay getting back, yes the missing config for pcie was causing the intel stuff to hide. I built the kernel and the module now loads May 31 21:24:25 zmatt: What does it mean when I get a Bus Error on the beaglebone while interfacing with PRU1? I can only get rid of it when I reboot. May 31 21:40:34 a bus error can happen for all sorts of reasons, although the most common is attempting to access a module that isn't enabled May 31 21:53:17 bbl May 31 23:08:22 Hi, I am having issues with using "apt-get update". I was trying to do this first so that I could do "apt-get install ntp". Strangely, this worked two days ago, and I was able to get the correct time. But then after a restart of my computer, the time was incorrect on the BBB. I tried many suggestions online and even overwrote my SD with a fresh image to start off fresh. Nothing seems to be working to get "apt-get update" working. May 31 23:08:49 I do have a good internet-over-USB connection with "ping google.com" having 100% success. May 31 23:10:30 I'm wondering if anyone has a suggestion on how I can get "update" to work? May 31 23:11:29 Orange_: What is the error message? May 31 23:13:39 error failed to connect to deb.nodesource May 31 23:14:16 And many lines of failing to get packages May 31 23:15:43 can you try something like: wget https://google.com/ May 31 23:17:31 how did you configure your computer and the bbb to give it internet access? May 31 23:18:44 "wget https://google.com" result: "Connecting to google.com (google.com) | 172.1.8.1|:443... failed: Connection refused." May 31 23:20:27 so in fact internet isn't working at all... you're the second person in short time who could ping "google" yet internet connectivity actually didn't seem to be working May 31 23:20:42 I'm curious what's going on here May 31 23:20:57 can you show: ip addr; ip route May 31 23:21:14 172.1.8.1 is not google May 31 23:21:49 you sure? I can't tell honestly May 31 23:22:09 for me google.com resolves to 172.217.19.206, which has reverse name ams16s31-in-f14.1e100.net May 31 23:22:15 I suspect there are many "google.com" May 31 23:22:29 whois says it belongs to AT&T May 31 23:22:39 I enabled allow other network connections to connect through this computer's internet connection. Then I set the BBB network connection to Obtain an IP address automatically and Obtain DNS server address automatically. Then I entered code "/sbin/route add default gw 192.168.7.1" May 31 23:23:08 ehh, that makes no sense May 31 23:23:37 or, well, maybe it could work in theory... I'm not sure how windows would behave in such a situation May 31 23:23:59 but I suspect it will have placed the bbb on the WAN-side of the NAT May 31 23:25:13 you should assign a static IP to the interface representing the BBB on your PC May 31 23:26:27 or you can bridge that interface to your LAN, and configure the bbb to use dhcp May 31 23:26:45 (the latter allows other computers on your LAN to reach the BBB, which may or may not be desirable depending on circumstances) May 31 23:28:29 I set "IP address: 192.168.7.1 and Subnet mask: 255.255.255.0" and DNS as 8.8.8.8" same output May 31 23:29:24 can you show the output of: ip addr; ip route on the bbb ? May 31 23:30:27 btw, where did you set "Allow other network users to connect through this computer's internet connection" ? May 31 23:30:59 (it should be enabled on the interface via which you have internet, not on the interface that represents the BBB) May 31 23:31:02 In network connections for my Wi-Fi May 31 23:31:07 ok May 31 23:33:02 ... May 31 23:33:41 still waiting for that output of ip addr; ip route May 31 23:33:46 :P May 31 23:38:02 sorry I had to step away May 31 23:40:47 Do I see this with ifconfig? I'm not sure how to see this May 31 23:41:15 those are the literal commands to type May 31 23:43:52 eth0 Link encap:Ethernet HWaddr 04:a3:16:f8:25:07 UP BROADCAST MULTICAST DYNAMIC MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:173 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 May 31 23:44:05 please use a paste site like pastebin.com for multi-line pastes May 31 23:44:24 trying to paste via irc just results in an unreadable mess, and it gets truncated May 31 23:45:37 https://pastebin.com/eW2YApFg May 31 23:45:52 sorry I'm new to BBB and putty May 31 23:46:40 no prob May 31 23:46:58 and ip route ? May 31 23:47:15 also, that's not the output of ip addr May 31 23:47:49 ("ifconfig" is an obsolete utility, "ip" is its replacement) May 31 23:48:21 ifconfig is a wrapper around ip :P May 31 23:48:48 I doubt that May 31 23:48:58 I believe it uses ip 'underneath' May 31 23:49:02 I'm sure I read that somewhere May 31 23:49:53 it makes no sense since 1. that would be more complex 2. ifconfig is older than ip May 31 23:52:31 ip isn't working for me I'm not sure how to do this May 31 23:54:11 Orange_: hmm? what error are you getting? May 31 23:54:36 it should work if you just literally type: ip addr; ip route May 31 23:54:51 (or as two separate commands, "ip addr" and "ip route") May 31 23:56:13 veremit: for reference, source code of ifconfig can be found here: https://goo.gl/FFilB1 while that of ip can be found here: https://goo.gl/ZKY1cH May 31 23:56:22 veremit: they're just totally different codebases May 31 23:56:26 https://pastebin.com/seVP9eyD May 31 23:57:25 ok, that's all looking normal to me, so that means windows is the problem May 31 23:58:43 * veremit shrug Jun 01 00:01:23 I partitioned my mac with windows, so maybe that's the cause. I should try this on a windows based computer Jun 01 00:02:21 ehh, wait, you're actually using a mac? why are you then meddling with windows at all? Jun 01 00:02:40 oh right, rndis Jun 01 00:02:57 no actually, it should Just Work on the mac nowadays Jun 01 00:03:09 I was trying to do this on mac and it wasn't working there so I tried to do this on windows since online guides are thorough for windows Jun 01 00:03:50 I couldn't even get ping google.com to work on mac Jun 01 00:04:26 the ping seems to be misleading though, I suspect it's windows replying to the ping, not google Jun 01 00:05:06 note that I suspect that on the mac you'll be on usb1, i.e. 192.168.6.* instead of 192.168.7.* Jun 01 00:06:51 I suggest shutting down that windows vm, connect your bbb again, check http://beagleboard.org/getting-started#step2 to see how you can reach the BBB Jun 01 00:07:48 (it contains some javascript that attempts to connect to the beaglebone in various ways and shows the results in a table) Jun 01 00:09:23 Alright, I will try this on mac Jun 01 00:09:34 thanks for helping! Jun 01 00:18:22 Anone have any ROS knowledge? Jun 01 00:18:26 On a BeagleBoard Blue I installed ros-base-dev from a list I saw here https://packages.debian.org/source/stretch/ros-metapackages I've published and subscribed between it and roscore on my ros dev notebook. Jun 01 00:18:41 I'm pretty new to ros. I don't appear to have /opt/ros/... setup.bash in fact there is not /opt/ros Jun 01 00:18:48 Any idea which package might rosinstall so I can do a catkin_create_pkg? I'm not sure which package would install or create the /opt/ros ... setup.bash file Jun 01 00:34:23 I would be very surprised if any debian package would create anything in /opt Jun 01 00:35:46 (by which I mean an official debian package... of course there do exist third party repositories with .deb packages that do that) Jun 01 00:38:20 Interesting. I just installed debian stretch amd86 on an hp notebook. Then installed a full desktop ros package. it installed it in /opt/ros and all tutorials I've found from official ros and others refrence /opt/ros Jun 01 00:38:35 python-catkin-pkg: /usr/bin/catkin_create_pkg Jun 01 00:38:42 is that what you're looking for? Jun 01 00:39:29 however I found on this bbBlue that it appears to install the /opt/ros/lunar/bin programs such as roscore in /usr/bin Jun 01 00:39:37 I just did an apt-file search, there are no packages containing files located in /opt/ros Jun 01 00:40:33 catkin_create_pkg beginner_tutorials std_msgs rospy roscpp command failed wanting --rosdistro for an argument. I'm assuming it would have picked it up from and env variable in other installs. Jun 01 00:40:36 my guess would be that you got /opt/ros when you used some installer made by the ros people themselves rather than by installing debian packages Jun 01 00:41:04 I'm very new to ros so a bit of head scratching going on here... Jun 01 00:42:53 "apt-file search setup.bash" gives one hit... sort of... Jun 01 00:42:59 catkin: /usr/share/catkin/cmake/templates/setup.bash.in Jun 01 00:44:06 note that debian packages often install a readme with debian-specific info Jun 01 00:44:08 ahh apt-file search ... that will be handy. Thank you. Jun 01 00:44:30 (in /usr/share/doc/PACKAGENAME/ ) Jun 01 00:45:04 maybe the ros debian packagers left useful info somewhere there Jun 01 00:45:09 (or on the internet of course) Jun 01 00:45:58 of course you can also just deinstall all that crap and look for a guide on the ros site itself Jun 01 00:46:08 all sorts of goodness in /usr/share/ros, not the setup.bash I'm looking for but I think that gets generated by some step I forgot. Jun 01 00:47:00 I think I'm in good hands with advice from Robert C Nelson. He pointed me to the iot stretch image and a list of the packages that are available. Jun 01 00:49:11 http://wiki.ros.org/UpstreamPackages has some notes on the differences between the "upstream" debian packages (i.e. what you've installed now) and the packages from ros themselves Jun 01 00:53:25 Ahh that was a good read. So much to RTFM, so little time ;-) Jun 01 00:54:30 Seems like this _may_ cause trouble for a newbie such as the warning about rosdep Jun 01 00:54:41 Thanks for your help @zmatt Jun 01 00:56:12 :) Jun 01 01:14:21 Sure would be handy to have fpaste in Debian... Jun 01 02:51:00 fpaste ? Jun 01 02:51:27 you mean something like pastebinit ? Jun 01 02:51:44 fpaste https://linux.die.net/man/1/fpaste Jun 01 02:51:51 probably Jun 01 02:51:53 (which I think it configured to use paste.debian.net, not pastebin.com as the name might suggest) Jun 01 02:52:04 *is configured **** ENDING LOGGING AT Thu Jun 01 03:00:01 2017