**** BEGIN LOGGING AT Thu Nov 20 02:59:58 2014 Nov 20 04:16:03 How might I play audio files from C in debian on BBB? Nov 20 04:16:19 I'm a Mac developer; not that familiar with non-Apple APIs Nov 20 04:17:03 mpg123? Nov 20 04:46:37 from C? use the alsa API? Nov 20 04:47:00 sound under Linux starts with the ALSA stuff... sometimes things like PulseAudio is layered on top Nov 20 04:58:32 Hello... Nov 20 04:59:09 I just got the latest image (supposedly). I flashed my eMMC (I think). Nov 20 04:59:23 Angstrom is what I downloaded and flashed... Nov 20 04:59:49 Even if flashing takes place, should I try to use the microSD card for the future? Nov 20 05:01:15 Okay...it is late. I will wait until tomorrow... Nov 20 06:42:50 Can a kernel model probed through capemgr determine its cape slot number? More to the point, can it read its own I2C eprom? Nov 20 07:01:51 ds2: I'll check that out, thatnks Nov 20 11:58:22 HI, I'm just wondering if it is possible to boot BBB from an external SD card which is located on a touch LCD-shield with sdcard header Nov 20 11:59:50 maybe Nov 20 11:59:56 check the schematics and the TRM Nov 20 12:00:09 that should tell you whether it's possible or not Nov 20 12:00:57 the lcd shield has 4 pind for the sdcard: SD_CS,SD_DI,SD_DO and SD_SCK Nov 20 12:01:28 I didn't find som ports for the micro sd on the beagle bone P8/9 headers Nov 20 12:02:07 4 pins would be probably low bandwidth but should work if you can connect everything Nov 20 12:03:08 OK, low bandwith means low speed acces to the sd, so maybee it's better use the standard way? Nov 20 12:03:16 that's an sci connection Nov 20 12:03:55 you need to use an sci peripheral plus an io pin for cs if the sci peripheral doesn't have one Nov 20 12:04:01 and SCI menas what? Nov 20 12:04:08 err Nov 20 12:04:10 i2c Nov 20 12:04:14 is the keyword Nov 20 12:04:18 look it up Nov 20 12:04:39 i know i2c, but din't hear about sci Nov 20 12:04:54 and look at the bbb manual to see how many i2c peripherals it has and how to connect them Nov 20 12:05:06 BennyB_: read the TRM Nov 20 12:05:17 SRM mentions that it's possible to boot over usb and sereial but there is no support Nov 20 12:05:26 I do right now *g* Nov 20 12:06:08 you probably can't boot from that without a bootloader on the mmc Nov 20 12:07:09 doesn't the shield have a manual that tells you how to talk to the sdcard? Nov 20 12:07:10 OK, thanks tht's enough info, seems it's to much to do to make it work. i'll go with the standard way. But Nov 20 12:08:48 maybee it has one, but it is not arrived yet. but it's meant to be used for arduino. I'm right now looking for a way to integrate it with bbb Nov 20 12:09:45 fbtft library looks promising, but it depends which controller the barad does have exactly, what I cannot tell now untir the damn thing arrives. Nov 20 12:11:33 I'm doing this for my hobby project and can't wait to go on Nov 20 12:11:52 well, you can either have an sdcard-mmc controller on the bbb, i don't know if the bbb has one, that would be connected directly to the sdcard holder pins Nov 20 12:12:12 i think sdcards also commonly support spi Nov 20 12:13:02 in that case also straight to the sdcard Nov 20 12:13:14 and 4 pins would fit for spi... Nov 20 12:13:21 I'm designing a small board with eagle for my needs with eagle so i could add an sdcard-mmc controller. but it seems t be to much effort Nov 20 12:13:30 what for? Nov 20 12:13:57 honestly: full size sd cards have to support spi, micro sd dont need to Nov 20 12:14:02 honestly: but most of them do anyways Nov 20 12:14:05 i need alot of inputs and alot ourtputs which can drive relais Nov 20 12:14:16 and why an sdcard? Nov 20 12:14:23 to be more precise 48 ins and 48 outs Nov 20 12:14:43 BennyB_: check out the infineon xmc4500 Nov 20 12:14:43 SPI sd is also awfully slow Nov 20 12:15:08 mmc controller and plenty of i/o's Nov 20 12:15:34 but for 48 io/s you'll need some multiplexing Nov 20 12:16:01 yes, i'm ging to use some i2cv port expanders for that Nov 20 12:16:22 then you just need a chip with an mmc controller Nov 20 12:16:45 honestly: why should i move from bbb to another controller board? Nov 20 12:16:52 doesn't the bbb use the same soc as the other beagle boards? Nov 20 12:17:21 no Nov 20 12:17:35 right Nov 20 12:17:46 BBXM: omap37xx Nov 20 12:17:51 BB: omap35xx Nov 20 12:17:58 BBW, BBB: am335x Nov 20 12:18:31 bb xM has sdcard but no internal flash so you need to put the os on the sdcard Nov 20 12:19:11 right? Nov 20 12:20:01 yes Nov 20 12:20:06 BB has NAND Nov 20 12:20:10 BBXM has only SD Nov 20 12:20:14 BBW has SD Nov 20 12:20:18 BBB has SD and EMMC Nov 20 12:20:24 BB has NAND and SD Nov 20 12:20:43 so Nov 20 12:20:50 bbb already has sdcard Nov 20 12:20:57 where's the problem then? Nov 20 12:21:03 no idea Nov 20 12:22:31 maybee my stacking design makes it impossible to change the sd in bbb if everything is in place. and the lcd is on top so to the sd header on lcd i will have access. that's the reason Nov 20 12:23:36 then redo your design ;) Nov 20 12:23:38 the soolest was would be to just use the external sd header instead of the onboard if all the oins would lay on P8/P9... Nov 20 12:23:49 well you could just hook up the BBB's sdmmc controller to the sd header on the shield Nov 20 12:23:53 ... pins would lay... Nov 20 12:24:18 BennyB_: can be done. just solder somthing onto the sdcard pins Nov 20 12:24:36 BennyB_: though i'm not sure whether those pins are not already on some header Nov 20 12:24:39 but if you're making your own board anyway, why not redo the bbb board? Nov 20 12:25:15 KotH: my guess is because the sdmmc controller was seen as "internal" part of the system Nov 20 12:25:44 for hobby project- no way. this would be to expensive. i think the cost of bbb i way to low for a single piece to produce would be I think 5 times the cost of an bbb Nov 20 12:26:34 then cannibalize a retail bbb Nov 20 12:26:38 ¯\_(ツ)_/¯ Nov 20 12:26:54 you have MMC1 on the expansion port Nov 20 12:27:00 o Nov 20 12:27:05 so disable the EMMC and boot from MMC1 on your cape Nov 20 12:27:37 there is also MMC2 on the P8/P9 Nov 20 12:27:54 wasnt there a BBB "compatible" SOM? Nov 20 12:27:58 so bbb actually has three sdmmc controllers? Nov 20 12:28:10 so out uboot in emmc and load kernel+fs from mmc2 Nov 20 12:28:41 I'm just thinking I could make an sd card adapter which just drives the oins out and solder this to the sd header on lcd shield Nov 20 12:29:02 of course this all might collide with e.g.LCD on the cape Nov 20 12:29:22 sure Nov 20 12:30:00 so far so good. as much I know now it's the better to do aredesign to make the sdcard accessible even if everithing is stacked together... Nov 20 12:30:34 thanks guys fo the talk. Nov 20 12:37:39 I don't want to go with (sorry, german, I don't now a english tanslation) "Warum einfach wenns auch kompliziert geht." - I want to get it done in the near feature! So maybee I should stop thinking about new features and stuff and do the basic functions first Nov 20 12:38:17 yes Nov 20 12:38:18 ja Nov 20 12:38:20 genau! Nov 20 12:38:46 nödwürkli? Nov 20 12:40:59 but sometimes it's hard to resist the "offerings" in internet. I recently found out that capes for bbb do have an small eprom which tells bbb on boot to load the devie tree overlays. Nov 20 12:41:14 ignore that Nov 20 12:41:24 capemanager is gone from recent kernels Nov 20 12:41:27 I think I don't need this but it would be cool to have it. the eprom i only 1€ ... *grr* Nov 20 12:42:05 ah, yes I remember to read it lately but I'm on 3.8.13 Nov 20 12:42:46 just ignore all that Nov 20 12:42:49 what is the best kernel to use right now? Nov 20 12:42:52 and concentrate on a few first steps Nov 20 12:45:20 but I want to make the EierlegendeWollMilchSau. The board will cost me about 200€ so I don't want to do it twice when a new feature "needs" to be implemented. I want to think about as most as possible "features" to be flexible in later stages. Nov 20 12:46:07 it's hard to explain Nov 20 12:46:45 first thing you learn as an engineer is, that the eierlegendewollmilchsau is the safest way to make a project unsuccessfull Nov 20 12:48:44 yes I do try to focus on my goal but a few "goodies" SHOULD be possible. it's hard to keep the focus. - If I tell you that the planning started 2.5 Years ago wou would call me crazy. *g* Nov 20 12:50:04 * KotH has projects in planing for >10y Nov 20 12:50:33 BennyB_: sure you can put a lof things on a PCB if you are making one Nov 20 12:50:35 it all started with an arduino mega, than an chicpkit with more "power" and now i begun to design my board and use the great BBB with debian on it and endless possibilities Nov 20 12:50:45 just make sure you can cut traces to parts you have to abandon :) Nov 20 12:52:34 at the moment I only go with an db9 connector for serial debug header, a rj45 for an external onewire bus splitter 8already finished and working) some (48) optically isolated inputs and 48 outpouts which can drive relais Nov 20 12:53:19 and of course an RTC chip whith battery Nov 20 12:53:45 and now the lcd for status display Nov 20 12:56:02 KotH: but not personal private hobby projects, or? Nov 20 12:56:35 BennyB_: they are personal, private and hobby projects Nov 20 13:06:49 is there any limit besides the USB address limitation for USB ports on the Beaglebone Kernel? Nov 20 13:07:09 yes, number of enpoints the controller supports Nov 20 13:08:36 is that a fixed number for the Black? Nov 20 13:09:58 that's a fixed number for any hardware Nov 20 13:10:09 even your pc has that limit Nov 20 13:11:23 from my reading 127 is the max for the USB protocol. I would like to understand how many the beagle bone black would allocate if one were to daisy chain hubs Nov 20 13:11:41 read the TRM Nov 20 13:12:19 hmm.. though i have to say i dont know how number of supported enpoints translate to devices in the multiple hub case Nov 20 13:12:27 i've not studied the usb standard that closely Nov 20 14:18:08 hey Nov 20 14:18:41 hey guys Nov 20 14:21:02 911 - state the nature of your emergency Nov 20 15:21:58 Has someone work with SpeechRecognition with python on BBB? Not pocketsphinx but a python lib? Nov 20 15:33:45 o_0 Nov 20 15:34:40 why would you want to have a plain python implementation? Nov 20 15:35:36 do you have an urge to wait 10minutes before dave knows you want him to open the pod bay doors? Nov 20 15:36:28 why not use pocketsphinx and write a python wrapper around the lib? Nov 20 15:37:13 s/dave/hal/ Nov 20 16:10:02 KotH: I want to use the Wolframalpha Python Library, so I don't want to "complicated" using the c library on python Nov 20 16:10:17 I haven't found many examples Nov 20 16:11:52 on how to use pocketsphinx with python, (trying to found an easy solution ;)) Nov 20 16:12:40 no idea Nov 20 16:12:49 i'm a perl person, i hate python with passion ;-) Nov 20 16:17:27 KotH: hahaa, well I'm python newbiew, I prefered Java Nov 20 17:12:59 methuzla was it with you that I talked about SPI yesterday? Nov 20 17:20:14 rcn-ee: https://gist.github.com/jadonk/7f19343762bcc490166e Nov 20 17:20:30 just a simple hack to "kiosk mode" out of the box. Nov 20 17:20:34 Using Chromium Nov 20 17:45:44 jerome - yes Nov 20 17:54:28 methuzla so I moved to debian 7.5 from http://beagleboard.org/latest-images Nov 20 17:54:43 In the end no need to use dtc Nov 20 17:55:16 2 files about SPI1 are already installed in debian Nov 20 17:55:31 I just had to enable it with uEnv.txt Nov 20 17:55:43 it works like a charm Nov 20 17:56:12 cool. Nov 20 17:56:48 i'm trying to work from one of the "console" images Nov 20 17:57:11 but you have a black? Nov 20 17:57:55 yes, an older rev A5A Nov 20 17:58:24 I have no choice, I have a white, I can only use in a console Nov 20 17:59:38 console image = one of the testing snapshots http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots Nov 20 18:00:09 just wanted to start with something simple and work forward from there Nov 20 18:00:18 hold on, when you say console, it doesn't mean without hdmi screen? Nov 20 18:01:09 sorry no. one of those images labeled as console (for whatever reason) Nov 20 18:01:40 sorry, I'm a bit lost. if it's not console, what is the other option? Nov 20 18:02:02 I don't really get what is the difference between console and not console... Nov 20 18:02:34 and i may not fully know either Nov 20 18:03:03 i interpret the console images as simple Nov 20 18:03:18 they don't have node.js and cloud 9 for example Nov 20 18:03:37 where as the ones at http://beagleboard.org/latest-images do Nov 20 18:04:14 and i wanted to start without node.js and cloud 9 Nov 20 18:04:20 ah I'm supposed to have node.js? Nov 20 18:04:26 I don't really care Nov 20 18:04:45 I should try though Nov 20 18:04:52 maybe. i dunno. try opening a browser to your machine. Nov 20 18:04:57 hi, is there a way to activate the can bus driver in bbb ubuntu kernel 3.15.8 without recompiling the kernel it self ? i think there ist no capemgr for this kernel. Nov 20 18:06:04 ah yes ! the port 80 has some web pages Nov 20 18:06:16 jerome-, console just means it boots into a simple console over hdmi/serial... everything else you have to add... aka build up from a very minimal base.. Nov 20 18:07:02 somewhere on there is a link to the cloud 9 ide, which is just a link to your local machine on a different port Nov 20 18:07:15 port 3000 Nov 20 18:07:22 there you go Nov 20 18:07:46 and if i remember correctly, apache is listening on 8080 Nov 20 18:08:04 ah yes, I have web pages on port 3000 :) Nov 20 18:08:04 as nodejs gets port 80. ;) Nov 20 18:09:22 ahh... I have a root console on the web page on port 3000 Nov 20 18:10:40 probably good to know that's there Nov 20 18:11:40 yes, definitely! but well, it should be safe being my firewall Nov 20 19:41:36 so I am looking to build a UAV and wanted to know if I could connect my GoPro hero 3 to a BBB through a direct connection. Both units would be on the aircraft. In other words, does BBB support hdmi input? Nov 20 19:45:45 AUVSIguy I don't think so Nov 20 21:44:33 Hello Nov 20 22:47:11 When I connect the beaglebone to my laptop, it automatically mounts a .dmg, and scp / ssh take ~20sec to establish a connection Nov 20 22:47:20 are the two related, and is there anything I can do about it? Nov 20 23:19:42 interesting. I have a bb xM that is still pingable and I can start an ssh session but ssh hangs when it tries to get a shell. Nov 20 23:22:15 if only I had a console. Nov 20 23:45:48 honestly: try shellshock? :) Nov 21 00:42:53 methuzla I tried again with ubuntu console and debian, it's a fail get the right version of dtc, and none of them have /sys/devices/bone_capemgr.8 Nov 21 00:43:10 so I give up and I keep debian with cloud9 that I disabled Nov 21 00:49:20 sounds good. choices. so whatever is working for you. Nov 21 00:50:20 yeah... I wanted to understand exactly, but it's too complicated for the time I want to spend on that Nov 21 02:07:08 I want to use ttyO0 on my BBB. I managed to mask the console that is started there by systemd, and I found /boot/uboot/uEnv.txt, which contains the instruction to output the kernel console messages on it. However, changing that file doesn't make it stop. How can I make that commandline active when booting? **** ENDING LOGGING AT Fri Nov 21 02:59:58 2014