**** BEGIN LOGGING AT Sun Sep 29 02:59:57 2019 **** BEGIN LOGGING AT Sun Sep 29 03:46:39 2019 **** BEGIN LOGGING AT Sun Sep 29 04:38:20 2019 **** BEGIN LOGGING AT Sun Sep 29 04:55:45 2019 Sep 29 07:25:59 ok, its running! Sep 29 07:32:14 suggestion on how i can permantly adjust the permissions of the devices Sep 29 07:37:30 what devices? Sep 29 07:37:35 in general, udev rules Sep 29 07:41:43 chmod a+rw /dev/i2c-2 <--- Sep 29 07:41:51 thats what i need to change permantly Sep 29 07:42:05 ew please just assign proper permissions Sep 29 07:42:20 the debian user normally already has privileges to i2c devices Sep 29 07:42:36 if you want some other user to be able to access them, add that user to the i2c group Sep 29 07:43:01 (sudo adduser USERNAME i2c) Sep 29 07:45:12 zmatt, that was a minor hack to make it work Sep 29 07:47:04 oh wait is the i2c group thing not standard? Sep 29 07:47:06 I may be confused Sep 29 07:47:26 hmm, the group does exist, but there doesn't seem to be an udev rule for it Sep 29 07:49:56 just create a .rules file in /etc/udev/rules.d/ containing one of these two lines: Sep 29 07:50:05 i2c does have a group Sep 29 07:50:30 KERNEL=="i2c-2", GROUP="i2c", MODE="0660" Sep 29 07:50:31 or Sep 29 07:50:38 SUBSYSTEM=="i2c", GROUP="i2c", MODE="0660" Sep 29 07:50:48 the latter applies to all i2c devices Sep 29 07:51:15 (with ".rules file" I meant some file with ".rules" as suffix, e.g. "i2c.rules") Sep 29 07:54:55 ACTION=="add", KERNEL=="i2c-[0-2]*", MODE="0666" Sep 29 07:55:16 why the * ? Sep 29 07:55:31 also please just use GROUP="i2c", MODE="0660" instead of MODE="0666" Sep 29 08:07:04 why the i2c userland crap? Sep 29 08:09:10 good question, what's the device? Sep 29 08:09:49 ah, hp206c Sep 29 08:10:07 which actually does have an iio driver Sep 29 08:11:31 I'm ambivalent about these things though... there's typically no security concern with doing it from userspace, and it may actually be easier than "properly" using the kernel driver (if one exists and works properly to begin with) Sep 29 08:12:43 the main benefit of using the kernel driver is that if you're lucky you may be able to swap it out with a different one, update the DT, and require little or no application changes Sep 29 08:20:59 thanks zmatt, we are all good Sep 29 08:21:28 i'm just a bit seriously underwhelmed by the dev process for greengrass lambdas Sep 29 08:33:31 kernel driver is good for sorting out the buses and allow for multiple copies Sep 29 08:37:12 I'm not sure what you mean by that in this context... the kernel is still responsible for multiplexing access to the i2c bus Sep 29 08:37:41 and you can even have multiple userspace applications read out this i2c sensor independently Sep 29 08:38:03 (probably, didn't check its datasheet in much detail) Sep 29 08:38:37 you'd have a better argument if the sensor used an irq but it doesn't seem to (or at least the kernel driver doesn't use one) Sep 29 08:46:32 user space would have to change to follow the HW Sep 29 08:47:07 vs kernel driver abstracts away all those issues.... esp if the HW allows different addresses to be configured Sep 29 08:49:01 that's basically what I said with "the main benefit of using the kernel driver is..." Sep 29 08:49:23 assuming I understand you correctly Sep 29 09:11:40 zmatt.. thansk for your help today.. really helped quite a bit! Sep 29 09:13:17 np Sep 30 01:04:51 Hey guys, Is there anyone that could give me some help on first setting up my BeagleBone Black? I've come across some troubles with it. Sep 30 01:12:29 if you can hone down what you wanna do, that might help .. ;) Sep 30 01:23:01 I've placed the image onto a Micro SD Card, and uploaded it onto the BBB, the youtube video i was watching said to go onto FPP, select FPP settings and click on Flash to eMMC, but that options isn't showing in my settings. I'm running version 3.3 Sep 30 01:23:54 Can I butt in? Sep 30 01:26:25 Well...I am a loud mouth. Here: https://beagleboard.org/latest-images. Get those images, i.e. the one that comes for your specific board. Then, https://beagleboard.org/getting-started. That should do it. I think. Sep 30 01:26:26 ... Sep 30 01:26:32 I will be back shortly to check in. Sep 30 01:27:01 Am I off base? Sep 30 01:28:35 off base = euphemism for "out-of-line" or a person that interjects when he/she should not Sep 30 01:32:11 No, that's fine! I appreciate any help I can get! Sep 30 01:33:16 Those links you've said have come up unavailable... =( Sep 30 01:38:08 Heh? Sep 30 01:38:10 Odd. Sep 30 01:38:16 Let me check them again. Sep 30 01:38:36 Did you go to beagleboard.org? Sep 30 01:44:18 Yea. The site works. Sep 30 01:46:39 Clear your cache maybe? Sep 30 01:47:39 Use Google! Sep 30 01:47:49 for getting to the beagleboard.org site. Sep 30 01:47:56 Chrome...sorry. Sep 30 01:51:12 Yep it works now... I've already put the image on the Micro SD card and rebooted the BBB, and then i connected it to my computer, opened Falcon Player, and then selected FPP settings to Grow the File System and Flash to eMMC but these options aren't available. Sep 30 01:52:14 Oh! Sep 30 01:52:34 I think, hold please. I am going to plug my board in. Sep 30 01:53:04 in /boot/uEnv.txt, you can change a comment to boot from eMMC. Sep 30 01:53:17 Let me get the right line down pat. Sep 30 01:54:09 Or...https://beagleboard.org/latest-images and scroll down the page. Sep 30 01:54:21 They have a eMMC "Flasher" image available. Sep 30 01:55:33 Do i just download that onto the SD card, and put it in the BBB like the image file? Sep 30 01:55:59 https://pastebin.com/7WXTgmpW Sep 30 01:56:26 Yea. You can download the image file, use etcher, and then plug and go. Sep 30 01:57:00 The SD Card gets inserted and the board, BBB, shuts itself down. You unplug the board, take the SD Card out, and wha la. Sep 30 01:57:03 eMMC! Sep 30 01:57:42 GeeFamily: You see that pastebin.com link? Well, there are three lines. Sep 30 01:58:06 I think you need to use apt to install those tools and then you can uncomment that line, the last line by taking out the "#" mark. Sep 30 01:58:26 That entails making the SD Card image a Flasher/eMMC. Sep 30 02:02:30 Im completely new to Falcon, what do i do with those links? Sep 30 02:02:43 What links? Sep 30 02:03:01 Oh...in the pastebin.com site? Sep 30 02:03:29 Those lines are in your /boot dir. under the uEnv.txt file at the bottom of that file. Sep 30 02:04:09 I am new to Falcon too. Maybe I can find a nice tutorial. Please hold. Sep 30 02:05:57 https://falcon-player.gitbooks.io/falcon-player-manual/content/ is what you are describing, right? Sep 30 02:10:32 Geefamily: what's Falcon? Sep 30 02:11:17 Geefamily: I've never heard of this, why are you using it? Sep 30 02:11:42 yep Sep 30 02:11:43 to control my BBB Sep 30 02:11:59 "control your BBB" ? Sep 30 02:12:25 falcon seems to be something to control christmas lights and stuff :P Sep 30 02:13:26 I saw once a long time ago...Falcon was a audio/video thing. At least, this is what I thought. Sep 30 02:13:28 thats what i want to do... It's for our annual Christmas light show Sep 30 02:14:04 Geefamily: okay that's a very different thing than "control my BBB" Sep 30 02:15:15 LEDs! Sep 30 02:15:47 Sorry... I'm just having trouble setting the BBB up so that i can put files on it for our show Sep 30 02:16:00 Geefamily: anyway, their instructions seem reasonably clear... you can choose between an "SD" image (to just run from SD card without touching eMMC) or an "eMMC" flasher (which will automatically install to eMMC) Sep 30 02:16:05 installing to eMMC is usually preferred Sep 30 02:16:26 especially to avoid version conflicts between the bootloader on eMMC and the linux system on SD card Sep 30 02:17:15 anyway, these are completely custom images that are created by the Falcon people, so this is kinda the wrong place to seek support for this... this is the first time in my life I've seen or heard of Falcon and I've been in this chat for many years Sep 30 02:17:48 Yep thats what i want to do, but in the FPP setting its not giving me the option to Flash to eMMC Sep 30 02:18:17 I presume it will automatically flash to eMMC if you boot the system from their eMMC image Sep 30 02:18:22 that's how it works with the usual debian images anyway Sep 30 02:19:00 see last paragraph of https://falcon-player.gitbooks.io/falcon-player-manual/content/chapter_three_installation/downloading_the_falcon_player.html Sep 30 02:19:35 or the section "Running FPP on BBB eMMC" of https://falcon-player.gitbooks.io/falcon-player-manual/content/chapter_three_installation/installing.html Sep 30 02:20:12 Oh. I misunderstood. Falcon Player is an entire image? Okay. Now, I know. Sep 30 02:20:13 Sheesh. Sep 30 02:20:16 Ok thank you for your help Sep 30 02:20:53 Geefamily: Hey...oh. Sep 30 02:21:31 uhh.... their claim that "BeagleBoard recommends powering the BBB via the USB power input when installing to the eMMC" is news to me... I actually thought that using a 5V adapter rather than usb was recommended Sep 30 02:22:03 Odd days. Sep 30 02:22:48 I also disagree with "Continue holding the S2 button until the blue LED's start to flash" .. you can, and should, let go of the S2 button once any led turns on Sep 30 02:23:17 unless that's what they meant but just phrased it poorly Sep 30 02:35:35 Can someone recommend a good site for ideas on how to use the beaglebone black? I bought 4 Sep 30 02:36:10 why would you buy four BBBs if you don't have an application for them? :P Sep 30 02:36:39 they looked cool =) Sep 30 02:37:17 The BBB was one of the few boards that could run openbsd easily with no blobs, so I knew I had to get some Sep 30 02:37:28 lol, fair enough. probably the coolest shit the BBB is capable of will be related to PRU. I once came across some site that had some cool PRU applications but I forgot where Sep 30 02:38:02 BeagleLogic is a nice example: it turns the BBB into a multichannel 100Msps logic analyzer Sep 30 02:39:05 ah interesting Sep 30 02:39:17 Maybe I should check out a maker magazine or something Sep 30 02:42:56 PRU is also used for LED matrices, e.g. someone has firmware that can drive 61 31x16 LED matrices (31744 pixels total) or "544 meters" of WS281x LED strip at 30 frames per second Sep 30 02:48:54 Hmm Sep 30 02:50:09 The beagle AI has even more fun little friends Sep 30 02:50:29 2x cortex m4 cores and 2x c66x DSPs Sep 30 02:50:39 This seems like a good starting point: https://beagleboard.org/p Sep 30 02:51:09 The model I have is the BBB Rev C Sep 30 02:51:36 (if my math is right, you can have up to 1100 WS281x LEDs in a chain and still update them at 30 fps, and LEDscape supports up to 32 of such chains, hence totaling 35.5K leds... or more if you tolerate lower refresh rate) Sep 30 02:51:40 I had this dream once to build farming robots like https://farm.bot , but to do it much more cheaply and using the BBB instead of the pi Sep 30 02:51:44 oh yeah there are projects there too Sep 30 02:52:23 Originally someone told me these would be good for servers but looking at the specs now, I think it was bad advice. The BBB should probably be better used more for embedded/mobile applications Sep 30 02:52:40 C-o-r-E: and four EVEs, and four PRU cores... of course that only matters if you have an application for them Sep 30 02:52:45 jrmu: oh yeah that was awful advice Sep 30 02:53:17 Yeah it's all those raspberry pi folks using their pis for desktops. It just seems like terrible advice now that I think of it Sep 30 02:54:03 jrmu: the beaglebone shines in I/O capabilities like GPIOs, ADC, PWM outputs, pulse measurement, and real-time control and I/O (including custom protocols) using PRU Sep 30 02:54:23 there is so much in that damn technical reference manual for the am572x Sep 30 02:54:32 but if you use none of that but just use it as a linux system, its specs absolutely suck Sep 30 02:55:04 anyways enough reading for one night... gnite! Sep 30 02:55:05 by modern standards anyway Sep 30 02:56:04 like its cpu, memory size/speed, and eMMC size/speed are adequate for many applications, but nothing to get enthausiastic about Sep 30 02:57:06 is there a way to order these in bulk cheaply? The current one I got cost me about $50 once I included S&H Sep 30 02:57:31 and its display controller is basically meant to support simple touchscreen interfaces, definitely not a desktop system (it doesn't even support a mouse cursor in hardware) Sep 30 02:57:53 you'd have to ask distributors for bulk pricing Sep 30 02:58:10 mistake, I think $70USD actually per board Sep 30 02:58:30 This could be really useful if I could find a way to lower costs Sep 30 02:59:42 newark is showing $60 => https://www.newark.com/beagleboard/bbone-black-4g/beaglebone-black-rev-c-cortex/dp/52X5548?st=bbone-black **** ENDING LOGGING AT Mon Sep 30 02:59:57 2019