**** BEGIN LOGGING AT Thu Jun 21 02:59:58 2012 Jun 21 07:56:21 Finally got my Beaglebone capturing video via UVC camera :) Jun 21 08:28:36 nice Jun 21 08:28:59 care to put a writeup of it somewhere? Jun 21 08:36:58 what is the command to view the dependency of a .so on beagleboard? Jun 21 08:37:27 ldd not? Jun 21 08:41:16 yes ldd Jun 21 08:42:25 one question...what i need to using gstreamer? i insall gst-plugin-base,gstreamer-ti,libgstaudio but don't work...i think i need another package Jun 21 09:42:21 stuk_gen: what error does streamer give ? Jun 21 09:43:06 gmpff: if i using qt phonon..its says that i need libgstreamer-plugin-base Jun 21 09:43:13 gmpff: but i've just installed Jun 21 09:43:37 gmpff: i think i need some packet but i don't know what Jun 21 09:44:12 which distro ? Jun 21 09:44:15 angstrom Jun 21 09:47:09 So you installed gst-plugins-base-dev ? Jun 21 09:47:24 I don't have Angstrom device booted up so I can't look at opkg now. Jun 21 09:49:19 gmpff: i install gst-plugin-base Jun 21 09:50:13 plugins* Jun 21 11:23:21 stuk_gen: does installing gst-plugin-base-dev not resolve your problem ? Jun 21 11:23:31 gmpff: no Jun 21 11:24:16 ok Jun 21 11:31:26 hmm, big.little = am.pru ;) Jun 21 11:45:00 aholler, ;) Jun 21 11:45:57 * mdp finds a printed copy of the 1995 linux kernel hackers guide while cleaning up the basement Jun 21 11:47:42 just have read the article at lwn about big.little, so it looks like there were really some interesting topics at LC in HK ;) Jun 21 11:48:47 ahh, 0.6 alpha version is at https://www.cs.elte.hu/local/Linux-bible/khg/khg.html Jun 21 11:48:56 my how things have changed Jun 21 11:49:28 aholler, yeah, panto (who is around here) works on big.little scheduler stuff... Jun 21 12:02:53 hi mdp Jun 21 12:03:13 aholler, yeah - lots of activity nothing to show for it yet :) Jun 21 12:04:14 hi panto Jun 21 12:13:35 koen: fyi: the current sgx drivers in oe-core works for me with linux 2.6.39 on Beagle C3. don't know if that info is worth anything to you :) Jun 21 13:16:57 heyall Jun 21 13:18:14 Hi, i'm using a BeagleBone. I'm programming on my pc with arm-linux-gnueabi-g++ to compile for the beaglebone. It seems some libraries i use like opencv and artoolkitplus are incompatible (Eclipse tell me that it is skipping te library because it is incompatible when i try to compile). Do you know how i could solve this ? I'm relatively new to ubuntu and cross-compiling... Thanks Jun 21 13:18:14 heyuniverse Jun 21 13:23:01 seb_workfly: follow the angstrom instructions or build natively Jun 21 13:28:52 i am getting "U-Boot SPL 2011.09-00000-gf63b270-dirty (Nov14 2011 - 10:37:14) Jun 21 13:28:53 Texas Instruments Revision detection unimplemented Jun 21 13:29:08 Incorrect magic number in EEPROM Jun 21 13:29:21 read_eeprom() failure Jun 21 13:29:23 : Jun 21 13:29:27 0, Jun 21 13:29:28 "" Jun 21 13:29:35 koen:what do you mean by building natively ? i installed ubuntu on my beaglebone Jun 21 13:29:48 not natively... Jun 21 13:30:01 it's the sd card image which came with my beagle bone Jun 21 13:30:13 seb_workfly, he means to build on he bone Jun 21 13:30:17 *the Jun 21 13:30:48 (which on ubuntu is actually your best option) Jun 21 13:32:51 anyone having any idea what can be wrong with the configuration?? Jun 21 13:34:07 i followed a tutorial and played with leds and helloworld thing and i built on my pc with no problem. if i build on the bone directly, i wont have library problems ? I don't understand why :/ Jun 21 13:35:14 because cross-compiling is not native compiling Jun 21 13:36:09 it's that easy ;) Jun 21 13:36:12 i'm trying running qt phonon gstreamer but i have some problem...this is gst-inspect http://pastebin.com/kiDNysw7 is there something wrong? Jun 21 13:37:18 i installed gst-plugins-base... but qt says that i haven't install gst-plugins-base Jun 21 13:37:46 seb_workfly: if you're using ubuntu then you need to ask in the ubuntu channel Jun 21 13:40:19 but i think the problem comes from compatibility between the libraries and arm architecture, no ? Jun 21 13:44:32 what install gst-plugins-base? Jun 21 13:44:49 i think the problem is gst-plugins-base install nothing XD Jun 21 13:45:05 man opkg Jun 21 13:45:25 * ogra_ doubts that will be found on ubuntu ;) Jun 21 13:45:52 aholler: lol man command not found Jun 21 13:46:02 ogra_: stuk_gen doesn't fight with ubuntu ;) Jun 21 13:46:16 aholler: ubuntu? Jun 21 13:46:20 aholler: i'm in angstrom Jun 21 13:46:48 aholler, geez, sorry, blind man on this keyboard today Jun 21 13:47:12 I assume he hasn't said this today ;) Jun 21 13:47:44 i don't know why if i use opkg install somepackage Jun 21 13:47:52 this fails witho somepackage not found Jun 21 13:48:03 but if i use wget http....blabla...somepackage Jun 21 13:48:11 opkg install somepackage this works Jun 21 13:48:34 and the package is take from angstrom repos Jun 21 13:55:18 stuk_gen: opkg update ; opkg install gst-plugins-base-meta Jun 21 13:55:24 is there a way to using opkg install gst-plugins-* Jun 21 13:55:39 koen: ok i'm trying Jun 21 15:00:48 to add hdmi support to beagle who pays for that loyalty/license fee? Jun 21 15:01:30 it's not matter of licensing Jun 21 15:01:38 it's matter of hardware on bb Jun 21 15:01:51 and bb has only dvi serialiser Jun 21 15:01:55 i'm not sure about xM Jun 21 15:02:07 neither has actual hdmi Jun 21 15:02:10 only the connector Jun 21 15:02:16 and there's no fee for using the connector Jun 21 15:02:39 well, is there a fee for hdmi? Jun 21 15:02:41 you need to pay to use the HDMI(tm) trademark Jun 21 15:02:45 i though they reused dvi spec Jun 21 15:02:46 http://www.hdmi.org/manufacturer/terms.aspx Jun 21 15:02:59 and you need to pay a lot to get HDCP keys should you want that Jun 21 15:02:59 and that's free and everything Jun 21 15:03:10 mru: you can get them free of the interwebs Jun 21 15:03:12 hdmi is largely overlapping with dvi Jun 21 15:03:25 yes, I know the master key was cracked Jun 21 15:03:30 that's beside the point Jun 21 15:03:38 mru: overlapping but has extra cool features Jun 21 15:03:57 mru: for hdcp is more trick, TI will need to burn the key, and both TI and its customer need sign NDA and pay Jun 21 15:04:06 hdmi defines data islands for audio and other low-bandwith stuff Jun 21 15:04:13 a chip with/without hdcp will be sold differently, those with hdcp is more pricey Jun 21 15:04:24 recent versions of the spec also add crazy stuff like ethernet Jun 21 15:04:43 mru: we're using that indeed, it's 100Mbps Jun 21 15:05:05 well, i think HDMI as such should have never been created Jun 21 15:05:09 dvi supports a wider range of timings Jun 21 15:05:15 it should have been 1G ethernet or 10G ethernet Jun 21 15:05:24 and compress the data Jun 21 15:05:30 bullshit Jun 21 15:05:39 or in case of all dvd's and stuff, just decompress it on display Jun 21 15:05:43 when dvi was defined, 10G ethernet was barely heard of Jun 21 15:05:52 well, you have 1G ethernet Jun 21 15:05:57 not enough bandwidth Jun 21 15:06:03 enough for compressed streams Jun 21 15:06:15 are you totally out of your mind? Jun 21 15:06:22 it's a display interface Jun 21 15:06:28 you can't even assume the image is compressible Jun 21 15:06:31 i noticed there are some chips removed hdmi port from design due to the cost Jun 21 15:06:32 yeah, people should need to setup networks to use tv(-players) Jun 21 15:06:41 instead they do dvi + audio Jun 21 15:06:47 mru: be nice :P Jun 21 15:07:02 mranostay: that was me being nice Jun 21 15:07:04 mru: well, blu ray is 36Mbits Jun 21 15:07:05 why doing something simple if it can be complicated ;) Jun 21 15:07:06 and hmmm Jun 21 15:07:08 want to see me being rude? Jun 21 15:07:18 jacekowski: irrelevant Jun 21 15:07:20 heh Jun 21 15:07:47 dvi and hdmi are _display_ interfaces Jun 21 15:07:53 1080p(((1920 * 1080 * 32 * 30) / 8) / 1024) / 1024 Jun 21 15:07:59 237MB/s Jun 21 15:08:11 you're holding it wrong Jun 21 15:08:17 or 2Gbits Jun 21 15:08:21 under 2Gbits Jun 21 15:08:22 koen: now i can play video (slow) but i can't listen audio Jun 21 15:08:28 way more than 1Gbit Jun 21 15:08:48 mru: 2Gbits Jun 21 15:08:55 yes, 2 > 1 Jun 21 15:09:03 and your calculation is flawed Jun 21 15:09:07 you need more bits than that Jun 21 15:09:09 32bits Jun 21 15:09:17 there's overhead Jun 21 15:09:22 and audio Jun 21 15:09:32 first HDMI had under 2Gbits Jun 21 15:09:39 because hdmi could do 60fps Jun 21 15:09:44 4Gbits* Jun 21 15:09:51 jacekowski: The bigger issue is determinism, which HDMI has and Ethernet does not. Jun 21 15:09:53 what point are you trying to make? Jun 21 15:10:00 agmlego: that too Jun 21 15:10:05 that it could have been done over ethernet easily Jun 21 15:10:07 dvi/hdmi is synchronous Jun 21 15:10:25 jacekowski: how do you push 2Gbit/s over 1GbE? Jun 21 15:10:29 heh Jun 21 15:10:29 Easily, but not well. Jun 21 15:10:40 magically i suppose Jun 21 15:10:56 hold on, ethernet in hdmi was never intended for video/audio Jun 21 15:10:57 10GbE is still _very_ expensive Jun 21 15:11:09 it's for the 3rd pipe, data Jun 21 15:11:14 4GbE isn't Jun 21 15:11:19 there is no such spec Jun 21 15:11:26 so you can do something like dlna/upnp/etc Jun 21 15:11:26 xxiao: I think jacekowski is trying to argue that there should never have been anything but ethernet Jun 21 15:11:41 not very successfully, I might add Jun 21 15:12:36 thing is, hdmi is used in most places to connect blu ray/dvb-t/something else to tv Jun 21 15:12:41 where data is compressed Jun 21 15:12:46 no, it's not Jun 21 15:13:20 blu ray for sure isn't compressed Jun 21 15:13:34 the _video_ stream on the disc is of course compressed Jun 21 15:13:41 but the player does things with it Jun 21 15:13:45 like overlay subtitles Jun 21 15:13:47 or menus Jun 21 15:14:09 mru: we already established here that USB should have been etherner, I guess hdmi is next..... Jun 21 15:14:10 fact is i'm using dlna over wifi at home to display stuff from my laptop on tv Jun 21 15:14:26 Like decompressing it. Jun 21 15:14:32 you really don't have a clue at all, do you? Jun 21 15:14:49 mru: it could have been done at least over IP Jun 21 15:14:59 dlna is a protocol for a media player to acquire media files over a network Jun 21 15:15:05 and then when faster ethernet would become availible Jun 21 15:15:07 mru: stream Jun 21 15:15:09 maybe in the future we only need one ethernet cable Jun 21 15:15:14 is that like dna? Jun 21 15:15:15 it's common nowadays for TVs to have a built-in media player Jun 21 15:15:17 that's called 802.1Qbb Jun 21 15:15:22 av500: PCIe is next to be replaced by ethernet? Jun 21 15:15:36 lossless ethernet that is, emerging in FCoE now Jun 21 15:15:46 hmm, bitbaking 802.1Q Jun 21 15:15:54 mru: dlna is a protocol based quite a lot on upnp Jun 21 15:15:55 but that's like 5+ years away and you will need replace all switches in-between Jun 21 15:16:00 jannau: PCIe is a packet protocol Jun 21 15:16:45 mru: and dlna is used to stream media from a server to renderer Jun 21 15:17:16 jannau: of course Jun 21 15:17:19 jannau: then the SDRAM bus Jun 21 15:17:28 jacekowski: you know as little about dlna as you do about hdmi, apparently Jun 21 15:17:38 av500: that was rambus Jun 21 15:17:49 that are all dreams, we are still using three wire serials… Jun 21 15:18:38 HI all Jun 21 15:18:42 mru: well, i've done some software doing dlna Jun 21 15:18:56 mru: including software to stream my laptop display live to a tv Jun 21 15:18:57 that does not imply understanding basic concepts Jun 21 15:19:01 hiho Jun 21 15:19:04 av500: so the cpu becomes a large ethernet controller with switch, that makes everything simple Jun 21 15:19:05 * xxiao just uses minidlna and it works fine Jun 21 15:19:15 mru: i know how the protocol works and what it does Jun 21 15:19:27 so what has it to do with hdmi and dvi? Jun 21 15:19:27 mru: i don't care what person designing it had in mind Jun 21 15:19:34 dlna is (sort of) the network equivalent of a bluray disc Jun 21 15:19:44 it has _nothing_ to do with display Jun 21 15:19:57 yes and no Jun 21 15:20:03 it transfers data to be displayed Jun 21 15:20:14 no, it transfers data to be *decoded* Jun 21 15:20:21 and displayed Jun 21 15:20:28 that's a separate problem Jun 21 15:20:52 all i'm saying is that hdmi should have been done at least over IP Jun 21 15:21:02 so it could have been easily upgraded to 10G ethernet later Jun 21 15:21:11 I wouldn't be surprised if those TVs used hdmi internally between the player and the display Jun 21 15:21:12 jacekowski: even 10G is lossy Jun 21 15:21:47 xxiao: but using IP and later ethernet would unify everything Jun 21 15:21:47 adding layers for fun and profit ;) Jun 21 15:21:50 for a display interface, you want a _synchronous_ protocol Jun 21 15:21:52 plus 10G requires good ddr bus and even cpu, that means heat and price for consumer devices Jun 21 15:21:52 because hdmi is based on dvi Jun 21 15:21:56 IP is not synchronous Jun 21 15:22:07 and dvi is from a time when you cannot transport that data over ethernet Jun 21 15:22:14 and what mru says Jun 21 15:22:15 mru: well, have you seen onlive Jun 21 15:22:16 hdmi was based on dvi because dvi was already widely used Jun 21 15:22:21 dvi has to work on DUMB transmitters Jun 21 15:22:24 mru: they worked around those problems quite well Jun 21 15:22:38 I know more than you think about onlive Jun 21 15:23:03 koen, how did you manage to have male headers on topside while having plugged in your BB to the BeBoPr ??? Did you solder on new headers ? Jun 21 15:23:09 so you know that it's possible to stream live picture over slow ethernet Jun 21 15:23:12 with quite good results Jun 21 15:23:32 yes Jun 21 15:23:32 you're completely misunderstanding again Jun 21 15:23:34 compressed Jun 21 15:23:37 onlive streams a _compressed_ image Jun 21 15:23:38 but not pixel for pixel Jun 21 15:23:41 which dvi needs Jun 21 15:23:48 you can't do that for a generic display interface Jun 21 15:23:54 you dont want your doc to miss your cancer due to compression Jun 21 15:24:12 av500 lol Jun 21 15:24:12 a - losless compression Jun 21 15:24:20 not possible Jun 21 15:24:23 I dont do cancer stuff via internet Jun 21 15:24:25 compress random bits Jun 21 15:25:16 args Jun 21 15:25:23 crappy dsl line again Jun 21 15:25:44 well, i said that it could have been done over ip Jun 21 15:25:48 a mass-market display interface has 3 basic requirements: 1) high bandwidth, 2) synchronous, 3) cheap Jun 21 15:25:51 and then upgraded to ethernet when it becomes cheaper Jun 21 15:26:01 IP fails #2 Jun 21 15:26:17 any ethernet with enough bandwidth fails #3 Jun 21 15:26:35 mru: 802.11Qbb is to solve that, priority-based pause frame , hopefully Jun 21 15:26:37 IP doesn't fail 2 Jun 21 15:26:41 QoS at MAC level Jun 21 15:26:41 and now you're confusing different layers of the protocol stack Jun 21 15:26:50 IP has nothing to do with it Jun 21 15:27:06 internet is non deterministic Jun 21 15:27:20 but ethernet can be deterministic Jun 21 15:27:32 but ethernet is not an option Jun 21 15:27:47 any other interface can be designed as deterministi Jun 21 15:28:55 all else aside, IP is needlessly complex Jun 21 15:29:07 there is exactly one sender and one receiver Jun 21 15:29:14 it's a *one-way* link Jun 21 15:29:16 not always Jun 21 15:29:21 dvi is Jun 21 15:29:26 hdmi isn't Jun 21 15:29:29 is too Jun 21 15:29:31 and dvi isn't as well Jun 21 15:29:37 it has i2c communication Jun 21 15:29:40 lol Jun 21 15:29:44 I knew you'd say that Jun 21 15:29:46 and CEC included in the standard Jun 21 15:29:57 I'm talking only about the main video link Jun 21 15:30:15 the i2c side channel is there only as a convenience really Jun 21 15:30:19 educa: I had someone solder on different headers Jun 21 15:30:28 I see Jun 21 15:30:29 so the source can query supported timings Jun 21 15:30:39 then if you have ethernet you could have everything connected Jun 21 15:30:45 I'm going to test my bebopr tonight since I had to return it for small change Jun 21 15:30:46 watch same dvd in different rooms Jun 21 15:31:06 my purpose is not to command a 3dprinter but a cnc laser cutter machine Jun 21 15:31:16 thunderboooolt Jun 21 15:31:38 with hdmi your player has to be next to tv Jun 21 15:31:43 oh, he was hit by lightning and had his brain mostly fried? Jun 21 15:31:45 or any other display Jun 21 15:31:46 that would explain a lot Jun 21 15:32:40 educa: nice! Jun 21 15:32:53 well the bb certainly should be fast enough Jun 21 15:33:14 and I will need 50kHz steprates and fast moments Jun 21 15:35:16 koen: i installed but i get no audio Jun 21 15:35:41 koen: if i try gst-launch-0.10 audiotestsrc ! audioconvert ! alsasink i get Playback open error on device 'default': No such file or directory Jun 21 15:35:42 hi stuk_gen powervr qt plugin running now? Jun 21 15:35:48 woglinde: yes Jun 21 15:36:02 woglinde: on beagleboard and bone Jun 21 15:36:02 and is it faster? Jun 21 15:36:21 woglinde: yes because move on gpu some works Jun 21 15:36:42 before i have 100% cpu busy now 40 50% Jun 21 15:36:50 ugh Jun 21 15:36:56 now i try to run phonon and gstreamer Jun 21 15:36:57 what did you code to get 100% cpu Jun 21 15:37:05 opengl effect Jun 21 15:37:47 i have a shader effect that run on some object and this make crazy the cpu :) Jun 21 15:39:41 woglinde: now i'm trying to find a way to listen audio from gstremear, and if this work...i finally go to the step 2 :) using qt creator to cross compile Jun 21 15:40:16 lol Jun 21 15:41:12 why you need audio? Jun 21 15:42:24 koen: lol, since ICS you are a "stale" friend Jun 21 15:42:35 woglinde: because i need play some mp3 file Jun 21 15:43:08 woglinde: and a little small video Jun 21 15:43:41 woglinde: i think the plugins is installed but can't find the default device for audio output Jun 21 15:46:42 stuk_gen check the wiki for audio Jun 21 15:46:45 with dsp Jun 21 15:46:58 woglinde: where i can get taht? Jun 21 15:47:00 that* Jun 21 15:47:21 google beagleboard audio gstreamer dsp? Jun 21 15:47:39 elinux ok Jun 21 15:48:11 * woglinde makes another line on "stuk_gen's owns me a beer paper cheet" Jun 21 15:49:23 hmm, I should start such a sheet... Jun 21 15:50:50 what i don't understand is you video works but audio not... for video is using dsp no? Jun 21 15:51:17 urgh... to recompile the kernel with bitbake, what config file shall I modify, so my config options are taken into account ? Jun 21 15:53:05 I tried sources/meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig but I couldn't find the result in build/tmp-angstrom_v2012_05-eglibc/deploy/images/beaglebone/ config files Jun 21 15:57:21 hi. Jun 21 15:57:56 the internet of things will become funny, turning neighbors tv on or off and such things. ;) Jun 21 15:59:33 aholler - tvbgone ftw ! :) Jun 21 16:00:07 for that you need a line of sight Jun 21 16:00:24 or a lot of light Jun 21 16:02:18 turning micros off if the news-speaker doesn't have news you like ;( Jun 21 16:02:37 hehe Jun 21 16:03:07 or just to silence politicans Jun 21 16:04:44 aholler - a sniper rifle is more efficient for that matter Jun 21 16:04:45 :> Jun 21 16:04:52 must be a communist idea as most things just don't know which are their owners ;) Jun 21 16:05:17 aholler: just wait Jun 21 16:05:20 (internet of things) Jun 21 16:05:41 people will be implanted with a wireless ID chip at birth Jun 21 16:06:09 aholler - internet of things is a capitalist/liberal/whatever-makes-more-money concept Jun 21 16:06:23 shared medium, shared owners ;) Jun 21 16:06:32 guyzmo: no, it's a buzzword Jun 21 16:06:37 mru - indeed Jun 21 16:06:49 nobody actually knows what, if anything, it really means Jun 21 16:06:53 mru - you add "IoT" on your product, and it will be better Jun 21 16:06:59 the phrase makes no sense at all Jun 21 16:07:07 * guyzmo prefers to say Ubiquitous Computing Jun 21 16:07:17 it sounds more l33t :-p Jun 21 16:07:25 but that's such a complicated word Jun 21 16:07:26 * av500 thinks it will have synergetic effects Jun 21 16:07:27 for increased buzzwordyness pair it with 'in the cloud' Jun 21 16:07:48 mru - yup, complicated, but with style Jun 21 16:07:50 much too sesquipedalian Jun 21 16:08:15 sensor network with tcp/ip stack built-in Jun 21 16:08:32 mru - uhuh Jun 21 16:09:04 * xxiao is looking for a kids browser Jun 21 16:09:22 that without any flash games, or any games Jun 21 16:09:35 lynx Jun 21 16:09:49 it (internet of things) comed to my mind while thinking that nobody mentioned security in the discussion before Jun 21 16:10:14 aholler: it's getting better, more and more low-end chips have sec engine built-in nowadays Jun 21 16:10:16 the internet of things came to your mind ? Jun 21 16:10:35 aholler - no security is for real men :) Jun 21 16:10:57 mru: i don't think lynx blocks adult-only contents... Jun 21 16:11:21 xxiao - at least you won't see the pictures :) Jun 21 16:11:43 so far my only defense move is to use opendns Jun 21 16:11:55 but that's far from enough Jun 21 16:12:05 xxiao: well, it doesn't display images... Jun 21 16:12:18 it shows all the nasty novels though Jun 21 16:12:19 meanwhile most kids browser are really flash-game browsers, which i hate Jun 21 16:12:23 or are you afraid of ascii porn? Jun 21 16:13:02 like this: http://www.textfiles.com/artscene/asciiart/ASCIIPR0N/ Jun 21 16:13:32 ogra_: I remembered it was a talk at fosdem Jun 21 16:13:45 ah Jun 21 16:14:07 mplayer with libcaca... Jun 21 16:14:20 summer is hard for me to 'monitor' kids on computers, sigh Jun 21 16:14:42 tried to tell them khanacademy.org, which lists 1000+ courses in one-page Jun 21 16:14:52 khaaaaaaaaan! Jun 21 16:14:59 hm.. is this pr0n ? =8(*)8= Jun 21 16:15:03 oh, it's 3200 videos on one page! Jun 21 16:15:04 (goatsex smiley) Jun 21 16:15:26 they need hire a UI guy Jun 21 16:15:55 xxiao - well, you should give them uber jailed computers and let them spend their time breaking out the jail Jun 21 16:15:58 it can take a summer :) Jun 21 16:16:14 guyzmo: that's a good idea! Jun 21 16:16:17 guyzmo: not if you have physical access Jun 21 16:16:25 is wayland supported in OMAP, i mean for the beagle? Jun 21 16:16:43 mru - sure Jun 21 16:16:52 * guyzmo remembers when he was young Jun 21 16:17:02 my father used to take my keyboard away Jun 21 16:17:16 bitbang with a paperclip Jun 21 16:17:17 so I end up having a collection of keyboards hidden under my bed :) Jun 21 16:17:45 I have some problem to upgrade my beaglebone : http://www.privatepaste.com/1af6a1534b Jun 21 16:17:59 today kids collecting macs ;) Jun 21 16:18:18 guyzmo: my mother used to take _me_ away, so I kept a clone of myself under the bed Jun 21 16:18:22 there is a way to fix those problems? Jun 21 16:19:29 jet - yup Jun 21 16:19:34 jet - ln /var/lib/opkg/info/perl-module-build.list /var/lib/opkg/info/perl-module-build.pm.list Jun 21 16:19:47 or ln -s Jun 21 16:19:48 or cp Jun 21 16:19:52 choose your weapon Jun 21 16:20:24 (I don't know if it's a good fix, or if it has to be fixed, but when I've done that, it stopped complaining) Jun 21 16:20:54 same for perl-module-load.pm.list ? Jun 21 16:21:19 yup Jun 21 16:21:36 a moose ate the .pm Jun 21 16:22:29 I have less errors : http://www.privatepaste.com/c6f99f8d24 Jun 21 16:22:50 but I have still errors Jun 21 16:24:05 well, you can try opkg install --force shadow or something like that Jun 21 16:24:28 or you can try to remove shadow-sysroot before installing again shadow (--reinstall I think) Jun 21 16:24:41 but anyway, shadow and shadow-sysroot are certainly the same Jun 21 16:28:53 I'm afraid to do a mistake, with those things. I think it's safer to what to get a sd card reader and install a fresh build Jun 21 16:35:00 jet - well, if it breaks, you can always reflash a fresh build :) Jun 21 16:35:09 jet - the only way to learn is to try and err Jun 21 16:35:36 hm... !#@$ how do I rebuild the .img ? Jun 21 16:36:31 yes, that's true… but I have a bunch of shadow package installed… http://www.privatepaste.com/c4e54f1029 Jun 21 16:37:22 and I can't remove shadow-sysroot (used by other packages) Jun 21 16:39:55 hi djlewis Jun 21 16:41:44 woglinde: good morning dude :) Jun 21 16:53:09 mdp, what should I use if "dev\mem" is not reliable? Jun 21 16:54:06 jkridner, i will update the header files and the code again and post the link Jun 21 16:55:10 Dhiraj_: what are you using /dev/mem for? Jun 21 16:58:20 Dhiraj_, you write a driver where you explicitly control how things are exposed to userspace. Jun 21 16:59:16 Dhiraj_, btw, looking at your timing diagram...I noticed that your address is not stable throughout the entire assertion time of ADVn...that looks dangerous Jun 21 17:00:05 depending on your setup/hold time requirements...you may well have latched a bogus address valus Jun 21 17:00:59 s/valus/value/ Jun 21 17:07:57 jet, we are using the dev/mem to map gpmc config registers and gpmc memory in user space Jun 21 17:08:30 mdp: I'm going to write some code to use /dev/mem in order to get gpios data and to be a lot faster than opening and closing files. You are saying it's not reliable ? Jun 21 17:08:59 jet, "it depends" Jun 21 17:09:24 mdp, the logic analyzer is actually looking at inside the fpga. the address is stable when gpmc_advn is low. then it is flopped by gpmc_clock to guaranty it does not change during an opertion. and that is what addr_out is in the picture Jun 21 17:09:24 depends about what? Jun 21 17:09:29 anything done there is non-portable...so you have to know _exactly_ what the behavior is of the memory region you are mmaping Jun 21 17:15:37 koen - could you tell me how can I regenerate an image file ? as now sdcard_image.bb is commented out Jun 21 17:17:06 jet, take Dhiraj_'s stuff, for example, he passes O_SYNC to it with the comment that it makes it non-cacheable...but that's not the case on ARM. As long as it's a valid pfn, it get marked uncached in page prot...however, O_SYNC will set write combining Jun 21 17:17:55 go to another architecture, and you will find a different behavior...down to some memory regions being mapped implicitly cacheable and so on Jun 21 17:18:12 Dhiraj_: did you send some link about you code? I don't find it in the channel historic that I have Jun 21 17:18:35 it's reliable to write your own driver and explicitly implement a mmap() op to do exactly what you want Jun 21 17:19:52 in the /dev/mem case you might be reading some HOWTO written completely from an x86 perspective and you get screwed by assuming it will have the same behavior on arm...for example Jun 21 17:23:28 guyzmo: mount the partition, extract tarball into it Jun 21 17:24:07 and if I start from a fresh sdcard ? Jun 21 17:24:29 I do one partition on it, and just untar ? Jun 21 17:24:41 * koen wakes up Jun 21 17:25:07 run the mkcard script, copy MLO+u-boot.img to the first partition, extract tarball to second partition Jun 21 17:25:18 ok Jun 21 17:25:28 jet, here are the links. http://pastebin.com/hGAFQ91R http://pastebin.com/VS9PWxQt Jun 21 17:47:20 Dhiraj_, recommend you look into how write combining will reorder your transactions Jun 21 17:49:51 doublecheck that you meet the hold time requirements since you have the address changing while ADVn is asserted..look like a partial clock period from the picture..such that the address is valid with ADVn asserted low for roughly 15ns or maybe less, but the resolution is such that I can't tell Jun 21 18:57:24 Hi guys, it appears my BBxM (angstrom, 3.2.18, systemd, connman) isn't automatically requesting a dhcp lease and I can't figure out why. ifup eth1 (this is a USB nic with a fixed mac) causes udhcpc to send out a request, but I need this to just work. In the past I had a similar issue and someone in here said that he fixed it by switching from task-base-extended to systemd-image or some such, I can't recall. Jun 21 18:58:12 I did that and it fixed it for me as well, but now I've swapped the microSD into a second BBxM at a different location and the problem has begun again! Jun 21 18:58:50 Google is not being my friend on this either. Jun 21 19:15:31 sw usually doesn't care about the specific hw it runs on. so either the hw is different or you have another problem if you use the same card Jun 21 19:16:00 you might check if the request actually goes over the wire Jun 21 20:12:57 aholler: Yea, I suspect that the swapping is a red herring. The request goes over the wire (and gets a response) just fine when I do ifup eth1 from the command line. Jun 21 20:45:34 en aan 40khz zou mijn PSU daar geen probleem mee mogen hebben. De datasheet zegt >20kHz Jun 21 20:46:00 nono Jun 21 20:46:08 holland made last place Jun 21 20:46:15 * koen actually knows which datasheet educa is talking about Jun 21 20:46:26 woglinde: the netherlands, holland is only 2 provinces Jun 21 20:46:34 koen I know Jun 21 20:46:35 laser psu :) Jun 21 20:46:43 and yes Koen, that was a privmsg :) Jun 21 20:46:46 of course I know Jun 21 20:46:51 educa ah okay Jun 21 20:47:34 uhm why the hell libicon needs rpm Jun 21 20:47:39 educa: I've been thinking of building my own lasercutter, but I need tocomplete these half finished 3d printers first :) Jun 21 20:47:53 if you have a > in your message then the web chat seems to jump back to the main channel Jun 21 20:48:00 Koen, I'm building a HUGE one :) Jun 21 20:48:10 koen: and you need to complete at least a min of 12% of your other 50000000 projects first Jun 21 20:48:22 http://www.youtube.com/watch?v=31zifFArKVU is his first steps to test some speed :) Jun 21 20:48:38 hi silicagel Jun 21 20:48:44 hi Jun 21 20:52:49 woglinde: winnebeck had a baby! Jun 21 20:52:52 Well, not him personally.... Jun 21 20:54:02 SilicaGel lol me too Jun 21 20:54:10 and also not personal Jun 21 20:54:13 wow Jun 21 20:54:29 * spacecolonyone thinks his routing table is hosed Jun 21 20:54:51 dns works, cant reach anything Jun 21 20:54:51 educa why you need such big laster cuter? Jun 21 20:55:31 SilicaGel how is your java project going? Jun 21 20:55:34 woglinde, because I want to be able to but plates sized 1220x610mm maximum Jun 21 20:55:53 Not very fast, I have been kind of off on another project recently Jun 21 20:55:53 educa: you're near nijmegen, right? Jun 21 20:56:01 In fact it's another java thing, not arm related. Jun 21 20:56:06 koen, I'm a Belgian :) Jun 21 20:56:14 I'm trying to get a handle on how to use JMX to instrument a database access layer and I'm friggin boggled Jun 21 20:56:19 I don't understand jmx. Jun 21 20:56:32 I made an MXBean interface and I don't know if my DAO layer is supposed to *implement* that bean Jun 21 20:56:38 uhm jmx isnt the right think to do it Jun 21 20:56:40 or if I need to create an object representing the bean Jun 21 20:56:43 This is totally random, but are any of you guys going to be in Amsterdam from the first week of July? Jun 21 20:56:52 thing even Jun 21 20:56:56 really, I thougth this was what JMX was good for Jun 21 20:57:01 I'll be there for SPIE Jun 21 20:57:05 and arent there enough database abstraction layers Jun 21 20:57:11 like jpa Jun 21 20:57:29 yeah. this is aw hole pile of application-specific stuff Jun 21 20:57:45 like db.getVinForvehicle(int vehicleId); Jun 21 20:57:45 educa: then I'm confusing you with another dutch speaking person in #beagle Jun 21 20:57:54 we may convert it to jpa eventually Jun 21 20:58:09 ah there are more then you and Bas? Jun 21 20:59:42 koen, do you need parts for your printer or time? Jun 21 21:02:35 cvanvliet: mostly motivation :) Jun 21 21:03:38 ;) Jun 21 21:03:52 koen, get a work customer to need one...that'll motivate you Jun 21 21:04:20 mdp: work is getting me a working 3d printer already :) Jun 21 21:04:33 mdp: this is is tentatively for makerfaire Jun 21 21:04:37 koen, that's a demotivator! ;) Jun 21 21:05:17 koen, I'm convinced my work will never get me something I need like that Jun 21 21:15:31 koen: Are you getting a booth? Jun 21 21:15:50 I don't think we've finalized on a bb.org booth. Jun 21 21:22:08 koen: did you ever get around to trying the new version of fb-test ? Jun 21 21:23:04 prpplague: what is this fb-test? Jun 21 21:23:58 mranostay: just a small utility to do some color bars on linux framebuffer to assist in display bringup and testing Jun 21 21:32:03 is there a way to easily setup a beaglebone to also accept a telnet login ? I understand that this a lot less safe then SSH, but I have to login from a device which isn't capable of ssh but only telnet + its on internal network Jun 21 21:33:28 what isn't capable of ssh? Jun 21 21:33:57 I have to login over network from a FLASH application running on an android phone. Flash cannot SSH but it can open sockets Jun 21 21:34:26 so a simple telnet logon would be superb for this project Jun 21 21:34:44 er i'm sure you can find a ssh application that is a flash applet Jun 21 21:35:03 I'm almost sure there isn't :( Jun 21 21:36:18 an ssh tunnel might work, but thats an extra step and requires another pc to be running in the network Jun 21 21:38:25 there are java ssh clients fwiw Jun 21 21:39:39 yes, but can't I just enable somehow telnet access to the beaglebone ? Jun 21 21:39:48 that way I can simply connect over a socket Jun 21 21:39:56 I don't care about the protection ssh offers Jun 21 21:40:00 educa you as on other unixes too Jun 21 21:40:08 since its internal closed network Jun 21 21:40:09 telnet is strongly discouraged these days, to put things mildly Jun 21 21:40:10 just install a telnetd Jun 21 21:40:26 opkg install telnetd resulted in nothing Jun 21 21:40:43 and sorry, in such matters I'm quite newbie Jun 21 21:41:06 I'm a 37 y old programmer programming allready for +- 20 years but linux is quite new for me to configure something Jun 21 21:41:35 you got started late... Jun 21 21:41:59 opkg update Jun 21 21:42:06 opkg list | grep telnet ? Jun 21 21:42:09 I mean programming commercially :) Jun 21 21:42:22 o.O? Jun 21 21:42:33 oh dear, commercial programming for 20 years... you're lucky to still be alive Jun 21 21:42:34 I code since I'm 12 Jun 21 21:42:36 so 25 years now Jun 21 21:42:40 I programm commercially too on opensource Jun 21 21:42:41 hehe Jun 21 21:42:52 hehe, I create educational software for kids mostly Jun 21 21:43:00 sure you can enable telnet Jun 21 21:43:13 anyhow, gentoo has packages for netkit-telnetd and telnet-bsd Jun 21 21:43:22 and utelnetd Jun 21 21:43:25 or busybox w/telnet compiled in Jun 21 21:43:43 if you are doing sockets, run inetd and just have a shell listener Jun 21 21:44:03 all edu software I have seen suckz Jun 21 21:44:07 for kids Jun 21 21:44:13 thats the problem. you say "just run ...." Jun 21 21:44:18 look at the state of kids ;) Jun 21 21:44:26 well thanks Jun 21 21:44:54 educa most isnt worth the money Jun 21 21:44:56 ds2: that won't give you a proper pty Jun 21 21:45:10 woglinde: not even when it's free Jun 21 21:45:11 but schools buy them Jun 21 21:45:17 mru: if he's just doing sockets, what's the point of a proper pty? Jun 21 21:45:31 no I want a login Jun 21 21:45:33 uh, he wanted telnet... Jun 21 21:45:33 my son comes to school this year and they use some programs too Jun 21 21:45:37 nor will it do job control Jun 21 21:45:49 I want my flash to login like I'm a user and then execute commands on the bb Jun 21 21:45:53 mru right an busybox enabled telent is not the same Jun 21 21:46:07 educa you are writing edu software in flash? Jun 21 21:46:08 educa: you got code to handle telnet options? Jun 21 21:46:12 that suckz even more Jun 21 21:46:23 * mru wrote a telnet client in java once Jun 21 21:46:58 woglinde, actually I don't know why you like to use the words "suck" so much. I'm perfectly happy with it and so are the +- 8000 kids who use my programs every year in schools Jun 21 21:47:04 mru that isnt hard Jun 21 21:47:07 I know flash is absolutely not the best stuff Jun 21 21:47:15 mru but I wonder you ever touched java Jun 21 21:47:19 but it fits the needs Jun 21 21:47:30 woglinde: got to know your enemy Jun 21 21:47:31 woglinde: it had to handle a variety of bizarre bugs in two different telnet servers Jun 21 21:47:48 and yes, they were _very_ buggy Jun 21 21:47:56 some inhouse stuff at ericsson Jun 21 21:48:10 bts? Jun 21 21:48:12 lol Jun 21 21:48:45 good old times where hp didnt think of to secure the snmp of ther routers Jun 21 21:48:56 educa: well the kids don't write up the PO :) Jun 21 21:49:36 educa dont mean much if the kids are happy, they should learn something usefull Jun 21 21:49:39 woglinde: yes, gsm/3g stuff Jun 21 21:49:55 having seen the code those things run, I'm surprised the networks work at all Jun 21 21:50:05 educa: starting telnetd as daemon on the bone gives me a login prompt... Jun 21 21:50:09 mru we have openbts now Jun 21 21:50:19 sure Jun 21 21:50:39 this was 2002 btw Jun 21 21:50:47 hm Jun 21 21:51:20 yeah there were many networkstuff around which only had telnetd Jun 21 21:51:26 xkcd 303 describes the place pretty well Jun 21 21:51:42 only difference was we played darts Jun 21 21:52:52 *g* Jun 21 21:54:04 first, dev version of FreeBSD/arm boots on BeagleBoard-xM Jun 21 21:54:06 \o/ Jun 21 21:54:27 and? Jun 21 21:54:40 no dsp and no gfx accel Jun 21 21:55:15 but he carry on your good work Jun 21 21:55:30 -_- Jun 21 21:57:01 but reminds to find out if I can run smalltalk pharo image on beagle Jun 21 21:57:48 smalltalk is so dead, nowadays it's all big talk and small products Jun 21 21:57:53 like the r-pi Jun 21 21:58:21 mru no smalltalk is not dead Jun 21 21:58:28 mru: hehe Jun 21 21:58:31 its comming back Jun 21 21:58:38 and thats good Jun 21 21:58:49 I actually don't know much about smalltalk Jun 21 21:58:53 never used it Jun 21 21:59:14 mru: how about in real life? :) Jun 21 21:59:29 never been very good at it there Jun 21 21:59:49 if you have nothing meaningful to say, why bother speaking? Jun 21 22:00:11 well it does come in handy in bars Jun 21 22:00:11 tro troll Jun 21 22:00:17 hehe Jun 21 22:00:18 s/tro/to/ Jun 21 22:00:37 bars are for drinking, not talking Jun 21 22:01:00 * mranostay thinks mru is the weird guy that in the corner of the bar Jun 21 22:01:54 mranostay I have no problem with that Jun 21 22:02:13 mranostay: no, I'd go home instead Jun 21 22:03:38 uh oh Jun 21 22:03:41 * mranostay hides from reanguiano Jun 21 22:05:21 mranostay: :-) Jun 21 22:13:51 mranostay, that's what the weird guy in the corner of the bar thinks about other people. Jun 21 22:20:57 weird, isn't it? Jun 21 22:24:01 do I have to type in more then just "opkg install php" to install php on my beaglebone ? Jun 21 22:24:39 that's koens rule #3 Jun 21 22:25:23 heh Jun 21 22:25:33 aholler: which is again? Jun 21 22:28:30 http://26-26-54.hardwarebug.org/30 Jun 21 22:29:33 aholler, maybe I asked this because I did try and it didn't seem to do a lot? Jun 21 22:30:01 so why you don't say it so? Jun 21 22:30:14 testing our crystal balls? Jun 21 22:30:39 well I asked if I do have to type MORE Jun 21 22:30:50 but I agree the question could have been asked better Jun 21 22:30:50 heh i forgot the classics like -- > http://26-26-54.hardwarebug.org/50 Jun 21 22:31:59 I'll ask more directly. There is a webserver runnning on my beaglebone. Can I install php as a scripting language on that webserver? Jun 21 22:33:48 yes, at least the cli-version of php is usable in almost every web-server which can handl clis Jun 21 22:34:02 and how please? Jun 21 22:34:11 opkg install php didn't seem to do a lot Jun 21 22:35:03 opkg update Jun 21 22:35:10 opkg list | grep php Jun 21 22:35:41 should I run that "opkg update" multiple times a day ? Jun 21 22:36:14 no Jun 21 22:36:17 *g* Jun 21 22:36:33 php should just work Jun 21 22:36:37 build it from source Jun 21 22:36:39 should Jun 21 22:37:53 the only reason it wouldn't work is due to poor coding practices that x86 allows people to get away with Jun 21 22:37:59 i.e. alignment Jun 21 22:38:19 other then that... PHP doesn't have assembly files or any x86 specific stuff Jun 21 22:39:39 good nite Jun 21 22:40:02 and does anyone know where the main document directory for webpages can be found on the bone ? Jun 21 22:40:11 I installed php-cgi and php-cli Jun 21 22:40:24 * mranostay hands mru a beer Jun 21 22:40:39 checked hte usual places, like /var/www? Jun 21 22:40:47 otherwise, look at the webserver config Jun 21 22:43:26 mranostay: how'd you know my fridge was empty? Jun 21 22:43:58 mru: you don't mind a Coor's Light right? :) Jun 21 22:44:13 * mranostay ducks from the glass bottle throw Jun 21 22:44:28 mranostay: you said beer Jun 21 22:50:33 mranostay, mad cow time Jun 21 22:56:50 infriday since 1 hour ;) Jun 21 22:56:56 mdp: pop a fedex label on a bottle and send to me and mru :) Jun 21 22:56:58 s/inf/f/ Jun 21 23:07:09 ok, managed to get lighttpd running with php active. Jun 21 23:07:27 now 1 single last question before going to bed :) (1:07 here) Jun 21 23:07:42 I can currently execute php code on my bone Jun 21 23:07:45 but.... Jun 21 23:08:07 can I also let my php execute another program on the bone? Jun 21 23:08:31 or should I somehow elevate the rights to lighttpd and php so it has the rights to run this program ? Jun 21 23:08:44 or should I just lower the required rights for that specific program ? Jun 21 23:08:53 I think the program should run as root Jun 21 23:09:36 again: I don't really care about the fact that it is unsafe to run php as root. This is in a closed network with only 2 PCs connected and no connection to internet Jun 21 23:13:05 no connection you know of ;) Jun 21 23:16:38 i got an ssh question...not sure if place to ask though Jun 21 23:16:41 hello, so i generated a keypair that requires a passphrase. i put the public side into an authorized_hosts file on one box, then in another i'm trying to SSH in passing the private part with -i. but it doesn't prompt for pass-phrase. why is that? Jun 21 23:17:06 and then obviously it fails Jun 21 23:18:21 use _keys not _hosts Jun 21 23:18:49 err sorry, i meant keys. Jun 21 23:18:57 i have it as keys already Jun 21 23:19:03 add -v and see what it says Jun 21 23:19:09 if nothing useful, add more -v Jun 21 23:21:59 hmm says it offers the private key but nothing on why it's not accepted Jun 21 23:22:26 crank up the log verbosity on the server side Jun 21 23:22:49 plain old openssh? Jun 21 23:24:20 actually it's dropbear (the server is). i know it works without a passphrase. but i think the passphrase has to be entered on the client side, so i thought ssh (on client i have openssh) would prompt for it Jun 21 23:24:41 yes, it usually does that Jun 21 23:41:17 mru: so it was dropbear's fault. apparently /home/.ssh/authorized_keys is fine for all users except root. for root it wants it in /etc/dropbear :/ Jun 21 23:41:22 thanks for the tips! Jun 22 02:00:44 Hello! Jun 22 02:00:45 :) Jun 22 02:50:28 * mranostay hands mru a real beer **** ENDING LOGGING AT Fri Jun 22 02:59:59 2012