**** BEGIN LOGGING AT Fri Oct 17 03:00:00 2014 Oct 17 04:06:59 hewball: put the BBB in a shielded enclosure ? Oct 17 04:10:25 yeah ive had to put the antenna external to get a signal Oct 17 06:11:41 when I have the time I could visit a HAM friend and check out the noise spectrum of my BBB Oct 17 07:58:58 hi Oct 17 07:59:33 <_av500_> hewball: disable HDMI? Oct 17 07:59:44 i get a problem with my BBB.....can anybody help me? Oct 17 07:59:55 <_av500_> not unless you tell us about it Oct 17 08:01:24 lol Oct 17 08:02:05 okay...^^ i try to get machinekit on my BBB but if i am try to start linuxcnc this error came: machinekit@beaglebone:~$ LINUXCNC - 2.7.0~pre0 Application initialization failed: no display name and no $DISPLAY environment variable Error in startup script: invalid command name "image" while executing "image create photo -file $f/$i.gif" invoked from within "if [file exists $f/$i.gif] { return [image create photo -fil Oct 17 08:02:36 sorry for my bad english i am from germany and on my workplacement^^ Oct 17 08:03:04 do you notice the $DISPLAY error in there ? Oct 17 08:03:35 yes i see that but i dont know what that mean Oct 17 08:04:20 <_av500_> https://www.google.com/search?q=no+display+name+and+no+%24DISPLAY+environment+variable Oct 17 08:04:27 <_av500_> you dont, but google seems to know Oct 17 08:04:39 that means that the console does not have the $DISPLAY variable set .. so every X application will not be able to find his Xserver Oct 17 08:04:58 assuminly your Xserver is running , try to do this Oct 17 08:05:04 export $DISPLAY=":0" Oct 17 08:05:09 and restart your app Oct 17 08:05:42 hmmm..ok how can i do this ?:Di just write in the console export $DISPLAY=":0" and restart my BBB? Oct 17 08:05:59 no Oct 17 08:06:20 if you do it once it will only be set in this session of your console Oct 17 08:06:37 can you tell me step by step how can i do it right? Oct 17 08:06:51 is your Xserver running ? Oct 17 08:07:11 what the hell is a Xserver?^^ Oct 17 08:07:25 ... Oct 17 08:07:37 *regrets Oct 17 08:07:48 do you know what linux is ? Oct 17 08:08:02 yes^ Oct 17 08:08:13 well did you attach the bbb to a monitor and do you see something ? Oct 17 08:08:24 yeah Oct 17 08:09:01 ok what you see is basicly your Xserver showing you already started Xclient applications Oct 17 08:09:17 so now you want to start another Xlcient application Oct 17 08:09:28 this client need to know where to find the Xserver Oct 17 08:10:04 so in the shell where this Xclient is started, there must be a env variable $DISPLAY . likely like $DISPLAY=":0" Oct 17 08:10:16 i see app,debug,docs,drivers,dtbs,scripts.autorun,ID,initrd,LICENSE,MLO,Readme,SOC,START,U-boot,uEnv,zImage Oct 17 08:10:51 is that a directory listing ? Oct 17 08:11:04 maybe? Oct 17 08:11:39 how did you login to your bbb , via ssh ? via serial ? or did you open a console on the screen the bbb displays ? Oct 17 08:11:51 via ssh Oct 17 08:11:56 ok Oct 17 08:12:00 try Oct 17 08:12:07 export $DISPLAY=":0" Oct 17 08:12:10 and run your app Oct 17 08:12:28 how can i run it? Oct 17 08:12:33 <_av500_> as before Oct 17 08:12:36 yes Oct 17 08:12:38 <_av500_> when you got the error Oct 17 08:13:09 machinekit@beaglebone:~$ export $DISPLAY=":0" -bash: export: `=:0': not a valid identifier Oct 17 08:13:22 ah Oct 17 08:13:23 fuck Oct 17 08:13:29 echo DISPLAY=":0" Oct 17 08:13:51 machinekit@beaglebone:~$ echo DISPLAY=":0" DISPLAY=:0 Oct 17 08:13:57 ah fuckery Oct 17 08:14:01 lol Oct 17 08:14:01 <_av500_> not echi Oct 17 08:14:04 <_av500_> export Oct 17 08:14:12 export DISPLAY=":0" Oct 17 08:14:27 DISPLAY=:0 DBUS_SESSION_ADDRESS=unixblasocket mydumpapp Oct 17 08:14:45 as the right user of course Oct 17 08:15:24 *10:15 coffee level not reached yet Oct 17 08:15:37 coffee suckz drink mate Oct 17 08:15:49 what is mate ? Oct 17 08:15:54 ok i think it worked now:machinekit@beaglebone:~$ export DISPLAY=":0" machinekit@beaglebone:~$ linuxcnc & [1] 1599 machinekit@beaglebone:~$ LINUXCNC - 2.7.0~pre0 Oct 17 08:16:38 and quit Oct 17 08:16:43 http://www.clubmate.de/home.html Oct 17 08:16:55 no thank you ?? Oct 17 08:17:38 <_av500_> rob_w: thank you Oct 17 08:17:53 germany is not on the list where to get it .. ;-( maybe we germans treat this a drug ?!? Oct 17 08:18:18 _av500_, glad to help YOU once in a while Oct 17 08:18:39 germany treats many stupid things a "illegal" Oct 17 08:18:48 rob_w and? Oct 17 08:19:43 i will write a letter to Merkel asking her Oct 17 08:20:19 yes Oct 17 08:20:20 do it Oct 17 08:20:32 ask for clubmate Oct 17 08:20:36 hehe Oct 17 08:20:53 soon enough i try to leave this country for good Oct 17 08:21:39 * rob_w grabs coffee Oct 17 08:25:40 Hello Oct 17 08:29:31 Hello Cody__ Oct 17 08:30:56 yoyoyo i am baaaack Oct 17 08:30:58 Hi Rob Oct 17 08:31:45 I'm having a really hard time getting UART working on my BBB rev C, using the newest Debian image Oct 17 08:32:03 but I think I'm close, was hoping for some guidance Oct 17 08:32:13 whats the error ur stuck Cody__ Oct 17 08:32:33 ls -l /dev/ttyO* crw-rw---- 1 root tty 248, 0 May 15 02:50 /dev/ttyO0 crw-rw---T 1 root dialout 248, 1 May 15 02:50 /dev/ttyO1 crw-rw---T 1 root dialout 248, 2 May 15 02:50 /dev/ttyO2 crw-rw---T 1 root dialout 248, 4 May 15 02:56 /dev/ttyO4 crw-rw---T 1 root dialout 248, 5 May 15 02:50 /dev/ttyO5 Oct 17 08:32:44 I've enabled the ports Oct 17 08:33:19 but I can't get them to read anything using tail -f /dev/ttyO4 Oct 17 08:33:47 tail ? Oct 17 08:33:48 hmm Oct 17 08:34:00 is that not the right way to listen? Oct 17 08:34:02 tryed cat alreaday ? Oct 17 08:34:08 yeah Oct 17 08:34:11 ok Oct 17 08:34:25 well i never use tail for that but that might be as good Oct 17 08:34:39 well w/e cat is fine Oct 17 08:34:51 I want to do a loopback test Oct 17 08:34:53 so you connected something to the port ? Oct 17 08:35:08 so I've got a pin connecting the RX and TX lines Oct 17 08:35:10 "screen /dev/ttyO4 115200" for two-way thing Oct 17 08:35:33 I'd like to write some data and see if it gets read back Oct 17 08:36:09 I tried echo "1234567890" > /dev/ttyO4 Oct 17 08:36:18 then cat /dev/ttyO4 Oct 17 08:36:20 I'd try screen on both sides and typing there (without Enter, as it \r's to the line start) Oct 17 08:36:24 but there wasn't anything there Oct 17 08:36:57 i think UART is more complicated than "just echo/cat", but dunno if these should work as well (iirc hexdump worked for me) Oct 17 08:37:15 I wouldn't be suprised Oct 17 08:37:17 echo works fine Oct 17 08:37:20 but I don't know Oct 17 08:38:19 so oyu just connected with 1 wire the tx rx togehter ? Oct 17 08:38:27 yeah Oct 17 08:38:38 did you start cat before your echo ? Oct 17 08:38:38 before that I had another microcontroller plugged into it Oct 17 08:38:48 no Oct 17 08:38:52 :( Oct 17 08:39:08 cat you block on the device Oct 17 08:39:11 cat should Oct 17 08:39:44 if cat returns immidiatly then there is something wrong Oct 17 08:39:49 WHOA Oct 17 08:39:53 :-) Oct 17 08:39:56 I opened up two terminals Oct 17 08:39:59 cat on one Oct 17 08:40:04 and echo'd on the other Oct 17 08:40:27 and works ? Oct 17 08:40:28 it seemed to work Oct 17 08:40:39 but it like put out a crap ton of blank lines Oct 17 08:40:44 * rob_w swings his cape and flys away to help more people Oct 17 08:40:49 it like flashed Oct 17 08:40:54 lol Oct 17 08:41:10 not the stuff you you echoed ? Oct 17 08:42:24 it's really strange Oct 17 08:42:36 so did you get the chars you echoed at least ? Oct 17 08:42:50 I see the "1234" repeatedly flash accross the screen, getting pushed off by blank lines Oct 17 08:43:32 could be that your ttyO4 is setup to send ctrl chars etc Oct 17 08:43:48 which when cat is reading fucks up your shell Oct 17 08:43:58 oh? Oct 17 08:44:02 pastbin the following Oct 17 08:44:10 stty -F /dev/ttyO4 -a Oct 17 08:44:31 or .. try stty -F /dev/ttyO4 sane raw Oct 17 08:44:37 speed 9600 baud; rows 0; columns 0; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; eol2 = ; swtch = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl o Oct 17 08:44:58 Hey wait wait Oct 17 08:45:18 * rob_w freezes Oct 17 08:45:23 http://elinux.org/Beagleboard:BeagleBone_Black_Serial Oct 17 08:45:32 says the default rate is 115200 Oct 17 08:45:51 but the "stty -F /dev/ttyO4 -a" says 9600 Oct 17 08:45:53 ah for the console yes Oct 17 08:46:09 so ttyO0 Oct 17 08:46:09 oh shit Oct 17 08:46:17 so 9600 for UART then? Oct 17 08:46:29 the rest of the uarts will come up 9600 per default Oct 17 08:46:34 which doesnt matter to your test Oct 17 08:46:39 b/c the microcontroller I was talking about is programmed for 115200 Oct 17 08:47:00 which was how I was initially testing and what I hope to talk to Oct 17 08:47:31 well then Oct 17 08:47:46 stty -F /dev/ttO4 speed 115200 Oct 17 08:48:22 stty -F /dev/ttO4 speed 115200 stty: /dev/ttO4: No such file or directory Oct 17 08:48:22 ? Oct 17 08:49:43 forgot the y Oct 17 08:51:30 Hi! Oct 17 08:52:14 Searching for a BBB cape with mPCI-e slot. So far I found only this one: https://www.youtube.com/watch?v=zzXVGZpiWp0&feature=youtu.be, but is huge! Oct 17 09:00:05 thats funny video Oct 17 09:00:18 what dyou plug in that mpci ? Oct 17 09:00:22 yegorich, ^^ Oct 17 09:03:56 oh fucking cool Oct 17 09:04:08 hooked up UART4 to UART1 Oct 17 09:04:13 crossing the RX and TX Oct 17 09:04:20 echo "1234" > /dev/ttyO4 Oct 17 09:04:25 cat /dev/ttyO1 1234 Oct 17 09:04:28 :) Oct 17 09:05:12 so here's a question Oct 17 09:06:06 I can set the number of data bits, the number of stop bits and the parity on the other microcontroller Oct 17 09:06:26 I have it at 8 data bits, one stop and none atm which I'm told is normal Oct 17 09:06:32 yet it's not working Oct 17 09:06:44 I'm wondering if those settings are correct for the BBB Oct 17 09:08:15 hey Oct 17 09:09:08 Cody__ which microcontroller you have two? Oct 17 09:09:28 where the hell we do know if you can set the uarts on your microcontrollers? Oct 17 09:09:29 a VEX Cortex and a BBB Oct 17 09:09:51 man stty Oct 17 09:10:01 OK Oct 17 09:10:09 you can not only set the baudrate Oct 17 09:10:14 but also all other stuff Oct 17 09:10:22 I'll figure it out Oct 17 09:10:23 tanks Oct 17 09:22:08 rob_w: 3G/4G modem or GPS card Oct 17 09:24:06 rob_w: such a card for example: http://www.versalogic.com/products/DS.asp?ProductID=240 Oct 17 13:06:41 _av500_: Hello, I've made the tests we talked yesterday, and I've got something strange. First I flashed the eMMc with the debian image, then I've backed up the image using dd, booted again in the eMMc, changed hostname, created an empty file, and restored the image, everything worked, file removed, hostname as before. Then I've installed the packages I need, and backed it up twice, both files have the same md5 so I belive their are not corrupted. Flashed the Oct 17 13:10:28 hxla: your line was truncated Oct 17 13:11:04 mashiara: thanks, will break it Oct 17 13:11:42 _av500_: Hello, I've made the tests we talked yesterday, and I've got something strange. First I flashed the eMMc with the debian image, then I've backed up the image using dd, booted again in the eMMc, changed hostname, created an empty file, and restored the image, everything worked, file removed, hostname as before. Oct 17 13:12:16 Then I've installed the packages I need, and backed it up twice, both files have the same md5 so I belive their are not corrupted. Flashed the eMMc again with the debian image, and tried to restore the final image, it won't boot, apparently it crashes on boot, keep stuck in the booting screen Oct 17 13:12:21 So I've tried to restore the first backup image I created, with the default debian and that has worked before, but same result, stuck in the booting screen. I can't understand why restoring the image worked before, and now it won't work, any ideas? Thanks Oct 17 13:13:06 I have no idea what you did? Oct 17 13:14:01 how do you backup and restore? Oct 17 13:27:43 av500: the procedures mentioned here: http://elinux.org/BeagleBone_Black_Extracting_eMMC_contents Oct 17 13:28:26 basically booting in a sd with an autorun.sh file that does a DD on the eMMc Oct 17 13:29:38 ok ic Oct 17 13:29:48 and you have a usb serial cable? Oct 17 13:31:34 not yet :( Oct 17 13:32:02 get one Oct 17 13:32:29 already bought but haven't arrived yet Oct 17 13:33:51 is there another way to debug without a serial cable? Oct 17 13:41:55 like generating some log to a file in the sd card? Oct 17 13:43:04 at boot? Oct 17 13:43:06 no Oct 17 13:44:16 hxla, If your linux has netconsole driver, you can probably use that (+ netcat) Oct 17 13:45:55 his linux does not boot Oct 17 13:47:36 Oh, bummer Oct 17 14:21:02 Hi all, can I mount the beagle bone as drive on one computer via USB then access the beaglebone via network from another computer to retrieve SD card data? Oct 17 14:22:15 yes Oct 17 14:22:27 should work Oct 17 14:22:56 but I am no so familiar with the gadet mass storage driver Oct 17 14:23:28 also has anyone tried using beagl bone as usb drive on win CE before? Oct 17 14:23:53 lol no Oct 17 14:24:39 lol Oct 17 14:26:07 MK_FG: yep, it stucks at booting screen, showing the messages about some pins, and freezes there, the leds continues to blink but nothing changes Oct 17 14:47:41 Guest17338: you can't do that concurrently though. block based filesystems can not be accessed at that level from two directions. Oct 17 14:47:51 so it is a switch-over situation Oct 17 15:09:44 Hi, just downloaded Angstrom Distribution (BeagleBone, BeagleBone Black - 4GB SD) 2013-06-20 for my Beaglebone Black, and now when I try to ssh, with user name "root" and just pressing enter for password, it does not work. What is the password for "root" ?, Oct 17 15:23:13 newToBeagleBoneB try via serial console Oct 17 15:25:04 Hey, is it possible to have the usb client be connected to something else then mmcblk0p1? I wanted to create a "virtual" usb storage where the device connected to the beaglebone is actually connected to a samba or ftp service Oct 17 15:44:42 hey everybody - i need to figure out how to grab JSON packets off wifi using my BBB Oct 17 15:45:08 its the same as grabbing it form your host Oct 17 15:45:10 How would I go about capturing them and storing them? Oct 17 15:45:39 Do I need to open a port on the BBB to grab them? Oct 17 15:45:44 so learn how package capturing works in general Oct 17 15:48:04 Ok, thanks for your help! Oct 17 16:10:02 password for root user ssh logon beaglebone Oct 17 16:10:10 ? Oct 17 16:27:22 newToBeagleBoneB normaly none Oct 17 16:27:31 newToBeagleBoneB try serial console too Oct 17 16:27:47 or install an image where you know the password Oct 17 16:30:20 wqr6A5tn Oct 17 16:33:19 ogra thanks now your credit card pin please Oct 17 16:34:00 woglinde, no, no, that was a suggestion for newToBeagleBoneB Oct 17 16:34:49 * ogra_ can make hundrets of these :) Oct 17 16:35:02 (perhaps one matches ;) ) Oct 17 16:39:18 can probably just login on without ssh and set a password that ssh will accept, if it's a security issue with the blank password and ssh Oct 17 16:43:04 I'm trying another version of angstrom, found on the wiki page Oct 18 01:00:11 So I pulled my BBB out of storage after not using it for 4 months, and flashed it's emmc using the latest debian image on the BB site. However, I can't seem to connect to it anymore. http://192.168.7.2 doesn't do anything, and it doesn't show up as a USB volume. I'm attempting to connect to it from a macbook pro. Any suggestions? I've reinstalled both drivers to no avail. Oct 18 01:41:19 Pudlo: are you running Mac OS 10.10 Yosemite? Oct 18 01:41:38 There's a serious bug in the USB ethernet driver. The disks should still appear though. Oct 18 01:42:45 ah damn I am. On apple's end, or the driver's end? Oct 18 01:43:54 balrog: ^ Oct 18 01:44:35 Pudlo: driver's end. I'm working with the author to fix it. Oct 18 01:44:42 Does it appear in system profiler under USB devices? Oct 18 01:44:52 Yosemite exposed some bugs apparently. Oct 18 01:45:13 balrog: Thanks for the info. Any idea why the disk doesn't appear? Oct 18 01:45:21 No, and that's why I'm asking Oct 18 01:45:26 it should appear there. Oct 18 01:46:11 yeah - I don't see it… I get PWR and activity lights, but no disk Oct 18 01:46:21 do you see it under USB devices in system profiler though? Oct 18 01:46:53 like this: http://cl.ly/image/0S1D0G2U2m2D Oct 18 01:47:13 if not, try another cable Oct 18 01:47:13 Hm. No, I don't. Oct 18 01:47:27 Yeah, I guess I'll try to track one down. Thanks! Oct 18 01:47:28 how did you flash the eMMC? Oct 18 01:47:34 SD Card Oct 18 01:47:37 ssj Oct 18 01:47:39 aah* Oct 18 01:47:47 it's possible something went wrong there Oct 18 01:47:58 Yeah - I did it more than once Oct 18 01:48:10 It would explain a thing or two if this cable was junked though Oct 18 01:48:27 I have another board that I was getting strange behaviour out of Oct 18 01:48:52 so a new cable sounds like a good test to me **** ENDING LOGGING AT Sat Oct 18 02:59:59 2014