**** BEGIN LOGGING AT Wed Apr 01 02:59:58 2015 Apr 01 03:30:58 Hello... Apr 01 03:31:54 I am working out of a book. Evil Genius series... Apr 01 03:32:18 nice Apr 01 03:32:24 This book says npm install -g serialport Apr 01 03:32:35 I get ERR codes back via PuTTY. Apr 01 03:33:32 It says use the SSH client but my BBB has never been able to hook up to that SSH client on the site. Apr 01 03:34:46 What do you think I should do? Apr 01 05:29:53 I need help with connecting a sensor to the Beaglebone Apr 01 05:30:24 It's an Allen bradley rightsight sensor Apr 01 05:31:07 It has DC voltage input of 10.8 V (Min) that I plan to supply with a DC power supply Apr 01 05:31:54 However, I do not know WHERE to connect the sensor the Beagloebone's IO pins Apr 01 05:32:08 I am guessing it goes in an analog pin considering its a light sensor Apr 01 05:32:18 Does anyone have any advice? Apr 01 05:32:21 I donl Apr 01 05:33:07 newbie13123: what's the output of that sensor? voltage levels etc? Apr 01 05:35:29 The sensor is a light sensor. Here is a datasheet: http://literature.rockwellautomation.com/idc/groups/literature/documents/in/42ef-in003_-en-p.pdf Apr 01 05:38:13 mh, so it seems to be some sort of switched output Apr 01 05:38:51 I guess you could take 3.3V from the board and loop it through the sensor into a gpio-input. then read that. Apr 01 05:40:04 hmno, the wiring diagrams are weird Apr 01 05:49:28 http://www.element14.com/community/blogs/jimfaq/2009/11/02/what-are-npn-and-pnp-outputs-on-sensors Apr 01 06:26:09 does the 3.14 kernel support uarts on the black? Apr 01 06:31:19 I'm sure it does, you might just need to define them in the DT to be usable Apr 01 08:04:38 Hi everyone Apr 01 08:05:04 I am not able to ssh to my bbb using usb Apr 01 08:05:33 Actually before i was using debian so it was working fine Apr 01 08:05:58 which os are you using? Apr 01 08:06:05 OS Apr 01 08:06:12 ubuntu 14.04 Apr 01 08:06:34 run: ip addr show Apr 01 08:06:40 automatically it was connected to my pc Apr 01 08:06:54 do you see a device with IP 192.168.7.2 ? Apr 01 08:06:54 in bbb Apr 01 08:07:40 no Apr 01 08:08:41 can you connect a hdmi cable to the bbb, and see what it displays? Apr 01 08:08:52 is the bbb on? is it working? Apr 01 08:09:09 easiest: are the leds blinking? Apr 01 08:09:37 i dont have hdmi cable but i have connected through serial debuger Apr 01 08:09:56 tbr :yes ofcourse Apr 01 08:09:57 which OS/distribution is the BBB running? Apr 01 08:10:21 i mentioned earlier ubuntu 14.04 Apr 01 08:10:47 it might just be that the *buntu image doesn't expose usb-networking by default Apr 01 08:11:07 nivw : yes its working fine but its not connecting to pc through usb Apr 01 08:11:14 only powering it up Apr 01 08:11:26 I'd check the release notes/docs for that image Apr 01 08:11:39 tbr : so whats to be done Apr 01 08:12:35 no idea, never used that image Apr 01 08:12:59 k. Apr 01 08:13:33 how by default its working in debian or amstrong Apr 01 08:19:56 #ubuntu-arm Apr 01 08:20:02 #ubuntu_arm Apr 01 08:21:49 I am using the new debian 8.0 and it works fine Apr 01 09:01:45 hi Apr 01 09:02:14 anybody there Apr 01 11:30:11 hello , i want to know the file to set the PWM analpg ports in the kernel ? Apr 01 15:49:48 Hi Apr 01 15:49:57 grüezi Apr 01 15:50:46 Ich würde gerne ein BeagleBoard Black bestellen und bin mir nicht sicher was ich zusätzlich noch alles benötige Apr 01 15:50:56 Brauche ich eine SD Karte? Apr 01 15:52:24 nicht zwingend aber hilfreich (z.b. zum neu flashen, 4GB minimum) Apr 01 15:52:37 und µSD, nicht SD Apr 01 15:52:43 uhm Apr 01 15:52:45 english Apr 01 15:52:47 please Apr 01 15:53:19 http://www.amazon.de/SainSmart-Serial-Debug-Console-Raspberry/dp/B00KVUSI30/ref=sr_1_1?ie=UTF8&qid=1417690697&sr=8-1 helps too ... Apr 01 15:53:38 (any 3.3V FTDI cable though ... ) Apr 01 15:53:56 +1 for the usb2serial cable Apr 01 15:54:13 required equipment for anyone doing embedded linux Apr 01 15:54:18 +1 Apr 01 16:38:12 Hello, I have a silly question Apr 01 16:38:38 santyp: no such thing as silly Apr 01 16:39:05 Does anyone know where I can get an image running Linux kernel 3.8? Is virtually every BBB distro running 3.8+ now? Apr 01 16:39:57 check rcn-ee's page. i think he might have some Apr 01 16:40:24 thanks I'll check it...where? Apr 01 16:40:30 https://rcn-ee.net/ Apr 01 16:41:27 weird images...https://rcn-ee.net/images/ Apr 01 16:41:33 https://rcn-ee.net/rootfs/bb.org/ Apr 01 16:41:46 santyp, depending on your current version (cat /etc/dogtag) you can downgrade.. Apr 01 16:42:47 I bought a 4d cape, but it constantly registers a phantom click in the bottom-left, making it unusable.. Apr 01 16:43:05 I wrote to the supplier, said OH get in touch with the manufacturer... Apr 01 16:43:39 who said, all the graphics are done on the BBB itself, must be an old kernel, you need 3.8+ Apr 01 16:43:58 santyp,: uname -r Apr 01 16:44:05 HI. I have a bbb and if i hold S2 down it will boot off the sd card but the next time I boot it boots off the eec. How do I get it to always boot of the sd card? Apr 01 16:44:14 How bout the latest 4GB-flash version? that running 3.8? Apr 01 16:44:34 mcg1103 you can't unless you install the sd image to the flash mmc Apr 01 16:45:01 Oh actually that's maybe not true Apr 01 16:45:19 ok so it will always boot to the mmc flash unless s2 is pressed? Apr 01 16:45:23 you can wipe the u-boot on the emmc Apr 01 16:45:42 i think... Apr 01 16:45:46 :-) Apr 01 16:45:51 but you may as well install the sd card to emmc.. Apr 01 16:45:58 yeah Apr 01 16:46:13 there may be a way of setting some variable on the emmc to boot from the card automatically Apr 01 16:46:20 unless you want to test lots of different sd cards... Apr 01 16:46:29 but you'd have to reset it if you ever needed the on-board OS Apr 01 16:47:25 the partition needs to be smaller then the flash correct? Apr 01 16:47:35 the partition on the sd card? Apr 01 16:47:51 well not larger certainly Apr 01 16:48:02 is there an easy way to shrink the partiion then copy to the ecc? Apr 01 16:48:08 emmc Apr 01 16:48:28 mcg1103, it's not the size of the partition... it's the size of the total data.. Apr 01 16:49:05 oh ok Apr 01 16:49:18 so how do I copy the flash to the ecc? Apr 01 16:49:30 sorry emmc Apr 01 16:49:57 mcg1103, you wan to copy the microSD -> eMMC ? Apr 01 16:50:02 is there a good tutorial anyone knows of Apr 01 16:50:22 mcg1103, cat /etc/dogtag ? Apr 01 16:50:31 scroll down here Apr 01 16:50:33 http://stackoverflow.com/questions/17834561/duplicating-identical-beaglebone-black-setups Apr 01 16:50:49 yeah. I have a good system running on teh sd card I but i want it to boot to this everytime it is powered up Apr 01 16:50:56 to 'Use the eMMC to flash a new Beaglebone Black' Apr 01 16:52:16 mcg1103, the current images, support auto-flashing the eMMC, so you don't need any other tools. But if you just want to always boot with microSD, just blow out the eMMC "sudo dd if=/dev/zero of=/dev/mmcblk1" Apr 01 16:53:30 so if the emmc is blank it will boot to the sd card? Apr 01 16:53:32 that'll zero out the whole thing, no? Apr 01 16:53:36 cheers anyways guys Apr 01 16:53:43 isn't that overkill? Apr 01 16:53:58 mcg1103, correct.. vagrantc yeah, only the first 10Mb is really needed. ;) Apr 01 16:54:36 bs=1024k count=10 Apr 01 16:54:45 what is auto-flashing? Apr 01 16:55:45 mcg1103, auto-flashing = insert card, apply power, walk away, come back, board turned off, remove card.. repeat for as many boars as you have.. Apr 01 16:56:35 so it takes what is on the sd card and flashes it to the eMMC? Apr 01 16:57:22 mcg1103, it's how the bb.org flasher works... you can enable that feature in the non-flasher images too.. Apr 01 16:58:57 how can you tell if your image is an auto flasher? Apr 01 16:59:17 mcg1103, cat /etc/dogtag ? Apr 01 16:59:54 rcn-ee.net console Ubuntu Image 2015-02-19 Apr 01 17:00:31 mcg1103, this direction applies: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Flashing_eMMC Apr 01 17:01:16 mcg1103, but you should run: cd /opt/scripts/ ; git pull ... Apr 01 17:01:24 to resync the scripts that do the eMMC flashing.. Apr 01 17:04:53 ok I will read that over Apr 01 17:05:06 git pull will update the scripts? Apr 01 17:06:31 so just uncomment that line and it will flash to the eMMC? Apr 01 17:06:33 mcg1103, it should... /opt/scripts/ -> https://github.com/RobertCNelson/boot-scripts Apr 01 17:06:52 mcg1103, on your next reboot.. yeap.. Apr 01 17:07:53 is it ok that my partition on the system is larger then eMMC? the data is far less Apr 01 17:09:04 mcg1103, as long as "df -h" is less then 1.6G (on 2GB eMMC) or 3.6 (on 4GB eMMC)... Apr 01 17:09:53 to lazy to add a pre-checker, as rsync does a good job of just bombs when flashing the eMMC.. ;) Apr 01 17:13:52 ok thanks so much for clearing this up Apr 01 17:26:46 hey one more question. How do you know when the copy to eMMC is completed? Apr 01 17:29:46 mcg1103, when it's done... Apr 01 17:29:53 it'll shutdown... Apr 01 17:30:06 but the board is un-usable while you wait.. Apr 01 17:30:15 oh.... thanks! Apr 01 18:56:25 a beaglebone black running debian with only free drivers would only give up accelerated graphics. is that right? Apr 01 19:15:06 hi Apr 01 19:16:59 I have a quick question about bbb Apr 01 19:18:09 then ask it. Apr 01 19:18:38 thanks Apr 01 19:18:59 for what? Apr 01 19:19:04 I am newbie, I'll buy a card from a friend Apr 01 19:19:25 how can identify the rev number from the picture of the board Apr 01 19:19:45 ı couldnt find any print on it Apr 01 19:20:06 thete is a sticker somewhere. Apr 01 19:20:11 Hi... Apr 01 19:21:02 is the stciker only way? is there any hard print? Apr 01 19:21:09 I have flashed angstrom 3.8.13 on sdcard.and trying to flash it to emmc on Beagle bone black revision A6.But its notgetting flash.It just starts to login Apr 01 19:21:16 can anyone help me with this? Apr 01 19:23:49 akanarya: unsure, just look at the board. Apr 01 19:24:17 I have only connected the serial cable ..from J1..nothing else connected on the board Apr 01 19:25:37 @agmlego thanks Apr 01 19:25:48 hello Apr 01 19:26:15 I update the debian of my BBB Apr 01 19:26:46 akanarya: no need for @; this is not twitter. ;-P Apr 01 19:27:32 But since the reboot I can't access to 192.168.7.2 Apr 01 19:27:54 It seems the BBB doesn't answer to GET request Apr 01 19:28:19 whst do you see on the serial output? Apr 01 19:28:49 I see Cannot GET / Apr 01 19:29:01 but I can use cloud 9 Apr 01 19:29:09 and remote desktop Apr 01 19:29:48 that is not what i asked. Apr 01 19:30:10 I know, but I don't have the serial cable connected right now Apr 01 19:30:27 that would be a problem. Apr 01 19:30:44 can I read serial output in cloud9? Apr 01 19:30:58 i have no idea. Apr 01 19:31:05 what is cloud9? Apr 01 19:31:29 it's an IDE that ships on the default bbb image Apr 01 19:31:50 oh. Apr 01 19:32:10 that seems unlikely to have the rekevant info. Apr 01 19:32:24 It's an online IDE where I can write Python bonescript,... Apr 01 19:33:31 I'm new with BBB and I can't believe the difficult it is to use SPI bus Apr 01 19:35:41 I'm using Adafruit_BBIO but I can't find documentation about SPI part Apr 01 19:36:16 Agallego: was the spi bus easier to use on the previous sbc you used? Apr 01 19:42:41 It is Apr 01 19:43:09 I used Openpicus and arduino boards Apr 01 19:43:22 And both was more simple to use than this Apr 01 19:44:21 But BBB has better hardware Apr 01 19:46:15 Which language do you use to program the board? Apr 01 19:52:41 Agallego: python and c Apr 01 19:52:53 srduino is not an sbc. Apr 01 19:53:08 nd i have no idea what openpicus is. Apr 01 20:14:24 Arduino is a single board computer Apr 01 20:15:00 That you can't install an OS in it doesn't mean that it isn't a computer... Apr 01 20:15:55 Agallego, then what do you call an Atmega, emulating arm and booting linux? ;) Apr 01 20:16:21 http://hackaday.com/2012/03/28/building-the-worst-linux-pc-ever/ Apr 01 20:17:00 rcn-ee: sounds kinda april foolish ;) Apr 01 20:18:59 kinky, in a masochistic way Apr 01 20:21:32 You can go to a race with a shit of car and be a pilot Apr 01 20:21:35 this is te same Apr 01 20:21:38 xD Apr 01 20:24:13 rcn-ee: so a cortex-m3 isn't out of the question then ;) Apr 01 20:25:39 efm32's run linux, those are m3's. ;) Apr 01 20:25:56 panto: i was able to compile and boot your dt-ng4/gcl-bbb-rebase5 branch but i am not able to load an overlay: __of_adjust_tree_phandle_references: Could not find target property 'fixup' @/__local_fixups__ Apr 01 20:28:11 panto: i have tried various versions of the SPI overlay that i have used previously with capemgr (see http://flashrom.org/BBB). i am not sure if that should work and something else is wrong or if i have to modify it. i have tried uncommenting useless-looking bits to no avail Apr 01 20:30:55 * moto-timo thinks this is a great time to be alive Apr 01 20:30:58 Well, Apr 01 20:31:30 Anybody knows how to access to the "webserver" which the board has? Apr 01 20:32:13 Agallego, which one... nodejs on port 80/3000 or apache2 on 8080 Apr 01 20:33:28 stefanct, some of the old *.dtbo's need to be re-aligned with upstream changes.. Apr 01 20:34:29 i presumed so... but how to tell what? :) i have of course compiled it with -@ Apr 01 20:34:54 It doesn't work, only the cloud9 works Apr 01 20:34:59 (port 3000) Apr 01 20:35:12 Agallego, node.js is running cloud9.. Apr 01 20:35:20 I know Apr 01 20:35:20 "serving" cloud9.. Apr 01 20:35:33 But i want to enter in the 192.168.7.2:80 Apr 01 20:35:36 the default page Apr 01 20:35:56 and it answer cannot GET/ Apr 01 20:36:19 Agallego, sounds like an old image.. (back inthe jeykll transition..) cat /etc/dogtag ? Apr 01 20:36:42 stefanct, first compare node names in the main dts, it might be off by 1.. Apr 01 20:41:29 BeagleBoard.org BeagleBone Debian Image 2014-04-23 Apr 01 20:41:42 But I update it today Apr 01 20:41:52 I'm sure it is the problem Apr 01 20:42:14 But I've entered with remote desktop in debian Apr 01 20:42:25 and there are nothing in /bin Apr 01 20:42:27 O_o Apr 01 21:02:40 rcn-ee: well, the spi suffix is correct... i dont understand the @ syntax yet, but i dont see something obviously wrong Apr 01 21:03:28 "unit address".... ok. Apr 01 21:29:35 if i leave out the *-cells property of the first spi channel i get: Apr 01 21:29:36 Warning (reg_format): "reg" property in /fragment@1/__overlay__/channel@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Apr 01 21:29:37 Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@1/__overlay__/channel@0 Apr 01 21:29:37 Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@1/__overlay__/channel@0 Apr 01 21:29:51 (while compiling.) why? Apr 01 21:30:39 they are not even mentioned to be allowed in the spi binding AFAICT Apr 01 21:34:39 it compiled without any channel without warnings... but the loading problem with the fixup property remains Apr 01 21:35:00 ill wait for a response from panto... while sleeping ;) nn Apr 01 22:25:15 Is powering the board via microusb + 5v/1w usb hub the equivalent of plugging a 5v hub directly into the 5v port? Apr 01 22:27:47 1w... no recommended is I think 2amps, which would put it closer to 10w Apr 01 22:29:08 oh, I thought it said 5v/1a Apr 01 22:30:58 that'd be 5w, yeah Apr 01 22:32:37 Oh ahah my mistake. Thanks. I was able to flash boot it with this, though. What is the risk of insufficient power? Apr 01 22:34:00 http://inspire.logicsupply.com/2014/07/beaglebone-getting-ready-for-industrial.html Apr 01 22:40:16 so assuming I have a sufficient usb adapter, is there any difference powering via microusb vs powering directly 5v port? Apr 01 23:01:41 if its going industrial, a waterproof enclosure might be a good idea Apr 01 23:40:35 IP65 or IP67 would be advisable. It's not washdown tight but good eneough. Apr 01 23:41:18 That was IP66 doh anyhow you want dust resistant minimum for industrial use Apr 01 23:41:37 I think the important bits were about power supply .. or am I cross-threading .. lol Apr 01 23:46:24 heh interesting but yeah for me the PSU is just one of many things one should look at. :D Apr 01 23:46:54 "speaking" industrial usage that is. Apr 01 23:46:56 psu is #1 for me, Always. Apr 01 23:49:30 It's a start. They are all equally important. "just select a big enough case" LOL Apr 01 23:49:51 as if .. Apr 01 23:52:24 the BBB is small enough you could stuff it in the door of a standard NEMA4 enclosure. The problem then becomes routing to the stuff mounted behind it (IE the power supply). You might need to put a cover over the entire board INSIDE a pnael etc if you are using it a typical industrial setting. Apr 01 23:53:08 Might need one of those 10W isolation bricks depending one what else is in the enclosure. Fun stuff. Apr 01 23:54:44 I need to finish my "other stuff" first. I suppose a simple ADS1278 interface board would be a nice start. Apr 02 01:54:46 hello Apr 02 01:55:10 I am building a quadcopter using the beaglebone Apr 02 01:58:19 Alex______: are you using BeaglePilot? Apr 02 01:59:39 no Apr 02 01:59:58 i have the beagle connected to a flight controler Apr 02 02:00:01 multiwii Apr 02 02:00:13 basically I am building a autonomous quadcopter Apr 02 02:00:23 i am replacing my RC with the beaglebone Apr 02 02:00:47 simulating PWM signal to my flight controller Apr 02 02:00:54 but today I burn the beaglebone Apr 02 02:01:09 'and I dont know what happned Apr 02 02:01:25 5V inputs on 3.3V lines? Apr 02 02:01:53 BBB inputs are not protected... be careful Apr 02 02:02:04 yes Apr 02 02:02:21 well I am not sending any voltage out from the beaglebone Apr 02 02:02:40 i am just using the PWM signal out nothing is coming IN Apr 02 02:02:57 but looks like there was some kind of back current that burn the BBB Apr 02 02:03:54 ouch. consider zener diodes Apr 02 02:05:40 yes that s what I was thinking Apr 02 02:06:35 but i am now looking at the beaglePilot Apr 02 02:06:42 i wasnt aware of that Apr 02 02:16:21 use a transistor Apr 02 02:16:32 n **** ENDING LOGGING AT Thu Apr 02 02:59:58 2015