**** BEGIN LOGGING AT Sun Nov 17 02:59:59 2013 Nov 17 03:03:30 anyone here? Nov 17 03:04:03 no? Nov 17 03:07:02 yes Nov 17 03:13:47 is there any way to power the beaglebone black with ground and 5v jumper cables instead of using the jack? Nov 17 03:23:16 The beaglebone black has 6 pins for serial debug console. is it ok to plug a 3.3v ftdi cable with a 5V vcc (on pin 3) into these 6 pins? Nov 17 03:24:04 I mean, I've got a jumper cable connected to a 5v supply and another connected to its ground Nov 17 03:24:18 if I were to power the beaglebone with these two cables, were would I plug them Nov 17 04:45:29 i think i answered my own question, the reference manual says only pin 1,4, and 5 of the serial headers are connected to anything Nov 17 05:26:48 Hello,How to patch Xenomai to inbuild Angstrom Kernel in Beaglebone Black ? Nov 17 05:29:40 Hello,How to patch Xenomai to inbuilt Angstrom Kernel in Beaglebone Black ? Nov 17 05:37:42 hello Nov 17 05:37:58 anyone Nov 17 05:39:29 anyone left 20 minutes ago Nov 17 06:44:44 <_av500_> I just came back Nov 17 06:44:46 <_av500_> had to buy fuses Nov 17 06:46:13 for what? that's never a good day Nov 17 06:52:47 when I plug in my bbb to my desktop, it shows up as an ethernet device and automatically configures to 192.168.7.1... how exactly is it doing that? Nov 17 06:54:17 <_av500_> what do you mean with how exaclty? Nov 17 06:54:51 <_av500_> I guess the BBB runs a dhcp server that provides that IP to the PC Nov 17 06:56:35 solarradiation: its magic huh! Nov 17 06:56:43 its ethernet over usb. Nov 17 06:57:00 i didn't think my ubuntu desktop would automatically know to do dhcp on a usb-ethernet device Nov 17 06:57:05 your PC is emulating an ethernet link via the usb. Nov 17 06:57:21 ubuntu does out of the box Nov 17 06:58:43 ok. Nov 17 06:59:28 Is it possible to use the usb connection as something else (mass storage, serial communication, etc) at the same time? Nov 17 07:01:16 and where is the usb-to-ethernet configuration done on the BBB/angstrom side? Nov 17 07:04:23 solarradiation: you'd probaby use the USB-Host port for those thigns. Nov 17 07:05:39 so I should keep the usb-client port for development/power mostly? Nov 17 07:11:39 <_av500_> no Nov 17 07:11:51 <_av500_> you can have multiple functions on usb gadget Nov 17 07:11:57 <_av500_> like eth+msc Nov 17 07:12:09 <_av500_> the client port is fine to be used for whatever you need Nov 17 07:14:57 _av500_: do you know where that is configured on the BBB's angstrom installation? Nov 17 07:15:19 <_av500_> no Nov 17 07:15:25 <_av500_> some systemd unit Nov 17 07:15:53 ok, that gives me something to google, thnx Nov 17 07:16:56 <_av500_> ...give a man a google .... Nov 17 07:50:05 woot, 4 eipsides of korra this weekend Nov 17 09:21:25 hey Nov 17 09:31:19 does anyone know how to set ssh and or lighttp to run before login. i.e i plug power and ethernet in, I can then use my other computer to ssh into it. Nov 17 15:12:48 Hi ! Nov 17 15:17:00 I built angstrom console-image, I copy the image in my SD card, And I tried to boot from the SD card. I get this error "Starting kernel ...data abort MAYBE you should read doc/README.arm-unaligned-accesses" (http://pastebin.com/fBzasvDJ). Someone has already got a similar error ? Nov 17 15:33:11 KotH: Figured out the interrupt handler problem. U-boot was (quite sensibly) setting VBAR to point to its own vector table instead of modifying the default vector table in L3 RAM. Once I changed VBAR to point to the default table, it worked. Here is the most basic assembly doing this: https://github.com/spbnick/bbb-poke/blob/master/light_leds_svc.S Nov 17 16:20:23 hi. is there a way to dd the emmc into a single image to write it back later? Nov 17 16:22:26 sure boot from sdcard which can hold the emmc Nov 17 16:35:13 woglinde: if i do this i get an error that /dev/mmblk* is used and dd stops working Nov 17 17:02:45 ragnar76: That's because mmblk* is mounted. Nov 17 17:03:47 eggzeck_: i know but how can unmount it? is the emmc always mounted at startup? Nov 17 17:05:19 ragnar76 when you boot from emmc it is of course booted Nov 17 17:05:36 ragnar76: That's a good question, not sure if the flash drive on the beaglebone is auto-mounted at startup (when booting to a microSD card). I would test this for you, but mine is out for repair. Nov 17 17:05:37 woglinde: i mean, i boot from sd card Nov 17 17:05:38 and when you are able to use dd you should beable to use umount too Nov 17 17:06:01 ragnar76: Yes, just use umount to unmount the flash drive if it auto-mounts at boot-up Nov 17 17:06:57 ragnar76: My comment of course assumes you're booting from microSD card Nov 17 17:08:11 i guess the emmc is mounted at startup and anything is using this "drive" Nov 17 17:08:34 i will have a lokkt at it with lsof later Nov 17 17:09:13 try to force it Nov 17 17:11:01 prblem ist, when i shut it down by removing the cable it looks like it is crashing the filesystem on the emmc. i'd like to save my work so far Nov 17 17:11:28 why are you removing cable? Are you trying a safe shutdown before? Nov 17 17:12:06 ragnar76: You should always AVOID just removing the cable. Shut it down gracefully Nov 17 17:12:06 i'd like to use it as a mobile access point driven by batteries Nov 17 17:12:37 i'm not sure what the bbb does with 3 or lower volts Nov 17 17:12:54 ragnar76: OK then you should always be able to SSH into it anyways if it's a mobile access point Nov 17 17:13:11 eggzeck_: from my mobile, yes Nov 17 17:13:39 ragnar76: Then you use the command "poweroff" to safely shut it down Nov 17 17:13:51 don't remove the cable, that's a nono Nov 17 17:13:54 unless NEEDED Nov 17 17:14:18 brb, food is ready Nov 17 17:20:57 Hello Nov 17 17:21:14 Hello Nov 17 17:23:03 How to patch xenomai to Beaglebone Black inbuilt Angstrom Kernel ? I am asking this because I only get eMMC and SD image on beagleboard.org .Whre is kernel ? Nov 17 17:27:58 Hello Nov 17 17:31:46 Hello Nov 17 17:32:16 How to patch Xenomai using git ? Nov 17 17:50:09 re Nov 17 18:36:11 HELLO! Anyone is present? Nov 17 18:39:52 i want to make mesage about bag. http://beagleboard.org/latest-images - file for beagleboneBlack is corrupted on server. bittorent link on 4GB, but not 2GB as on description Nov 17 18:42:27 the images are compressed Nov 17 20:02:42 Hey Nov 17 20:23:30 aloha Nov 17 20:49:26 Hello #beagle. I'm looking for a way to emulate a USB mass storage device. Is that possible with a beaglebone black? Do you know of other possibilities? Nov 17 20:51:38 I think "usb gadget" is the place to start looking, but I don't know more. Nov 17 20:52:23 that's the framework that Android phones use when they want to show up as mass-storage, anyway. Nov 17 20:54:13 myself, Do you know what hardware is necessary to act as a USB slave? Can that be done with every USB master port or is USB OTG necessary? Nov 17 20:56:05 madez: the default image does this Nov 17 20:59:37 sup Nov 17 21:09:33 dm8tbr, do you know whether it is possible to connect the beaglebone black to 4 usb masters and having it acting as a different usb device for each master? Nov 17 21:11:56 I could buy a USB switch to make the emulated USB device accessible to all 4 masters, but I'd like to emulate a device depending on the requesting master. Nov 17 21:15:47 madez: I don't think it has that many OTG ports. IIRC only two Nov 17 21:16:50 also note that if you use block device access you have to provide 4 independent devices Nov 17 21:17:00 concurrent access is not possible Nov 17 21:17:20 different story if you use e.g. MTP Nov 17 21:20:35 dm8tbr, I want to provide emulated USB mass storage so I see no problem in making the master think he has solely access to the device. Nov 17 21:21:17 madez: so each usb master gets a different device? Nov 17 21:21:45 Yes. Nov 17 21:22:01 should work fine then, in theory Nov 17 21:24:17 Okay, so emulating one USB mass storage to one master seems to be a easy. Now I need to figure out how to emulate different devices each for 4 masters. Nov 17 21:25:33 I think a USB hub doesn't work because it has only one port for a master. I'd need a USB switch which has 4 master inputs. And I'd need to figure out how to emulate a device depending on the requesting master. Nov 17 21:25:52 Hopefully I don't need to patch the kernel for that. Nov 17 21:26:17 the BBB soc has 2 usb ports. you might need to modify the second one physically Nov 17 21:26:55 also you might need to reconfigure the kernel and I'm not even sure if anyone has done gadget driver binding to two separate musb drivers in parallel Nov 17 21:27:07 One port is enough since of these 4 masters only one will be active at a time Nov 17 21:27:40 you made it sound differently... Nov 17 21:28:52 I'm not sure if the gadget driver can sense what it's connected to Nov 17 21:29:15 Well, in theory more than one could be trying to access the slave device at a time. Let me correct myself; the speed is not that important if more than one master is using his emulated device. I wonder if the usb-gadget drive can emulated a device dependend of the requesting master. Nov 17 21:29:47 I still can't figure out what you are trying to do Nov 17 21:29:57 what is it you are trying to do there? Nov 17 21:32:00 I have 4 devices which need to access to a USB mass storage. I don't want to buy a dedicated drive for each of them. I have a server and I'd like to have the 4 masters to access that server instead. Since the masters only can access USB mass storage, I need a device which can emulate a USB mass storage for them while backing the USB mass storage with the server. Nov 17 21:32:23 <_av500_> and how would you connect the 4 masters? Nov 17 21:32:28 <_av500_> to one host port? Nov 17 21:32:34 I could buy one beaglebone black each for the masters, but that seems a bit like waste. Nov 17 21:32:36 unpossible Nov 17 21:32:36 <_av500_> in parallel? Nov 17 21:33:12 hoi av500 Nov 17 21:33:12 <_av500_> why not buy 4 usb sticks? Nov 17 21:33:20 madez: are they supposed to share the same storage backend or each gets a separate partition? Nov 17 21:33:32 http://www.amazon.com/Belkin-F1U200V-4-Port-USB-Switch/dp/B000EJUCVE/ref=sr_1_5?ie=UTF8&qid=1384723983&sr=8-5&keywords=usb+switch Nov 17 21:35:02 _av500_, I don't want to use usb sticks, because It's hard to access and backup the data and the server has higher reliability in case of hardware failure. Nov 17 21:35:05 that's a manual switch Nov 17 21:36:03 http://www.amazon.com/IOGEAR-Peripheral-Sharing-Switch-GUS404/dp/B00BD8I3EI/ref=sr_1_1?ie=UTF8&qid=1384724151&sr=8-1&keywords=usb+switch+4x4 Nov 17 21:37:18 yes, those are all manual switches. which means, that you have to push a button do give access to the next master Nov 17 21:37:26 Mh. Nov 17 21:37:39 21:33:20< dm8tbr> madez: are they supposed to share the same storage backend or each gets a separate partition? Nov 17 21:38:42 They are supposed to share the same storage backend. But what relevance has this? Nov 17 21:39:55 by "same storage backend" do you mean they are supposed to see the same files? Nov 17 21:40:40 I'm not sure yet. I think no, but what if? Nov 17 21:40:45 if only there were some magic technology for servers to share files Nov 17 21:41:07 <_av500_> Russ: shared ftp? Nov 17 21:41:27 Happily, there is. Too bad not every hardware can be used to access it. Nov 17 21:41:57 madez: did you ask about this already a couple of days/weeks ago? Nov 17 21:42:22 * dm8tbr has an deja-vu Nov 17 21:42:37 No. Nov 17 21:43:28 madez: http://hsti.com/products/wirelessmediastick or something similar might work Nov 17 21:44:17 I'd need for of these and the connection is limited to WiFi. Nov 17 21:44:20 four* Nov 17 21:44:26 looks like a productized version of it Nov 17 21:45:05 Lets say I want to have a sshfs mount point has backend which is on a server in the internet. Nov 17 21:45:17 as* Nov 17 21:45:34 long story short. 4x BBB, make gadget point to an iscsi storage, no concurrent storage backend access. Nov 17 21:45:48 which means separate partitions for every endpoint Nov 17 21:46:00 no shared access to partitions Nov 17 21:46:03 or read-only.. Nov 17 21:46:26 or that, yeah, but then it will still barf if it caches the FS and it changes meanwhile... Nov 17 21:46:27 or some network filesystem. Nov 17 21:46:51 <_av500_> or 4 usb sticks... Nov 17 21:46:52 <_av500_> :) Nov 17 21:46:56 if only there were some magic technology for Russ to point out... Nov 17 21:46:56 that would only work if the 'master' devices support MTP Nov 17 21:47:08 if they speak MAS, then network-fs is out of question. Nov 17 21:47:14 _av500_, backup is tedious because it needs physical work. Nov 17 21:47:23 <_av500_> so, 4 BBB acting as a usb stick Nov 17 21:47:33 <_av500_> and backed up on the net Nov 17 21:47:37 Yes Nov 17 21:47:37 <_av500_> MSC2ETH converter Nov 17 21:47:45 <_av500_> ok, solved Nov 17 21:47:45 <_av500_> next! Nov 17 21:47:46 That seems to be possible. Nov 17 21:47:56 However, I'd like a cheaper solution that 4 BBB. Nov 17 21:48:01 than* Nov 17 21:48:05 <_av500_> 4 rpi :) Nov 17 21:48:10 *g* Nov 17 21:48:11 solved, next Nov 17 21:48:15 ^^ Nov 17 21:48:21 <_av500_> usb does not worked, but cheaper Nov 17 21:48:40 <_av500_> madez: if two machines need to access MSC at the same time, you need 2 "devices" Nov 17 21:48:54 <_av500_> and BBB can only serve *one* master at a time Nov 17 21:48:54 Well, 500gb usb stick are pretty expensive over here. Especially 4 of them. Nov 17 21:49:40 <_av500_> if you need 500GB, the price of the BBB is the least of your worries Nov 17 21:49:54 lol Nov 17 21:50:07 <_av500_> constable, please bring the next defendant Nov 17 21:50:11 hm and its not friday Nov 17 21:50:13 if you don't count the price of your time, you can try to convert the second musb to slave... Nov 17 21:50:49 and beat musb code into submission for having to serve two ports in master mode with different gadget foo Nov 17 21:51:17 well, 4*BBB are like 6TB of space. Nov 17 21:51:30 <_av500_> madez: please pay the court fees on your way out Nov 17 21:51:36 <_av500_> and somebody bring me coffee Nov 17 21:51:37 So 500GB are not the much for a server. For a usb stick they are. Nov 17 21:52:05 2.5" USB drive, same thing Nov 17 21:52:40 +1 for you. Nov 17 21:53:33 * madez wonders what _av500_ is talking about. Nov 17 21:54:21 he's having his usual entertaining evening Nov 17 21:58:28 So, if 4*BBB would be a solution, maybe 2*A13-OlinuXino would be a solution aswell, even with 2 spare connections. Nov 17 21:59:12 As the A13-OlinuXino has 3 USB hosts, it just needs to be able to run the usb gadget driver. Nov 17 21:59:39 you try, I watch. Nov 17 21:59:42 The USB OTG port can maybe aswell used for the purpose. Then even one A13-OlinuXino would solve this. Nov 17 22:00:13 Do you know whether the A13-OlinuXino supports the usb gadget driver? Nov 17 22:00:23 <_av500_> you need device ports Nov 17 22:00:25 <_av500_> not host ones Nov 17 22:00:33 <_av500_> I doubt the A13 has more then one Nov 17 22:00:37 <_av500_> so its the same as BBB Nov 17 22:01:01 <_av500_> your device is host, BBB is device Nov 17 22:01:50 "device port"? Is this a hardware feature? Nov 17 22:01:55 <_av500_> yes Nov 17 22:01:56 yes Nov 17 22:02:02 <_av500_> blame intel Nov 17 22:05:06 <_av500_> this court retires for the night, hangings resume 8am sharp Nov 17 22:05:26 gn av500 Nov 17 22:05:47 No need for to load more shame on them, I already dislike them. Nov 17 22:05:47 So I need to find hardware with low (Number of usb device ports)/cost. Nov 17 22:05:47 Thanks for the help! Nov 17 22:06:00 <_av500_> constable, tazer the jury and tear gas the audience, then bulldoze them all out Nov 17 22:07:52 wouldn't it be better just to get usb to ethernet adapters? Nov 17 22:08:01 and then plug the ethernet into the bbb's ethernet port? Nov 17 22:08:18 And then emulate a mass storage device on that ethernet port? Nov 17 22:08:27 no, do a network share Nov 17 22:08:50 The device expects a mass storage device. Nov 17 22:08:57 ah, I see you issue Nov 17 22:09:00 er, your Nov 17 22:09:40 Does someone of you have a link to more information regarding different USB port features? Nov 17 22:09:49 I'd personally solve this by an i-scsi backed gadget-block-device Nov 17 22:09:56 but we're circling Nov 17 22:13:37 The backend is not the problem, the gadget-block-device is. If I may, I'd like to disagree that we are circling. I just heard the first time about USB device port and I'd like to learn about it. Google gives few information and it seems crucial for my situation. Nov 17 22:13:57 greetings all Nov 17 22:15:28 I specifically mentioned the OTG ports... Nov 17 22:15:39 BTW, it's disappointing that one needs special hardware to emulate a USB device. Nov 17 22:15:52 So, OTG port = device port? Nov 17 22:16:02 no, otg is a hermaphrodite Nov 17 22:16:16 ^^ Nov 17 22:16:22 http://en.wikipedia.org/wiki/USB_On-The-Go Nov 17 22:16:40 So where the connection between the OTG port and the device port? Nov 17 22:18:28 otg can be either 'device' or 'host' Nov 17 22:19:41 Ok. Nov 17 22:20:06 Thanks for the clarification. Nov 18 01:22:54 whether the dvsdk demo encoder can run on the beagleboard-xm or not ? Nov 18 01:59:53 whats new all? **** ENDING LOGGING AT Mon Nov 18 02:59:59 2013