**** BEGIN LOGGING AT Wed Jan 21 02:59:58 2015 Jan 21 03:02:17 has anyone installed wordpress, PHP, SQL on the MicroSD card. there does not seam to be enought room on the onboard flash. I also need at least 8gig VRAM on thr SD card as well as I will have a large search commend for it to do for SQL Jan 21 03:02:49 I a useing a 32GIG micro card Jan 21 03:32:09 I'm having some trouble querying the eCAP from the PRU. Here is my code so far: http://pastebin.com/TKhyBv1V -- the interrupt is never triggered (I know the triggering works, if I remove the QBNE it triggers fine) Jan 21 03:32:28 useful docs are: http://elinux.org/images/6/65/Spruh73c.pdf page 2113 Jan 21 03:32:34 any suggestions are much appreciated Jan 21 03:34:58 what exactly are you trying to do? Jan 21 03:37:32 ds2, operate in the mode described on page 2096 and check for a flag indicating that a rising edge has occured Jan 21 03:39:06 ds2, and (eventually, not shown) reset the flag then poll for another rising edge Jan 21 03:50:53 why not just use the PRU to do that itself? Jan 21 03:57:38 ds2, it was suggested before that using the eCAP would be convenient, though now i'm not convinced Jan 21 04:37:09 eCAP seems overkill for what you are doing Jan 21 04:37:27 it does sound tempting from a potential power standpoint Jan 21 04:52:25 Hi Jan 21 04:52:59 iam looking out for some information over CM3 in AM3358 Jan 21 04:53:36 Apart from PM functionality, can we program it to any processing purpose Jan 21 09:25:31 Hi, I'm searching for getting a help to get my beaglebone black vendor id and device id Jan 21 09:25:54 the MAC address? Jan 21 09:26:15 Its having Android OS Jan 21 09:26:22 i need to enable USB communication Jan 21 09:27:39 BBB will be host and ported with Android JB, i need to communicate with my android mobile(client) through USB port Jan 21 09:28:14 so my mobile app require BBB vendor id and device id Jan 21 09:36:19 so, the BBB is the host, but you need its vendor/device IDs? Jan 21 09:39:08 Im working on BBB to mobile app communication. Both BBB and mobile are ported with Android OS. BBB is the Host and mobile will be the client. Jan 21 09:40:48 as far as i knew the host didnt need IDs, just the client. Jan 21 09:40:56 yes Jan 21 09:41:05 but, if its android, these commands might get you going http://developer.android.com/reference/android/hardware/usb/UsbDevice.html Jan 21 09:41:11 for communication, client app should know the ids Jan 21 09:41:55 i always thought it was the client that transmitted IDs tothe host and the host used the mto figure out how to talk to the client. Jan 21 09:42:31 both devices having android app, but when i'm connecting, its not recognising. Jan 21 09:43:39 for recognising, there will be a vendor id list and when we are connecting an external device, app will compare the vendor list and then proceed Jan 21 09:44:03 this is my knowledge and may be im wrong. Jan 21 09:44:06 if you have root on the devices you should be able to lsusb, but i cant say for certain if that'll work on android. Jan 21 09:44:27 yes i tried lsusb Jan 21 09:44:33 got 3 result Jan 21 09:45:07 which ever end is acting as the host should list the client in the lsusb results. Jan 21 09:46:15 but honestly its a bit over my head. im not hip on usb protocols. Jan 21 09:46:57 :) Jan 21 09:47:12 i believe that its very simple as i need to communicate with 2 android devices Jan 21 09:47:39 when i applied lsusb through bbb linux version, i got 3 values Jan 21 09:48:09 one was referring the keyboard connected. Jan 21 09:48:27 and other two values and both are same. Jan 21 09:48:57 BBB is the host or the device? Jan 21 09:49:28 * flufmnstr wonders if the phone is trying to be the host Jan 21 09:52:27 BBB is supposed to be the host Jan 21 09:53:52 the phones USB port might be in host mode, is what i would check. Jan 21 09:55:19 otherwise you should see it in the lsusb results on the BBB Jan 21 09:55:38 or its a bad cable. ive had that happen, a lot. Jan 21 09:57:13 krish_: is the BBB is host, you dont need the BBB VID/PID Jan 21 09:57:15 if* Jan 21 09:57:18 lsusb will list the connected devices ids right?? Jan 21 09:57:22 yes Jan 21 09:57:31 plug phone to BBBs host port Jan 21 09:57:37 and do lsusb on the command line Jan 21 09:58:04 on phone? Jan 21 09:58:09 as i need the ids of BBB Jan 21 10:00:41 what device is host? Jan 21 10:00:44 phone or BBB? Jan 21 10:01:17 BBB is host Jan 21 10:02:01 then you dont need the VID/PID of the BBB Jan 21 10:02:39 what are you trying to do? Jan 21 10:02:41 ADK? Jan 21 10:03:23 then how can i trigger an app which is installed in mobile while connecting the mobile to BBB USB port using data cable. Jan 21 10:04:01 basically you cant Jan 21 10:04:09 apps are not supposed to talk via USB Jan 21 10:04:12 you can use ADK Jan 21 10:04:22 http://developer.android.com/tools/adk/index.html Jan 21 10:04:30 with BBB being host and the phone device Jan 21 10:04:39 @av500_BBB is host and mobile phone is a client. the client is having an app. when i connect the mobile to BBB, the client app should trigger. Jan 21 10:04:44 but you need to run ADK SW on the BBB, that is not part of android Jan 21 10:04:59 krish_: well, it wont trigger Jan 21 10:05:05 define "trigger"? Jan 21 10:05:20 I fear you have no idea what you are doing Jan 21 10:06:03 there will be an android service in the mobile, as soon as BBB is connected, i tried to check the VID/PID and invoke the app Jan 21 10:09:31 @av500_what's your suggestion Jan 21 10:17:40 krish_: I told you, if BBB is the host, there IS NO VID/PID Jan 21 10:17:45 the BBB needs to "report" to the phone that its connected. it doesnt work in the direction you're trying Jan 21 10:18:05 i'm trying to get more information to fulfill my requirement. For my requirement, BBB(host) need to communicate with mobile(client) through USB communication. Jan 21 10:18:11 what you can do is ADK mode, but that means you need a special ADK host SW on the BBB Jan 21 10:18:24 krish_: then looks at ADK Jan 21 10:18:28 its made for that Jan 21 10:18:30 look Jan 21 10:18:48 BBB sees phone, burps out a handshake, phone sees handshake, world keeps spinning. Jan 21 10:19:26 also: http://elinux.org/BeagleBoard/GSoC/BARD Jan 21 10:19:48 is there a adk _host_ app for arm? Jan 21 10:19:52 wasnt aware of that Jan 21 10:20:49 the bard project had a kernel driver for that Jan 21 10:20:51 has* Jan 21 10:20:58 you just need to talk AOA Jan 21 10:21:09 its not rocket surgery Jan 21 10:21:14 ah ok :) Jan 21 10:21:31 just found a mbed lib for that. so there def is gonna be a way to do it with bbb ^^ Jan 21 10:21:35 luckily ADK is part of Android certification (for now) Jan 21 10:21:54 in contrast to usb host mode which is not mandatory Jan 21 10:21:56 I'm referring AOA Jan 21 11:04:08 Hi, i am almost new to linux and BBB and i would apprecite if someone gives me a point on how to start to program applications with GUI, thank you very much Jan 21 11:05:44 mmab: first you attach a HDMI screen. Jan 21 11:07:41 tbr: you sure about this? :O Jan 21 11:08:47 mmab: I strongly suggest you say whatever you have to say here Jan 21 11:09:54 As i said before, i will like to start to develop small visual app in the BBB, but i don't know from where to start Jan 21 11:10:45 I will appreciate any link or tutorial in order to star Jan 21 11:11:06 I am running last debian image on BBB and i attached a LCD TouchScreen Jan 21 11:13:13 well, then get your touchscreen working or is it working already? Jan 21 11:13:35 It is working and i can access the desktop Jan 21 11:13:57 well. everything else is just personal preference i guess Jan 21 11:14:25 any idea which language you want to use? Jan 21 11:17:10 I would prefer to use c++, but i can fit others´ Jan 21 11:18:43 im pretty sure google is gonna give you a lot of results if u google "c++ gui" Jan 21 11:19:00 at this point bbb is no different than any other system Jan 21 11:19:12 some ppl like qt to give you a point to start with Jan 21 11:19:13 :) Jan 21 11:21:24 Yes, i took a look on qt, but i didn't manage to get it running to cross compile Jan 21 11:38:40 How to install accessory development kit in Android ported beaglebone black? Jan 21 12:43:56 need help to mount mtp device with beaglebone black Jan 21 12:45:46 installed gvfs and libmtp9 but didn't work for me Jan 21 13:59:52 hi guys! we want to set up an embedded system for encoding and streaming audio.. it's for creating an internet radio.. will the beagleboard work for this? Jan 21 14:00:13 yes Jan 21 14:00:21 just add an USB soundcard Jan 21 14:00:57 anyone done this successfully? Jan 21 14:01:05 av500: hi there Jan 21 14:01:05 raspberry pi came lacking Jan 21 14:01:30 I read about the PRU last night for the first time. Jan 21 14:01:41 so is it like a DMA? Jan 21 14:08:36 zamba: what was the problem with rpi? Jan 21 14:08:50 zamba: even rpi should be fast enough to stream some audio Jan 21 14:08:58 zamba: i did it on 233MHz pentium Jan 21 14:10:41 jacekowski: i'm talking encoding now :) Jan 21 14:11:55 jacekowski: with darkice it works fine.. i'm running at around 25% cpu.. but with liquidsoap we're seeing 100% cpu and lots of drops Jan 21 14:14:40 cityoflights2: no, the PRU is a cpu core Jan 21 14:15:55 ok, but I can only use a limited amount of code on it Jan 21 14:17:03 well you cant run linux on it Jan 21 14:18:46 I mean it is obviously easier to have the ADC to 'just' except all input and publish the reading to a memory location Jan 21 14:18:47 it will encode it just fine Jan 21 14:19:14 then all my app needs to do is read it from ram and not from the ADC Jan 21 14:19:51 but in case my program is not real time intense , it make no difference, right? Jan 21 14:20:06 I would also need some locking in the shared mem Jan 21 14:20:19 ye Jan 21 14:20:20 yes Jan 21 14:20:50 PRU is made to do some real timish protocoll stuff Jan 21 14:21:53 and is case I run a non real time app, and just want to read the ADC, I can enjoy the regular sysfs way of reading a file Jan 21 14:23:08 sure Jan 21 15:24:57 I have a modifiead Texas Instrument android image running on BBB. The USB debugging is on but when I plug the board over USB to the Windows 8 PC the device is not shown on device manager at all. Is this the way how it should be or I have to receive any kind of notification for a new USB device connected? Jan 21 15:26:38 I’m trying to verify whether this is a problem with the custom android image? Jan 21 17:03:13 How to install accessory development kit in Android ported beagleboneblack? Jan 21 17:07:04 How to configure Accessory Development Kit in android JB ported beagleboneblack?? Jan 21 17:07:46 Yeah, you asked that already. Jan 21 17:07:50 Need to enable BBB to android ported device communication through USB Jan 21 17:08:18 yes.... !!! Jan 21 17:10:32 krishna__: it does not work like that Jan 21 17:10:46 its up to you to learn as much as you can, then ask specific questions Jan 21 17:10:51 cries for help dont help at all Jan 21 17:10:56 they are just annoying Jan 21 17:11:08 ANd make people less interested in helping you. Jan 21 17:11:18 i understood. Jan 21 17:11:46 thanks for the comments. i'm just new to ADK... Jan 21 17:11:49 so www.youtube.com/watch?v=mtzdQSCKBis Jan 21 17:11:53 need some fuel to start with Jan 21 17:12:09 krishna__: before you make ADK run with android, make it run with stock linux on BBB Jan 21 18:57:30 the debian version i'm using doesn't appear to include the rndis kernel module, or at least it's not configured and/or loading correctly. are there any how-tos or pointers on that? Jan 21 18:57:51 rather, the g_multi kernel module, which provides the usb/rndis network interface. Jan 21 19:39:05 hi Jan 21 19:39:42 anybdy can help me with beagle bone + ubuntu + read adc ?? (BRAZIL) Jan 21 19:43:34 I imagine that the tutorials work just as well in Brazil as they do in the US. Jan 21 19:45:31 i understand Jan 21 19:45:46 but the tutorial not helped me Jan 21 19:46:07 Maybe tell us how what you are doing is failing, as compared to the tutorial. Jan 21 19:49:13 hello hello! I'm looking for some guidance. I have a relay, that can be powered by 5v (works when connected to an Arduino UNO), but I can't seem to make it work with a beaglebone black, it doesn't seem to get powered at all. I'm hooking it up to P9 1 (ground) and P9 5 (VDD 5v) Jan 21 19:49:23 the BBB is powered via USB Jan 21 19:49:37 any clues as to why it works with an arduino but not with the BBB? Jan 21 19:50:17 I have the same relay shown here: http://www.element14.com/community/community/designcenter/single-board-computers/next-gen_beaglebone/blog Jan 21 19:50:27 but not as successful as the picture :) Jan 21 19:50:42 You can use a transistor with font should not be enough current to power the relay Jan 21 19:50:53 have you checked the SRM yet? Jan 21 19:51:14 i cant read the analog input in the last version of ubuntu for BBB Jan 21 19:51:43 with this BBB-eMMC-flasher-ubuntu-14.04.1-console-armhf-2015-01-06-2gb.img.xz firmware Jan 21 19:51:52 + lxde Jan 21 19:52:52 beuno: the SRM states that the 5VDC is powered if the board is supplied thorugh barrel connector Jan 21 19:53:06 beuno: have you checked that there is any voltage using a multimeter? Jan 21 19:53:55 cf p 44 of the bbb srm Jan 21 19:54:40 tbr, I'll dig up my multimeter. It's not powered through the barrel connector, is that why it might not have power? Jan 21 19:55:10 ...yes. Jan 21 19:55:55 ah Jan 21 19:56:07 I guess I assumed it would work since it did with an arduino Jan 21 19:56:27 now to try and find a cable in rural Uruguay :) Jan 21 19:56:27 "the SRM states that the 5VDC is powered if the board is supplied thorugh barrel connector" Jan 21 19:56:39 * beuno nods Jan 21 19:56:46 beuno: BeagleBone != Arduino Jan 21 19:56:46 that solves that mystery then Jan 21 19:56:50 thank you Jan 21 19:56:53 np Jan 21 19:56:55 Any more than a pair of roller skates are a Ferrari. Jan 21 19:56:59 and read the SRM :) Jan 21 19:57:02 ^^^ Jan 21 19:57:12 indeed I will Jan 21 19:59:10 no one can help me ?? Jan 21 19:59:29 ander_: YOu have yet to give us enough information *to* help you. Jan 21 20:00:07 tell me how you read te adc on ubuntu Jan 21 20:00:17 dont have cape mgr Jan 21 20:00:50 ander_: What tutorial are you following? How does it not work--do you get no values, an error message, an alien invasion from Krypton? Jan 21 20:01:08 last option Jan 21 20:01:50 Alien invasions should be reported to the FBI. Stay ninside your home with the windows closed and the blinds drawn until help arrives. Jan 21 20:07:29 JFTR: I believe he'd just need to add the IIO or ADC to the device-tree Jan 21 20:08:00 Yup. Jan 21 20:44:27 Does anyone if the Debian Jessie image will be released as console only? Jan 21 20:47:17 ask RCN on the mailing list Jan 21 20:47:30 Will do Jan 21 20:47:34 TY Jan 21 21:38:43 the debian version i'm using doesn't appear to include the g_multi kernel module (which provides the rndis/usb network interface), or at least it's not configured and/or loading correctly. are there any how-tos or pointers on that? Jan 22 00:15:20 I flashed my bbb using the debian 7.7 eMMC but it's not setting up a network on the debug usb. Any ideas? Jan 22 00:24:16 anyone? **** BEGIN LOGGING AT Thu Jan 22 01:55:47 2015 Jan 22 02:11:16 could anyone send a link for on getting started with beaglebone black Jan 22 02:12:07 http://192.168.7.2/Getting_Started.html? Jan 22 02:32:00 wheeeeee RTC works **** ENDING LOGGING AT Thu Jan 22 02:59:59 2015