**** BEGIN LOGGING AT Thu Apr 30 02:59:58 2015 Apr 30 05:35:50 fun, not only that this sandisk crashed my ext4 yesterday, I can no longer read the card itself in any reader Apr 30 05:58:24 genuine or fake sandisk? ;P Apr 30 06:01:04 bought in a real store, so should be real... Apr 30 06:14:46 hehe Apr 30 06:14:49 fair enough Apr 30 07:40:41 hi Apr 30 07:40:59 Beagle bone hav CE certified or not Apr 30 08:22:29 ds2: ok, if you do put a bbb in off-mode on battery, never ever do so with a serial cable attached Apr 30 08:23:50 Hi there, who can i talk to if i have problems downloading TI CCS for Linux? It just sais File not found. Apr 30 08:25:01 ds2: off-mode current without serial cable: about 35 mA Apr 30 08:25:09 ds2: off-mode current with serial cable: about 80 mA Apr 30 08:25:12 prolods_: ask TI Apr 30 08:25:19 and that 35 mA is spread across dozens of cpu pins Apr 30 08:25:23 also, why CCS? Apr 30 08:25:30 the remaining 45 would be flowing through UART0_RXD Apr 30 08:25:33 not good Apr 30 08:26:49 prolods_: http://processors.wiki.ti.com/index.php/Download_CCS Apr 30 08:27:14 zmatt: yeah thx i know. i registed and got the download link. Apr 30 08:27:30 after i click it, it just says file not found Apr 30 08:28:00 always worked for me, but maybe the site is wonky... try again later, or a different browser Apr 30 08:28:35 av500: 3 weaks ago it worked and i got the binary. Tryed last weak and this weap but no success so far... Apr 30 08:28:57 dont think a other browser would fix it Apr 30 08:30:22 like I said, maybe the site is wonky, try again later Apr 30 08:30:36 or if you're in a complainy mood, go and complain on E2E Apr 30 08:32:18 zmatt, becuase E2E, gets soooo much attention of people who knwo what they are talking about Apr 30 08:33:04 zmatt: well i dont realy feel like complaining, thats why im here. I thought this might been a known problem and maybe there would be a quick fix for it Apr 30 08:33:24 i guess i try to copy the eclipse folder the other notebook Apr 30 08:33:34 hey mrpackethead :) Apr 30 08:33:39 hey av500 Apr 30 08:35:13 what you up to. Apr 30 08:35:26 mostly BBB GSoC Apr 30 08:35:40 and hacking STM32 Apr 30 08:35:48 ahh Apr 30 08:35:58 I've been messing with CC3200's and CC2650's Apr 30 08:36:03 much smaller. Apr 30 08:36:28 yeah Apr 30 08:56:02 * tbr needs to decide if CC2650 is going to be the next SoC for 802.15.4 hacking for him Apr 30 08:56:31 currently doing things with the, a bit limited, CC2530. On the good side there are dirt cheap modules. Apr 30 09:07:47 I had sent data from pc to BBB via ethernet communication. where i can get data that data from BBB? Apr 30 09:09:18 RP_ how exactly did you send the data? Apr 30 09:12:21 I had connected BBB to microcontroller device. Microcontroller has IP address and I have desired where to sent data . Apr 30 09:12:36 ? Apr 30 09:12:51 which transfer protocol did you used? Apr 30 09:13:49 * tbr still isn't sure how, what is supposed to be connected and talk to what Apr 30 09:14:00 woglinde: thats a tough equestion Apr 30 09:14:17 mrpackethead maybe his question is wrong Apr 30 09:14:26 The microcontroller is covert and send data UART to ETHERNET. Apr 30 09:14:42 je maybe meant, which solutions are there to copy data via ethernet Apr 30 09:15:08 RP_ have you got a link to this device Apr 30 09:18:41 ok ..http://www.usriot.com/Product/24.html Apr 30 09:19:17 RP_ yes and? Apr 30 09:19:23 configure the ips Apr 30 09:19:34 choose a transport protocol Apr 30 09:20:02 like ftp,scp,http or what else and configure it on both sides Apr 30 09:20:15 woglinde: no chance of guessing that Apr 30 09:20:19 and than you know where your data are Apr 30 09:22:12 I have configured and set IP address on BBB. and then I also configured some one ip on microcontroller device. Apr 30 09:22:25 mrpackethead hm the download section of this product has all the answers Apr 30 09:22:46 and its such an ontopic question for #beaglebone Apr 30 09:23:27 RP_ read all the documents from the download section and than you what is to do Apr 30 09:23:42 and it has nothing todo with beagle as mrpackethead mentioned Apr 30 09:24:03 same "problem" stays with a every other linux too Apr 30 09:24:10 try #random they have great answers Apr 30 09:27:14 I could send data MCU device to in my PC. Device has some own ip address and where to send also. PC has receiving IP address. So The data should be received to pc. Apr 30 09:28:42 Instead of pc , I would like to change BBB. I did take Same procedure for BBB. Apr 30 09:29:06 xilly quetion.. the BBB, has a serial port Apr 30 09:29:11 why do you want to make everythign so complicated Apr 30 09:29:33 RP_: yes, same procedure Apr 30 09:32:26 ok. where the files stored comes from via Ethernet? Apr 30 09:32:35 what files? Apr 30 09:33:08 I sent text files Apr 30 09:35:14 lol Apr 30 09:35:41 RP_ which software your pc runs? Apr 30 09:36:09 RP_ is this work project, univerisity or hobby? Apr 30 09:37:37 When I was sent data to PC that time I could seem by VB application. This is our own software. Apr 30 09:38:22 that was with Windows and the windows driver for that thing Apr 30 09:38:28 there is no Windows on BBB Apr 30 09:38:39 you need to have a Linux driver for the UART2Ethernet converter Apr 30 09:38:48 It is worked. Apr 30 09:39:29 well, good then Apr 30 09:40:14 It is worked on windows but I want to try for BBB Apr 30 09:40:21 [11:38] you need to have a Linux driver for the UART2Ethernet converter Apr 30 09:41:54 av500 I thought its ip Apr 30 09:42:12 why I want to go for bbb, If I using my PC Which is on condition of 24*7 . Apr 30 09:42:19 mrpackethead: thats not the point Apr 30 09:42:21 av500 or do they use some crude protocol to get the serial data over ip to Apr 30 09:42:23 oops Apr 30 09:42:27 undo Apr 30 09:42:38 woglinde: I have no idea Apr 30 09:42:51 what he needs is a virtual serial port Apr 30 09:43:02 which makes tcp/ip to serial again Apr 30 09:43:12 yes Apr 30 09:43:19 maybe socat works Apr 30 09:43:20 a "driver" we call it :) Apr 30 09:43:52 but you need no kernel driver Apr 30 09:44:03 you can all do in userspace Apr 30 09:44:06 I think Apr 30 09:44:16 sure Apr 30 09:44:25 if you know the protocol Apr 30 09:44:33 maybe you telnet into it Apr 30 09:44:50 ? Apr 30 09:45:12 but anyway its no beagle question Apr 30 09:45:35 the protocol is on the docs anyway Apr 30 09:45:37 Why I need linux driver? Bcz microcontroller device like as UART to Ethernet. Only I should connect Ethernet from device to Ethernet of BBB. Apr 30 09:45:48 "USR-TCP232-XX setting protocal" Apr 30 09:46:00 yes, you can connect Apr 30 09:46:07 you still need to talk to it Apr 30 09:46:15 http://www.usriot.com/Download/206.html Apr 30 09:46:17 its all here Apr 30 09:47:47 and there is no VB app running on the bbb Apr 30 09:48:14 mrpackethead: the Packet Head is 0x55BA Apr 30 09:48:27 just you know! :) Apr 30 09:48:37 I guess 55AA was taken already Apr 30 09:48:42 av500 ah and because its udp Apr 30 09:48:56 some other doc says tcp too Apr 30 09:48:56 he did not get any error after sending the stuff Apr 30 09:49:00 hm okay Apr 30 09:49:26 I know Vb is not running But I want store data only like pendrive Apr 30 09:49:38 sure Apr 30 09:49:54 just write a program to read from the ethernet uart and store to a file Apr 30 09:50:04 writing to a file is easy Apr 30 09:50:11 av500, can you do that for me. for free Apr 30 09:50:14 in your spare time Apr 30 09:50:16 right now Apr 30 09:50:21 he did not ask that Apr 30 09:50:24 i need it in the next 3 minutes for my assignmetn Apr 30 09:51:52 ... Apr 30 09:51:54 In TCP client mode, after power on module according to their own Settings active TCP server to connect Apr 30 09:51:55 to the server, and then establish a long connection, data transparent transmission after this mode, the TCP Apr 30 09:51:56 server IP module would need to be visible and the visible means directly by module's IP can PING the server Apr 30 09:51:58 IP, server side can be fixed IP, the Internet can also be internal network IP and module in the same local area Apr 30 09:51:59 network. Apr 30 09:52:01 ... Apr 30 09:59:29 * GenTooMan peers and cringes. Apr 30 11:16:45 hi Apr 30 11:25:12 @zmatt: hi! this is an update to the battery case. i mistook the colors in the last scope-screenshot, but now i got it. what you think about using a high-enough-resistor to bring 3v3b down faster? today i will also try to ground 3v3b depending on 3v3a state using 2 fet's. Apr 30 11:28:07 i experience, that 3v3a is kept on ~1.6VDC if the BBB is down, and battery is connected. meanwhile i gained a new Li-Po battery for testing, this one does not causing BBB to power down, is 5VDC gets disconnected, only the PMIC event makes BBB to shutdown. Apr 30 11:28:28 is->if Apr 30 11:31:50 ive also checked TPS's datasheet, and found detailed info about the interrupt register (INT) on the 44th page. using i2cset i changed the register from 0x0 to 0x20, which disables making an interrupt to BBB, if 5VDC gets disconnected, so now i can ramdomly adjust the power source between 0-5 VDC whithout causing BBB to shutdown or blackout :) Apr 30 11:38:50 now only one powering related issue remained nsolved, the sleep function. i'm using the latest 4GB Debian image on microSD and tried the stable and the beta kernels too, but can not send it to 'mem' or 'standby' mode. Apr 30 11:41:06 this weekend i will go back to angstrom and try if it can send to sleep and handle rtc wakeup reguests, but if you have some good news, don't hesitate to tell me :) thx Apr 30 13:02:46 hello Apr 30 13:03:36 quick question: I have an I2C device that requires me to send a start-write-reg_address-start-read in order to read out a register Apr 30 13:04:06 platform is the beaglebone black running debian os Apr 30 13:04:40 documentation says it is not possible to do a write and read in one transaction Apr 30 13:04:48 is there a (clean) workaround? Apr 30 13:05:27 so far i have looked in linux/i2c.h linux/i2c-dev.h linux/i2c.c Apr 30 13:05:32 nothing really promising though Apr 30 13:06:06 there was a function : ioctl(file, I2C_RDWR, struct i2c_rdwr_ioctl_data *msgset) Apr 30 13:06:13 but i don't really understand what it does Apr 30 13:06:19 or how it works Apr 30 13:12:12 jpm__: isnt that the standard way of doing i2c read? Apr 30 13:12:23 repeated start condition etc... Apr 30 13:18:49 is it? Apr 30 13:19:43 so everytime i want to read, on any device, i first send out a start condition with a write address, followed by the registered address and a repeated start with a read address? Apr 30 13:23:50 jpm__: there are docs about I2c on the internet Apr 30 13:24:23 yeah, i did look around Apr 30 13:24:30 but i didn't find anything usefull Apr 30 13:24:58 and now i found it Apr 30 13:25:08 and your fairly certain that's the way it works? Apr 30 13:25:32 (multiple sources are more reliable) Apr 30 13:25:42 there are a few different ways depending on device Apr 30 13:25:58 but having to write the address you want to read from is failry standard Apr 30 13:26:07 otherwise, how would the device know where you want to read from? Apr 30 13:27:49 some i2c devices are of course very simple, there you only write or read Apr 30 13:28:01 but im sure linux can handle both Apr 30 13:38:07 yeah... it does seem to be the standard Apr 30 13:38:54 i was a bit confused because of the limitation in the I2C-dev.h file saying that using read() and write(), it was impossible to combine them in one transaction Apr 30 13:39:10 so i thought that limitation would require a workaround Apr 30 13:39:39 but probably the read() function itself arranges that for you in this particular case Apr 30 13:40:03 i'd have to go look for the implementation of the read() function to be sure Apr 30 13:40:19 but i am also uncertain where it is kept Apr 30 13:40:38 but you have used the I2C bus on the Beaglebone before? Apr 30 14:14:20 jpm__: i2c-dev.h implies you can use an ioctl with I2C_RDWR to get what you're after. Of course, you could always write a kernel driver instead of trying to do it from userspace too. Apr 30 14:55:07 does anyone know how can I see the symbol table of uImage? Apr 30 14:55:36 daniele12457: an uImage in itself has no symbol table, its just some headers plus another image inside. Apr 30 14:56:09 LetoThe2nd, I mean I want the symbol table of the kernel Apr 30 14:56:43 daniele12457: http://en.wikipedia.org/wiki/System.map Apr 30 14:57:22 Nice Apr 30 14:58:28 xD Apr 30 14:58:49 I don't have System.map nor lib directory Apr 30 15:00:30 daniele12457: then you're in for a hard time ;) well go look where you got the kernel from Apr 30 15:00:58 linaro Apr 30 15:01:16 I think they are pretty standard Apr 30 15:01:20 huh? Apr 30 15:01:31 "linaro" Apr 30 15:01:35 I want the symbol table so I can put a breakpoint to the swi_handler Apr 30 15:01:43 linaro for the pandaboard Apr 30 15:01:48 and they gave you only this uimage file, nothing else. no source, no modules, no nothing? Apr 30 15:02:01 they have the source Apr 30 15:02:12 I try to look inside the zip Apr 30 15:02:24 daniele12457: erm. just for clarification - this is #beagle, not #panda Apr 30 15:02:44 but they both use the omap :( Apr 30 15:03:27 daniele12457: well i went to this renault place, but they wouldn't sell me an audi. i really don't get it, i mean, both have four wheels and an engine, righT? Apr 30 15:04:18 my fault sorry :( Apr 30 15:04:30 daniele12457: for pandaboard woes, please head over to #pandaboard - but be warned, the panda is basically dead. you're literally on your own. Apr 30 15:26:45 daniele12457: you could boot the kernel and then `cat /proc/kallsyms`. There might be a tool to dig them out somewhere in the linux source tree too (they have one for .config, at least). Apr 30 15:33:58 yup Apr 30 15:34:03 ty fishey1 Apr 30 15:34:06 that's waorked Apr 30 16:29:03 rcn-ee: hi u here? Apr 30 16:29:50 cityLights, around, just burning cpu cycles.. Apr 30 16:31:27 hi, I now have a working solution to wifi using a two devices from the same wifi usb Apr 30 16:31:36 cool! Apr 30 16:32:15 using a virtual wifi device I host an access point , then serve a web form to receive the wireless name and password, then connect to it Apr 30 16:32:25 I now need to packge it Apr 30 16:32:36 need to write that control file.... Apr 30 16:32:46 some small issues, still... Apr 30 16:33:36 any news with BBB? Apr 30 16:34:04 cityLights, small issues... ship it! ;) Apr 30 16:34:09 did anyone try to use btrfs as rootfs? Apr 30 16:35:11 btrfs should work, u-boot doesn't support it yet.. so you'll need a fat/ext "boot" partition with zImage/dtbs/etc... and on debian install "eatmydata" otherwise dpkg is slower then... paint drying.. Apr 30 16:43:52 Hey guys, any idea how i can run xinput-calibration through SSH? My display manager is lightdm. I know I have to set some environment variables, like DISPLAY and FRAMEBUFFER, but I am wondering if there is something I am missing Apr 30 16:44:14 For reference, I am able to run ts_calibrate over SSH, and it shows up on the screen as expected. Apr 30 16:47:45 billh whats the error msg? Apr 30 16:48:09 no protocol specified, unable to connect to X server Apr 30 16:48:26 I see many references to calling xinput first Apr 30 16:48:29 but I don't have that Apr 30 16:48:55 sorry, startx Apr 30 16:50:12 Alternatively, if xinput-calibrator is just giving me calibration numbers, can I not just paste in the ones I got from ts_calibrate? Apr 30 16:50:21 into my calibration.conf, that is Apr 30 16:51:35 Basically...the problem i am trying to solve is that while ts_calibrate follows my finger exactly, my mouse pointer refuses to go more than ~50 pixels from the right border of the screen no matter where I touch. Apr 30 17:11:21 is this a raw X or a distro X setup? Apr 30 17:12:34 Raw X, I believe. I built this debian a piece at a time Apr 30 17:12:53 okay. do you have xauth enabled? Apr 30 17:13:14 if so, make sure the Xauthority stuff is setup right Apr 30 17:13:27 Likely not, as I just ran it and it said .Xauthority does not exist Apr 30 17:13:36 Should I be doing this as root or my login user? Apr 30 17:13:40 what said it did not exists? Apr 30 17:13:49 the X server or your client ? Apr 30 17:13:51 xauth Apr 30 17:13:55 Ah Apr 30 17:13:57 no no Apr 30 17:14:02 xauth is the program to screw with that file Apr 30 17:14:27 "The Lost Art of X configuration" Apr 30 17:14:37 What do you mean by "client"? Apr 30 17:14:42 I am running this all through SSH Apr 30 17:14:55 X is a client server setup Apr 30 17:15:06 you have a X server and a client Apr 30 17:15:29 So far I understand. Apr 30 17:15:59 so... what do you not understand? :D Apr 30 17:17:35 in this case, how i can tell the answer to your question. ;) When I ran xauth over SSH, I get "xauth: file /root/.Xauthority does not exist" Apr 30 17:17:45 wait... what are you doingwhen you say "through SSH"? Apr 30 17:17:46 Not sure if that's the client telling me Apr 30 17:17:51 or over SSH Apr 30 17:18:07 I'm accessing the device over ssh from my desktop Apr 30 17:18:07 there are 2 disparate scenarios Apr 30 17:18:17 go on Apr 30 17:18:32 that doesn't identify which scenario Apr 30 17:18:51 And trying to run these touchscreen calibrations through that, as I am unable to do so on the device itself Apr 30 17:19:02 let me ask it differently Apr 30 17:19:06 sure :) Apr 30 17:19:09 what do you set DISPLAY to Apr 30 17:19:17 Ah, :0.0 Apr 30 17:19:41 is your desktop ARM or x86? (needed to id things in the next q) Apr 30 17:19:45 x86 Apr 30 17:19:58 Okay. whenyou run xinput-calibrator, is that an ARM binary or x86 binary? Apr 30 17:20:07 FWIW, I also set FRAMEBUFFER=/dev/fb1 Apr 30 17:20:10 arm Apr 30 17:20:30 okay. so you are not really running it THROUGH SSH Apr 30 17:20:57 how do you start the X server? startx? xdm? gdm? "X&"? Apr 30 17:21:06 lightdm Apr 30 17:21:13 I believe. Apr 30 17:21:24 blah that make it more complex Apr 30 17:21:29 I should be able to see it when I check my processes, correct? Apr 30 17:21:33 on lightdm, what user do you log in as? Apr 30 17:22:08 not quite.... display managers screw with some of that along with the suid bits clouding things Apr 30 17:22:40 It looks like root. I don't know for sure as I don't explicitly start it myself on boot, and I have not logged into the device other than remotely over ssh Apr 30 17:22:47 Is there a way to tell? Apr 30 17:22:51 Ohhhhh Apr 30 17:23:01 I installed it as part of lxde apt-get i believe Apr 30 17:23:02 so on your display for the device, do you see a long in dialog box? Apr 30 17:23:05 Y Apr 30 17:23:11 OHhhhhhh okay Apr 30 17:23:17 then none of what you are trying will work Apr 30 17:23:32 it is a "security thing" display manager generally do an exclusive grab on the server Apr 30 17:23:34 But because my touch input is messed up, i can't really get further unless i grab a keyboard and try to navigate with that. I wanted to see if this was possible thnough Apr 30 17:23:53 this also means you are using the distro crap Apr 30 17:24:11 OK, as you can tell i am new at this haha :P Apr 30 17:24:26 yes and distros are not helping either Apr 30 17:24:45 in this case, findyour distro support and ask them :P Apr 30 17:25:13 Alright, I think I'll try a keyboard first then, see if i cna just run it on the device Apr 30 17:25:55 (longer answer - to do what you want, you need to get beyond the DM either by a manual X start or logging in) Apr 30 17:27:05 distros are the root of all evil :D Apr 30 17:28:52 They can be pretty annoying sometimes Apr 30 17:29:15 But alas Apr 30 17:29:45 Nice to plug in stuff and have it just work, though Apr 30 17:30:59 that's an illusion started by the redmond folks Apr 30 17:32:07 Question for you while you're still here ds2. I've got a touchscreen on my beaglebone, improperly calibrated as you know, and occasionally when i try and touch it in just the right place, it completely freezes the device Apr 30 17:32:26 right. I remember that from yesterday Apr 30 17:32:33 Is that because it is improperly calibrated and is trying to draw the pointer somewhere it shouldnt? Apr 30 17:32:52 I am curious. Apr 30 17:32:57 with your symptoms, I would guess no Apr 30 17:33:17 need the console to refine the guess Apr 30 17:33:24 Admittedly, I did not take the advice to switch my display driver from modesetting back to fbdev, so I'm going to do that now. Apr 30 17:34:01 I suppose it is possible if the display driver is so screwed up but AFAIK, the fbdev drivers do check bounds Apr 30 17:34:04 To diagnose, what would you recommend I do? When it freezes, pull the SD card and mount it on my desktop to check the logs? Apr 30 17:34:11 no Apr 30 17:34:19 run it with a serial console on there and watch it as it crashes Apr 30 17:34:40 if that gives nothing, pop an i2c analyzer on it Apr 30 17:35:22 the number 1 debugging tool should be the serial console Apr 30 17:36:36 OK, I definately need to fix that then. I'm getting dropped characters on the TTL serial Apr 30 17:36:46 dropped?! Apr 30 17:36:49 what are you using? Apr 30 17:36:59 USB-TTL 3v3 FTDI cable Apr 30 17:37:06 odd Apr 30 17:37:14 I have a feeling it's this shield Apr 30 17:37:19 every one of those I used is rock solid Apr 30 17:37:33 This shield tends to mess things up Apr 30 17:37:36 shield AND serial!? you must have an extension Apr 30 17:37:53 this is a BBB right? Apr 30 17:38:02 Yes, with a chipsee BBB-EXP-C shield Apr 30 17:38:20 I made a little header that right-angles the serial pins so i can hook into it with a shield attached Apr 30 17:38:32 shield, cape, oops. Apr 30 17:39:01 ah check that Apr 30 17:39:18 i usually just wire wrap to bring it out Apr 30 17:39:45 I was thinking about it, but I decided this would work as well Apr 30 17:40:34 It seems good, my multimeter tells me it's <1ohm for each track Apr 30 17:40:47 Doesn't have any issues with flexing it while measuring either Apr 30 17:41:07 i.e. no crappy soldering joins for once ;) Apr 30 17:43:16 *shrug* Apr 30 17:43:30 Yep, I'm sure given enough scope time I'll figure it out Apr 30 19:23:11 Aha. Finally figured out why most of TI.com doesn't work for me. Apr 30 19:23:17 HTTPS Everywhere totally screws with it. Apr 30 19:50:48 I just bought a beagle lard black what do I need to know Apr 30 19:51:22 Beagleboard Apr 30 19:55:03 buy a decent psu, debug serial cable, THEN plug it in and power it up ;P Apr 30 22:00:22 * GenTooMan attempts to keep a straight face after reading some of the scroll back. Apr 30 22:08:19 :) Apr 30 22:35:14 the MBSP outputs can those emulate I2S? Apr 30 23:03:38 hi there! need some help trying to get a bbb running on f2fs partition, anyone can help? thanks! **** ENDING LOGGING AT Fri May 01 02:59:59 2015