**** BEGIN LOGGING AT Tue Oct 28 03:00:00 2014 Oct 28 03:51:41 I need a little help regarding BBB Oct 28 03:52:28 is there any light desktop for installing on ubuntu on BBB except LXDE? Oct 28 04:00:31 you can use blackbox or fluxbox Oct 28 04:00:41 those are pretty light, although they're barely a desktop Oct 28 05:36:00 hi Oct 28 05:36:19 dear sir i am trting to compile the kernel Oct 28 05:36:38 and following these steps Oct 28 05:36:51 http://elinux.org/Building_BBB_Kernel Oct 28 05:37:13 but after execute this command i got an error Oct 28 05:37:23 make ARCH=arm CROSS_COMPILE=arm-linux-gnu- uImage-dtb.am335x-boneblack gives me error saying "No rule to make target" Oct 28 05:37:28 plz help me Oct 28 05:37:58 ?? Oct 28 05:44:08 hi Oct 28 05:54:42 @jpfau...i tried to install blackbox and fluxbox but they are not working..nothing is appearing on the screen Oct 28 05:55:41 rao_: You need to start them. Did you add them to your xinitrc or trying to run them from an xterm while an X session is running? Oct 28 06:19:07 i didnt understand about it..can you please tell me or direct me to any link? Oct 28 06:20:16 https://wiki.ubuntu.com/CustomXSession---> can i follow this link? Oct 28 06:21:40 @jpfau...Sir...Can you guide me about this.? Oct 28 06:22:46 rao_: see how at the end of this file, it says "exec openbox"? https://wiki.ubuntu.com/CustomXSession#Sample_.2BAH4ALw.xinitrc_File Oct 28 06:23:19 you can make a simple xinitrc that just has the top line and that bottom line, but replace openbox with fluxbox or blackbox, or whichever you have installed Oct 28 06:27:03 sorry for one more stupid question...but the first line is xcompmgr -fF -I-.002 -O-.003 -D1 &? or export OOO_FORCE_DESKTOP=gnome Oct 28 06:32:42 #!/usr/bin/env bash-------> this is the first line Oct 28 06:32:50 and then exec fluxbox Oct 28 06:33:39 yes Oct 28 06:33:59 the #!/usr/bin/env bash line was what I meant by the first line Oct 28 06:49:21 @jpfau...its working perfectly..but my real problem still not solved...actually before fluxbox/blackbox i was running LXDE....and i cross compiled the QT-5.2 libraries...but when i am executing the application..it don't show any window Oct 28 06:49:27 can you tell me about this? Oct 28 06:49:44 does it give you any sort of errors? Oct 28 06:50:15 and when i tried to run the Qt application without any desktop enviornment (console only)..it worked but then i can not use the scree..i need to use it with SSH Oct 28 06:50:40 yeah for LXDE it said...failed to set graphics mode inappropriate ioctl for device Oct 28 06:51:07 but now for fluxbox and blackbox it is not saying anything...i can see he program is executed but i can not see any output Oct 28 06:51:34 hmm, sounds like it's trying to do something that isn't supported by the BBB, maybe something fancy with graphics, idk Oct 28 06:52:34 no...i m just executing a simple analog clock application Oct 28 06:53:16 Sorry, I don't know how to help beyond what I've already said Oct 28 06:53:22 without any desktop enviornment, it showed the analog clock but then i can not use the screen.i need to use SSH Oct 28 06:53:36 oh...okay ...really appreciate your help Oct 28 06:53:48 learned a new thing from you Oct 28 07:09:48 rao_, You need to start a graphical app from ssh console? Oct 28 07:10:15 (just wondering what "i can not use the screen.i need to use SSH" means) Oct 28 07:45:01 @MK_FG, i mean when i execute the QT graphical application from the terminal. then the screen hangs and i can not move mouse or even use the keyboard...then i use SSH to kill the application. But after killing application from SSH, i can not use keyboard and mouse again on the scree. So i need to use the SSH for interacting with the BBB. Or i need to restart the BBB for direct interaction. Oct 28 07:47:55 sounds like you're doing something wrong then Oct 28 07:49:06 are you starting the Qt apps as X11 apps or running them on the framebuffer? Oct 28 08:01:04 Anyone know stuff about https://github.com/rvfh/meta-ti/blob/master/recipes-kernel/linux/linux-mainline-3.2/beagle/0011-default-to-fifo-mode-5-for-old-musb-beagles.patch Oct 28 08:01:50 switched from fifo_mode 2 to fifo_mode 4 a while ago, but now it seems that 4 is bad as well Oct 28 08:07:58 @br..i have no idea about this thing..frambuffer and X11 Oct 28 08:08:12 can you tell me about it something Oct 28 08:25:22 hi Oct 28 08:25:28 lo Oct 28 08:30:42 Z Oct 28 08:31:49 @tbr..i studied about it and I am writing the application directly to the framebuffer using -platform linuxfb plugin as QT-5.2 doesn't support eglfs plugin. and eglfs supports X11 Oct 28 08:34:27 rao_: well if you bypass the x-server, no wonder that things go haywire Oct 28 08:36:43 any solution to this? Oct 28 08:39:58 yes, be consistent in what you do Oct 28 08:40:11 either go framebuffer or use Xorg Oct 28 08:41:21 quite a newbie here also with BBB, have a question regarding a problem faced with spidev with slow transfer rates with single byte transfers with SPI. Oct 28 08:42:48 what is "slow"? Oct 28 08:43:05 SPI is running at 16MHz on BBB, where byte transfer takes around 2-3 mS which is considerably large to drive an adafruit LCD Oct 28 08:43:35 then transfer more than one byte at a time Oct 28 08:43:43 tried burst transfers with nearly 3000 bytes at once which is very fast Oct 28 08:43:54 there you have it Oct 28 08:44:01 i need byte mode as the pixels to write are adressed Oct 28 08:44:18 write a whole line at a time Oct 28 08:44:38 anyone here today who knows about usb host? Oct 28 08:44:47 I know the words Oct 28 08:44:54 im trying to understand the problems a little more Oct 28 08:44:57 ask, dont ask to ask Oct 28 08:45:11 are they related to filtering capacitor and/or electrical noise? Oct 28 08:45:34 im thinking of try some experiments today with 3.8.13 kernel Oct 28 08:45:54 the thing is i want to use AdafruitGFX libraries and Adafruit LCD modules and dont want to modify the underlying code Oct 28 08:46:10 3.17.1 kernel fixes all usb host issues for me Oct 28 08:46:16 but no capemanager Oct 28 08:46:32 but why should a byte write takes 3 mS...? at 16MHz clock for SPI? Oct 28 08:46:39 how long before capemanager comes to 3.8.13? Oct 28 08:47:18 *3.17.1 Oct 28 08:48:02 but for QT only three plugins are available...linufx, minimal and offscree, Oct 28 08:49:00 av500: thank you for the reply, but the question is is it BBB related or arm related.. or am I doing something wrong here..? Oct 28 08:51:10 i used example code spidev_test.c from https://www.kernel.org/doc/Documentation/spi/spidev_test.c (not Quad SPI but an older version) Oct 28 08:55:13 The idea is to port Adafruit 2.2" LCD display ILI9340 to BBB (didn't see if someone already did it) using all the Adafruit LCD libs & graphics libs already available Oct 28 08:55:58 with only minor modifications so that it can be readily used by anyone Oct 28 08:58:13 anyone faced a similiar problem with SPI 'single byte' write taking nearly 3mS...(>8MHz SPi clock) any suggestions for improvement would be great... Oct 28 09:03:41 krsheshu: I guess it is the latency of making a single syscall and then setting up a single SPI transfer in the kernel Oct 28 09:03:53 again, why single byte writes? Oct 28 09:04:08 why not make writes to a backing buffer and then write that out fast? Oct 28 09:04:50 krsheshu: just for reference: a fast syscal takes about 10-20us, an average syscal is somewhere in the 100-200us region Oct 28 09:05:28 krsheshu: and this is just to get into the kernel, not doing much work Oct 28 09:05:53 krsheshu: any locks taken or memory access increase this many fold Oct 28 09:16:45 av500: it looks like if i do that way i need to modify the existing modules (which I dont want to take the pain, if there is an easy way) Oct 28 09:18:27 av500: writing single line once will also change the way how the animations are currently made in the LCD.. thats the issue Oct 28 09:20:49 ? Oct 28 09:21:59 KotH: do you mean a single ioctl call ? or something below this layer? (im not very experienced in internals to be frank) Oct 28 09:22:47 yes Oct 28 09:22:52 ioctl == syscall Oct 28 09:23:50 av500: thank you. so that means if i make a fast syscal i should get around 20us ? i use onyl one ioctl call Oct 28 09:23:58 lol Oct 28 09:24:04 you cannot choose how fast your syscall is Oct 28 09:24:11 :) Oct 28 09:24:18 syscall(....., DO_IT_FAST); Oct 28 09:24:32 +1 Oct 28 09:24:59 its controlled by kernel or ? can i set some priorities or something? Oct 28 09:25:04 no Oct 28 09:25:20 I would say, you cannot go much further from here without diving into the kernel Oct 28 09:25:25 into the spi driver Oct 28 09:25:33 adding some debug to see where time is spent Oct 28 09:25:44 maybe there is a way to reduce the latency Oct 28 09:25:44 learn to profile Oct 28 09:25:46 well... to make syscalls faster, you need to rewrite low level portions of the kernel Oct 28 09:25:57 its not the syscall Oct 28 09:25:58 its not this hard Oct 28 09:25:59 i think rewriting arduino code is faster Oct 28 09:26:01 its the SPI driver Oct 28 09:26:07 av500: that too Oct 28 09:26:41 basically, you can start having fun Oct 28 09:26:55 haha Oct 28 09:30:16 i think the spi LCDs are meant to be controlled from RTOSes, which I may have missed... Oct 28 09:30:24 nonsense Oct 28 09:30:33 SPI LCDs are controlled fine by any OS Oct 28 09:31:15 and, aren't there lots of showcases by now driving a spi lcd? Oct 28 09:31:24 IIRC even playing videa Oct 28 09:31:31 *video Oct 28 09:32:45 so why reinvent everything? Oct 28 09:32:46 https://www.youtube.com/watch?v=0C4lXej2H_I Oct 28 09:33:51 mdp: this video has not been done with putpixel(x,y,color) Oct 28 09:33:56 so please stop trolling Oct 28 09:34:09 oh, and good morning Oct 28 09:34:47 av500: awwwwww :-( Oct 28 09:34:57 understood, we have constraints that are insane here. continue then. Oct 28 09:35:47 mdp: hm, insane constraints or insanity contraints? if the latter, are they positive or negative? Oct 28 09:36:32 lost another customer..we'll never make any money at this :( Oct 28 09:37:20 but we kept the moral highground Oct 28 09:39:14 does that count as a legal high`? Oct 28 09:41:24 high would I know? Oct 28 09:47:34 mdp: why are you up so early? Oct 28 09:47:44 mdp: insomnia like mranostay? Oct 28 09:47:56 still a little off from .tw Oct 28 09:53:47 mdp: that's quite a bit off Oct 28 10:57:38 does the ti kernel support capemanager? Oct 28 11:01:11 which one? Oct 28 11:01:22 dunno Oct 28 11:01:27 --ti-kernel Oct 28 11:01:38 in the kernel updater script Oct 28 11:01:44 ill try it anyway :D Oct 28 11:01:55 its not like itll be any worse Oct 28 11:02:11 famous last words Oct 28 11:42:22 for a hobby project, i'd like to turn my beagleboard into a simple computer with screen and keyboard, but build it all into one case like an old arcade game. i don't want a gui, so it'll ideally just fit an old school 80x24 terminal. i'm new to the hardware scene, but i'd expect i'd need to buy some peripherals to give the board a screen + keyboard. any tips on what to look at first? Oct 28 11:47:07 wow beaglebone is so broken Oct 28 11:47:25 http://pastie.org/9680560 Oct 28 11:47:28 what the fuck Oct 28 11:48:56 ran out of space? Oct 28 11:49:03 maybe Oct 28 11:49:04 Moult: usb for keyboard Oct 28 11:49:12 im trying to remove _everything_ Oct 28 11:49:16 but its not going well Oct 28 11:49:21 buy an old VT100 for serial terminal Oct 28 11:49:37 as said, ignore emmc and use 8GB SD card Oct 28 11:49:47 if rpi can, so can you Oct 28 11:49:52 nah Oct 28 11:50:00 it needs to be vibration resistance Oct 28 11:50:02 av500: yep usb seems simple enough for keyboard Oct 28 11:50:04 *resistant Oct 28 11:50:07 av500: what about for screen? Oct 28 11:50:17 Moult: USB is broken too Oct 28 11:50:23 Moult: terminal? Oct 28 11:50:31 Laurenceb: ? Oct 28 11:50:36 nonsense Oct 28 11:50:46 usb host fails Oct 28 11:51:04 sigh Oct 28 11:51:22 im going to give it until the end of the week then ill literally set this thing on fire Oct 28 11:51:25 av500: yeah don't care about gui, so just terminal would be fine...although configuring font and colours would be nice Oct 28 11:51:35 Laurenceb: make sure to make a video of it Oct 28 11:51:48 yup Oct 28 11:51:50 Moult: then you need a better term than VT100 Oct 28 11:52:01 av500: yeah Oct 28 11:52:04 http://pastie.org/9680565 Oct 28 11:52:06 ok wtf Oct 28 11:52:08 why not a cheap HDMI monitor? Oct 28 11:52:13 how do i just remove all the shit?! Oct 28 11:52:13 av500: at a minimum i want to enjoy to play nethack :) Oct 28 11:52:29 Laurenceb: debian packaging Oct 28 11:52:33 I know nothing about it Oct 28 11:52:44 this is the default beaglebone.org flasher, WTF Oct 28 11:52:54 everything is broken, as i said Oct 28 11:53:09 ive yet to get a single BBB to even boot into a usable state Oct 28 11:53:17 after a week of trying full time Oct 28 11:53:40 these errors are during flashing? Oct 28 11:53:49 beaglebone.org build has a segfaulting python2.7 Oct 28 11:53:52 av500: actually, i might consider a vt100, got any links i can look at? Oct 28 11:53:56 ebay? Oct 28 11:54:08 av500: im ssh in and trying to fix python Oct 28 11:54:16 ah Oct 28 11:55:35 av500: well, what do i search for? vt100 gives me nothing Oct 28 11:55:47 does apt use python? Oct 28 11:55:51 well, you are late by a few decades :) Oct 28 11:55:56 it seems to be segfaulting Oct 28 11:56:37 hmf Oct 28 11:56:42 this is unfixable Oct 28 11:56:46 wtf Oct 28 11:57:03 can someone like my to a image that boots? Oct 28 11:57:07 and works Oct 28 11:57:12 *link me Oct 28 11:57:23 it all depends on the definition of 'working' Oct 28 11:57:24 as i cant even find one :-/ Oct 28 11:57:29 python runs Oct 28 11:57:42 as i need python to run the update_kernel.sh script Oct 28 11:57:51 beaglebone.org has broken python Oct 28 11:58:14 av500: surely there are modern simple cheap monitors which are functionally equivalent to a vt100? Oct 28 11:59:04 er no Oct 28 11:59:13 this is a classic catch22 Oct 28 11:59:15 much like steam engines went out of business Oct 28 11:59:17 its impossible to fix Oct 28 11:59:39 can you post this on the mailing list? Oct 28 11:59:45 hmm Oct 28 11:59:46 Laurenceb: so you want to change the kernel? that's not necessarily trivial and certainly error prone. Oct 28 11:59:46 with exact revision of image used? Oct 28 11:59:55 tbr: kernel update should work Oct 28 12:00:11 av500: from 3.8.13-x to x+1, sure :) Oct 28 12:00:13 it should not fail due to python Oct 28 12:00:21 Linux beaglebone 3.8.13-bone50 #1 SMP Tue May 13 13:24:52 UTC 2014 armv7l GNU/Linux Oct 28 12:00:33 i got the eMMC flasher from beaglebone.org Oct 28 12:00:39 av500: lame, so what should i look at? cheap hdmi monitors? Oct 28 12:00:50 default python is python2.7, and it segfaults Oct 28 12:01:15 http://www.ebay.com/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR3.TRC2.A0.H0.Xserial+terminal&_nkw=serial+terminal&_sacat=0 Oct 28 12:01:34 not much indeed Oct 28 12:02:22 ok i have a plan Oct 28 12:02:29 use python2.6 Oct 28 12:02:44 http://www.ebay.com/sch/i.html?_odkw=&_osacat=162075&_from=R40&_trksid=p2045573.m570.l1313.TR10.TRC0.A0.H0.Xterminal&_nkw=terminal&_sacat=162075 Oct 28 12:02:59 has some Oct 28 12:03:49 hmm...2.7 have been around for so many years. going to 2.6 doesn't make sense. you can better look into the error you are getting Oct 28 12:04:19 wuhaha Oct 28 12:04:21 works Oct 28 12:08:49 and boots Oct 28 12:08:56 av500: do you know if the latest debian build on the bbb has X preinstalled? Oct 28 12:09:03 no sign of capemanager in the TI kernel :-/ Oct 28 12:09:11 is it possible to use the ADC? Oct 28 12:10:57 ask TI? Oct 28 12:11:11 (I'd expect so) Oct 28 12:19:54 hmm Oct 28 12:20:11 no iio in /sys/bus Oct 28 12:22:54 if there is no cape manager, then you need a proper DT preloaded Oct 28 12:24:46 what is a DT? Oct 28 12:27:10 device tree Oct 28 12:27:38 ah Oct 28 12:28:35 you need to tell the kernel which devices are there that need drivers loaded and be made available etc Oct 28 12:34:22 and than use overlay Oct 28 12:34:23 haha Oct 28 12:38:42 hmm Oct 28 12:38:54 im going to go back to the 3.8.13 kernel Oct 28 12:43:07 if i can work out how Oct 28 12:43:14 --kernel 3.8.13 fails Oct 28 13:09:23 Morning All. Oct 28 13:09:59 hi Oct 28 13:10:06 hmf Oct 28 13:10:13 ever get that emmc flashed? Oct 28 13:10:18 not usably Oct 28 13:10:23 still working on it now Oct 28 13:10:28 Aww - that sucks. Oct 28 13:10:32 atm i am trying to fix python Oct 28 13:10:39 python 2.7 segfaults Oct 28 13:10:50 with the beaglebone.org image Oct 28 13:11:12 Shouldn't that function out-of-the-box? :) Oct 28 13:11:34 it should, but this is beaghlebone we are talking about Oct 28 13:12:46 for some reason pip isnt running with python2.6 Oct 28 13:12:54 and i need pip to test gpio Oct 28 13:13:18 Setting up python2.7 (2.7.3-6+deb7u2) ... Oct 28 13:13:18 Segmentation fault Oct 28 13:13:21 argggggggggggg Oct 28 13:13:30 anyone here in the UK? Oct 28 13:13:42 you do not need pip for gpio really Oct 28 13:13:54 i know but it helps Oct 28 13:13:55 you can always tinker with /sys yourself and shell Oct 28 13:14:13 E: Sub-process /usr/bin/dpkg returned an error code (1) Oct 28 13:14:26 so in a week of trying ive only made negative progress Oct 28 13:14:50 anyone got any ideas how to fix this? Oct 28 13:15:05 is there another eMMC flasher image anywhere? Oct 28 13:15:18 other than the broken one form beaglebone.org? Oct 28 13:15:21 *from Oct 28 13:17:16 hmf Oct 28 13:17:44 pity they dont ship with debian Oct 28 13:17:49 or id buy a new board Oct 28 13:18:40 ? The element14 version of the beaglebone black ships with Debian. Oct 28 13:18:46 oh Oct 28 13:18:47 cool Oct 28 13:18:51 ill order some Oct 28 13:19:23 Linkage -> http://www.adafruit.com/products/1876?gclid=CNbL4_C3z8ECFRJp7Aod6xgAwg Oct 28 13:19:49 Debian Linux w/the 3.8.13-bone kernel - Specifically. Oct 28 13:21:27 if only they had an image Oct 28 13:22:28 as i cant seem to find a way to fix this mess Oct 28 13:23:06 You're saying that the version on here http://beagleboard.org/latest-images is borked? Oct 28 13:23:17 Has someone make work the Miniature WiFi (802.11b/g/n) for the BBB using the newest version of Angstrom kernel 3.8+ ? Oct 28 13:23:17 yes Oct 28 13:23:31 RangerGeek: python segfaults Oct 28 13:27:22 LaurenceB - you might try posting on the bbb adafruit forum as well to see if they have an image available. http://forums.adafruit.com/viewforum.php?f=49 Oct 28 13:27:37 ok Oct 28 13:27:54 i suspect this is fixable Oct 28 13:28:04 i managed this fix yesterday, but didnt make notes Oct 28 13:28:19 bricked my BBB last night and had to reflash Oct 28 13:29:19 http://pastie.org/9680737 Oct 28 13:34:45 looks like there's multiple images on this site as well toward the bottom - http://elinux.org/Beagleboard:BeagleBoneBlack_Debian Oct 28 13:36:17 Laurenceb: stupid question: do you have a serial cable for the debug-serial port? Oct 28 13:37:20 i could make one Oct 28 13:37:30 -.- Oct 28 13:37:36 ah thanks for the link Oct 28 13:37:38 Laurenceb: you most likely didnt brick anything Oct 28 13:37:48 most likely just something not running right Oct 28 13:37:54 ok Oct 28 13:38:08 but instead of trying to look at what your linux does, you prefere to fly blind Oct 28 13:38:12 * KotH shakes head Oct 28 13:38:55 heh Oct 28 13:39:03 jessie kernel: 3.14.19-ti-r30 Oct 28 13:39:10 ^thats without cape manager right? Oct 28 13:39:23 * KotH as no idea Oct 28 13:40:02 Darn work laptop's firefox keeps crashing. Oct 28 13:54:22 can a device tree expert help me understand nodes marked with `&`? See here (http://paste.debian.net/129062/) starting at line 73 Oct 28 13:55:47 it appears to be some sort of overlay -- but I can't find any documentation about its use Oct 28 13:59:26 panto: ^^^ Oct 28 14:05:49 KaaK, it's a phandle reference Oct 28 14:06:29 it's not an overlay, it's a dts include file Oct 28 14:09:55 hehe you awake panto Oct 28 14:10:05 hi woglinde Oct 28 14:10:18 I was summoned by a bear Oct 28 14:10:20 jo panto saw your elce talk Oct 28 14:10:29 twice by accident Oct 28 14:10:34 lol Oct 28 14:10:41 twice the pain, none the gain Oct 28 14:10:47 or better one and half Oct 28 14:11:00 the second half the first time I was sleepy Oct 28 14:12:42 my droning on does not help in awakeness Oct 28 14:23:11 ok i reflashed Oct 28 14:23:18 now the usb mini B is dead Oct 28 14:23:31 nothing showing on on lsusb from my pc Oct 28 14:23:50 conenct a serial cable Oct 28 14:23:57 i dont have one Oct 28 14:24:00 get one Oct 28 14:24:00 grrr Oct 28 14:24:16 they are like 1usd with fake FTDI on ebay Oct 28 14:24:27 shipping included Oct 28 14:31:27 https://lh4.googleusercontent.com/-3oca40vrH-g/Ubd5TjD-0_I/AAAAAAAAALU/-GibZBaTvKk/s400/beaglebone-black-serial.jpg Oct 28 14:31:38 is that from the point of view of the BBB? Oct 28 14:31:56 i think thats from the point of view from above the BBB Oct 28 14:32:00 ok Oct 28 14:32:06 cp2102 time Oct 28 14:32:15 check schematics to be sure Oct 28 14:32:27 do not trust some random pic from the intarwebz Oct 28 14:33:52 its correct Oct 28 14:36:14 what are the usart settings? Oct 28 14:36:19 115200? Oct 28 14:36:30 * woglinde still wonders why people starting without serial console support Oct 28 14:39:23 woglinde: they dont know any better Oct 28 14:42:02 koth uhm Oct 28 14:44:48 hmf Oct 28 14:44:55 looks fine from the terminal Oct 28 14:45:15 i cant seem to get any response to commands tho Oct 28 15:02:53 hmm Oct 28 15:03:10 now trying with bone50 build of 3.8.13 Oct 28 15:03:17 nothing on lsusb still Oct 28 15:03:19 wtf is going on Oct 28 15:03:38 maybe something is broken Oct 28 15:03:45 checked the cable? Oct 28 15:04:41 ill try replacing it Oct 28 15:04:56 i had the same problem for a few hours yesterday Oct 28 15:05:01 never found out what it was Oct 28 15:05:08 tried on windows7 etc, no luck Oct 28 15:05:21 should i be able to enter commands via serial? Oct 28 15:05:27 atm i can only get output Oct 28 15:05:48 both Oct 28 15:05:54 there should be a console on it Oct 28 15:06:00 hmm Oct 28 15:06:04 disable all flow control Oct 28 15:06:09 yeah sure Oct 28 15:06:16 ive soldered a cp2102 onto it Oct 28 15:06:40 ok ill give up on this and try serial again Oct 28 15:10:23 arg Oct 28 15:10:42 somethings broken with my hardware Oct 28 15:12:43 http://xkcd.com/349/ Oct 28 15:12:50 only in my case thats over the past week Oct 28 15:14:03 ok just got some new BBB from farnell Oct 28 15:14:06 ethernet works Oct 28 15:14:11 phew Oct 28 15:26:57 usb 1-1: usb_disable_device nuking all URBs Oct 28 15:26:59 damn Oct 28 15:27:13 "nuking" is permanent Oct 28 16:15:13 is it possible to accress gpio registers with c? Oct 28 16:15:42 in the kernel? yes. in userland? no Oct 28 16:16:51 i see Oct 28 16:17:07 someone seems to have done it with /dev/mem Oct 28 16:24:10 ah, heh. I guess there is that Oct 28 16:26:29 Laurenceb: you can access them from c Oct 28 16:26:42 Laurenceb: there is a docu about how to do that Oct 28 16:26:46 ok Oct 28 16:26:53 im trying to access gpio3_13 Oct 28 16:26:55 Laurenceb: and don't dare to use /dev/mem Oct 28 16:26:58 to control usb power Oct 28 16:27:02 ok lol Oct 28 16:27:18 i tried using python, it has no effect on gpio3 Oct 28 16:27:37 https://www.mail-archive.com/beagleboard@googlegroups.com/msg02852.html Oct 28 16:28:00 basically im trying to steal the pin from the usb driver Oct 28 16:28:24 looks like you are locked out from pin 13 via the gpio driver Oct 28 16:29:07 Laurenceb: you cannot steal a pin Oct 28 16:29:13 Laurenceb: the pinmux has to be set correctly Oct 28 16:29:18 Laurenceb: use DT for that Oct 28 16:29:21 oh Oct 28 16:29:23 hmm Oct 28 16:32:20 is it possible to control gpio3_13 from user space? Oct 28 16:43:14 panto, sorry -- got caught up in a meeting. When a phandle is referenced in an include file, does that simple add properties to that node that it references? Oct 28 16:43:56 if it's of the form &foo { bar = "baz"; }; yes Oct 28 16:44:15 panto, do you have a place where I read up on this usage? I only see phandle dereferences from within nodes' cell properties Oct 28 16:44:53 excellent tutorial: http://events.linuxfoundation.org/sites/events/files/slides/petazzoni-device-tree-dummies.pdf Oct 28 16:55:45 i cant write to slots Oct 28 16:55:50 -bash: /sys/devices/bone_capemgr.9/slots : No such file or directory Oct 28 16:56:43 are you sure there were no kernel panic? Oct 28 16:57:39 dmesg | tail Oct 28 16:57:54 oh yeah Oct 28 16:58:07 i need to add -00A0 to the end? Oct 28 16:58:35 nope Oct 28 16:59:28 wtf Oct 28 16:59:32 i dont understnad this Oct 28 16:59:45 whats with the file extensions? Oct 28 17:01:22 panto, thanks! I've been reading up and found that yesterday -- just browsed it again, and I'm still not finding a single use of that phandle dereference in include files ... Oct 28 17:02:01 it's a common idiom Oct 28 17:02:09 I'm developing a love-hate relationship with DT -- they're great, but the docs are nearly non-existent Oct 28 17:02:25 yeah ive reached my limit Oct 28 17:02:37 unless i get this working today im quitting Oct 28 17:04:31 can anyone explain to me how i should name the file? Oct 28 17:06:49 nope? Oct 28 17:08:45 is there any literature on device tree includes? I'm finding plenty of docs online about basic concepts, and ABIs, but understanding `arch/arm/boot/dts/*` is pretty daunting without _really_ understanding includes Oct 28 17:38:02 what is the general workflow being used for the linux git repo? (https://github.com/beagleboard/linux) Oct 28 17:38:29 additionally, what is it tracking? bbb specific patches to the vanilla kernel? Oct 28 17:40:07 i guess in a word -- what is its purpose? why not just use the upstream repository? Oct 28 17:40:38 what hole does it fill? Oct 28 17:42:50 KaaK rcn has no access to kernel.org? Oct 28 17:43:10 KaaK do you have an account on kernel.org? Oct 28 17:46:16 woglinde, this isn't an attack -- no shit we're not core contributors to the mainline kernel. I'm just attempting to understand how and what work goes into this repo Oct 28 17:46:51 KaaK write an email to rcn and he maybe answers you Oct 28 17:48:19 what repository are you talking about? Oct 28 17:48:32 https://github.com/beagleboard/linux Oct 28 17:49:40 part of my confusion also stems from the depreciated kernel repo (https://github.com/beagleboard/kernel) -- which appears to have been a set of patches applied against the vanilla kernel Oct 28 17:49:59 i believe it is used as a staging area to work on code not yet ready for mainline, or backporting features to older versions which would not be acceptible for bugfixes in the older versions Oct 28 17:50:42 KaaK again ask Robert C. Nelson Oct 28 17:50:52 or jkridner Oct 28 17:51:04 essentially, you want to have confidence that the code works before proposing to mainline... Oct 28 17:51:13 nobody else will give you a detailed answer Oct 28 17:51:26 Hello everyone! Oct 28 17:51:46 * vagrantc waves Oct 28 17:52:00 Anyone have any cool projects cooking? Oct 28 17:53:12 experimenting with temperature compensated NTP clock (for GPS signal holdover) Oct 28 17:54:27 http://dan.drown.org/bbb/temp-clock.png Oct 28 17:55:16 Thats cool! Oct 28 17:55:17 using a DS18B20 temperature probe Oct 28 17:55:24 and GPS reciever Oct 28 17:55:50 I just finished designing a cellular/xbee/can gateway cape Oct 28 17:56:52 you have something automotive planned? Oct 28 17:57:47 My work has precertified cellular modems and we wanted to make a easy dev board for the beaglebone Oct 28 17:58:15 cool, it's always nice when someone has done the work for you Oct 28 17:58:19 I'm going to be cooking up a cape to control several brushed DC motors as part of my CE senior project. Oct 28 17:58:23 Thats my job :D Oct 28 17:58:59 I think we are putting one in an electric porsche and another in a solar car to allow for system monitoring via the cloud Oct 28 18:02:01 GJN, what sort of modems are you playing with? Oct 28 18:02:40 i'm currently evaluating the bbb in a distributed network (on the cell network) Oct 28 18:03:13 playing around with the sierra wireless mc7750 and mc7354 Oct 28 18:47:35 KaaK, are you still around? Oct 28 18:52:50 The Cellular Modem is manufactured by Nimbelink, and is called the Skywire Cellular modem Oct 28 19:00:27 Beaglebone Black is awesome Oct 28 19:00:47 but is er somthing like a webinterface like webmin that works on beaglebone black revc Oct 28 19:04:25 Whoopsie install cloud image and you have some webinterface Oct 28 19:04:37 or install debian and the webmin debian package Oct 28 19:05:40 woglinde, i already got debian on in Oct 28 19:06:27 apt-cache search webmin Oct 28 19:07:04 rao_, Necro-reply, but I'm afraid I haven't got what exactly seem to be the problem there - the fact that mouse/keyboard stops working (in which case, you might want to check X logs and e.g. xinput) or that you can't physically access these and need to restart some apps on X screen remotely (in which case just set DISPLAY env var and start them from ssh - should work in most cases) Oct 28 19:14:12 does not work woglinde Oct 28 19:14:24 mabye this works http://signalraiders.com/ Oct 28 19:14:53 KaaK, There are tarballs with patches for vanilla kernel versions to rcn ones, so you can probably see what's the diff there quite easily (iirc it's not a lot for >3.8 without cape manager, mostly drivers) Oct 28 19:15:11 Whoopsie its long time since I used webmin Oct 28 19:16:12 woglinde, i use debian a long time on my homeserver i installed that but on beaglebone does it not work right now Oct 28 19:33:22 Whoopsie whats not working right? Oct 28 19:34:05 beaglebone is off right now Oct 28 19:34:19 but something with LC_ does not working Oct 28 19:34:21 hm that is an intressting error Oct 28 19:34:28 ah Oct 28 19:34:30 did fix that but nothing helps Oct 28 19:34:31 only lang setup Oct 28 19:34:37 jup Oct 28 19:34:46 thats easy to solve Oct 28 19:34:49 install locales Oct 28 19:34:59 did Oct 28 19:35:12 but wil try that again tommorrow Oct 28 19:35:22 thx Oct 28 19:45:34 hello.. Oct 28 19:45:43 I am new to beagle board black.. Oct 28 19:46:10 I was wondering where I can download the sources for beagle bone black rev C Oct 28 19:46:34 build it my self on a ubuntu machine and boot it Oct 28 19:46:56 where can I get the source code and build instructions. Oct 28 19:47:21 http://beagleboard.org Oct 28 19:49:29 which image is stable amstrong or debian for further driver development on that.. Oct 28 19:52:29 specifically .. http://beagleboard.org/latest-images Oct 28 19:52:57 either or .. take your preference Oct 28 19:54:12 if you wish to go a bit more cutting-edge I can recommend .. https://eewiki.net/display/linuxonarm/BeagleBone+Black .. but there is no cape support beyond kernel version 3.8 that I'm currently aware of. Oct 28 20:11:23 how to use al of the 65 possible digital i/o s ? Oct 28 20:34:10 read the bone101 page Oct 28 20:35:12 * vagrantc notes that webmin was removed from debian in 2006 Oct 28 20:49:05 hi.. veremit.. are the source code on git hub.. https://github.com/beagleboard Oct 28 20:49:13 working ones.. Oct 28 20:49:36 dunno Oct 28 20:49:53 I would assume so ... but assumptions are dangerous :) Oct 28 20:51:42 ok.. thanks a lot.. Oct 29 00:17:51 I am teaching a course on system design using BBB, I have done enough experiments with I/Os, A/D. I want to use some timer interupts based experiments for my classs. I choose Python as the language for my class. Oct 29 00:19:11 How to I get data sheet for the Micro procesor that is being used so I can tap into Special function register etc. Oct 29 00:20:28 Another thing is I could not find a good libray reference for Adafruit Python library. Oct 29 00:20:47 good luck Oct 29 00:22:37 I could have used C++ or python I choose Python for change. Oct 29 00:22:44 of: The library reference to a Python module is the source code to the module, in the absence of outside documentation. Oct 29 00:23:09 of: As for the documentation for the processor, there you are looking for the TRM and SRM. Oct 29 00:24:22 hey.. came across a question about BB-SPIDEV Oct 29 00:24:29 Could you kindly explain TRM and SRM Oct 29 00:24:52 of: I could. Oct 29 00:24:53 in cape overlay: spi-max-frequency = <16000000> Oct 29 00:25:29 but if we have 48MHz refclock and divisor is 2^n, hardware would run at 12Mhz instead? Oct 29 00:26:15 Thanks agmlego Oct 29 00:26:43 of: No problem. Oct 29 00:29:21 I am interested on creating Timer based interrupts Oct 29 00:30:34 python for the BBB is pretty sad Oct 29 00:30:37 i hear ruby is way better ;) Oct 29 00:30:48 but what youre looking for isnt going to be readily available in either Oct 29 00:31:37 look at the docs for pru programming if thats what you want Oct 29 00:34:16 of: YOu know you can do all sorts of timer-based stuff in the underlying operating system, right? Oct 29 00:34:29 of: What level of precision are you looking for? Oct 29 00:36:19 agmlego: should I use shell scripting for this purpose Oct 29 00:37:42 agmlego: I don care for precision. Oct 29 00:39:04 agmlego: I want to perfor some hardware task with ISR, timer based Oct 29 00:40:16 agmlego: any souce or link for TRM and SRM Oct 29 00:50:20 ~I'm not sure you have access to ISRs in linux directly. At all. Oct 29 00:50:32 you do on an arduino though .. very good micro :) Oct 29 00:51:07 easy SPI/ UART and other interfaces .. great documentation, library support ... Oct 29 00:52:00 timers, PWM too Oct 29 00:52:47 using a high level language and an operating system to access core functions is probably not the best example. Oct 29 02:41:33 where can I find bonescript examples? Oct 29 02:41:48 I'd like a web page with buttons and some plots Oct 29 02:42:04 I have python code I'd like to call when the button is pressed Oct 29 02:42:26 then display output data in the web browser window Oct 29 02:42:42 I don't really need bonescript Oct 29 02:42:51 anything simple that runs in the web browser is fine Oct 29 02:43:48 ...like Python? Oct 29 02:44:57 a web interface to the python code Oct 29 02:45:14 ...like Python. Oct 29 02:45:16 a simple gui for a demonstration Oct 29 02:45:34 YOu can do server-side web stuff with python the same way you can do server-side stuff with PHP. Oct 29 02:45:55 See: All of Google's support pages. Oct 29 02:46:47 url? Oct 29 02:49:02 http://lmgtfy.com/?q=python+web+service Oct 29 02:55:41 Yeah, that is more than I need. I really just want a simple example I can modify. Oct 29 02:57:43 Well, I am sure you know how to use a search engine as well as I. ;-P **** ENDING LOGGING AT Wed Oct 29 03:00:00 2014