<wpwrak> back
<wpwrak> andres_calderon: sorry for the interruption. how do you like fped ? did it crash on you yet ? :)
<andres_calderon> wpwrak very powerfull, is not trivial (ha sido un gusto adquirido)
<wpwrak> andres_calderon: (autorouter) ah yes, i saw that page a while ago. looks a bit chaotic :) does it perform well in real life ?
<wpwrak> andres_calderon: exactly :) looks very queer
<andres_calderon> never done crash
<wpwrak> kewl :)
<andres_calderon> wpwrak no se si funciona el ruteo topologico, nunca lo he usado...  El código me pareció horrible. Pero me gustaría tener algo así en Kicad.
<wpwrak> andres_calderon: there is one project that's doesn't look too bad. http://code.google.com/p/kicadocaml/
<wpwrak> i think they also have a more conservative geometry. at least they did when i looked at it the last time, about a year ago
<andres_calderon> wpwrak parece interesante, voy a probarlos
<wpwrak> back then, the author said he wasn't sure if he'd continue. but it looks quite alive, which is a pleasant surprise :)
<andres_calderon> wpwrak lo que ud. hizo con heekspython me pareció interesante. Tal vez algo así sea útil en Kicad.   http://code.google.com/p/heekspython/
<wpwrak> well, you can always create kicad files from your scripts :) the power of plain text
<wpwrak> i like heekspython. it has many flaws, but it's the right direction
<wpwrak> for kicad, scripting is a little harder. i'm actually a bit surprised that people define components with fped using the scripting language - instead if the gui
<wpwrak> of course, it's nice to see the two coexist so nicely :)
<wpwrak> but i don't think there are many places besides footprint definition in kicad, where scripting would normally be important. perhaps if you need, say, an array of buttons or leds
<andres_calderon> wpwrak el poder de kicad está en los scripts :)
<wpwrak> i like the ability to extend kicad this way, yes. build around it.
<wpwrak> andres_calderon: so, so far you're happy with kicad for Xue ?
<andres_calderon> I do not like the GUI, but the potential is great.
<andres_calderon> wpwrak poor clipboard support, copy/paste problems, lack of short-cuts, etc
<wpwrak> andres_calderon: let me guess - do you like the block operations ?
<andres_calderon> wpwrak no mucho... porque se quedan cortas al no permitir operaciones entre esquemáticos diferentes  que hacen parte de la misma jerarquia.
<wpwrak> there are quite a few short-cuts. what's a bit annoying is that they don't work the same way everywhere. also, the dialogs for clarifying one's selection can be a bit superfluous. for example, if you're about to delete a track, it doesn't really matter which segment of that track you selected. yet you still have to choose.
<wpwrak> (block) yeah, moving things around in the hierarchy is always a bit of a mystery. when i play with it long enough, it eventually works, but i'm never quite sure why it didn't work before :-(
<wpwrak> (block) but what i meant was the shift-ctrl-mouse stuff. i find that quite ugly. do you know qucs circuit simulator ?
<andres_calderon> wpwrak yes, there are usability issues ... but I find it tedious to try to fix them. I do not like GUI programming
<andres_calderon> wpwrak No he usado el simulador de circuitos
<andres_calderon> wpwrak I am very new to kicad,  you've seen recent progress in the development?
<wpwrak> there is constant development in kicad. some good new stuff are the net classes. they let you do things like specifying that all ground traces should be at least 8 mil while the rest can be 6 mil. or to have a really wide clearance around that 220 V track ;-)
<wpwrak> (qucs) it's pretty cool. a bit like spice, but in a way that actually makes you want to use it :)
<kristianpaul> dont blame for this but there is a good autoruitng feature in kicad, may be like addon?
<kristianpaul> hello wpwrak and andres :)
<wpwrak> (qucs) the gui is very nice, in the "macdraw" style.
<wpwrak> kristianpaul: there is an external router, http://www.freerouting.net/
<wpwrak> kristianpaul: it's not an autorouter but a pretty good push router
<wpwrak> the problem with it is that it's not free as in "Free Software", and you have to be online to use it
<kristianpaul> ah
<wpwrak> it also used some obscure java streaming extension that can sometimes be fun to install
<kristianpaul> wow wolfspraul link about toporouter looks promising
<kristianpaul> heh
<kristianpaul> no java guy
<kristianpaul> oh wait andres_calderon pointed :)
<kristianpaul> wpwrak: are you bloging or documenting your experience with heekscad somewhere
<kristianpaul> i do use heeks but not as you do :)
<kristianpaul> like the script for the scanned parts
<kristianpaul> nice :)
<wpwrak> kristianpaul: (heekscad) no blog. but i try to solve problems where i find them. at least some of them :) right now (well, for the last week ... with many interruptions), i'm trying to fix selections sometimes crashing on amd64
<wpwrak> kristianpaul: i would also like to improve the heekspython interface
<kristianpaul> i used to crashing it happens always..
<kristianpaul> yup heekspython looks promosing, but jsu few samples on wxpython like gui
<kristianpaul> promising*
<kristianpaul> wpwrak: i'm curios what are you usings heeks for?
<kristianpaul> i just did some basic cases and things for fun
<kristianpaul> but it is really easy to use i think more experienced people on cad ca really take advantage of ir
<wpwrak> kristianpaul: right now, only for the counterweight
<kristianpaul> no cad guy :P
<wpwrak> a lot of features are missing on the cad side. it's quite powerful on cam, although severely underdocumented and many things are fragile.
<kristianpaul> btw well i have two floss 3D printers nothing sooo accurate but if you need print something in low resolution i think i can help, i will like :)
<kristianpaul> yes :(
<kristianpaul> even more if is related with the nanonote :)
<kristianpaul> or ther copyleft projetcts
<wpwrak> ;-) i should add an extruder to my mill. then could be cool and 3d print too ;-)
<kristianpaul> oh nice
<kristianpaul> ah you use heeks cnc i guess ;)
<kristianpaul> i wonder thats what most people use
<wpwrak> hmm, i guess i shold mention that this is for my local setup :)
<kristianpaul> well i need bed, nice to meet you, hope you still hanging up here
<kristianpaul> ohhh
<kristianpaul> oh
<kristianpaul> :D
<wpwrak> (the "workflow" section. the rest is general)
<wpwrak> (hang out) yeah, pretty much all the time :)
<kristianpaul> ah i dint notice :p
<kristianpaul> gn8 then !
<wpwrak> tuxbrain_zzz: the SIE logo looks a bit like a compact 2.4 GHz antenna :)
<wpwrak> kristianpaul: sweet dreams ! :)
<andres_calderon> wpwrak nite, ha sido agradable hablar contigo.
<wpwrak> andres_calderon: nice to have you here ! :) see you !
<kristianpaul> andres_calderon: youl hang arond more often
<kristianpaul> s/youl/should
<kristianpaul> s/arond/around
<kristianpaul> damm i need sleep
<kristianpaul> but
<wpwrak> kristianpaul: or caffeine :)
<andres_calderon> of course, CY
<kristianpaul> andres_calderon: di you got this toporouter working?
<wolfspraul> wpwrak: yes we are attacking the RF problem from _ALL_ angles now
<wolfspraul> even the designers were asked to help
<wpwrak> wolfspraul: ;-)) meanwhile, i keep on looking at zigbee. i have a few atmel chips that i hope to put to good use. i love ti's documentation, though. incredibly good.
<wpwrak> (atmel was just the first i found that looked like something i could expect to make work)
<kristianpaul> zzzZ
<wpwrak> wolfspraul: btw, here are the regulations for you: http://www.ti.com/litv/pdf/swra060
<wpwrak> wolfspraul: some really nice paper on antennas http://www.ti.com/litv/pdf/swra088
<wolfspraul> do I have to read those regulations?
<wolfspraul> given that I am in China, maybe I can read them a bit later...
<wpwrak> wolfspraul: but the killer is this antenna selectio nguide: http://www.ti.com/litv/pdf/swra161a
<wpwrak> wolfspraul: (regs) not sure. haven't read them myself yet. i hope there are no nasty surprises in there
<wpwrak> wolfspraul: (antenna selection) e.g., see table 3 in section 4, or section 4.1.2
<wpwrak> wolfspraul: suckish situation, but good documentation of it
<wolfspraul> well
<wolfspraul> just my personal opinion on how TI works - TI is essentially a patent litigation shop
<wolfspraul> they buy smaller companies with strong technology
<wolfspraul> then they add their 'legal' / patent litigation services on top
<wolfspraul> often times the actual technical innovation stops after the TI purchase
<wolfspraul> TI just takes the cream from the top with their legal litigation power, suck out what was created technically before, but not fully monetized legally (in the western world)
<wolfspraul> so that's the TI machine
<wolfspraul> imho
<wolfspraul> you can still buy 'ti' chips (mostly from acquired smaller companies anyway), but over time this stuff will get more and more patented
<wolfspraul> no wonder they essentially 'gave up' China :-)
<wpwrak> wolfspraul: there probably isn't much you can get that isn't patented in one way or another
<wolfspraul> they just live their parasitic IP life in the western world as long as that's possible. nice for them that this social system for the legal profession was invented :-)
<wpwrak> wolfspraul: the issue are the "enhancements" that bring you deeper in patent-land
<wolfspraul> of course, patents are a tool to make money
<trebuchet> don't buy ti
<wpwrak> wolfspraul: (or at least try to lure you there)
<trebuchet> boycott ti
<trebuchet> i broke my TI after reading a /. story
<wolfspraul> wpwrak: just remember, I've mentioned this before - my perspective is global on this, I try to be balanced. the patent system you are thinking about essentially only exists in the US and Europe.
<wolfspraul> there is an entirely new patent system being started in China now, where Chinese companies are just patenting existing western stuff in China, he he
<wolfspraul> the Chinese have learnt the dialectics of those words...
<wolfspraul> the number of Chinese patent applications skyrockets, often more or less direct translations of Western patents
<wolfspraul> hey - WHY NOT? :-)
<wolfspraul> it's a big market here
<wolfspraul> so I try to stay out of all this, I see it from a manufacturing perspective
<wolfspraul> of course I will always prefer unpatented solutions
<wpwrak> wolfspraul: beat them stupid westeners with their own weapons ;-)
<wolfspraul> but the reality is that there are many taxes/customs fees/toll booths/patents/whatever humans have called them
<wpwrak> i think it's important to distinguish between technology we actually care about and what's just an underlying commodity
<wolfspraul> if I would insist that between me (the manufacturer) and the end customer, there is absolutely no way of some 'financial hook' a 3rd party installs, then I can close my business right way
<wpwrak> e.g., if the RF chip uses some patented fab process, do we really care ?
<wolfspraul> theoretically yes, practically no
<wpwrak> exactly :)
<wpwrak> (hook) yup. that's the stuff to stay clear of
<wpwrak> free technology, with enough room to avoid the hooks
<wolfspraul> I go reverse, from most aggressive enforcers back
<wolfspraul> not theoretically finding every last instance of what I consider 'parasitic' hook
<wolfspraul> so if we go at this reverse, from most aggressive enforcers backwards, mp3/sisvel is my #1
<wolfspraul> then maybe the mpeg people
<wolfspraul> after that I still need to see, open minded
<trebuchet> What is the Ya NanoNote?
<wpwrak> sounds like a good approach, at least for now
<wolfspraul> trebuchet: when we started NanoNote, we envisioned a series of products, same form factor, with improving technology
<wolfspraul> Ben NanoNote was first, and is shipping
<wolfspraul> Ya NanoNote is the second generation
<wolfspraul> basicall the hardware and software hacking that is currently going on around Ben NanoNote will eventually lead to Ya
<trebuchet> So should I hold on to this 1200 USD for a bit
<wolfspraul> for 1200 USD please buy 12 Ben NanoNotes
<trebuchet> I want to throw money at Qi for it to stay alive
<trebuchet> Is it profitable at 99USd
<trebuchet> or should I donate
<wolfspraul> puh. if you are serious, there are many good things you can do with 1200 USD.
<kyak> yeah.. like 11 Bens and a lot of beer
<trebuchet> Hey the guys at lavabit didn't 'puh' me when I spent some cash at their small shop
<trebuchet> :(
<wpwrak> kyak: 1-2 bens and LOTS of beer :)
<wpwrak> rivers of beer, gently meandering through the green landscape, towards you ... :)
<wolfspraul> trebuchet: and now?
<trebuchet> Dammit, some guy is telling me Qi wants to sell all their v1 nanonote stockpiles then bail because there isn't enough money to go into the next, apparently an email on 4chan :|
<trebuchet> ridiculous
<kyak> wpwrak: it's morning here, don't tempt me into beer, or i might waste my day :)
<trebuchet> wpwrak: beer is nice but nah
<wolfspraul> trebuchet: what can we do for you now?
<trebuchet> wolfspraul: Thank you for the wiki link
<trebuchet> wolfspraul: Ah, is this a developer's channel? Sorry, I was thinking it was semi-casual and user oriented too :\
<wolfspraul> feel like at home :-)
<trebuchet> wolfspraul: You're kind of intimidating :<
<wolfspraul> aha :-)
<wolfspraul> wpwrak: reading the antenna PDF a bit, interesting indeed
<wolfspraul> the reference PCB antennas are all for 868/915, not 433
<wolfspraul> the village telco people also just had a blog post about some of their antenna work: http://www.villagetelco.org/2010/08/v1-3-antenna-testing/
<wolfspraul> trebuchet: I have an idea for you - for your 1200 USD you can finance the ticket for kristianpaul to visit 27c3 in Berlin this year (he's from Bogota/Colombia, so it's quite a long trip, if he gets a visa at all)
<wolfspraul> I could probably arrange a place to stay with a friend in Berlin, so accomodation should be covered
<trebuchet> wolfspraul: I was reading mailing lists, aren't there multiple developers in colombia
<wolfspraul> yes, correct, quite a few
<trebuchet> well wolfspraul, i was talking with some other and they were thinking of arranging a group buy
<trebuchet> one of them just got his BS in electrical engineering
<trebuchet> wolfspraul: Is that just accidental? Certain places seem to attract certain tech people, there seem to be a lot of FSF sanctioned gnu+linux distributions that have started in latin america
<wolfspraul> do you have a NanoNote?////////
<wolfspraul> (sorry the '/' are from my crazy kbd driver...)
<trebuchet> wolfspraul: Not yet. Too much on my mind(major munitions shipment). I will though.
<trebuchet> Ah, have there been any talks about 'auditing'(in whatever form) the hardware in Qi projects... for possible backdoors?
<wolfspraul> no but I think backdoor-free will become important for us later
<sdschulze> tuxbrain_zzz: I see. :(((
<sdschulze> The pricing policy of the devboard is strange.
<kyak> what's the price of devboard?
<sdschulze> $199
<sdschulze> You pay $100 extra for having a USB host and 32 MB more RAM -- but having no keyboard and no screen.
<sdschulze> and no case
<zear> i guess that's the production costs for smaller batch
<sdschulze> Might be, though $199 looks extremely rounded.
<sdschulze> And it certainly doesn't attract developers.
<sdschulze> What I want to do is:
<sdschulze> I will be moving to a student apartment quite soon and I will take my computer with me.
<sdschulze> At home, I want to leave a machine that doesn't cost too much and doesn't draw too much power but can do some network services.
<sdschulze> and is more powerful than a WRT54G
<sdschulze> A NanoNote would be ideal -- if it had network.
<sdschulze> (No, don't tell me to buy an SD NIC)
<sdschulze> (at least not if it's WiFi)
<zear> sdschulze, you can plug it to a pc host and forward the internet to it (i know it's useless :D)
<sdschulze> The point is that I want to eliminate the PC part.
<sdschulze> because I'm taking my PC with me
<Textmode> meep?
<sdschulze> ?
<Textmode> what are you talking about?
<sdschulze> about getting a network connection on a NanoNote without a PC
<Textmode> ah. yeah, that would be nice.
<Textmode> isn't your main option an SDIO card?
<sdschulze> Maybe the idea I came up with yesterday wasn't even so bad.
<Textmode> (but since it has only one slot, that deprives you of a SDcard...
<sdschulze> Textmode: AFAIK only for WiFi
<sdschulze> I'm moderately skilled at USB stuff...
<Textmode> problem is that while the NN has a USB port, it only operates in slave mode, doesn't it?
<sdschulze> exactly
<Textmode> which means that most ots usb equipment isn't usable.
<Textmode> it should of USB-to-go, then we wouldn't be having any issues :/
<Textmode> of been*
<sdschulze> Taking a Teensy, a USB hub and a USB-Ethernet adapter should make it.
<sdschulze> with like a week of full-time hacking
<Textmode> hmm...
<Textmode> whats the smallest usb hub you can find, and is it powered?
<sdschulze> My primary issue would be: how do I get a Teensy in Europe?
<sdschulze> $9.30 shipping, not tracked, not insured
<Textmode> that sucks :/
<sdschulze> only because two pins are not connected on the board
<sdschulze> Otherwise, you could easily access the USB 1.1 hot on the SoC.
<Textmode> ?
<sdschulze> *host
<Textmode> SoC?
<sdschulze> the JZ
<Textmode> ah
<viric> larsc: is there a memory advantage in having a kernel without modules?
<viric> larsc: I finally understood what patches to use to build the kernel I think :)
<larsc> viric: good :)
<viric> larsc: I did not understand the openwrt parts about the 'sound module'
<viric> It looks like it builds .ko objects, but the kernel is built without module support
<viric> (accordingt qi_lb60/config-2.6.35)
<larsc> hu?
<viric> ahm
<viric> wait
<viric> :)
<viric> I just noticed qi_lb60/config-2.6.35 is not very complete
<viric> I'm trying to understand how linux/xburst/config-2.6.35 and linux/xburst/qi_lb60/config-2.6.35 are combined, and if there are more options combined in
<larsc> target/linux/generic/config-2.6.35 is the base config
<viric> ahh
<viric> and the others are catted ?
<viric> so I can cat all of them into .config, and 'make oldconfig'?
<viric> generic + xburst + qb_lb60 ?
<viric> I'm trying that
<viric> larsc: I cannot find the sound module...
<viric> larsc: I just booted my own built kernel...
<viric> larsc: and I cannot switch to virtual console 2 or 3, where the inittab spawns a getty
<viric> gettty
<viric> I have VT enabled, VT_CONSOLE too, FRAMEBUFFER_CONSOLE too, ...
<viric> in fact even power off does not work
<viric> the last message I see on the kernel console is "FPU emulator disabled, make sure your toolchain was compiled with software floating point support (soft-float)"
<kristianpaul> wolfspraul: i'm in Buga\Colombia btw :)
<kristianpaul> bogota wsa temporary just fot the cparty
<kristianpaul> s/fot/for
<wolfspraul> sure I know
<wolfspraul> I just simplified for our donation friend, who I 100% certain think will never donate anything anyway :-)
<wolfspraul> (is he still here, forgot the nick - if so I'm sure I will get another earful... :-))
<wolfspraul> kristianpaul: I was just thinking what I would do if someone really wanted to donate 1200 USD
<wolfspraul> buying NanoNotes is wasteful
<wolfspraul> giving away hardware is also dangerous, I really don't believe in it, whether NanoNotes, or Milkymist, or what not
<wolfspraul> so the best would be your trip to Berlin! :-)
<wolfspraul> actually I'm curious - are you confident you would get a visa?
<wolfspraul> I know this drama from Nelson, I thought should be no problem but I was proven wrong. He couldn't even get a transit visa to fly via Paris!
<wolfspraul> crazy...
<kristianpaul> hmm i can try on qemu isnt?
<kristianpaul> ops
<wolfspraul> two channels :-)
<kristianpaul> wolfspraul: dont known yet i'll ask a friend (he know nelso i think) who got visa and wen to germnay, so he can tell me more what to expect and to to void problems
<kristianpaul> s/wen/went
<wolfspraul> I think 27c3 is not realistic
<wolfspraul> don't know who can cover all the costs...
<wolfspraul> maybe next year when we are all rich :-)
<kristianpaul> all try my self yeah, plans a next year is better more time :)
<kristianpaul> at least if i got visa is okay for future use :)
<kristianpaul> ***if**
<kristianpaul> wolfspraul: any way thanks for help :) you are really supportive
<wolfspraul> kristianpaul: you have to be careful with the visa thing
<wolfspraul> I learned a lot working with Nelson on this
<wolfspraul> in Colombia you have to present your passport _HISTORY_, i.e. you current passport as well as your older (expired) passports
<wolfspraul> they can trace them back because the new one will list the serial number of the prior one
<wolfspraul> and now - the icing on the cake - if you have a denied visa in any of your history, chances are very high you will also get trouble with new visas
<wolfspraul> that means - you should only apply if you are relatively certain you will pass
<wolfspraul> if not, you get a nice denial stamp in your passport, and thanks to this 'chaining' system you cannot really escape that anymore
<wolfspraul> if you don't show up with some of your old passports, of course your visa might get denied right there already
<wolfspraul> we have to change a lot of things I'm afraid, sometimes I feel this copyleft hardware thing is only the first mission :-)
<wolfspraul> so - don't apply just for fun. a visa denial can be quite bad in Colombia.
<wolfspraul> talk to Nelson or others who have more experience
<kristianpaul> ah i'm stucked i dont have old passports to support visa thing
<kristianpaul> ok i will
<kristianpaul> damm i tought it was hard but no so problematic :(
<kristianpaul> :(
<wolfspraul> you are young, maybe the passports when you were still a child (!) are exempt
<wolfspraul> who knows I am not making these rules
<wolfspraul> I just went through a painful experience inviting Nelson to Taiwan
<wolfspraul> in the end we made it but I learned my lesson and it didn't quite go the way I thought it should go
<wolfspraul> angry letters on my end of course didn't help a thing either :-)
<lekernel> kristianpaul, so you're trying to go to 27c3 eventually?
<lekernel> btw they released the cfp wolfspraul :)
<lekernel> and we have until october to submit
<kristianpaul> lekernel: yeah that could be a good idea
<wolfspraul> yes I saw it somewhere
<kristianpaul> as i said i jsut discover that event last year
<wolfspraul> kristianpaul: it would be a great event for you indeed
<wolfspraul> but need to be patient
<kristianpaul> ok
<wolfspraul> visa + finances, not so easy...
<kristianpaul> indeed
<lekernel> I've heard the CCC sometimes provides financial help
<lekernel> but I'm not sure how and for what
<zear> wow, that really sucks
<lekernel> what?
<zear> the visa trouble
<lekernel> you have no idea about the amount of overhead in the world :)
<zear> i do, i need to have a visa to usa
<kristianpaul> where you are located?
<zear> poland
<zear> the middle of europe and an EU country
<lekernel> poland isn't visa exempt?
<zear> nope, it's not
<lekernel> you might have just to fill in that "electronic travel authorization" crap
<zear> nope
<lekernel> huh, ok
<zear> they are known to stop us on the airport in usa and deny the entry
<zear> even if you have a visa
<lekernel> I thought all EU countries were visa exempt
<lekernel> maybe not the eastern ones...
<zear> because they suspect us terrorists
<zear> that's retarded, we're europeans
<zear> lekernel, czech is, just not poland
<zear> after helping usa for so many years in afghanistan and iraq, they still require us to have visas..
<lekernel> yeah, and just before boarding they make you sign retarded declarations that you're not bringing a bomb in the plane ...
<zear> yeah
<wpwrak> lekernel: even austria isn
<wpwrak> t entirely
<zear> seen them
<zear> well, at least we can get visas to north korea, unlike americans ;)
<kristianpaul> need to find what countries me can get easy easilly :)
<kristianpaul> wolfspraul: may be that can be useefull to give more outputs to the Ben
<kristianpaul> there are 1000~ out there so just usb client issue need to be solved some way
<kristianpaul> **just a tought**
<wpwrak> the ben would have plenty of io if it used it a bit more intelligently :)
<wpwrak> pity that there's no chance for layout changes for the next ben production run. a few "interesting" ios would be easy to recover
<kristianpaul> ah this modules is almost half nanonote is
<kristianpaul> no good idea
<kristianpaul> in price*
<bartbes> is it known that gmu can simply decide to exit/crash when playing certain songs
<bartbes> (presumably those with cover art)
<bartbes> even when it's disabled in the conf
<bartbes> :(
<wejp> bartbes, no that should never happen
<wejp> if it crashes, please send me the log output of gmu. gmu is pretty verbose on stdout which you can redirect to a file. this would help a lot
<bartbes> wejp: I'll do that
<wejp> thanks
<bartbes> but I doubt it'll be of any use
<bartbes> the part I normally see in the display is not too informative
<bartbes> oh great..
<bartbes> I must be doing something wrong
<wejp> usually it helps finding the reason, or at least it gives a hint where to search. if it doesn't and it crashes on the same files again, you could send me one of those files
<bartbes> it crashes on all files with embedded cover art I have
<bartbes> somehow the redirection goes wrong..
<bartbes> the file is empty
<bartbes> and it's not on stderr, I know that for sure
<wejp> that is really strange, but i guess i could fix that problem (if it actually exists) if you can give me such a file
<bartbes> maybe it hasn't flushed yet?
<wejp> maybe
<bartbes> btw, I tried disabling cover art in /etc/gmu/gmu.nanonote.conf is that the right place?
<bartbes> (because it failed)
<wejp> you could run "sync" afterwards
<bartbes> what's the newest version of gmu btw?
<wejp> bartbes, on the nanonote, you have a user config in ~/.config/gmu which overwrites the global config in /etc/gmu
<wejp> gmu 0.7.1 is the latest version
<wejp> so if you run as root it is /root/.config/gmu/gmu.nanonote.conf
<bartbes> ah
<bartbes> I still run 0.7.0
<bartbes> and disabling it in the user conf helped
<bartbes> (I was looking for .gmu before)
<bartbes> could it be something you fixed in 0.7.1?
<wejp> the program info screen also tells you which config path gmu uses
<wejp> so to be sure, check that
<wejp> always use the latest version and try to reproduce it with that one, i always fix bug if people report them
<bartbes> oh I found it in .local and it worked
<bartbes> right, is there a package available somewhere (you just happen to catch me on windows..)
<wejp> i don't remember a bug causing a crash with embedded cover artwork though, worked fine for most people
<wejp> yes, as always, there is a package on my website
<wejp> ok, thanks
<bartbes> still crashes 0.7.1
<wejp> ok, i'll test with that files myself
<bartbes> (that is just an example btw, it fails to play about half of the music I put on it)
<wejp> oO
<wejp> that is really strange
<bartbes> yes, it's that bad
<bartbes> at least I know how to disable it
<wejp> never heard such a thing from anyone else
<bartbes> maybe other people have less cover art ;)
<wejp> maybe, but i also have files with cover art that don't cause a crash
<bartbes> true
<wejp> but i'll try to figure out what's going on there
<bartbes> maybe it's related to cover art resolution?
<wejp> gmu should just refuse to load cover images above a certain resolution
<bartbes> I noticed in all crashes where I bothered to read the resolution was higher than ben's screen resolution
<wejp> that shouldn't cause a problem, gmu scales the images anyway
<bartbes> okay
<wejp> but the limited memory of the ben is an issue, so gmu refuses to load large images to not run out of memory
<wejp> at least it should
<bartbes> right
<wejp> hm, your file works fine here and gmu even loads the cover image just fine :O
<bartbes> :O
<wejp> it is 450x421 pixels in size
<bartbes> copies the file to an alternate location
<wejp> a slice of toast ;)
<bartbes> indeed it is :P
<wejp> hehe
<bartbes> can't get it to load here
<bartbes> can I check for unmet dependencies?
<wejp> hmm, you need libjpeg of course, as in your file the image is of type jpeg, but you should have that one
<wejp> does gmu crash with a segfault?
<bartbes> no
<bartbes> it simply.. quits
<bartbes> the end looks like this
<bartbes> "Loading cover image of type image/jpeg form song meta data (tag)...
<bartbes> "Loader thread.
<bartbes> "Loading image from memory...
<bartbes> "image dimensions: 450 x 421
<bartbes> "fileplayer: UNPAUSE AUDIO!"
<bartbes> (the others are prefixed by coverimg:)
<viric> uh. I don't know what to do with the uboot nand part:
<viric> Checking 454656 bytes... Comparing 454656 bytes - FAIL at off 245, wrote 0x0, read 0x20
<wejp> hm, looks fine so far
<wejp> really strange :|
<bartbes> tell me about it
<bartbes> and as far as I can tell I'm not doing anything strange
<wejp> and the "fileplayer: UNPAUSE AUDIO!" is the last one?
<bartbes> yes
<wejp> viric, did you try erasing the whole nand?
<bartbes> on 0.7.0 it used to end with 1 stop and 2 pause iirc
<viric> wejp: yes. I did not try that today, but when I tried, I got the same results
<viric> 'whole nand' means, though, uboot+kernel, right?
<viric> the command I see takes away 4096 blocks
<wejp> viric, are you flashing through usb? i had similar problems on one computer but it worked fine on another
<viric> wejp: yes, through usb
<viric> wejp: it works fine for the kernel and the rootfs. But it fails on the uboot
<wejp> viric, then try it on another computer if possible, and do not use a usb hub
<viric> I don't use a usb hub.
<viric> I can try another plug...
<wejp> do you use a laptop computer? those sometimes use internal hubs
<viric> yes, laptop
<wejp> hm, do you have another computer around?
<viric> Mm I can find one
<viric> I'll install the tools there
<wejp> bartbes, you did not accidentally enable gmu's shutdown timer? ;)
<bartbes> how would I do that?
<viric> wejp: am I right that the command to 'erase the whole nand' erases only kernel+uboot?
<bartbes> and how would it time this perfectly?
<bartbes> and, as I said, disabling cover art works
<viric> wejp: here explained: http://en.qi-hardware.com/wiki/Xburst-tools
<bartbes> wejp: and it's not too big of a problem, I'm probably not going to look at the cover art anyway, but this is a serious bug I'd say
<viric> wejp: in another usb port it looks like succeeded
<wejp> bartbes, with Alt+T
<wejp> viric, good :)
<viric> wejp: mmm I want an uboot command line
<viric> wejp: I did not expect it to work because of the usb port change :)
<wejp> bartbes, if there is a bug, it should be fixed, so i would like to figure out what's happening there
<bartbes> same here
<viric> wejp: I've built uboot, and it boots. I've built the kernel, and it boots, but it halts suddenly after apparently having loaded everything
<viric> using 'strings' on uboot I see this kernel commandline:
<wejp> viric, hehe, me neither, but as i had similar problems which i could solve by using a different computer, i though suggesting that could help :)
<bartbes> and I tried it on both /data and /card (and yes, that is a memory card), so it's not the fs or fs type
<viric> bootargs=mem=32M console=tty0 console=ttyS0,57600n8 ubi.mtd=2 rootfstype=ubifs root=ubi0:rootfs rw rootwait
<wejp> yeah, would be really strange if it was the file system
<bartbes> but worth checking anyway
<bartbes> I guess it can't be a damaged file either, with so many files affected
<wejp> as it does not crash but just seems to exit, it must be caused by something else.
<viric> wejp: the last lines of the kernel: "VFS: Mounted root ubifs...  ;   Freeing unused kernel memory ... ; FPU emulator disabled, make sure...."
<viric> and it even does not shut down after this.
<bartbes> wejp: yeah, but what? buffer overflows? or is it voluntary?
<wejp> if the shutdown timer is enabled, you see a number (the remaining minutes) in the upper left corner or "[S]"
<wejp> it looks like it voluntarily exits
<bartbes> it kind of does
<wejp> still i don't know why
<wejp> sorry, upper right corner that is
<bartbes> oh right
<bartbes> no that's not it
<wejp> okay
<bartbes> that would make its timing exceptionally great though
<wejp> true
<bartbes> loaded decoders
<bartbes> well
<bartbes> I can trim those I guess
<bartbes> because some don't even have backends that work
<bartbes> but it doesn't seem like that would cause this..
<wejp> yes, you can simply delete the .so files you don't need
<wejp> so gmu always exits with that file with cover artwork enabled and does not exit with cover artwork disabled?
<bartbes> correct
<wejp> ok, so at least i have an idea where to look
<wejp> still this makes not much sense to me. the only thing i could imagine is that, despite the check for the image size, gmu still runs out of memory and exits because of that
<wejp> the image size actually is well below the size limit, though
<viric> larsc: the kernel boots and looks hanged... any advice? :)
<bartbes> brb, reboot
<larsc> viric: where does it hang?
<viric> the last lines of the kernel: "VFS: Mounted root ubifs...  ;   Freeing unused kernel memory ... ; FPU emulator disabled, make sure...."
<viric> it's 2.6.35
<larsc> you have a openwrt rootfs and a custom build kernel?
<viric> I have a debian rootfs
<larsc> ok
<viric> custom build kernel, yes.
<viric> (not with openwrt)
<viric> and custom built uboot
<viric> (sorry :)
<viric> But I took all the files and patches from openwrt
<viric> it looks like the ubifs mounts fine
<larsc> the openwrt patches change the default init to /etc/preinit
<viric> Ahhh nice
<viric> I better change it to /sbin/init?
<viric> back
<larsc> yes
<viric> I'll take a look
<viric> well
<viric> if I could get an uboot cmdline... is it possible?
<larsc> via serial
<viric> only?
<viric> I don't have a serial line..
<viric> I can rebuild uboot too
<viric> the kernel cmdline is there hardcoded
<viric> I'll check.
<bartbes> wejp: so, any ideas yet?
<viric> yesterday I learnt how difficult it is to cross-build perl.
<viric> very portable, they say!
<kristoffer> perl is very nasty to crosscompile alright
<viric> unfortunately, some people success doing that, and then they don't fix anything :)
<viric> btw, am I right that I have to take the battery out to exit 'usbboot mode'?
<wejp> bartbes, not yet, like i said, the only thing that seems possible is gmu running out of memory, so it quits to avoid a crash. if that is the case, and when it is, why there is too little memory available, i don't know yet
<viric> larsc: humm I built without applying the preinit patch, and it still hangs there. Wouldn't it warn, if it was not finding init?
<bartbes> wejp: is there a way to check that?
<wejp> you could check how much memory you have left when running gmu
<wejp> just run top on another terminal and it should at least give you an idea how much memory is available
<wejp> if you use another terminal while running gmu, you might want to disable gmu's energy saving feature which turns of the display after a few seconds. you can do that through the config file
<bartbes> will do
<bartbes> what the hell? top looks horrible!
<larsc> viric: yes. it should give you an error message
<bartbes> wejp: the combination of top looking like this and gmu quitting before I even have a change of switching to top makes it impossible for me to test this
<wejp> no, just run gmu, then switch to top, it is not neccessary to play a file that makes gmu quit
<wejp> if it quits because of low memory, you must already be short on memory before that actually happens
<bartbes> well ehm
<bartbes> top kind of is unreadable
<bartbes> I'll try looking at it via ssh
<bartbes> wejp: ah, ssh makes it readable
<wejp> good :)
<bartbes> 31% mem use in standby
<bartbes> (gmu alone)
<wejp> ok, that's just fine, but the more interessting part is, how much memory is available
<wejp> that is, free memory without buffers and caches
<bartbes> Mem: 21004K used, 7476K free, 0K shrd, 604K buff, 4624K cached
<wejp> ok, that looks okay
<wejp> not like it is runnign out of memory any minute
<wejp> must be something else then
<bartbes> btw
<bartbes> is it normal for it to have 4 processes (forks, I guess)
<viric> larsc: that debian rootfs has /etc/preinit
<viric> larsc: totally equal to /sbin/init
<wejp> bartbes, those are not four processes, to pshow each thread as one process. so yes, that
<wejp> is just fine
<bartbes> top shows threads? seriously?
<viric> I'll try adding cpu emulation
<wejp> yes, gmu does not fork itself
<wejp> only busybox's top seems to do that
<bartbes> right busybox
<bartbes> sometimes my best friends, at other times my worst enemy
<wejp> hehe
<bartbes> (mostly because they all differ from the 'full' version)
<bartbes> just as I *hate* the netcat currently installed on my computer
<wejp> yeah, but on the other hand busybox is a really great tool
<bartbes> exactly
<bartbes> it provides you with a lot of stuff at low cost
<wejp> yep, one can get a complete linux system up and runnign that consists of only the kernel and busybox :)
<bartbes> tomsrtbt came close to that
<wejp> when trying to build a system from scratch without busybox, one needs lots of things
<larsc> i think the reason why there are 4 process is because of how uclibc handles threads
<wejp> ah yes, that's possible
<viric> larsc: I added fpu emulation, and I could switch the virtual console
<viric> larsc: but 'backspace' or 'enter' don't work
<larsc> you need to load a keymap for the nanonote
<viric> hm
<viric> should the init scrips do that, or I can set the kernel with a proper default at build time?
<larsc> either you use the patch from 2.6.34 that changes the keymap inside the kernel
<viric> ahm ok
<viric> great! You are of a great help
<viric> larsc: can you imagine what can be needing FPU emulation there?
<viric> I think the kernel does not have any float. Right?
<larsc> nope, but userspace i guess
<larsc> openwrt userspace is compiled with softfloat
<larsc> but debian not
<viric> ahhh
<viric> hence.
<viric> strange that something related to the boot involves floats.
<viric> that hard/soft float is not something written at ELF headers; it's simply different instructions in the text, right?
<larsc> yes
<viric> I hope I could get rid of that debian soon :)
<viric> ARgh
<viric> something weird happened
<viric> Now when I put the battery back, it boots
<viric> instead of waiting the power button push
<viric> and additionally it hangs on 'starting kernel'
<viric> larsc: hmmm the kernel 2.6.35 with the 2.6.34 patch does not boot at all
<viric> larsc: hmm (4096-1024) means 1,5MiB available for the kernel?
<larsc> there are 2MB availbale for the kernel
<larsc> page 1024 to 2047
<viric> ah ok
<viric> Why the 'total nand erase' erases only 4096 pages? There are more in the nand
<viric> larsc: the kernel I have has the size 1990998
<viric> (the uImage)
<viric> it should be fine I understand
<larsc> yes
<viric> somehow I broke the ubifs...
<viric> ah, total nand erase destroys the first 2MiBs of the ubifs
<viric> larsc: the 2.6.35 kernel with the keymap patch does not boot at all (I took the 500-* patch from 2.6.34 of the current openwrt trunk)
<larsc> thats strange
<viric> Finish! (len 446464 start_page 0 page_num 109) Checking 446464 bytes... no check! End at Page: 109
<viric> why it says 'no check'?
<viric> grr. I have problems to boot 'anything' now.
<qi-bot> [commit] David Kühling: switch to newer upstream snapshot with improved MIPS support. http://qi-hw.com/p/openwrt-packages/d50d5ae
<viric> wejp: I'm back at the uboot flashing error! grrr. The port that worked, does not work anymore
<wejp> oh
<viric> always a failure at the same byte 2048
<viric> I'm using xburst-tools on x86_64. It should not be a problem I gues
<viric> wejp: using another computer I get a failure sooner
<viric> FAIL at off 245, wrote 0x0, read 0x20
<wejp> mh
<viric> I'll try with an expensive usb cable
<viric> ahm
<viric> a usb2 cable should work only better
<viric> grr
<viric> now it says:
<viric> Checking 454656 bytes... no check! End at Page: 111
<viric> why it says 'no check'?!
<viric> anyway, it worked now I think
<viric> It will take me lots of days to learn this nanonote :)
<viric> larsc: I tried again, and with the keymap patch it does not boot
<viric> larsc: on uboot's Starting linux, the characters get moved some spaces from left to right, and there hangs
<viric> no linux messages at all
<viric> so I'll go for the userland tool on keymap
<viric> larsc: grr It's my fault about the keymap I think
<viric> larsc: patched bad. I forgot the xburst patches for 2.6.35 at all when I tried the keymap patch
<viric> larsc: and in fact 2.6.35 already has the modifier keys patch in 2.6.35. I don't know why the backspace/enter keys did not work then
<larsc> viric: no it has not
<viric> larsc: I have a more concrete report. It's the right column of the matrix that does not work: p/backspace/enter/vol1/vol2/leftarrow/downarror
<larsc> ok. thought you were refering to the qi-kernel tree
<viric> Now I have the keymap you gave me loaded at the init scripts
<viric> larsc: I did not go on with the qi-kernel tree because that lacked 'make uImage'
<viric> I'm using mainline 2.6.35 + openwrt patches. That is not the best to do?
<viric> I remember that one day you pointed me to use the openwrt-trunk kernel patches. Maybe I understood wrong
<viric> I'll try to build a 2.6.34 from the openwrt trunk
<viric> larsc: when I said leftarrow/downarrow I meant rightarrow/downarrow
<viric> I suspect that ctrl doesn't work too.
<larsc> hm
<viric> larsc: I can ssh into the nanonote though.
<larsc> could you dump /sys/kernel/debug/gpio ?
<viric> Hm I don't have that path
<viric> I have to mount the debugfs iirc
<larsc> yes
<larsc> mount -t debugfs none /sys/kernel/debug
<viric> I have the 2.6.34 built. May I try it? I can put the 2.6.35 back if you want later
<viric> in 2.6.34 the keyboard works fine.
<viric> (well, it's 2.6.34.1)
<larsc> hm, yes one gpio seems to be wrong
<larsc> gpio-121 (matrix_kbd_row      ) in  hi irq-177 edge-both
<larsc> this should be gpio-120
<viric> ahh
<viric> and now where will the fix go?   qi-hardware kernel 2.6.35? openwrt-trunk patches?
<viric> both?
<larsc> both
<viric> great
<viric> I want to test the sound of the nanonote. Is there anything I should know? I'd go with alsamixer and madplay
<larsc> sound is pretty loud ;)
<viric> the volume keys will work?
<viric> :)
<larsc> patch is commited in openwrt-trunk
<viric> great!
<larsc> i don't think so
<viric> alsamixer will work?
<viric> In the openwrt I tried, it did not
<viric> And in the debian, there was no sound card support
<larsc> alsamixer should work if the sound module are loaded
<larsc> or sound support is builtin
<viric> I put it on the kernel
<viric> grrr I don't know in what debian package alsamixer is
<viric> alsa-utils I hope
<viric> oh, it looks like working!
<larsc> great :)
<viric> I'll put a mp3 file there now
<viric> It plays!
<viric> Although the minimum volume is quite loud, and the maximum louder.
<viric> ah, with *muted* master it still sounds, although very (the opposite of loud)
<viric> larsc: how accurate are the cpu usage counter? I get during madplay a 20% user, 80% idle, loadavg of 0.04
<larsc> no idea
<viric> is the loudness of the speaker a software issue?
<viric> even headphones I cannot use :)
<larsc> nope hw
<larsc> but could be 'fixed' by using a softvol
<viric> aha, I understand
<viric> or an alsa plugin?
<viric> or a proper alsa config, I don't know much
<viric> for the program not to need that specially.
<tuxbrain_away> larsc: on the testing software the volume has 7 from 0 to louder so I thing is just soft issue
<tuxbrain_away> 7 levels
<larsc> testing software?
<tuxbrain_away> yes the software what nano comes before the OpenWrt
<larsc> never seen it
<larsc> but i can tell you for sure that the hw only has 4 volume levels ranging from loud to very loud
<tuxbrain_away> it has a simple menu to test mic, screen, speakers, keyboard ....
<tuxbrain> I don't know if wolfspraul has the source of it
<viric> alsamixer shows 4 levels
<viric> I'm not having luck writing the softvol .asoundrc
<viric> tuxbrain: do you use it?
<viric> larsc: oth, do you know where is the code for the SIMD instructions in mplayer?
<larsc> no
<viric> ok
<viric> I read it was a big file in hexcode, because xburst did not want to publish the SIMD instructions
<tuxbrain> virc: I have use it on my first nano, but then I reflash with OpenWrt and the next once also comes with Openwrt installed
<tuxbrain> viric: GMU player can manage the volume to 0(silence) to 15(louder)
<viric> ok
<viric> Can you paste your .asoundrc somewhere?
<viric> larsc: on 'ps aux' I get a sum of RSS of about 3 or 4MB
<viric> larsc: but 'free' reports 12MB used. Is that by some kernel option I should not have used?
<viric> larsc: or... how could I know the concerning kernel option?
<viric> (12MB used not counting the buffers/cache)
<viric> there are linux around on 8MB systems...
<qi-bot> [commit] Werner Almesberger: Added problem statement and described more details of the process. http://qi-hw.com/p/ben-counterweight/d497d67
<viric> larsc: I was talking about this, FYI ftp://ftp.ingenic.cn/3sw/01linux/05apps/mplayer/
<kristianpaul> nah back to openwrt :)
<tuxbrain> wejp: about lyrics on gmu, it has to be a separates files with same name of the of the song file in the directory, with txt extension?
<wejp> tuxbrain, either that, or for mp3 files they can be embedded into the file, but this obviously does not apply for the nanonote
<wolfspraul> wejp: sorry for the confused question - are you the original gmenu2x or gmu author?
<kristianpaul> Hanvon N516 e-book reader
<wolfspraul> I saw the new GMU icon from Mattes and looked around a bit where or how this would need to be committed. Which made me realize I have no idea where upstream is :-)
<kristianpaul> why is this device in openwrt-xbusrt?
<wolfspraul> the gmenu2x project on qi-hardware says 'temporary location for the Ben NanoNote', but there seems to be quite a bit of work going on there
<wolfspraul> kristianpaul: it's another device with Ingenic's 4740 CPU (same die as in Ben NanoNote)
<kristianpaul> ok
<wolfspraul> at some point I tried to get more datasheets out of Hanvon, but failed
<kristianpaul> btw i'm using openwrt in my nanonote as default
<wolfspraul> it's also one of the main devices for www.openinkpot.org
<kristianpaul> jlime for sd
<kristianpaul> oh
<kristianpaul> now i need find out how implement bit banging in kernel, seems well documented
<kristianpaul> :)