**** BEGIN LOGGING AT Tue Oct 18 02:59:59 2016 Oct 18 05:57:38 ayjay_t: hmm, what were you trying to do with networking? Oct 18 06:05:20 just get ethernet over IP Oct 18 06:05:30 i'm still working on this box, now i'm trying to free up space Oct 18 06:07:55 uhh, ethernet over ip? Oct 18 06:08:00 you mean a tunnel? Oct 18 06:11:12 yeah I try to periodically clean up, otherwise cruft just keeps accumulating Oct 18 06:11:32 sorry i meant USB Oct 18 06:11:38 linux host? Oct 18 06:11:41 i'm trying to clean it up off the stock image Oct 18 06:11:48 linux and windows Oct 18 06:12:26 hmm half a gig left Oct 18 06:12:29 the stock image is really full of crap though, it's bad enough to have to deal with the cruft I manage to accumulate myself without also having to deal with other people's cruft :P Oct 18 06:13:08 ok, windows is the limiting factor, but rndis should work for both... I know windows is fussy about it though Oct 18 06:13:19 yeah, i mean, it worked with the kernel upgrade Oct 18 06:13:41 there is a ton of stuff on the beaglebone black Oct 18 06:13:50 at this point i don't want any toolchain, tbh, i'd rather cross compile Oct 18 06:14:01 why not use ethernet though? usb is icky Oct 18 06:14:56 i'm configuring for sales people Oct 18 06:14:59 i'm moving back in time Oct 18 06:15:00 lol Oct 18 06:15:36 non-tech oriented people seem to be okay with USB cords, but as soon as you show them anything else they act like their reputation is at stake Oct 18 06:16:58 it seems a never-ending stream of misery though, with different OSes supporting different protocols (except linux, which supports all of them), both windows and mac also change what they do or don't recognize every new release Oct 18 06:17:13 microsoft also invented their own weird custom usb descriptors that are somehow involved Oct 18 06:17:47 plus I still don't get the impression musb is rock solid nowadays :P and afaik DMA is still disabled Oct 18 06:18:27 meh it just needs to make it past a demo, if the engineers get it and they can't figure out how to use ethernet i can't help them lol Oct 18 06:19:29 but, "sales" seems to imply an office... isn't there already an ethernet network you can just plug in to? Oct 18 06:20:16 i have no idea, to be honest Oct 18 06:20:42 the business model for the company i'm working for is a little bit scattered. all their sales people are a) travelling and b) contracted Oct 18 06:21:34 i wouldn't take a job like this again. it was the first job i've ever taken on my own. Oct 18 06:21:58 the people i'm working with really, honestly, have no idea what they're doing. it has benefits but for the most part i have to deal with a lot of bs Oct 18 06:22:16 they've somehow been doing it for 20 years though Oct 18 06:24:07 in theory you should just be able to connect the bbb to a laptop via ethernet, ipv6 automatically configures link-local addresses, and mDNS/bonjour or LLMNR should find you the host by name... unfortunately it doesn't always seem to work in practice for some reason, I still need to investigate why Oct 18 06:25:19 but with the new bbb wireless for sale we have a whole new vector to trouble shoot, assuming it can act as a router Oct 18 06:26:12 I hope the bbb wireless is not as stupidly designed as the bbg wireless Oct 18 06:27:14 it uses that chip, the octave chip? its a bb official, i think, its on the website Oct 18 06:27:54 the osd335x ? yuck, but oh well, that doesn't really say much about the rest of the design though Oct 18 06:29:21 interesting, microsoft apparently added bits of mDNS support in windows 10 Oct 18 06:44:39 time for bed, up early to finish this Oct 18 08:30:44 Hi guys, i am new to the BeagleBone and I am searching for more information which options i need to write in the /sys/power/state to achieve the different power states Oct 18 08:31:01 i cant find this in the Reference Manual of the BBB and the Sitara Oct 18 08:41:58 did you try "cat /sys/power/state" Oct 18 08:43:09 yes, that file is empty Oct 18 08:43:37 is there no general document on how to change the registers on the sitara with using the debian filesystem? Oct 18 08:51:41 scp: i guess /sys/devices/cpu/power/ is what you are looking for Oct 18 08:52:57 scp: power managment within linux is more complicated than just setting a single number somewhere Oct 18 08:53:12 scp: there are half a dozen different services that do all part of the job Oct 18 08:53:24 scp: also, there is no debian filesystem Oct 18 08:53:35 scp: you are using linux, please learn the basics Oct 18 08:57:52 Well i never said it is just a number, i am just wondering if there is an existing document with the debian OS Oct 18 09:30:34 *sigh* Oct 18 09:31:00 what you are looking for is _NOT_ debian specific Oct 18 09:37:44 well not helpful.. Oct 18 12:44:17 scp, you will need to write kernel module ;) Oct 18 12:56:44 Hi, I use beaglebone black with kernel 3.8.13-bone68 before and there the i2c-2 was on 4802a000.i2c, now when using the new kernel beaglebone 4.4.9-ti-r25 the i2c-2 is on 4819c000.i2c. They inversed i2c-1 and i2c-2. Is this normal? Can I change this or do I need to rewrite my software? Oct 18 13:03:11 DriesS: if changing the i2c port is a major thing, then you should be rewriting your software to allow to change this easily Oct 18 13:03:38 KotH: ok, but why did it change of time? Oct 18 13:03:46 DriesS: iirc you can change the asignment of the i2c ports in the dt file...not sure thoguh.. haven't touched dt for a looong time Oct 18 13:04:07 and is it recommend to do kernel update or is this not critical? Oct 18 13:04:29 because a lot of the internal handling of peripherals in the arm tree of the kernel has changed between 3.8 and now Oct 18 13:04:34 like, alsmost everything :) Oct 18 13:04:45 depends Oct 18 13:04:58 you should always allow for easy kernel update Oct 18 13:05:10 as the kernel can have bugs, even security relevant ones Oct 18 13:05:36 KotH: so not good idea to take the latest one :) Oct 18 13:05:42 jupp :) Oct 18 13:06:18 though, in my experience it is definitily a good idea to match kernel development during software development for a device. Ie switch to a new kernel on every release Oct 18 13:06:25 we are using the beaglebone in commercial production product 3.8.13 was quite stable. What is today the most stable kernel for beaglebone black rev c? Oct 18 13:06:46 this way you will have less surprises when you finally ship and customer demands some feature that is only available in a later kernel version Oct 18 13:07:01 yes that is why I’m investigating now because we have a new batch of production and I’m testing with a new kernel Oct 18 13:07:24 zmatt: what is your opinion on kernel stability for BBB? Oct 18 13:07:56 DriesS: one big thing why you should use the newest kernel during development is to be able to report bugs and regressions Oct 18 13:08:06 DriesS: you dont want to get hit by them when you do not have time for it Oct 18 13:08:32 KotH: yes but developing on something different then production is also a risk Oct 18 13:08:45 DriesS: though, i think it's a good idea to use a LTS kernel for a long living industrial product that will see little to few updates Oct 18 13:08:51 KotH: I generally haven't run into problems Oct 18 13:09:23 zmatt: domo! Oct 18 13:09:47 DriesS: oh.. so you are looking for an update for an existing product which is already in use? Oct 18 13:09:54 DriesS: i guess that includes field updates? Oct 18 13:09:54 of course a buggy driver can always bite you, on any platform Oct 18 13:10:04 * KotH bites chocolate Oct 18 13:10:39 KotH: yes, there are already some machines shipped so would be field updates Oct 18 13:10:45 or shipping new sd cards Oct 18 13:11:18 in most cases you want an update infrastructure in place anyhow, in case you discover some awful bug or security hole Oct 18 13:11:21 DriesS: have a look at matt porters talks on update systems and issues in that area Oct 18 13:11:23 especially for networked devices Oct 18 13:11:35 update infrastructure is a headache though -.- Oct 18 13:11:52 Indeed, I’m wondering already how we will do in the future :) Oct 18 13:12:01 DriesS: you will need to do a shitload of testing and validation of the update :-( Oct 18 13:13:08 but with those DDoS attacks being done recently using exploited embedded systems, I do feel it would be irresponsible to make a networked device with no way to push security updates Oct 18 13:13:47 IMHO any system that interacts with others should be updateable Oct 18 13:13:56 zmatt: yes indeed, but we are on private network so it will be already more difficult to do the ddos Oct 18 13:13:56 even if it's just to fix bugs Oct 18 13:14:01 where can I find this talk> Oct 18 13:14:17 DriesS: öh... you have heard of stuxnet, have you? Oct 18 13:15:29 of course the biggest problem is chinese companies not giving a shit and shipping devices like IP network cameras with an open telnet port and hardcoded credentials Oct 18 13:16:40 woo, first signs of life from the public key accelerator on the am335x Oct 18 13:18:56 zmatt: i guess at some point the CE mark will also include a security audit for networked devices Oct 18 13:20:33 yeah, regulation is needed here since the manufacturers right now have no real reason to care; the buyer probably doesn't care either, especially not if the device is $2 cheaper Oct 18 13:21:27 consumer does not even have a clue about the issue Oct 18 13:22:22 i dont know how often i had a discussion of the type "i don't need to update my server. hack it anyways? there are no important data on it" with _technical_ people Oct 18 13:22:45 s/hack/who would hack/ Oct 18 13:22:46 ... Oct 18 13:23:26 and no "oh duh, crap" reaction if you mention the word "botnet" ? :P Oct 18 13:23:34 technology and threats changed a lot in the last 20 years. people have not had the time to understand the implication Oct 18 13:24:12 zmatt: no. "why would anyone use my computer for that? it only runs for an hour or two at most" Oct 18 13:24:42 yes, i worked with a lot of people who "do not get it" Oct 18 13:25:12 -.- Oct 18 13:25:36 best was a friend, who got a windows worm on his macbook Oct 18 13:25:56 at least he understood that he had to reinstall everything Oct 18 13:26:26 uh, a windows worm on a macbook? Oct 18 13:29:43 that was my reaction as well :) Oct 18 13:52:33 Hello People Oct 18 14:00:18 Where can I find the latest debian for beaglebone black? Oct 18 14:01:16 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian Oct 18 14:13:15 zmatt: but there for iot the latest is 8,4 Oct 18 14:13:17 8.4 Oct 18 14:13:28 https://debian.beagleboard.org/images/ Oct 18 14:14:33 https://beagleboard.org/latest-images (shorter url: bbb.io/latest) are the official releases Oct 18 14:14:49 the wiki page I just linked are the latest snapshots Oct 18 14:15:29 zmatt: but there is only LXQT what is a desktop version. I need the minimal console debian Oct 18 14:15:33 I have no idea what that directly you linked to it... I just noticed it's also linked to from https://beagleboard.org/latest-images Oct 18 14:15:46 then I suggest getting the latest snapshot from the wiki page Oct 18 14:15:55 iot image is not minimal console btw Oct 18 14:16:56 zmatt: the snapshots are tested or still development and testing phase? Oct 18 14:18:38 well as plain debian systems I've never had any issue with them, although I haven't downloaded one recently Oct 18 14:18:57 no idea about the software on the iot and lxqt images since I don't use those Oct 18 14:23:28 zmatt: always console? Oct 18 14:25:16 yes and then clean any unnecessary cruft, upgrade to debian stretch, switch to systemd-networkd as network manager, install stuff I want, and do rest of config Oct 18 14:25:55 been a while though since I went though all that, nowadays we just make a backup of one bbb and use that as template for an another Oct 18 15:28:47 Hi, Is there any example on how to use DHT22 sensor in a beaglebone white ? Oct 18 15:32:04 isnt there a linux driver for that already? Oct 18 15:38:07 First time I'm approaching to this device, honestly it is an application a friend ask to me for.... Oct 18 15:39:19 if hope it's a good friend Oct 18 15:39:29 otherwise get him to buy an SHT21 Oct 18 15:39:47 the DHT2x are cheap clones of the SHT devices with the most horrid interface i've ever seen Oct 18 15:49:39 It was better buying a 1wire sensor .... Oct 18 15:53:36 ds18b20 is so easy to be used with native beaglebone white 1wire line.....perhaps there is somethink lke for humidity.... Oct 18 15:59:33 or hih4000 and read its voltage output related to humidity... Oct 18 16:00:20 native 1-wire? there's no native 1-wire on the beaglebone Oct 18 16:10:54 I'm using an old beaglebone white (don't remember the kernel version) pin P8-6 is configured as 1wire protocol, just attaching a ds18b20 , device is recognized and temperature ready to be displayed Oct 18 16:13:35 that Oct 18 16:14:29 (sorry, accidently pressed enter) that's probably implemented in software then? there's no 1-wire peripheral in the am335x Oct 18 16:15:44 the only functions on P8-6 (other than gpio) is gpmc.d3 and mmc1.d3, neither of which is of any use for 1-wire Oct 18 16:16:00 anyway, need to do shopping, afk Oct 18 16:18:20 gotta eat eventually i gues Oct 18 16:24:28 I don't remember, I wasn't able to use P8-6 because it was forced into 1wire mode..... Oct 18 16:25:11 anyway by simply issue the command Oct 18 16:25:17 cat /sys/bus/w1/devices/28-00000653627c/w1_slave | tail -n1 | awk -F= '{print $2/1000}' Oct 18 16:26:01 I get the teperature in celsius degrees, it would be awesome if such a device for humidity exists.. Oct 18 16:27:37 I'll investigate how that pin became a 1wire bus....:-)) Oct 18 16:30:12 cat /sys/kernel/debug/gpio returns : gpio-35 (w1 ) in hi Oct 18 16:32:14 kernel 3.2.33-psp26 Oct 18 16:33:41 oooold things.... Oct 18 16:34:28 dinner time, thanks Oct 18 16:57:20 freddy_: https://www.kernel.org/doc/Documentation/w1/masters/w1-gpio Oct 18 16:58:02 what you showed from sys/kernel/debug/gpio also shows the pin is in use as gpio Oct 18 16:59:32 if you're feeling very adventurous you can try whether my show-pins utility (https://github.com/mvduin/bbb-pin-utils) works on that ancient ancient kernel; it combined information from several debugfs files along with an extract of my pins spreadsheet and generates a nice colorized overview Oct 18 17:00:21 it's never been tried on kernels older than 3.2, and I made my regexes deliberately a bit fussy (better to die() than to report misinterpreted garbage) Oct 18 18:33:01 does beaglebone alck has the possibility ro work 24/24 without any problem? Oct 18 18:35:48 ro work as what? ^^ I'm running it for a backup server 24/7 with a HDD attached and it's rock solid Oct 18 18:36:13 but some USB devices have kernel driver problems, it really depends on what you want to use it for Oct 18 18:41:55 well it's not the usb devices (probably), the usb subsystem and/or its driver is a bit iffy Oct 18 18:43:11 e.g. the hardware seems sensitive to glitches, and the driver seems unable to always recover from the resulting errors Oct 18 18:45:19 that mostly happened while hotplugging though, not just while sitting and running, but I haven't used usb that much on the beaglebone (I avoid it when I can) Oct 18 18:47:18 zmatt, I'd like to build a lightweight Debian Image for the BBB. Where these the correct instructions? http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Build_Instructions What was the link to your git repo again? Oct 18 19:03:36 knicklux, which operating system are you running on your beaglbone black? Oct 18 19:11:04 jamesaxl, for the backup server the default debian image. I had to remove some unneeded gui packages for more free space, but otherwise it's fine Oct 18 19:11:37 I'm planning to change it to Mimix Oct 18 19:12:37 knicklux, I would like to install FreeBsd, but it has many bugs Oct 18 19:13:37 mhmmm...... question is: will these bugs affect your setup Oct 18 19:14:46 idk...... i'm usually "screw it, lets test it" hence my plans to use mimix xD Oct 18 19:29:39 Anyone integrated Eclipse with Beagle ? Oct 18 19:46:16 Yeah. It crashed on me like it always does Oct 18 19:46:37 ( I would love Eclipse it if wouldn't deadlock on tasks all the time ) Oct 18 21:35:58 Hello...are people having issues downloading their drivers for the BBB on computers? Oct 18 22:06:33 I will be back. The people need stuff from me. Dang it...okay. Oct 19 02:34:11 Hello...can you tell me how to put the drivers for the BBB on my computer? Oct 19 02:34:32 And yes...I am serious. Oct 19 02:34:59 The damn computer will not accept my drivers download. Oct 19 02:37:23 OS? Oct 19 02:37:51 Win10...I am sorry. Oct 19 02:37:57 I know. Oct 19 02:37:57 yeah i had to like, right click my restart button Oct 19 02:38:02 or shift click it or something Oct 19 02:38:12 and then turn off driver signing, which required a restart Oct 19 02:38:27 i have a win10 install alongside my gentoo box in case i need to use docx or xslx or w/e Oct 19 02:39:07 I tried that. I even tried another BBB. Oct 19 02:39:47 I feel like screaming. I usually can figure out the initial parts of setting up the system on my computer. Oct 19 02:40:10 Click, download, and accept...it is usally this easy. Oct 19 02:40:32 Aw! Oct 19 02:40:57 ayjay_t: Have you tried any other methods? Oct 19 02:43:51 no i mean that ... i mean that allowed me to install the drivers Oct 19 02:44:02 i think i did a windows xp or 8 compatibility install on top of that Oct 19 02:44:06 and i used the most recent git Oct 19 02:44:17 Oh... Oct 19 02:44:42 I did not understand. How can I turn off driver signing? Oct 19 02:44:56 with the shift click of the restart button in the start menu Oct 19 02:45:12 literally Oct 19 02:45:13 http://www.howtogeek.com/167723/how-to-disable-driver-signature-verification-on-64-bit-windows-8.1-so-that-you-can-install-unsigned-drivers/ Oct 19 02:45:22 read the whole guide Oct 19 02:45:28 cause after step 1 u lose ur browser Oct 19 02:45:53 Okay. Thank you. Oct 19 02:57:49 ayjay_t: Thank you. I did it and it worked. **** ENDING LOGGING AT Wed Oct 19 02:59:58 2016