**** BEGIN LOGGING AT Thu Apr 10 02:59:58 2014 Apr 10 03:36:26 anyone using spi1 (17,18,21,22) on latest debian? Apr 10 03:36:51 i'm planing to use it Apr 10 03:37:39 i'm just not ready Apr 10 04:29:21 Can anyone tell me how to mount an image that was created as a backup of a beaglebone, like this: `dd if=bbw_backup.img of=/dev/disk1 bs=1m` Apr 10 04:29:48 I'd like to mount it on my laptop to look at a few files Apr 10 04:33:37 mount -t ext4 -n -o loop file path Apr 10 04:33:39 or something Apr 10 04:35:28 that's kinda cool. Altho... osx can't mount ext4 :-( Apr 10 04:35:36 so ext2 Apr 10 04:35:38 should work Apr 10 04:35:42 just no journal Apr 10 04:36:00 or ext3 Apr 10 04:36:01 whatever Apr 10 04:40:27 I think there is some fuse ext3 driver for osx Apr 10 04:45:07 hm Apr 10 04:45:31 there is ext4 but not free Apr 10 04:47:25 hm Apr 10 04:47:32 mcp3008 sampling at over 15k/s off the bb Apr 10 04:47:47 using spidev Apr 10 04:50:03 time to convert all these friggen kernel macros to ruby Apr 10 04:50:03 * nyt- sighs Apr 10 04:56:39 osx doesn't seem to support -o loop. I'll look online for a solution Apr 10 04:57:18 youll have to use fuse then Apr 10 05:41:25 2.1.1 :140 > data = ["00000001", "10000000", "00000000"].map { |x| x.to_i(2) }.pack("C*"); spi.ioctl(1075866368, [data,0, data, 0, 3, 1000000, 0, 8, 0, 0].pack("pLpLLLSCCL"));a2d= data.unpack("C*");( ((a2d[1] & 0b00000011) << 8) | a2d[2] ) Apr 10 05:41:26 => 90 Apr 10 05:41:30 woot Apr 10 05:41:46 mcp3008 via beaglebone in ruby Apr 10 05:41:49 now to just clean it up Apr 10 05:41:57 and convert a ton of defines and macros Apr 10 06:54:24 hi all Apr 10 06:54:42 is there any one who know working hdmi of beaglebone black Apr 10 06:55:02 please,reply me Apr 10 06:58:20 yes it is working for people. (I haven't tried personally) Apr 10 06:58:27 hi all Apr 10 06:59:13 hello Steev Klimaszewski Apr 10 07:01:43 Worked here last time I checked. I don't have my BBB with me so I don't know what works or doesn't work for you Apr 10 07:01:58 he already dropped Apr 10 07:16:49 hi everyone Apr 10 07:17:05 does anyone know where to get a beaglebone black? Apr 10 07:28:10 Jellyk: beagleboard.org should list a variety of distributors. Apr 10 07:28:40 most of the distributors have no stock... Apr 10 07:28:46 have been waiting for weeks Apr 10 07:29:10 have you placed an order with any of them? Apr 10 07:29:19 if you don't order you don't get on the list Apr 10 07:29:40 there will be no active stock as they are selling faster then restocking Apr 10 07:29:58 Jellyk: yesterday element14 had 700+ in stock, you waited a day too long Apr 10 07:30:15 what? really? Apr 10 07:30:28 yes, I ordered mine monday, arrived tuesday Apr 10 07:30:44 sorry yesterday they had 500+, monday they had 700+ Apr 10 07:31:32 I've been checking with the Singapore branch of element14, guess they failed to keep me in the loop... Apr 10 07:31:46 I have preordered from Mouser Apr 10 07:31:47 this was UK Apr 10 07:32:01 Element14 now selling their own BBB version Apr 10 07:32:12 they are selling fast Apr 10 07:32:39 Jellyk: BTW its a different page, find both versions of BBB on Element14 Apr 10 07:34:04 i can only find the one with order code 2291620 Apr 10 07:34:22 2401441 is the other one Apr 10 07:34:45 XorA oh right Apr 10 07:34:51 thanks for the heads up! Apr 10 07:35:05 UK lists 2291620 as no longer stocked Apr 10 07:36:48 wow, they have upped the price by quite a bit... the flash storage seems to be same (2 GB) hope its REV C Apr 10 07:50:17 wait, BBB has jumped from $52 to $95? (au dollars) Apr 10 07:51:38 odd, I am not seeing that jump in price Apr 10 07:51:42 must be local only Apr 10 07:53:30 through element14 Apr 10 07:53:40 theres both the normal and expensive one listed Apr 10 08:01:41 XorA: i can buy both the 2401441 and 2291620 Apr 10 08:01:54 http://au.element14.com/circuitco/bb-bblk-000/beaglebone-black-cortex-a8-dev/dp/2291620 and http://au.element14.com/element14/bbone-black/beaglebone-black-cortex-a8-sbc/dp/2401441?Ntt=2401441 Apr 10 08:02:14 Dan1: there are obviously local variations in pricing Apr 10 08:02:22 and stock levels Apr 10 08:02:29 but there both local and available.... Apr 10 08:02:37 unless im missing something Apr 10 08:05:17 only thing i can think of is the expensive one is the new 4gb version with the added price increase Apr 10 08:35:37 but its not Apr 10 08:35:52 says 2gb Apr 10 08:54:51 Hi Apr 10 09:54:19 hi Apr 10 09:54:45 anybody is there ? Apr 10 10:07:28 ask Apr 10 10:07:41 heh, freescale engineers are so impatient Apr 10 10:08:49 freescale? Apr 10 10:08:55 here? Apr 10 10:10:42 holy crap, couldnt even wait a minute Apr 10 10:10:42 lol Apr 10 10:10:58 do people think that this is BB official help or something? Apr 10 10:11:10 like, were paid BB employees lol Apr 10 10:11:13 salaet: 09:54:13-!- Mannu (gate-zin2.freescale.com/192.88.169.1) [c058a901@gateway/web/freenode/ip.192.88.169.1] has joined #beagle Apr 10 10:11:29 tbr: ;) Apr 10 10:27:14 I am using Beaglebone-black-board wih ubuntu, I have interfaced resistive touch with it. I have calibrated touch still touch-pointer is automatically jumping to a point and automatically touching at that point. What can be the isuue? Apr 10 10:29:00 for example: your touchscreen could be broken. Apr 10 10:29:15 but there are probably many other possible reasons Apr 10 10:31:19 what are other possible reasons? Apr 10 10:39:52 without telling us how you interfaced it exactly, what software you are using, and how you calibrated it? Apr 10 10:39:58 ...hm *thinks* Apr 10 10:40:03 probably bad karma, then. Apr 10 10:45:13 woot Apr 10 10:45:16 my ruby lib just about done Apr 10 10:45:24 just finished pure ruby implementation of spi Apr 10 10:47:46 nyt-: by gpio bitbanging? or by /dev/mem? Apr 10 10:51:34 dev/spidev Apr 10 10:53:27 oh so its no *implementation* just an interface/wrapper, right? Apr 10 11:02:43 yes interface using ioctl Apr 10 11:03:08 getting about 10k samples a second out of an mcp3008 Apr 10 11:03:43 nyt-: it's ok, i'm not interested, i just wanted to know if it's like "don't care" for me, or like "warn people not to use it" Apr 10 11:07:39 cool, good to know internet police looking out Apr 10 12:55:10 hi aqll Apr 10 13:31:51 does anyone know where to download armhf packages from? Apr 10 13:32:35 apt-get is looking at ftp.us.debian.org Apr 10 13:32:51 trigpoint_n9: http://bit.ly/1lMLCW9 ? Apr 10 13:36:34 I've tried google, but no are helpful Apr 10 13:38:06 the standard debian builds will use armhf Apr 10 13:40:11 but where are the packages files Apr 10 13:40:34 can't use apt-get Apr 10 13:40:49 y Apr 10 13:42:18 http://ftp.us.debian.org/debian/pool/ Apr 10 13:42:40 https://www.debian.org/mirror/list , see the architectures and put in sources.list Apr 10 13:42:52 behind corporate firewall Apr 10 13:43:44 download manually the packages and dpkg Apr 10 13:47:22 thanks salaet nyt-, got them Apr 10 14:36:10 is it possible to restart the usb subsystem Apr 10 14:36:35 occasionally my wifi goes down and replugging the dongle or the hub does not help Apr 10 14:36:57 on desktop systems you cen restart the usb subsystem by doing som pci bus magic Apr 10 14:37:06 but obviously the BB does not have pci Apr 10 14:48:48 heeen: musb_hdrc Apr 10 16:37:01 Sorry this is my first time entering a chat like this Apr 10 16:37:23 but does anyone know, I have been ssh'ing into my beaglebone black just fine Apr 10 16:38:03 but in an attempt to get internet I set the default gateway on the beaglebone route add default gw 192.168.7.1 and now I cant ssh back in Apr 10 16:39:28 ravenlin: well at least that command isnt sticky, you can just reset and work out what went wrong Apr 10 16:40:11 Yeah thats the problem...I was dumb and didnt back up all of my code on the BB so I am reluctant to reset Apr 10 16:40:34 your code is in ram? Apr 10 16:41:16 I believe so, sorry I guess I am a noob, but I have been making directories and using vi to make code idk if that puts it on the RAM Apr 10 16:41:42 that should be on either the emmc or SD depending on your setup, unless you were coding somewhere like /tmp Apr 10 16:41:55 nope Apr 10 16:42:07 been coding in the home directories Apr 10 16:42:32 I can't think of a way to debug that issue without debug cable, unless you can plug in ethernet and get access that way Apr 10 16:43:18 I have an FTDI cable Im just not well versed on how to use it to debug Apr 10 16:43:34 * XorA has never used it on BBB, only got it yesterday :-) Apr 10 16:44:34 it looks like I am having the same problem this person had, I am wondering if there is something I can do to change my IP address so it works http://stackoverflow.com/questions/17916267/cannot-ssh-beaglebone-after-changing Apr 10 16:46:48 Im betting if you plug ethernet into your router you can ssh into beaglebone.local (assuming you have avahi) Apr 10 16:47:41 Ill give it a shot Apr 10 16:51:56 ravenlin, Unless you did something special to put your home directory elsewhere then it should be on the flash okay. Either the internal or micosd. Apr 10 16:52:43 I dont have the mircosd put in so im guessing internal Apr 10 17:00:27 ravenlin, Are you using DHCP to configure the network? If so then it will set up the gateway config for you. No need to manually do so. Apr 10 17:00:27 so does anyone have any ideas as to how to get the data without ssh? Apr 10 17:01:04 ravenlin, If you have a serial cable and can plug in then IIRC the serial port getty is configured to be active already. You could log in that way. Apr 10 17:01:36 But serial ports tend to be confusing to debug the first time. Better to do it at least once before you need it. Apr 10 17:01:50 ok Ill have to do some research Apr 10 17:03:17 ravenlin, Do you have a way to use the hdmi+usb-keyboard? Apr 10 17:08:14 Im not sure quite honestly Apr 10 17:16:28 What Im wondering is how did setting the default gateway on the BBB make it so I cant ssh? Apr 10 17:20:26 how to install vlc for beaglebone black with angstrom os??? Apr 10 17:24:31 ramku: does http://derekmolloy.ie/custom-video-streaming-player-using-libvlc-and-qt/ help? Apr 10 17:25:24 @jkridner thank you ill try it out.. Apr 10 17:26:44 cool post, jkridner Apr 10 17:27:09 dmolloy has a TON of cool posts on BeagleBone and BeagleBone Black. Apr 10 17:27:15 :) Apr 10 17:27:20 pdp7: happy to see you on IRC! Apr 10 17:27:24 does he ever come to US? Apr 10 17:27:34 and dschelt at the same time! Apr 10 17:27:37 nice Apr 10 17:27:43 he does occasionally. Apr 10 17:27:59 now if we could only get Prusa on IRC. Apr 10 17:27:59 BeagleCon 2014? ^_^ Apr 10 17:28:31 Does anyone know how to resolve the problem this person faced? http://unix.stackexchange.com/questions/84985/cant-ssh-to-beaglebone Apr 10 17:28:33 I think prusa is on #reprap Apr 10 17:29:00 maybe element14 should host BeagleCon Chicago and CircuitCo could host BeagleCon Dallas and we could setup a bunch of virtual presence BeagleBones to connect them. ;-) Apr 10 17:29:31 groovy, though I want to attend the Texas event Apr 10 17:30:09 hey - ELC is just little over 2 weeks awaay Apr 10 17:30:23 i'm very excited to learn from embedded linux pro's Apr 10 17:30:32 jkridner: going? Apr 10 17:30:46 hey pdp7! Apr 10 17:30:59 ravenlin: I do Internet connection sharing on a regular basis, but it is too inconsistent to explain to anyone. Using a serial cable helps. Apr 10 17:31:00 howdy Apr 10 17:31:05 pdp7: nope. :( Apr 10 17:31:10 darn Apr 10 17:31:55 jkridner: Thanks I think I attempted something that I wasnt familiar with and it came back and bit me lol Apr 10 17:32:04 so it will be itnerested cus like at least 1/3 of my google plus 'friends' are embedded linux or arm people and i've never met them Apr 10 17:32:12 *interesting Apr 10 17:33:14 I was following this and now the ssh just hangs...http://lanceme.blogspot.com/2013/06/windows-7-internet-sharing-for.html Apr 10 17:38:44 Does anyone know a way I can get my programs from the BBB without using a connection like ssh? like copying the eMMC to a microsd ? Apr 10 17:43:43 using microSD or USB flash driver are both pretty easy. Apr 10 17:46:00 Do you mind walking me through it? Or pointing me to a link as to how? Im using a Mac Os X btw Apr 10 17:50:33 How many beaglers? Apr 10 18:01:05 <_av500_> 54 Apr 10 18:33:44 * djlewis totally approves of the latest channel intro. Apr 10 19:25:56 Sorry if this is an obvious question, but I have code on the beaglebone black that I want to save, do you guys know if I reflash the img onto the beagle if I will lose my code? Apr 10 19:26:29 ravenlin: yes Apr 10 19:26:37 darn Apr 10 19:27:26 do you know if there is a way to save the code files without using a remote connection like ssh? Apr 10 19:27:41 ravenlin: do you have linux? Apr 10 19:27:53 aside from the rpi? Apr 10 19:28:37 Im using a mac and have the startup conditions with the beaglebone black if that helps Apr 10 19:28:56 ravenlin: Just pull the SD card out and read it on a mahcine that can talk ext4. Apr 10 19:29:00 Or is this on the eMMC? Apr 10 19:29:22 ravenlin: the technique i use is something like this if all i have is console access Apr 10 19:29:45 on beagleboard: cat test.c | gzip | uuencode test.c.gz Apr 10 19:29:55 on mac: uudecode Apr 10 19:29:59 paste output from other command Apr 10 19:30:15 Its on the eMMC, Im not using a microsd Apr 10 19:30:33 ravenlin: Ah, yeah, then what thegorn said, or SSH/SFTP/RSYNC. Apr 10 19:31:18 Thats the whole problem im facing I cant ssh . I used to be able to but then I set the gateway access on the BB and now every time I try to ssh it just hangs Apr 10 19:31:34 So log in over serial and change the gateway. Apr 10 19:32:06 You mean like using an FTDI cable? Apr 10 19:32:12 Uh, yeah. Apr 10 19:32:33 ok Apr 10 19:33:50 Use a terminal client like screen or picocom, point the client at the serial port and tell it the right baudrate, and boot the bone. You should see all the uboot stuff, the kernel messages, and then a login screen. Your normal user account will work fine, that you use over SSH. Apr 10 19:36:53 yeah thanks, Im new to using teh serial connection to connect over to the beaglebone. Ive been meaning to try it to debug Apr 10 20:38:48 greetings Apr 10 20:39:57 i just received a bbb rev b. all the files in the fat partition are 0 bytes. anybody else have this issue? Apr 10 21:12:42 meteoritedude: using a mac? Apr 10 21:13:48 ravenlin, If you have an hdmi cable and monitor try plugging that in. If it lights up then you have a console. Plug in a USB keyboard. Apr 10 21:15:02 ravenlin, In order to answer your question about why setting that gateway as you did broke your incoming ssh connection that can only be answered if you say what your network configuration was before. Apr 10 21:15:39 Two hosts on the same subnet can route directly to each other without a gateway. Apr 10 21:15:52 But hosts on different subnets must know how to contact each other. This consults the routing table. Apr 10 21:15:52 i'm waiting for a micro hdmi. i have a pc running winblows and ubuntu. the files appear to be zero bytes. i was excited to get the sbc and plug and go. the start.htm file is 0 bytes. all the files in the other subs are zero bytes. looks as if the fat was written but data not. Apr 10 21:16:10 Adding a default route to the routing table will route all network packets for other subnets to the gateway. Apr 10 21:16:42 So if your ssh broke then it means you configured something wrong and the packets are no longer routing to the correct place breaking the virtual circuit between the hosts. Apr 10 21:17:56 meteoritedude, I am new to the BBB myself and have no idea. I could answer the other problem because it was simply generic networking. Apr 10 21:18:26 meteoritedude, Regardless of what appears to be zero sized files, does it boot? I would try it. The problem may be in the mounting of it. It may still boot fine. Apr 10 21:18:30 so... looked for oem image of angstrom. won't write since it is looking for a 4gb 'drive'. wrote it to a 4gb stick and the fat files for newbs is not there. the debian img does, though. Apr 10 21:19:19 I myself am stuck trying to get a Debian image to boot on the microsd. I have tried several images. So far I have been unable to get a microSD booting Debian. Apr 10 21:19:52 Boots the Angstrom image from the internal flash just fine. So I don't want to rewrite the internal until I have it booting from the external first. Apr 10 21:20:43 And when I say does not boot I mean the BBB has blinky lights but the hdmi monitor stays dark. Boots okay off the internal flash. Apr 10 21:21:38 rwp....interesting... just for he-ha's i replaced the start .htm file to the bbb. then opened it in the browser. it loaded, but without all the other image files that load on that page. Apr 10 22:14:41 I can't remember who suggested getting the panda ralink module in here, but thanks. It's infinitely more usable than the realtek module I was using before. Apr 10 22:16:04 hi all. looking for a bit of help. I have a bbb and booted linux on an sdcard. I flashed linux to the emmc which works fine. The problem is that if I put an sdcard in, the bbb wont boot from emmc. Apr 10 22:16:44 I really want to have an sdcard in so I can put /var on it. Apr 10 22:28:25 jsnyder: that was me, glad to have helped Apr 10 22:28:45 those rtl chips are painful Apr 10 22:31:15 nyt-: Yeah, no idea what's actually broken there whether its hardware or software or both, but yeah I'll be steering clear of them. Apr 10 22:32:27 its driver Apr 10 22:32:34 the linux kernel drive is poor Apr 10 22:32:46 either way im avoiding Apr 10 22:33:00 ill stick with the ralink it works so much better Apr 11 00:48:06 I flashed my BBB with the Ubuntu 13.10 image (http://elinux.org/BeagleBoardUbuntu#eMMC:_BeagleBone_Black) and I am wondering what the default web server is running on (Apache, nginx, etc)? Apr 11 00:49:32 MLM netstat -tlpn Apr 11 00:49:57 MLM, find port 80 on the list and it should tell you the program name and the pid Apr 11 00:51:27 MLM, that said, it's apache...unless you have some other spin of ubuntu Apr 11 00:52:24 The command doesn't seem to list the pid: http://i.imgur.com/IRLvK4F.png Apr 11 00:54:12 syadnom: ^^ Apr 11 00:54:27 can't find my microsd adapter Apr 11 00:54:28 sigh Apr 11 00:54:48 MLM should be just to the right of that. like 1234/apache2 Apr 11 00:55:39 syadnom: just dashes: http://i.imgur.com/i4uRXYM.png Apr 11 00:56:08 ahh got, need to run sudo Apr 11 00:56:13 saw the comment Apr 11 00:56:44 syadnom: yep, says apache, thanks :) Apr 11 00:57:01 k Apr 11 01:16:00 what does << mean in Pru Assembly? Apr 11 01:16:13 context? Apr 11 01:16:14 logical shift left Apr 11 01:18:17 why would someone 7<<22 instead of just typing out the value? Just for the looks? I assume PASM compiles with this as a number Apr 11 01:18:31 easier to correlate with docs Apr 11 01:18:49 value 7 is shifted 22 bits probally cuz it has a 22bit offset Apr 11 01:19:40 yep Apr 11 01:19:46 I guess I can kinda see that Apr 11 01:20:08 writing 29360128 instead would be meaningless to most people Apr 11 01:20:09 probably just need to pad `0111` with 22 zeroes Apr 11 01:20:36 but much easier just to write 7<<22 ;) Apr 11 01:21:09 gotcha. I'm coming from MSP430s where we had all of 6 outputs. lol Apr 11 02:17:55 does beaglebone have something to work with zips? Apr 11 02:19:05 most linux distros include zip/unzip Apr 11 02:19:24 well... no... but usually the linux distro you use will Apr 11 02:19:28 debian doesn't out of the box I'm findign out Apr 11 02:19:43 regardless of wht hardware its being run on Apr 11 02:20:00 is it a .zip or .tar.gz? Apr 11 02:20:05 .zip Apr 11 02:22:05 some distros (*cough*redhat*cough*) just install everything, and thus take up many GB Apr 11 02:22:07 foreverska: might have to install "unzip" first Apr 11 02:22:22 Debian isn't quite as bad, but it's trivial enough to install the zip and unzip packages Apr 11 02:22:43 unless you can get a .tar.gz version of what ever file your trying to work with Apr 11 02:23:02 Unfortunately it doesn't have internet. I'll just unzip and tar it on the host Apr 11 02:24:24 probably the path of least resistance, but keep in mind that you can grab .deb packages from a repository, carry them to the bbb on a flash device, install them there **** ENDING LOGGING AT Fri Apr 11 02:59:58 2014