Topic for #qi-hardware is now Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs
Hoolxi has quit [Remote host closed the connection]
jekhor has quit [Ping timeout: 264 seconds]
freemor has joined #qi-hardware
xiangfu has joined #qi-hardware
freemor has left #qi-hardware [#qi-hardware]
porchao has joined #qi-hardware
LunaVorax_ has quit [Ping timeout: 245 seconds]
<kristianpaul> hmm i tought they had give up with that *certification thing..
<kristianpaul> and now a hardware first !
<kristianpaul> did they certify software before? well i guess all gnu but not in that way.. :-/
<kristianpaul> well :-)
<kristianpaul> gn8 ;)
<kristianpaul> ha
<kristianpaul> cat Arduino_MEGA_2560-Rev3.sch | grep eagle
<kristianpaul> <!DOCTYPE eagle SYSTEM "eagle.dtd">
<kristianpaul> </eagle>
<kristianpaul> <eagle version="6.0">
<kristianpaul> this sure respect my freedom of running gratis software :-)
urandom__ has quit [Quit: Konversation terminated!]
<pabs3> is that related to the LulzBot or an Arduino related comment?
guanucoluis has quit [Ping timeout: 245 seconds]
<pabs3> thanks
<wolfspraul> pabs3: unfortunately the fsf advocates the inclusion of proprietary software embedded in hardware (seriously), so if you care about freedom, you have to be careful about where they guide you
nikescar has quit [Read error: Connection reset by peer]
<pabs3> well aware of that
nikescar has joined #qi-hardware
<wolfspraul> there have been enough bizarre cases where between 2 solutions, one with some proprietary software open (so one could write a replacement), and a second one with the same proprietary software hidden (and unreplacable), the fsf advocates use of the latter
<wolfspraul> although somehow those discussions feel like a thing of the past to me, I'm not sure who still cares about the fsf nowadays?
<pabs3> I half-understand their reasons for that, but they seem to forget the existence of reverse engineering
<wolfspraul> definitely in the past for me now, and I do find more and more people tell me "oh, I already stopped caring about that x years ago" :-)
<wolfspraul> if apple would make the ios un-updatable, maybe the fsf could recommend/endorse the whole thing then :-)
<wolfspraul> it's just good for a laugh nowadays...
<pabs3> so are there no free tools to view/edit eagle files?
<wolfspraul> there was a chance for their leadership, but I think it passed many years ago
<wolfspraul> do you care about what hw they 'endorse' or 'certify'?
<wolfspraul> I think there are maybe a few hundred people in the world that care
<wolfspraul> max 1000
<pabs3> me? no.
<wolfspraul> maybe a few of those rare species are on this channel though :-) quite possible...
<wolfspraul> oh, not even you
<wolfspraul> alright then
<wpwrak> pabs3: haven't heard of any. there should be tools to convert footprint libraries, though. not sure about schematics symbols.
<pabs3> oh, they have AutoCAD files too :/
<wpwrak> it gets better and better ;-)
<wpwrak> perhaps it's best to think of this as publicity. some people see "FSF" and that makes them feel good. few will dislike it because of the FSF. so it's a win for the project.
<wolfspraul> well I see it a little different. the fsf continues to harm itself with this.
<xiangfu> mth, just test your jz-3.6 branch. works fine on nanonote. (for work fine with OpenWrt rootfs. we still needs some patches from openwrt)
<wolfspraul> the positive impact for the project is minuscule, as I have seen on several occasions
<wpwrak> maybe it just makes the project members feel better ;-)
<wpwrak> "the great gnu smiles upon us. now we're blessed."
<wolfspraul> fsf is a software-only project and philosophy...
<wpwrak> that was good enough for many a warrior to travel to strange lands and get himself killed in a holy war, so it can't be all bad :)
<wolfspraul> their place in the software philosophy history books is secure, the rest is about securing a few lobbyist jobs some more years :-)
<wolfspraul> autocad and eagle shouldn't surprise anybody
<wolfspraul> anyway this is my perspective, funny to see that this hw endorsement stuff is still limping along :-)
<wpwrak> well, autocad surprises a bit. it's not a very common choice for such things. eagle is much less surprising.
<wpwrak> what has never lived cannot die ;-)
<wolfspraul> that's a nice play on 'free software never dies'
<wolfspraul> :-)
<wpwrak> naw, free sw resists death in other ways. i'd call that particular plan B "homeopathic survival"
guanucoluis has joined #qi-hardware
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
emeb has quit [Quit: Leaving.]
rejon has quit [Read error: Connection reset by peer]
rejon has joined #qi-hardware
guanucoluis has quit [Ping timeout: 260 seconds]
heberth has joined #qi-hardware
cladamw has joined #qi-hardware
heberth has quit [Quit: leaving]
<kyak> mth: jz-3.6 and RNDIS still errors out with code 10 on Windows 7 -\
<kyak> but at least we know now that problem is not in RNDIS, but in USB stack or JZ4740 hardware, right?
<kyak> damnit, i really hoped it would work.
pabs3 has quit [Remote host closed the connection]
pabs3 has joined #qi-hardware
LunaVorax has joined #qi-hardware
LunaVorax has quit [Remote host closed the connection]
cladamw has quit [Quit: Ex-Chat]
<larsc> The FSF has become a institution and often institution care more about keeping themselfs running rather than their original purpose.
jekhor has joined #qi-hardware
<kyak> i think every non-commercial organization is more or less fighting to survive.. doesn't matter how it's called
<larsc> in this case it's not the struggle to survive but rather the inability to react to change
<larsc> e.g. one way a society can react to such a situation is to allow the organization to keep all its precious banners but any real power or saying is diverted from it
<larsc> and I think that fits quite nicely what's going on here
<larsc> one famous example is e.g. the british monarchy. The Queen is still allowed to call herself the Queen, but she has no other purpose but being the Queen.
<xiangfu> larsc, good point.
<larsc> xiangfu: all stolen from "The evolution of Civilizations". Just saw that the book is on archive.org. The PDF starting from page 89 covers that topic.
<wpwrak> larsc: hmm, i think the queen actually does have significant power. it's just that she's not obliged to exercise it. http://en.wikipedia.org/wiki/Reserve_powers#United_Kingdom
<wpwrak> i like the bit "The full extent of the Sovereign's prerogatives has never been fully disclosed,"
<wpwrak> i'll remember that when i establish my evil empire of world domination
<mth> kyak: yes, the only relevant difference between the JZ4740 and JZ4770 situation is the hardware and USB driver
kristoffer has joined #qi-hardware
<mth> larsc said it might be possible to use the musb driver on 4740 as well, but I don't know how that would work exactly
<larsc> hopefully it would work good ;)
<mth> :)
<larsc> wpwrak: notice the "In practive however..."
<larsc> practice
<wpwrak> yeah, she has to wait until there's a crisis in the government. e.g., in this case: http://en.wikipedia.org/wiki/1975_Australian_constitutional_crisis
<larsc> maybe the FSF has to wait unitl there is a crisis in the opensource movement ;)
<wpwrak> oh dear :)
<xiangfu> "The power to declare War and Peace" how to declare a Peace?
<xiangfu> wpwrak, there is no China in that wiki page [http://en.wikipedia.org/wiki/Reserve_powers]
<kyak> larsc, mth - how can use musb driver with JZ4740?
<kyak> xiangfu: first you have to declare War :)
Jurting has joined #qi-hardware
<larsc> kyak: it appears that the jz4740 uses the musb core.
<larsc> And there is a driver for the musb core
<larsc> what is missing is the glue code which hooks up some jz4740 specfic things to the musb driver. like clocks, interrupts, memory regions
<kyak> oh, ok.. i thought it's a matter of configuration, but we need to code
<kyak> do you think using musb driver would help with RNDIS issue, or it is a hardware issue (like for other USB gadgets)?
<larsc> no idea
<kyak> ok, thanks anyway
<xiangfu> kyak, btw: I start to use tp-link + nanonote. that will fix most of the nanonote weakness.: http://www.openmobilefree.net/?p=1808
lekernel_ is now known as lekernel
GNUtoo-desktop has joined #qi-hardware
wej has quit [Ping timeout: 272 seconds]
wej has joined #qi-hardware
he2 has joined #qi-hardware
he2 has quit [Quit: Leaving]
jekhor has quit [Ping timeout: 246 seconds]
<kyak> xiangfu: looking good, kind of external WiFi/Ethernet card :)
<kyak> just wondering if tp-link is more powerfull than Nanonote?
<kyak> then it's a question where is a head and where is tail :)
<kyak> i mean, if it's an external LCD for tp-link or external connectivity for Nanonote
<viric> how do you power the tplink?
qwebirc22866 has joined #qi-hardware
<qwebirc22866> hello?
qwebirc22866 has quit [Client Quit]
GNUtoo-desktop has quit [Quit: [INFO] fsogsmd : received signal -11, exiting.]
<kyak> guess it's powered via USB
<kyak> though it's kinda strange.. can USB host be powered from USB clients? :)
<xiangfu> viric, there is battery in that device.
<xiangfu> kyak, there are some kind of usb-screen. btw.
<viric> ah ok
jekhor has joined #qi-hardware
paul_boddie has joined #qi-hardware
erikkugel has joined #qi-hardware
<whitequark> kyak: usb host can, if it's an OTG host
<whitequark> check the OTG ACA specification
<whitequark> it's pretty simple, just a bunch of resistors
<Fallenou> win 31
<viric> 31, not bad
<viric> :)
<kyak> whitequark: ah, ok
<whitequark> kyak: technically nothing prevents you from routing VBUS to +5V on the host and doing the reverse on the device
<whitequark> through USB spec requires you to do negotiation
<whitequark> via ID pin
<kyak> i guess i won't be able to charge Ben anymore after that, right? :)
guanucoluis1 has joined #qi-hardware
aisa has joined #qi-hardware
<whitequark> kyak: yes
mirko_ has joined #qi-hardware
mirko has quit [*.net *.split]
<kyak> and then it will probably blow up another computer, which doesn't have that pin reversed :)
<kyak> somehow it reminds me about "cable of death" i received with milkymist :)
paul_boddie has left #qi-hardware ["Kopete 0.11.3 : http://kopete.kde.org"]
mirko_ is now known as mirko
emeb has joined #qi-hardware
<kristianpaul> xiangfu: usb-screen?
<xiangfu> kristianpaul, yes. I know there is such device. and someone have connect that to a OpenWrt router. he also connected usb-keyboard and usb-mouse
<kristianpaul> oh
<kristianpaul> ah yes now i remenber
<kristianpaul> i had seen that screen in some multi seat computers
urandom__ has joined #qi-hardware
<viric> that router is bigger than many computers :)
<kristianpaul> guess 1Gigabit routers are not far big and powerfull than our currents netop computers
<viric> ah yes, gigabit routers must be quite fast
<viric> here we have a linksys with kamikaze...
<viric> And it saturates at ~4MB/s between WAN and LAN
<viric> that's a bit annoying, given that we have a fast WAN link :)
<viric> but we can live with that bottleneck
jluis_ has joined #qi-hardware
<kristianpaul> hope the router can live as well :)
<viric> yes, quite well :)
<kyak> viric: i guess you have NAT between WAN and LAN?
<viric> yes
<kyak> i had that too.. after i bridged WAN and LAN, problem went away
<qi-bot> [commit] Xiangfu: uboot-xburst: update to v2012.10-rc2 (master) http://qi-hw.com/p/openwrt-xburst/1079647
xiangfu has quit [Quit: Leaving]
<viric> kyak: ha! well, I can't do that without trouble :)
<kyak> yeah, this is not always possible :) in my configuration, i have a server before the router
<kyak> which is doing NAT
<viric> this openwrt does vpn with openvpn too
<viric> works well enough :)
<viric> have you seen http://www.wikispeed.com/ ? :) appeared on the press today
<kyak> mine does two WiFi's :) i decided to set up a guest BSSID. this is insane how capable this 7 years device is (with openwrt, that is)
<kyak> no, what's that?
<viric> collaborative open source car
<kyak> for "collaborative" there is AUTOSAR already. "open source" - what, you are going to modify your car's SW? ISO26262 will kick your ass really fast
<kyak> i'm sorry, i'm just not too far from automotive subject
<kyak> this is going nowhere
<wpwrak> kyak: if they can still catch you after the tuning ;-)
<viric> :)
<viric> I didn't pay much attention; I just saw it on the news
<kyak> they can always catch you dead, which they will if you tune wrong :)
<kyak> this is a car and human lifes were talking about, not some god damn linux
<kyak> wpwrak: btw, they've fixed that problem with mkfs.ubifs: http://lists.infradead.org/pipermail/linux-mtd/2012-October/044488.html. The resulting patch contains 4 'goto' though :)
<wpwrak> i don't see any "goto" ?
<kyak> there is an updated patch in attachement
kristoffer has quit [Read error: Connection reset by peer]
kristoffer has joined #qi-hardware
<wpwrak> a download-only attachment ? lovely. i'll just believe you ;-)
<whitequark> text/x-patch
<kyak> is it still true that using goto's is a very bad coding practice? or something has changed?
<whitequark> wpwrak: consider using curl
<whitequark> kyak: kinda, except if you use it for error handling
<kyak> mm.. might be the case here. The code handles errors
<whitequark> e.g.: int error = 0; error = fun1(); if(error != 0) goto err; [repeat as needed] error: close(fd1); close(fd2);
<whitequark> ah yes
<wpwrak> in general, goto is okay if it leads to more understandable code. error handling is a situation where this is commonly the case
<whitequark> it's also used inside kernel in the same fashion
<whitequark> wpwrak: true.
<whitequark> also, breaking from nested loops
<larsc> kyak: 'goto conisdered harmful' has been a bit harmful, because now everybody panics when he sees a goto.
<wpwrak> yup :)
<whitequark> and in very very rare cases you need a computed goto
<wpwrak> that's called "switch" :)
<whitequark> naw
<kyak> what is a computed goto?
<whitequark> a gcc extension: goto *addr
<whitequark> which performs what you think it does
<kyak> ah.. like, goto on the fly.. now this is definitely harmful
<whitequark> wpwrak: Safari's JavaScriptCore interpreter uses this
<larsc> but it's not that harmful if you use it to create non spaghetti code. most other control-flow changing statements can also be considered harmful since they allow you to create bad code
<whitequark> it has bytecode where opcode id is machine word long and is exactly the same as the address of the label handling it in interpreter loop
<whitequark> which sounds pretty insane, but also allowed them to achieve pretty nice performance without sacrificing portability of C
<whitequark> it was also somehow related with fitting the entire interpreter loop in L1 cache
<whitequark> I'm not quite sure how switch prevented that, but it did
<whitequark> ah, in fact computed goto is an extension specifically created for writing interpreter loops
<wpwrak> cases where the address of a label affects the direct input of that computed goto may be the only situations where you need that sort of hack
<wpwrak> as soon as there is some indirection, a switch () could be optimized to be equivalent
<whitequark> wpwrak: the problem is probably that adding another layer of indirection breaks branch predictor
<whitequark> this comment is also pretty nice
<viric> goto isn't that bad; and compilers are quite good at giving warnings and errors for harmful gotos
<whitequark> eh? warnings and errors? can you provide an example?
<wpwrak> whitequark: what i mean is that another layer of indirection is likely to move the trick of using address as opcode beyond the optimization horizon of the compiler. it could still do it if it's able to determine that these values are used only as tokens and only inside that function, but it's much harder.
<wpwrak> and if the values are passed outside the function, it gets even worse
jekhor has quit [Ping timeout: 255 seconds]
<whitequark> wpwrak: yeah, exactly
<whitequark> no known compilers are able to determine that
<whitequark> you'd need lots of visibility tricks and whatnot. maybe a very, very good LTO-capable compiler could do that.
GNUtoo-desktop has joined #qi-hardware
scientes has joined #qi-hardware
erikkugel has left #qi-hardware [#qi-hardware]
paroneayea has quit [Remote host closed the connection]
paroneayea has joined #qi-hardware
wej has quit [Ping timeout: 260 seconds]
kristianpaul has quit [Ping timeout: 260 seconds]
kristianpaul has joined #qi-hardware
kristianpaul has quit [Changing host]
kristianpaul has joined #qi-hardware
lekernel has quit [Ping timeout: 246 seconds]
lekernel_ has joined #qi-hardware
wej has joined #qi-hardware
jekhor has joined #qi-hardware
guanucoluis1 has quit [Ping timeout: 256 seconds]
ChanServ has quit [shutting down]
ChanServ has joined #qi-hardware
GNUtoo-desktop has quit [Quit: [INFO] fsogsmd : received signal -11, exiting.]
lekernel_ is now known as lekernel
LunaVorax has joined #qi-hardware
rozzin has quit [Quit: Leaving.]
kristoffer has quit [Quit: Leaving]
porchaso0 has joined #qi-hardware
porchao has quit [Ping timeout: 260 seconds]
heberth has joined #qi-hardware
rozzin has joined #qi-hardware
jekhor has quit [Ping timeout: 240 seconds]
aisa has quit [Quit: leaving]
LunaVorax has quit [Remote host closed the connection]
dandon has quit [Ping timeout: 256 seconds]
dandon_ has joined #qi-hardware
dandon_ is now known as dandon
arossDOTme has joined #qi-hardware
heberth has quit [Quit: leaving]
<arossDOTme> wolfspraul
<arossDOTme> wolfspraul:
<arossDOTme> are you there
<wolfspraul> yes :-)
<wolfspraul> good morning
<DocScrutinizer05> funny job right now: integrate a couple of "rollercoasters" and CT or MR to a smooth system
<arossDOTme> arr thanks, my mailing list posts are being rejected. My email address works and I did a post with it but now it's rejected.
<arossDOTme> its the aross.me one
<arossDOTme> maillist_qihardware@thatdomain.me or something like that
<wolfspraul> hmm
<wolfspraul> thanks for the heads up!
<wolfspraul> let me check this...
<arossDOTme> thanks
<DocScrutinizer05> *burp*
<DocScrutinizer05> n8
<wolfspraul> n8
<wolfspraul> he :-)
<wolfspraul> I set your account to 'mod' because I ran into your last mail which was so borderline 'spammish' that I thought it's just spam
<wolfspraul> sorry about that, and thanks for bringing it up here
<wolfspraul> if I see junk, I tend to quite radically delete whatever I can in the minimum amount of time, sometimes with some collateral damage...
<arossDOTme> thanks, i think :)
<arossDOTme> Shall I resend them? Or do you send me dinner to the list?
<arossDOTme> I think i can see how my last post looked like spam.
<wolfspraul> resend please, I think that's the easiest
<wolfspraul> thanks
<arossDOTme> ok spam time! lol
<arossDOTme> ok i will quite the spam bad jokes
<arossDOTme> soory
heberth has joined #qi-hardware
<wpwrak> now i'm curious about the content :)
<wpwrak> was it the "Anti Thief" ?
<arossDOTme> yep
<arossDOTme> resent
<wpwrak> i mean, was it the "Anti Thief" that triggered wolfgang's spam finger ?
<arossDOTme> It was my happy,keen "my nano note ordered" post.
<arossDOTme> "Yea My Nano Note Is Coming!"
<wpwrak> aah ! yeah, happy people are suspicious.
<arossDOTme> all the ads have given happy a unhappy name.
<arossDOTme> the =those