**** BEGIN LOGGING AT Thu Jul 17 02:59:59 2014 Jul 17 04:25:01 hmmmm the BBW makes a nice alternative to that USB abomination that TI ships with some EVMs Jul 17 06:57:08 Hi everyone, I have a BBB and I am no longer able to use my ssh connection with puTTY. When I try to connect, there's no error, but nothing happens, everything is black on the terminal Jul 17 06:57:55 spikebike: ragnar76 it should be the same protocol as the owfs / one wire that the ds18b20 uses as well... i've wworked with them before. http://tiggycam.com/2013/11/09/finally-got-the-dallas-1-wire-working-on-the-beaglebone-black/ Jul 17 06:58:16 Tufugo: does it ping? Jul 17 06:58:16 And so I can't log, I can run a simple blinking LED program with cloud9, so the board is responding but no way for loging... anyone has an idea about it ? Jul 17 07:07:08 Tufugo connect a serial cable login and find out why the sshd proably dropbear is not working correctly Jul 17 07:28:55 Woglinde, sorry had to afk, here is the thing, I have the wire serial/USB but I don't know how to use it. Jul 17 07:31:29 Downloaded an image for my 2GB beaglebone, the extracted image was 4GB... Jul 17 07:31:42 downloaded the debain and its 2GB Jul 17 07:46:13 Tufugo it shoud be in the TRM Jul 17 07:46:21 how to connect the serial cable Jul 17 07:47:07 or in the SRM Jul 17 07:47:42 or here Jul 17 07:47:43 http://www.element14.com/community/community/designcenter/single-board-computers/next-gen_beaglebone/blog/2013/05/22/some-quick-start-things-to-do-for-developing-on-the-bbb Jul 17 07:47:56 gm tbr Jul 17 07:48:04 good moaning woglinde Jul 17 07:48:34 hm another x for people saying I do not know how to use it and dont use google to find informations Jul 17 07:52:56 Yeah well I already tried to use puTTY for establishing serial connection this way Jul 17 07:53:54 I guess I just don't use the good COM port, as I'm too stupid Jul 17 07:54:21 tufugo I suggest you are getting famliar with linux, because then it is more easier do debug stuff and understand whats going wrong Jul 17 07:54:37 tufugo than try all comports until you find one Jul 17 07:54:46 which gives you the login Jul 17 07:55:00 yeaaaah I know :( but I didn't get the courage to re-install a distro on my own new PC yet Jul 17 07:55:48 virtual machines count too Jul 17 07:56:04 never tried "screen" but it seems to be easier than putty Jul 17 07:56:24 or colinux Jul 17 07:56:37 well, some issues with the output/input on VB :/ Jul 17 07:56:48 visual basic? Jul 17 07:56:54 virtualbox? Jul 17 07:56:57 nope I used virtualbox Jul 17 07:57:27 you have to install the usb2.0 driver from the virtualbox website of course Jul 17 07:57:31 anyway I have to go, I'll try to fix this Jul 17 07:58:06 See you, thanks for the kindness Jul 17 08:44:58 xenoxaos: worked with any of the sha based ibuttons? Jul 17 08:51:50 I can't seem to find the logs for this channel Jul 17 08:52:20 so let me ask here, On the BBB under the ubuntu image , which ntp is prefered? Jul 17 08:52:59 should I use ntpd or openntpd ? Jul 17 09:00:12 hi, I'm using kernel 3.8.13 with debian on BBB. i2c seems to be active by default, how can I disable it on boot? I need the pins P9.17 /18/19/20 as gpio inputs Jul 17 09:02:22 hello I have made a file led.sh in the /usr/local/bin directory and chmod it to +777 to be able to be used by anything. then on my web server side . I added a php script (instaleld php) that does that shell_exec("/usr/local/bin/led.sh") but it does not execute the script Jul 17 09:02:27 anyone cna help me ? Jul 17 09:03:41 and yes if I do ./led.sh in the terminal the led array turns on Jul 17 09:07:30 does php actually work? Jul 17 09:09:24 yes if i run ip/info.php it opens the url Jul 17 09:09:59 and also its index.php Jul 17 09:10:31 any idea how I can execute that script ? Jul 17 09:11:48 tail -f /var/log/apache2/access.log and try again Jul 17 09:12:34 waiting for it to finish executing the tail -f /var/log/apache2/access.log Jul 17 09:13:26 it just keeps going Jul 17 09:13:28 hit the url Jul 17 09:14:01 did nothing again Jul 17 09:14:08 want me to paste bin the 3 outputs I got ? Jul 17 09:14:29 try tail -f /var/log/apache2/error.log Jul 17 09:14:36 (and hit the url) Jul 17 09:16:04 aha I get Permission denied Jul 17 09:17:25 demeteor: sudo it Jul 17 09:17:35 from php ? Jul 17 09:17:41 i can do exec sudo? Jul 17 09:18:36 make a wrapper script, and give the user that php runs under an explicit sudoers entry to run *only* that wrapper script Jul 17 09:19:12 wrapper ? as Iframe ? Jul 17 09:20:06 HI, I'm tryiing to use some pins as GPIO and getting this message in dmesg output: " gpio_request: gpio-66 (sysfs) status -16" anybody knows what is wrong Jul 17 09:20:10 did i say "wrapper frame"? or did i say "wrapper script" Jul 17 09:20:43 demeteor: hint: like "led_wrap.sh" that internally calls "sudo led.sh" Jul 17 09:21:09 AHH okay let me try that Jul 17 09:22:06 and one more hint: read my full post above *again* it contains more information than only that. Jul 17 09:25:06 so doing sudo ./directory/led.sh wont work apperandly Jul 17 09:25:27 even if i try i get this error sudo: no tty present and no askpass program specified Jul 17 09:28:33 okay I got nothing I cant understand what I have to do even though I am reading what you said Jul 17 09:33:55 1) make sure your script works as root. Jul 17 09:34:11 2) make sure your wrapper script works as root. Jul 17 09:34:31 3) make sudoers entry for the user that shall run the inner script Jul 17 09:34:48 I have no idea how to do sudoers Jul 17 09:34:55 *hint again*: of course that must not be set in a way that it asks for a password Jul 17 09:35:06 4) make sure your wrapper script works as the intended user Jul 17 09:35:17 I have only one account root that has no password Jul 17 09:35:26 demeteor: well what keeps you from reading up on the buzzword "sudoers"? Jul 17 09:36:33 it shall be edited through visudo only, and besides that, its perfectly documenteed. Jul 17 09:37:21 I hope I dont edit something wrong Jul 17 09:37:39 thats part of the learning process. Jul 17 09:38:19 so what exactly I am looking to edit ? I did sudo visudo to open the file . I can see the root user Jul 17 09:38:43 demeteor: honestly, i will *not* hand you a line to just paste Jul 17 09:39:03 no no dont do that Jul 17 09:39:14 demeteor: i already told you: have the entry *not ask for a password* that should ring a bell Jul 17 09:39:36 debian ALL=NOPASSWD: ALL Jul 17 09:39:36 demeteor: plus, why not just fire up "man sudoers" on your dev box? or favorite web browser? Jul 17 09:39:40 aint that correfct ? Jul 17 09:39:49 demeteor: or maybe google for examples? Jul 17 09:41:01 dang, theres even an "EXAMPLES" section in the sudoers man page Jul 17 09:41:11 that should really be cluebat enough Jul 17 09:41:25 OK found out by myself, the error was because I tried to esport the BB-ADC to the capemgr twice... Jul 17 09:41:52 yeah I am looking on it right now Jul 17 09:43:21 Hi guys, I have some trouble with my BBB. I can't use an ssh connection by the micro usb (using puTTY, there's no error message, just black screen on terminal and waiting for login asking forever) Jul 17 09:44:15 However I can log on the serial debuger pins, but I need to get the ssh connection to get some graphical interface after that Jul 17 09:45:02 LetoThe2nd: amm I dont know if its correct to what I am thinking but I have to give the appache full privilages ? Jul 17 09:45:08 on sudo Jul 17 09:45:54 mmmh what's the appache ? Jul 17 09:46:03 demeteor: wrong. Jul 17 09:46:12 demeteor: read again whati told you. Jul 17 09:46:32 it was: Jul 17 09:46:33 11:18 < LetoThe2nd> make a wrapper script, and give the user that php runs under an explicit sudoers entry to run *only* that wrapper script Jul 17 09:49:01 btw I dont mind if its not explicit . its a local run robot so it does not matter but I will figure it out Jul 17 09:49:11 I ahve to go now the lab will close see ya later Jul 17 10:57:57 hi Jul 17 10:58:30 i saw something about about sensors Jul 17 10:58:44 to use with bb Jul 17 11:01:06 how to drive sensors with beagle board ? Jul 17 11:01:22 where can i find the source code ? Jul 17 11:03:18 "depends" Jul 17 11:05:59 depends about Jul 17 11:06:44 visual sensors Jul 17 11:06:58 "still depends" Jul 17 11:08:02 Hey guys. Has anyone got lirc working on the bbb, or got some other way of decoding ir-signals, perhaps with a pru? Jul 17 11:09:26 visual sensors to connect to beagle board Jul 17 11:09:31 hm, ain't those irda things just a uart with a photodiode? Jul 17 11:09:49 natsukao: this is *not* a meaningful question Jul 17 11:10:41 natsukao: hint: what type of sensor? ("visual" is *not* a type) - which connection? (usb, spi, i2c, gpio) - which software model is intended? Jul 17 11:10:53 no, is not irda Jul 17 11:11:17 natsukao: as long as you cannot give a *precise* answer to these three points, the statement will always be "depends" Jul 17 11:11:30 natsukao: and the irda was not for you, it was for blixt_ Jul 17 11:12:04 spi i don't know, i2c (integrted), usb (could be), but i think is better i2c Jul 17 11:13:23 LetoThe2nd, its a tsop module, it filters out the signals from the "modulation frequency" and outputs it to a gpio pin. I guess it would be possible to just make a program to decode it but I think it would not be very reliable since there is timing requirements. Jul 17 11:14:26 blixt_: i see. i generally would recommend some sensor style with a less hackish interface like i2c or spi generally, besides you can probably only bitbang Jul 17 11:15:01 the necessity to decode the external environment, transform it into signals, to return to the eyes Jul 17 11:15:52 Hello, after running for a few minutes a CPU and network intensive application which also reads data from some sensors and turns on some LEDs, the BBB I was using died and does't turn on anymore. First I thought it was something wrong with the sensors, then I tried with another BBB but with a few sensors and ensuring evetything was correct, and after a few more minutes, this BBB died too (I know, it's sad losing two BBB in the same day). I suspect Jul 17 11:15:52 BBB is not able to run CPU and network intensive applications. Has anyone here already had some related experience? I'm using a proper power suply, so I don't think it's the problem. I suspect the board is overheating, although I haven't checked yet. Jul 17 11:17:15 In my application there's a external computer which makes a HTTP request to beagle every 0.5ms (yes, ms) and in every request some sensors are ready and the data returned to the client. Jul 17 11:17:42 when this application runs, the beagle's processor runs at 1GHz Jul 17 11:19:57 i understand, but i can't use external computers Jul 17 11:20:42 i need something that is of reduced dimensions Jul 17 11:20:59 and with a low weight Jul 17 11:21:33 LetoThe2nd: Its all I have right now :) I found this: https://github.com/hani93/lirc_bbb but there are no instructions what so ever, and trying to figure out how to patch the kernel source, build a new kernel and install it leaves me dazed and confused :( Jul 17 11:22:58 blixt_: sorry, no idea about irda/lirc specifically, as i've never used it Jul 17 11:25:37 LetoThe2nd: No worries. I was just kind of hoping someone in here perhaps had done this before. Jul 17 11:28:40 :) Jul 17 11:30:22 for the first time in the story, google has developed a bike helmet, with a sort of VRML which works with Android Jul 17 11:31:14 natsukao: please stop posting irrelevant informations. Jul 17 11:32:09 i am interested to have a mountain bike helmet (freeride; downhill), with visual sensors under GNU/linux Jul 17 11:32:19 this is the point Jul 17 11:33:01 natsukao: no, for the last time. this is no point. you are constantly posting some buzzwords, without providing any though, detail, or sign that you know what you are talking about. Jul 17 11:33:24 natsukao: you asked for *source* *code* without even being able to name a specific sensor. Jul 17 11:33:51 natsukao: so, you are literally just spamming. so please stop now, until you have a *very* *precise* question. Jul 17 11:35:17 i don't know the name of a specific visual sensor Jul 17 11:36:08 blixt_: kernel recompilation should be not too much magic. so for learning, i'd just suggest to start with that, and test including trivial patches. once you get that workflow, you can add productive changes Jul 17 11:36:43 blixt_: for starters, http://elinux.org/Building_BBB_Kernel does not look too bad Jul 17 11:40:40 What is the maximum power that the beagle bone A5C can use for USB while using a 5V 2A USB to barrel adaptor? Jul 17 11:41:47 SudoerTaurus: i don't know if there are limiting switches somewhere in the usb power rails, but i'd say no more than 1A, 1.2A at best Jul 17 11:42:28 the SRM might know Jul 17 11:42:33 yeah, might Jul 17 11:42:43 but I'd consider a powered hub Jul 17 11:42:57 I only need about 500mA, but am only getting 100mA Jul 17 11:42:58 ++ Jul 17 11:43:22 SudoerTaurus: then check if your device properly requests 500mA and what the driver says. Jul 17 11:43:46 How do I do that? Jul 17 11:44:05 I do have a multimeter but it has some blown caps Jul 17 11:44:58 My beagle only allows a keyboard or a mouse Jul 17 11:45:26 SudoerTaurus: http://www.linux-usb.org/USB-guide/c607.html Jul 17 11:45:59 hi Jul 17 11:46:09 is this channel log? Jul 17 11:46:10 Hi city Jul 17 11:46:16 Log? Jul 17 11:46:20 if so where can I read the logs? Jul 17 11:46:23 As in logged? Jul 17 11:46:44 yep, sorry, my mis spell Jul 17 11:46:59 yes, logs are on the web page Jul 17 11:47:00 I am sure someone allready asked about ntp Jul 17 11:47:17 ntp is software, it just work Jul 17 11:48:16 ok, so which ntp daemon is preferred on the BBB? Jul 17 11:48:27 under ubuntu - that is Jul 17 11:49:00 I used to run ntpd, but see more options are available Jul 17 11:49:38 As for the disconnecting I asked about, yesterday: Jul 17 11:49:46 unless you are going to attach it to a rubidium normal, gps, any ntp daemon should "just work" Jul 17 11:49:52 LetoThe2nd, Thanks, I will study that. The usb to serial 3.3v cable is going to be a problem for now. I suppose i could hack something up, like using an arduino and level converters. But it should be possible to install the kernel without all that messing about. I will have to figure it out. Anyway, thanks, I appreciate the help. Jul 17 11:51:00 having console access is imperative for kernel work. it makes it sooo much easier. so I'd suggest to order a cheap usb2serial cable for the future :) Jul 17 11:51:26 blixt_: when you are trying to do something more complicated on the BBB, you should certainly try to get a fitting serial cable. like tbr said, for kernel work its a must-have Jul 17 11:52:36 I installed and configured networkmanager , and it keeps the BBB connected. Jul 17 11:52:48 For me, complicated is attempting to power a USB hub, which powers a keyboard and mouse that draws around 200-220mA Jul 17 11:52:48 I now notice rekeying every hour Jul 17 11:53:17 Never got the damn thing to do it though Jul 17 11:53:26 I know other boards use conn manager to persist the wifi connection Jul 17 11:53:43 but network manager is ubuntu default, and works fine Jul 17 11:53:44 Tried hacking a simple USB to barrel adaptor, same results Jul 17 11:53:49 without a gui Jul 17 11:56:37 Is the silver solid state capacitor (Assuming its that) supposed to have a line bulge? Jul 17 12:00:06 for quadricopter http://www.es.ele.tue.nl/education/5HC99/wiki/images/b/b8/QC_report_group_1b.pdf Jul 17 12:09:40 That beaglebone supplies the power to the hub for about a second then cuts it of... Jul 17 12:18:41 I am having an issue cross compiling freeswitch using scratchbox2. I have copied over the rootfs from my embedded Ubuntu 14.04 system, which has all of the dependancies installed, to seed my scratchbox2 environment. When I "sb2 configure" the error @ http://pastebin.com/G6UFrrhn Jul 17 12:31:26 hai all, Am working on BBB to integrate at25df321 spi flash and i successfully red the manufacturer id with spidev_test.c using ovelay file . Now i want to spi device as mtd at /dev/ . i tried to edit dtsi file but i cant get it. Can any 1 help me?? Jul 17 12:50:36 nothing of new for google glass: http://thecodeartist.blogspot.it/2013/05/sensors-on-google-glass.html Jul 17 12:54:12 natsukao: it is enough now. Jul 17 13:27:27 Hi, guys! Does anyone know how to get a piece of BeagleBone Black in Japan? Jul 17 13:27:50 <_av500_> a piece? Jul 17 13:27:56 <_av500_> not a whole one? Jul 17 13:28:11 well, the whole thing i meant Jul 17 13:29:42 why not just pick a distributor and order? Jul 17 13:30:12 It seems like it's really difficult to get one in Japan. I have spent whole day looking for it @ AKIHABARA, but couldn't get one cuz most of retailers say that it's out of stock and won't be available for a while Jul 17 13:30:45 well you probably will have to wait a bit everywhere, but AFAIK the situation already has improved significantly Jul 17 13:31:53 so placing an order now is good, as that secures you a spot in line Jul 17 13:32:09 i wonder what happened behind such a long backlog of orders Jul 17 13:32:29 Demand > Supply thing? Jul 17 13:32:36 exactly Jul 17 13:32:41 very popular board and not super high production output Jul 17 13:32:43 classic Jul 17 13:33:34 and as it's fairly low margin you can't probably scale by buying parts on spot market (expensive) and contract additional production capacity (expensive, problem prone) Jul 17 13:35:38 i c Jul 17 13:36:28 i m eager to get one. I hope it would' take much time for me to get one Jul 17 13:36:40 any longer Jul 17 13:36:53 thx, tbr;) Jul 17 13:36:54 the new RevC boards have been showing up here and there with distributors Jul 17 13:38:22 hmm...can't wait to explore the POWER of the RevC... Jul 17 14:22:59 sorry what do you mean? what is new with power? Jul 17 14:47:06 This seems to be just what I needed. https://groups.google.com/forum/#!msg/beagleboard/ukEEblzz9Gk/VX-_Eckwd8kJ And I ordered a ftdi 3.3v cable so I can start playing with the kernel :) Jul 17 14:50:20 blixt_ hm you would need a jtag to really play with the kernel Jul 17 14:52:44 woglinde, true, but console access is a good first step :) Jul 17 15:04:17 hi there. may I ask something about the CCCC on BBB start ? Jul 17 15:13:53 <_av500_> sure Jul 17 15:13:58 giafar what is CCCC ? Jul 17 15:14:09 <_av500_> woglinde: the stuff the ROM prints on serial Jul 17 15:14:17 <_av500_> when tryng to boot from it Jul 17 15:14:32 hm okay Jul 17 15:23:27 Hi! Does anyone know how to change the frequency of SPI P9_22 which is the clock on BBB? Jul 17 15:40:03 Ardit the TRM says nothing? Jul 17 15:55:54 what is the TRM? Jul 17 16:03:03 Technical Reference Manual Jul 17 16:10:40 There is no argument there for changing the clock frequency. I need a code maybe in python that does that. Jul 17 16:11:09 For example:import Adafruit_BBIO.GPIO as GPIO import time GPIO.setup("P9_22", GPIO.out) GPIO.setclock("P9_22", 64000) GPIO.output("P9_22",GPIO.HIGH) Jul 17 17:26:29 I build a custom distro using buildroot, and got it running from the sdcard, how can I flash this custom distro to the emmc? Jul 17 19:00:51 How do I change the SPI clock (P9_22) speed on BBB? And what is the maximum speed of this clock? There is nothing on the TRM about this. Jul 17 19:00:59 Thanks Jul 17 19:16:24 Hi all i think that you need to bzip2 package to next debian image because standard tar xvjf will not work. Jul 17 19:16:31 to add* Jul 17 19:30:23 I think I have lost my BBB ... after CCCC @ boot time I have flashed u-boot-spl and u-boot.img entered U-Boot menu but the command nand device shows me "no devices available". Just RMA or you guys can help me ? Jul 17 19:31:10 All of above using UART boot mode Jul 17 19:40:10 I thought the BBB was unbrickable by firmware? Jul 17 19:40:23 i.e. you could put a sd card in and hold the boot button Jul 17 19:40:59 yes u r right but there is no /dev/mmcblk1 device any more I mean the nand is not available any more Jul 17 19:41:55 I have uploaded the spl file and u-boot.img bye UART, the boot loader comes up but there is no nand :-( Jul 17 21:12:07 Hi I would like to ask for your help about expand my DO to 43 and 3 spare total 46 DO 15 DI. How and do I need 2 BBBlack to handle the number of IOs Jul 17 21:14:00 My project include 2 BBB communicated wirelessly about 40 meters. Board #1 contains 12 DOs, 1 DIs, 1 AI, but the 12 DOs pull 1 Amp each channel. Jul 17 21:18:39 Hi Jack Jul 17 21:58:28 hi all, i get my bbb today, and i cant use internet via ethernet cable... some help? Jul 17 22:19:08 can anyone help me? I'm trying to run ubuntu on my rev D BB, but I think I need to upgrade the x-loader and u-boot. I'm not sure how to do this. I've been looking at this: http://elinux.org/BeagleBoardUbuntu#Upgrade_X-loader_and_U-boot but I'm not sure where to start. should the commands given be run from the BB, or in a terminal with a serial connection to it? what state should the board be in (powered on, off, SD in, mounted, unm Jul 17 22:24:17 Catherine: These "nand erase" commands are u-boot commands to enter at the serial u-boot prompt Jul 17 22:25:01 The later ones for creating that flasher SD are to run on a PC Jul 17 22:25:26 hi all Jul 17 22:25:31 and take care to pass the correct device to that script :) Jul 17 22:26:36 thanks! Jul 17 22:27:09 regarding to the pinout, are the serials on P8 and P9 TTL ones? i'm about to wire an atmega328 to it and i'd like to use them to communicate. do i still need an ftdi or such? Jul 17 22:28:03 they are LVCMOS @ 3.3V Jul 17 22:29:52 ds2: what does that mean? Jul 17 22:32:29 http://en.wikipedia.org/wiki/LVCMOS Jul 17 22:37:33 it means exactly what it says. Jul 17 22:37:51 TTL implies 5V levels with odd ball thresholds Jul 17 22:37:59 the AM335x is _NOT_ 5V tolerant Jul 17 22:39:03 okay, so i still need an rs232max or ftdi Jul 17 22:41:04 is any of the serial pins able to do this? Jul 17 22:47:58 why do you need that? Jul 17 22:49:59 ds2: i need to communicate between the atmel328 and the bbb Jul 17 22:51:27 the atmel328 is 3.3V CMOS, isn't it? Jul 17 23:06:47 ds2: i've found this: http://www.instructables.com/id/How-to-make-a-BeagleBone-and-an-Arduino-communicat/ Jul 17 23:07:20 oh... you want to use an arduino Jul 17 23:07:27 is the arduino 5V powered? Jul 17 23:32:48 ds2: yes it is Jul 18 00:58:09 ragnar76: you want a level shifter Jul 18 01:03:58 ds2: yeah, looks like Jul 18 01:30:20 can the circuitco beaglebone be bought from anywhere these days? Jul 18 01:30:46 digikey and mouser = nil Jul 18 01:36:14 is the embest beaglebone version supposed to be a good one? Jul 18 01:46:09 dogrocket the embest one is jsut fine. Jul 18 02:13:44 see the embest also has a usb otg interface instead of usb client, is it working ok? Jul 18 02:27:38 embest should be same as cco black .. usb client and otg ports Jul 18 02:28:51 *poof* **** ENDING LOGGING AT Fri Jul 18 03:00:00 2014