<wpwrak> ah, destroying evidence :)
<kristianpaul> damn how i'm supposed to copile a qt4 app..
<wpwrak> be thankful that it isn't qt5 :)
<kristianpaul> and btw i'm on jlime/OE
<kristianpaul> on the SIE board, i already got blink fpga to load after some undesrtanding how compile xc3sprog and what C++ is good for ;)
<kristianpaul> now is time to run QT examples on X server (glup!)
<wpwrak> so you solved the jtag problem ?
<kristianpaul> nope
<kristianpaul> i'll let my cpld in their box
<kristianpaul> i have SIE and now Jliem working
<kristianpaul> plus gcc
<kristianpaul> i'll not move from here for a while by sure
<wpwrak> ah, so you'll use SIE as a replacement for the CPLD ?
<kristianpaul> my ben is next to and now i just need wire the EVB and do some reading
<kristianpaul> wpwrak: yes ;)
<wpwrak> nice way to avoid a proprietary tool :)
<kristianpaul> he
<kristianpaul> i'll try jtag again but i need source  a decent parallel cable
<kristianpaul> sure not on holliday monday..
<wolfspraul> wpwrak: he, Apple is now counter-suing Motorola over 6 patents
<wolfspraul> 18 on Moto's side, 6 on Apple's side
<wolfspraul> as usual Apple believes in less and higher quality stuff :-)
<wolfspraul> may the better team win!
<kristianpaul> wee now i'm done here gpio is working as usual :)
<kristianpaul> and the buffer was easy as this assign data_in_out = output_enable ? data_internal : 'bz;
<kristianpaul> :)
<wolfspraul> kristianpaul: ah, I'm trying to email SiGe about what has happened on the GPS side recently
<wolfspraul> what should I tell them?
<kristianpaul> hmm
<wolfspraul> I will point them to the GPS_Free_Stack wiki page for usre
<kristianpaul> yes
<kristianpaul> better
<wolfspraul> I think it's quite up to date and you keep updating it?
<kristianpaul> yes
<wolfspraul> well that's perfect then! just keep it up to date
<wolfspraul> I will 'ping' them every month or two
<kristianpaul> ok
<kristianpaul> hope next ping will have PRN code match on the mail :)
<kristianpaul> s/mail/wiki
<wolfspraul> kristianpaul: I can't find the link to that self-built GPS receiver anymore
<wolfspraul> remember the one Sebastien pointed out to us...
<kristianpaul> ywsa
<kristianpaul> wait
<wolfspraul> ah great!
<wolfspraul> should we add it to the bottom of GPS_Free_Stack?
<kristianpaul> why not
<kristianpaul> i tought i did it
<kristianpaul> sure i missed
<kristianpaul> too many links :p
<wolfspraul> kristianpaul: I just added it
<wpwrak> wolfspraul: (more patent lawsuits) yeah, it's getting more and more out of control. i remember that video clip from frankie goes to hollywood, "two tribes". it's the same, just with more than two sides :)
<sujan_> has anyone tried nupdf recently?
<sujan_> i just wonder if it's only who can't get it working
<B_Lizzard> You mean tried compiling it?
<sujan_> i couldn't even run it
<xiangfu> sujan_: I am compiling the nupdf now
<sujan_> ok thanks
<sujan_> kiangfu: i tried the old image that u mentioned yesterday
<sujan_> and again copied nupdf
<B_Lizzard> mupdf works well with some tweaks to the keybindings, in my opinion.
<sujan_> and tried to open 1 page pdf with 1 sentence in it
<sujan_> but screen goes blank as before
<sujan_> i copied nupdf and config file and then a pdf file to nano.. that's all i did
<sujan_> and tried to run
<sujan_> with old openwrt image.. i can't browse file using explorer in gmu, but in the latest i can
<rafa> well, nupdf uses mupdf, so I do not know how nupdf would work better than mupdf
<kristianpaul> mornign
<sujan_> tnaks xianfu for your help
<kristianpaul> rafa: no qmake in jlime..
<rafa> kristianpaul: what is qmake?
<qi-bot> [commit] Xiangfu Liu: [config.full_system] add nupdf http://qi-hw.com/p/openwrt-xburst/0defcc5
<kristianpaul> remenber QT?
<kristianpaul> qmake is like make for QT stuff
<kristianpaul> QT > trolltech > KDE
<xiangfu> sujan_: I got error :
<xiangfu> root@BenNanoNote:~# nupdf linux26_new_features.pdf
<xiangfu> error, file linux26_new_features.pdf does not exist
<kristianpaul> is just SIE scope examples are made in QT ..
<rafa> kristianpaul: ah.. let me see.. I have a list of all the files from all the packages
<kristianpaul> please
<xiangfu> I am sure there is a file name linux26_new_features.pdf.
<kristianpaul> rafa: also
<wpwrak> xiangfu: strace ?
<rafa> kristianpaul: qt4-tools-sdk package has qmake2 at /usr/local/jlime-2010.1/mipsel/bin/qmake2
<kristianpaul> ahh
<kristianpaul> let me see
<rafa> kristianpaul: the problem is: we should read some qt how to in order to know which many packages we would neeed... qt libraries, headers, etc surely are spreading into many many packages
<rafa> which we should have installed
<rafa> surely.
<kristianpaul> Jlime$ jlime-pkg.sh install qt4-tools-sdk
<kristianpaul> Getting installed packages list... (wait a while)
<kristianpaul> Shrinking packages DB... (wait a while, around 30 seconds) - the package does not exist.
<xiangfu> wpwrak: oh. yes. thanks.
<xiangfu> wpwrak: the nupdf is shell script. it's try to run /usr/share/nupdf/nupdf.bin
<xiangfu> sujan_: I will try to fix this error. then let you know. I manual copy the nupdf.bin to /usr/share/nupdf. now works fine.
<sujan_> alright
<sujan_> is that the new image
<sujan_> ?
<sujan_> of openwrt?
<kristianpaul> ?
<xiangfu> sujan_: yes. I use the new image. 2010-09-14.
<kristianpaul> ohh new?
<kristianpaul> xiangfu: this image correspond to wich git commit?
<kristianpaul> xiangfu: will be help full have that info, what do you think?
<kristianpaul> xiangfu: thats great !
<sujan_> xiangfu: just to make myself clear,  if i  copy the nupdf.bin to /usr/share/nupdf, it will work
<sujan_> ?
<kristianpaul> but is linked from somwgere else besides dig your webhome or asking you?
<kristianpaul> i think will be helpfll forother be aware of that, in case they already dont
<xiangfu> sujan_: yes.
<xiangfu> kristianpaul: I setup every two day. build the full_system, minimal, xbboot, you can find all those images at here:
<xiangfu> kristianpaul: I usually use this to test commit. because my laptop is not that powerfull to test all those build.
<kristianpaul> ok
<xiangfu> kristianpaul: it's not for release , just for my test. :)
<kristianpaul> xiangfu: ahh ;-)
<kristianpaul> ok i'll still using my own image and test better :)
<xiangfu> kristianpaul: sure.
<kristianpaul> no rush, just i tought 2010-09-14 was stable release or something
<xiangfu> wpwrak: Hi, the error is strange. when I change the dir to /usr/share/nupdf/ then run ./nupdf.bin /PATH/TO/file.pdf is works fine.
<xiangfu> wpwrak: here is the strace: http://pastebin.ca/1978644
<rafa> xiangfu: perhaps the nupdf.bin binary is looking some files from pwd?.. so when you run from /usr/share/nupdf/ it finds some stuff that it did not when you ran from another dir?
<rafa> xiangfu: with strace you would realize that
<rafa> xiangfu: ah.. you already did strace :)
<wpwrak> xiangfu: there's a child process. you need to run strace with -f for this
<rafa> xiangfu: yep..
<rafa> xiangfu: did you try "nupdf /PATH/TO/file.pdf" ?
<rafa> or just nupdf file.pdf
<rafa> ?
<xiangfu> rafa: [#nupdf /PATH/TO/file.pdf] works fine.
<xiangfu> rafa: nupdf file.pdf didn't work.
<rafa> xiangfu: yeah.. if you run "nupdf file.pdf" then nupdf script does :
<rafa> cd /usr/share/nupdf
<rafa> and then runs nupdf.bin file.pdf
<xiangfu> wpwrak: here is the -f strace: http://pastebin.ca/1978651
<rafa> then nupdf.bin will not find the file.pdf
<rafa> because it already did chdir
<wpwrak> line 67: chdir("/usr/share/nupdf")               = 0
<wpwrak> maybe that's why there's a wrapper :-)
<wpwrak> you could use something like  if [ "${1#/}" = "$1" ]; then f=$1; else f=`pwd`/$1; fi; nupfd.bin "$f"
<xiangfu> wpwrak: thanks. I am testing :)
<wpwrak> (minus the typo :)  s/pfd/pdf/
<xiangfu> wpwrak: what the ${1#/} mean ? (i need buy a book about base script :)
<rafa> xiangfu: dont buy the book , just download :)
<wpwrak> rafa: or man bash ;-)
<kristianpaul> or grep the code?..
<kristianpaul> wpwrak: are you aware ofd TP38 TP location in Ben board?
<wpwrak> xiangfu: ${var#pattern} tries to remove the pattern from the beginning of the value of the variable. e.g., foo=abcabc; echo ${foo#a}  would yield bcabd
<wpwrak> xiangfu: echo ${foo#*b} would yield cabc, and so on
<kristianpaul> wolfspraul: do we have Ben PCB layers in PDF or some other media?
<kristianpaul> PC layout*
<kristianpaul> PCB layout*
<wpwrak> xiangfu: note that the latter example picks the shortest match. if you want the longes match, use ${var##pattern}, e.g., ${foo##*b} would yield c
<wpwrak> xiangfu: you can also remove things from the end, with ${var%pattern} and ${var%%pattern}
<wpwrak> xiangfu: the  [ "${1#/}" = "$1" ]  is an idiom for testing if $1 begins with a slash. if it doesn't, then the expression becomes [ "$1" = "$1" ], i.e., true. if it does begin with a slash, the expression becomes [ "something" = "/something" ], i.e., false.
<kristianpaul> ahh founded
<kristianpaul> hmm tricky to solder
<xiangfu> wpwrak: very thanks. I just try 'man bash' ,it's at line 1000 :)
<wpwrak> xiangfu: needle in a haystack ;-)
<xiangfu> wpwrak: :)
<kristianpaul> xiangfu: you save money today :)
<wpwrak> kristianpaul: a nice project would be to take a picture of the pcb, superimpose a grid, and make a list of the coordinates of all the test points
<kristianpaul> i was thinking same
<kristianpaul> but as soon i got wired all the usefull TPs
<wolfspraul> kristianpaul: not sure
<wpwrak> kristianpaul:  i guess your wish list for ya includes a 40x4 100 mil header ;-)
<kristianpaul> lol
<kristianpaul> Tps are ok, i enoy finding then
<kristianpaul> even more wiring and soldering
<wpwrak> with the 3D scans, we could make animated flights. click on the TP name on a list, and it "flies" there, kinda like in google earth
<kristianpaul> lol
<wpwrak> of course, for better effect, it should fly low, through the space between components, star-wars style
<kristianpaul> wpwrak:nice travel from ther CLM to main PCB :-)
<kristianpaul> LCM*
<rafa> wolfspraul: wpwrak : (tuxbrain is not here):  you there?. What a good idea about a jlime image would be supported by qi and resellers?. WE have talked a lot and I know the details, but I am working on technical detais and doubs appeared. For example. Suppose that image is ready. It does not have packages with patented technologies, and you can not install those. But suppose as well that the jlime.com has a forum post which says how to install libmad packag
<wolfspraul> was your post cut off?
<rafa> you can not install those = (for example) you run "Copkg install mp*player" and the package is not found
<wpwrak> packa|
<rafa> ah.. okey :) .. where it finished?
<rafa> wpwrak: what are the last 3 words that you read?
<wpwrak> install libmad packa|
<wolfspraul> if I understand your question right, you are wondering whether you want to censor patented stuff on jlime.com as well
<wpwrak> ah yes, right. "packa|" is ambiguous ;-)
<rafa> But suppose as well that the jlime.com has a forum post which says how to install libmad package on jlime for ben.
<wolfspraul> you have both options, it depends on you
<rafa> That would not work on the jlime version for qi/resellers, the post would talk about the standar jlime version. Would be that a problem for you?
<wolfspraul> so, we can go either way
<wolfspraul> if you do not want to censor things on jlime.com, then we cannot have any links (<a href="") to jlime.com on the qi servers
<wolfspraul> but we can still use a Jlime image, with package repository ideally on a non-jlime.com server
<wolfspraul> similar to OpenWrt
<rafa> wolfspraul: (if you do not want to censor things on jlime.com, then we cannot have any links (<a href="") to jlime.com on the qi): ah.. okey.. clear :)
<rafa> wolfspraul: one question:
<wolfspraul> I am not crazy worried about this, for example OpenWrt had a news article about Ben NanoNote support once.
<wpwrak> (in my opinion, links to jlime.com ought to be okay, as long as there's "benign" content on the pages we link to. just not deep inside)
<wolfspraul> and I believe I sent some mails linking back to it
<rafa> what about if the image says on some part (suppose wallpaper): jlime.com :P ?
<rafa> the image would be pointing to jlime.com ?
<qi-bot> [commit] Xiangfu Liu: [nupdf] fix the static path bug. thanks Werner http://qi-hw.com/p/openwrt-packages/d7b3e28
<wolfspraul> wpwrak: yes I agree but we need to be careful on this, links are dangerous
<wolfspraul> in the end someone who want to show a patent infringement will come from the other side, and so will I when I look at it
<wolfspraul> first I take the device, boot
<wpwrak> they are. getting a bit better lately, it seems, though.
<wolfspraul> try to play MP3
<wolfspraul> then I will go to qi-hardware.com (since it's printed on the NanoNote)
<wolfspraul> I will try to install packages, or find instructions in the wiki (search: "mp3")
<wpwrak> i'd just google for "ben mp3" ;-)
<wolfspraul> rafa: note I am always in the qi-hardware.com site first
<wolfspraul> wpwrak: well no, then there is no infringement case, as you know
<rafa> wolfspraul: wpwrak : yes, it is hard to try to agree the technical details. I think that there is not a proper post explaining how to install a mp3 player on jlime for ben. But it could appear soon for some users posting on forums, or for us on wiki pages, so it is like if currently those howtos exist there.
<wolfspraul> rafa: so we need to make sure that they cannot show a way that the Ben has 'mp3 capability' and only utilize software or packages or instructions they got pre-installed, or from qi-hardware.com servers, or from servers qi-hardware.com servers are linking to
<wolfspraul> remember they are coming from that side!
<wolfspraul> they are not first going to jlime.com
<wpwrak> yup. just saying that the very indirect path seems constructed. yes, you can make a connection this way, but it's not as if you'd like to a location specifically about infringements.
<wolfspraul> so again, I come from the other side
<wolfspraul> my job is not to cleanse jlime.com
<wolfspraul> I never once mentioned to the openwrt people that they need to remove anything
<wolfspraul> in my opinion, and in the legal advice I got, they don't
<wolfspraul> the question is whether _I_ infringe, with my actions, or with the devices I'm selling (or others that are selling them)
<rafa> wolfspraul: wpwrak : yeah, but we do not want to make a image just replacing all the strings "jlime.com" for (empty) and I think that we are not going to have a mirror server of packages repository outside of jlime.com, because we do not have more servers and also because that would be so
<rafa> a delicated thing that we would have to agree between all, and being jlime a kind of anarchy (or whatever you want to say about some small group without written rules)
<rafa> it is really hard to agree internally.
<wolfspraul> a repository link to jlime.com/some_location is borderline
<wpwrak> wolfspraul: understood. but i find it somewhat dubious if linking to a fairly general location would be considered as making you part of the infringement. the cases i've read about all seemed to have been about considerably more specific cases. e.g., linking to a extremist fora or to companies whose main product was designed to infringe. none of this is the case for jlime.
<wolfspraul> for sure that some_location must not offer packages that would allow to show an infringement
<rafa> wolfspraul: wpwrak : so I understand that the image for qi/resellers could not have jlime.com in any way, that is almost a thing that will not happen I would say :)
<wolfspraul> which links do you have, and where?
<wolfspraul> wpwrak: yes agreed. I'm no extremist on this. Sisvel (for example) needs to show an infringement, and they don't want to embarass themselves.
<wolfspraul> but if there is a link, we have to be careful
<rafa> wolfspraul: I should that some text files, config files, etc would have jlime.com.. still if those files are not related with package manager
<wolfspraul> the link just needs to go to the wrong place and make it very easy for them to show the infringement
<rafa> I should= I would say
<wolfspraul> (potentially, that's my point)
<wolfspraul> rafa: should be OK if none of this is leading towards MP3
<wolfspraul> for example if there is a text file somewhere "to install additional codecs, you can try ..."
<wolfspraul> that's not so good :-)
<wolfspraul> they need to demonstrate (!) how the infringement works, and need to make it legally stick to whoever they are dragging to court
<wolfspraul> in that process, they cannot just insert some totally random steps, that will never be accepted, and they will never even try, imo
<rafa> wolfspraul: yes, but again.. you go to jlime.com because you read jlime.com from some text file. Then you look "mp3 on ben" at forums at jlime.com .. and you find something.. I am not saying that currently there are explanations or documentation saying how to install packages to play/decode mp3/mp4, but those could appear some day
<wolfspraul> there must be context around where the link is given
<wolfspraul> some text
<wolfspraul> if that text has nothing to do with MP3, or codecs, then I think it should be fine
<wpwrak> wolfspraul: (no crazy steps) yup, that's my point
<rafa> wolfspraul: okey, and what about repository?.. suppose that current reposity is : bash, libmad, gawk packages. The image for qi/resellers will fail if somebody tries to install libmad. Is that okey? I mean.. the libmad package exists on jlime.com .. but you can not install that on jlime image version for resellers.
<wpwrak> wolfspraul: i think we differ in our interpretation of what constitutes a "crazy step" :)
<kristianpaul> wolfspraul: links ok i understand, so either mentione the word jlime on qi wiki?
<rafa> argh... where is tuxbrain?!
<wolfspraul> rafa: why will the qi image fail to install libmad?
<wolfspraul> how does that work?
<wpwrak> rafa: i think it would be cleanest to just have a (filtered) copy of the repository somewhere on qi-hw
<rafa> wolfspraul: some way like lars suggested. For example: suppose that there is a package called "free". That "free" package conflits with all the packages with patented technologies. Then if you try: opkg install libmad.. it will fail saying you "libmad conflicts with "free" package". . And you can not uninstall the free package because, suppose, libc depends on it.
<kristianpaul> he
<kristianpaul> rafa: youshould work witht the FSF ;-) on that ideas
<wolfspraul> rafa: that sounds pretty scary to me :-)
<rafa> wolfspraul: haha :D
<wolfspraul> you make one little mistake/bug anywhere in this, and they will find it, and show you the command that installs libmad
<wolfspraul> right in court :-)
<kristianpaul> why not the ubuntu way?
<wolfspraul> like opkg install -f libmad...
<wolfspraul> then you go
<wolfspraul> "uuuupps"
<wolfspraul> forgot the -force flag
<wolfspraul> :-)
<kristianpaul> you should be aware in some countries is posisble uses mp3 free decoders
<rafa> kristianpaul: FSF has gpl and GNU well done. I do not know if the work on patents is something to do with them since they are just worried about software mainly
<kristianpaul> rafa: FSF/free sofware endorseed distros
<kristianpaul> well those actually play mp3
<kristianpaul> any way
<rafa> wolfspraul: (bug( well, that is an example. suppose that you can not install libmad but libmad lives on jlime.com. That was my main question :)
<qi-bot> [commit] Xiangfu Liu: remove the /etc/VERSION file. this file always generate by build scripts http://qi-hw.com/p/openwrt-xburst/f610bc6
<wolfspraul> rafa: yes I understand. it not only 'lives on jlime.com', but in fact the infringing .opk file is right in the same folder if I understand correctly.
<wpwrak> i still think the best would be a copy of the jlime repository on qi-hw, where all the offending packages are absent and they also don't show up in the principal index files
<wolfspraul> maybe apt-get show libmad will already praise the mp3 features
<wolfspraul> I feel that is very very borderline stuff.
<wpwrak> the question whether qi-hw can link to jlime.com and in what form, would be a separate issue
<wolfspraul> rafa: is there some package search feature that would allow you to search for mp3?
<wolfspraul> I think you cannot link to a repository that contains mp3 packages, it sounds like asking for trouble.
<rafa> wpwrak: copy of repository on qi-hw: well, if that is an easy task to do we would be okey I think. If for example, we/qi mirrors our repository (without offending packages) on qi-hw once a year and we will not add wolfspraul more tasks to do then that would be easy perhaps. I mean.. our repository is there.. so anyone can copy it. That is not a problem.
<wolfspraul> the idea with the 'free' package and package conflicts is nice, but quite engineering thinking
<wolfspraul> rafa: can you identify all packages that include mp3?
<wpwrak> wolfspraul: (free package) i wonder if you could just uninstall that package :)
<wolfspraul> wpwrak: rafa said that would be blocked, but when I hear this whole thing I'm kind of shivering :-)
<rafa> wolfspraul: to detect offending packages I would check on metadata of every package with someting like egrep -i "player|mpeg|mp3|mp4|264|etc"
<wolfspraul> that's when the lawyers start smiling... :-)
<wpwrak> wolfspraul: (can't uninstall) ah, right. now i saw it. yup, slippery slope.
<wpwrak> rafa: since you would have some means to flag problem packages anyway, the mirror process could just use the same information
<wolfspraul> unfortunately these guys are good at finding mp3, they probably have list of packages/software to look for etc.
<wolfspraul> I mean they do the same thing over and over for many years...
<rafa> wpwrak: uninstall free package: well, it was a hypothetical thing to ask about "you can not install libmad but libmad lives on the same repository that other packages".. NO idea if there is a rule to avoid uninstall a package.. But suppose that you have enough skill to pass all the rules and manually uninstall the free package. That is the same thing that if you just replace the package manager config file and point it to another repository with different
<wpwrak> there's probably a force option for  opkg remove free  too ...
<djbclark> wolfspraul: re: formats do you or anyone else here know if anyone has gotten speex to work on ben nanonote?
<wpwrak> rafa: yeah, it's all just shades of grey ...
<rafa> wpwrak: but is not that (uninstall free package with enough skills) the same that if you just remove that jlime version and install the standar version?
<rafa> wpwrak: you are doing some tasks on your ben with enough skill to play mp3
<djbclark> notes that is http://www.speex.org/ "Speex: A Free Codec For Free Speech" for those who are unaware
<djbclark> (it is awesome at compressing voice / speaches / etc)
<wolfspraul> rafa: ah well. not really. the interesting thing is the LINK again.
<wolfspraul> if you go and edit the repository link (!) - where do you have it from?
<wolfspraul> however, even though you think some --force or whatever options are 'hard to find', there may well be documentation right on the device
<wolfspraul> 'info opkg
<wolfspraul> so the question is not how hard to find something is, but when they demo the infringement, whether they do so along lines that are legally acceptable or not
<wolfspraul> also you are risking that a simple repository search for 'mp3' will already give you positive results
<wolfspraul> all risky stuff!
<wolfspraul> is there a 'opkg search' feature?
<rafa> wolfspraul: yes
<rafa> opkg search <expr>
<wolfspraul> well just try - search for 'mp3'
<wolfspraul> you really want that search to come back empty
<wolfspraul> definitely!
<rafa> wolfspraul: yes.. I know
<wolfspraul> this is not a good thing to leave such an easy target/evidence for them
<rafa> wolfspraul: so?.. better way to continue? .. a mirror repository without offending packages and proper indexes wihtout those listed as well?
<rafa> wpwrak: (question for you as well)
<rafa> :)
<wpwrak> rafa: that would eliminate most of my concerns, yes
<qi-bot> [commit] Xiangfu Liu: copy data folder from history branch http://qi-hw.com/p/openwrt-xburst/842fa6f
<qi-bot> [commit] kyak: gitignore vim temporary files (*~) http://qi-hw.com/p/openwrt-xburst/7e7437d
<qi-bot> [commit] Xiangfu Liu: add Nanonoe special feeds.conf under data folder http://qi-hw.com/p/openwrt-xburst/f1d5d37
<rafa> wpwrak: so we need a mirror repository for that. Where? :) When I have proper indexes I can give some script to somebody to build a mirror repository without offending packages
<wpwrak> rafa: (where) wolfgang would know where he's got a suitable server. my guess would be downloads.qi-hardware.com
<wpwrak> maybe downloads.qi-hardware.com/jlime/ ;-) (things may get a bit confusing with the current names, though. so far, they kind of assume there's only one distro)
<wpwrak> or hide the real location somewhere in the web server's rewriting rules it and make it jlime.qi-hardware.com
<wpwrak> or whatever ;-) endless possibilities ...
<wolfspraul> I'm calling it a day
<wolfspraul> n8
<rafa> wolfspraul: bye, thanks
<wolfspraul> rafa: thanks for your patience in the patent stuff...
<wolfspraul> it's hard to focus your mind around this I'm sure
<wolfspraul> what a waste of time.
<rafa> wolfspraul: nah.. we just want to be free
<rafa> ;)
<qbject> djbclark: How fare your efforts to distribute Bens in the US?
<wpwrak> qbject: customers lining up, banging at the door ? ;-)
<qbject> wpwrak djbclark: door-banging is my purpose in asking.
<qbject> Looks like I'll have my lathe and mill moved sooner than I thought, so I'm going to have reason to disassemble my first Ben pretty soon.
<qbject> And I don't care to be Ben-less while I work.
<wpwrak> it's always good to have backups :)
<wpwrak> what are the first things you plan to do ?
<qbject> wpwrak: The first thing I'll probably do is just replace the glossy black parts of the Ben housing with linen micarta
<qbject> But my goal is to devise a new housing with a larger keyboard, ideally made out of custom handmade garolite.
<wpwrak> how will you shape the micarta ?
<qbject> wpwrak: Small manual milling machine (http://www.sherline.com/mills.htm) and probably some hand work with abrasives.
<wpwrak> whee. no cnc then ?
<qbject> No, some day, but not yet.
<wpwrak> so i still have time for turning the scans into STLs :)
<qbject> yes you do. :)
<qbject> My intention is to do dimensioned part prints in QCAD based on actual measurements. Old-school reverse engineering.
<xiangfu> just send one email to list about openwrt-xburst.git cleanup.
<xiangfu> is compiling full_system, xbboot, minimal on the new [master]. let's see what's going on tomorrow
<wpwrak> hmm, i found the 3d scans helpful for getting and verifying measurements. some areas are difficult to handle with conventional tools. e.g., the inside of the bottom shell.
<qbject> I really appreciate that you've made the resource available, and will definitely use them for that. What do you load the scans into to take measurements off of them?
<wpwrak> so what i did is that i first got measurements from the scans, then drew my model, and merged it with the scans. that way, i could see whether i got the lines/surfaces right.
<qbject> Sounds like a very good approach.
<wpwrak> i did the measurements with the proprietary program that came with the mill. but i think heekscad can do it too.
<wpwrak> for displaying, i used heekscad
<wpwrak> that is, displaying of the structure merged with the scans
<wpwrak> for nice-looking pictures, i like meshlab a little better
<qbject> wpwrak: what sort of hardware do you run heekscad and meshlab on? My linux box is an Atom netbook.
<wpwrak> my pc is fairly powerful, q6600 cpu (quad-core, although an old one), 8 GB of RAM, three screens. no proprietary video drivers, so no GL acceleration.
<qbject> got it.
<qbject> wpwrak: With the Ben's small LCD, I'm looking forward to packaging the mainboard, screen, and battery in the top of the clamshell, and having the keyboard set up as an entirely separate piece of hardware in the bottom.
<wpwrak> do you have a specific pre-made keyboard in mind ? or are you thinking of making your own ?
<qbject> wpwrak: per our Atmel conversation last week or whenever, I'm not sure. Original plan was to do a capacitive touch setup running on an AVR of some sort, but I was gonna use the QTouch blob.
<qbject> Someone else wrote a similar sensor routine for Arduino, which might be an option, but I'm concerned that it might infringe the QTouch patent even though he didn't use their blob.
<wpwrak> ah, i see. an alternative would be a keyboard similiar to what the ben has today.
<qbject> But that would be ideal. An arduino capacitive touch on the back of a nice sturdy piece of FR4, with some piezo transducers to give feedback.
<wpwrak> not sure if capacitative would be so much fun for typing, though. it's nice to have tactile feedback.
<qbject> wpwrak: Ultimately, I agree. I'm just trying to balance with durability & simplicity.
<qbject> are the ben's existing sensors capacitive or conductive?
<wpwrak> okay, there just a simple board wins
<wpwrak> conductive. it's little domes
<wpwrak> only bigger. the ben's have a diameter of 5 mm
<qbject> Huh. So the dome buckles and the metal plate comes in contact with contacts on the board?
<wpwrak> one of my plans is to make a keyboard with different keycaps but the same size and technology
<wpwrak> yup
<wpwrak> if you look at the data sheet, there they explain it well
<qbject> "Do not wash the Dome Key. The Dome Key is not water-resistant and must not be exposed to water or other liquids." :(
<qbject> My ideal keyboard passes the .5 liter/meter test.
<qbject> That is, it withstands the impact, splash, and subsequent cleanup from a half-liter of beer dropped from one meter up. =D
<wpwrak> you can put a plastic film over the domes. when you disassemble the ben, you'll see the details
<wpwrak> (beer 1 m up) i was wondering if it was peeing distance ;-)
<qbject> Hah!
<wpwrak> kristianpaul: have you tried qucs yet ?
<viric> wpwrak: I still have to try it! :)
<viric> once I'll get some need for it, I'll try.
<wpwrak> vur]]]]
<wpwrak> oops
<wpwrak> viric: you'll like it. it's really easy to use.
<qbject> wpwrak: has anyone experimented with hooking multiple batteries in parallel to a Ben?
<wpwrak> that should work
<kristianpaul> wpwrak: no
<kristianpaul> i just found the link and save in case i need it later
<kristianpaul> qucs <- looks good
<viric> baudline looks great! :)
<kristianpaul> but wonder if can really help
<kristianpaul> me
<kristianpaul> but loooks interesting
<kristianpaul> and license suck
<kristianpaul> oh but is soo good ( it seems in pictures)
<wpwrak> funny, "Purchase the GPL source code"
<kristianpaul> wpwrak: lets buy it all togheter !
<rafa> wpwrak: if it is so expensive I can sell you a cheaper one
<viric> So, they want to control the distribution through the license.
<rafa> :)
<kristianpaul> Minimum:
<kristianpaul> #  64 MB RAM
<kristianpaul> ""
<rafa> "You are not allowed to distribute this software."
<wpwrak> rafa: kinda like meeting a sexy girl and then finding out that "she" is all male below the waistline, eh ? ;-)
<qbject> wpwrak: more like meeting her, finding out how well you two fit, then discovering that she still takes dating advice from her overprotective father.
<wpwrak> qbject: heh, more subtle :)
<qbject> wpwrak: Well, I know the girl you're talking about. Gotta look out for my friends. :-P
<rafa> wpwrak: maybe gpl is for them "general prostitution license".. you just can see if you pay, and you are not allowed to distribute.. without to pay first
<wpwrak> rafa: Gaudy Pimp License ?
<wpwrak> Greedy Pimp License ?
<kristianpaul> hmm Tp38 ( GPD15) is not working as i spected..
<wpwrak> how come ?
<kristianpaul> led is wired, i'm turning off and still on
<kristianpaul> but is weird
<kristianpaul> is not full lighted
<wpwrak> hmm, maybe a pull-up ?
<kristianpaul> i'll check code again
<kristianpaul> hmm
<kristianpaul> yes
<wpwrak> poke is your friend :-)
<kristianpaul> poke works on port C
<kristianpaul> ah wait poke is different from ben-blinken.. ?
<wpwrak> yeah :)
<kristianpaul> ohh
<wpwrak> poke works everywhere :)
<kristianpaul> ahh=
<kristianpaul> ?
<kristianpaul> how
<kristianpaul> where is it btw?
<bartbes> kristianpaul: so what pin are you using?
<kristianpaul> bartbes: Tp38 ( GPD15)
<bartbes> which is...
<wpwrak> i think xiangfu also put it into openwrt
<kristianpaul> yes i saw it..
<wpwrak> bartbes: TP38 has no other function
<bartbes> am I supposed to know where TP38 is?
<bartbes> does it have an external.. pad/connection/whatever-you-want-to-call-it?
<kristianpaul> near to SoC chip
<kristianpaul> botton
<bartbes> I'll take that as a no :P
<kristianpaul> ok.
<bartbes> so what pins *are& exposed?
<kristianpaul> what's exposed for you?  :-)
<bartbes> in case I ever want to mess around with I/O *without* having to open the case?
<kristianpaul> ahh
<kristianpaul> uSD
<kristianpaul> even tought you need an adapter
<bartbes> those and the ttl ones?
<kristianpaul> to expose thos pins
<kristianpaul> i think those pins are 3v3 ttl right
<kristianpaul> wpwrak: poke is dageuors
<kristianpaul> i could do..
<kristianpaul> lets try
<bartbes> and I guess they are taken by the kernel, i.e. not usable for other stuff?
<wpwrak> kristianpaul: poke is POWERFUL :)
<kristianpaul> bartbes: uSD port > uSD stuff
<kristianpaul> so ne carefull (in sofware)
<bartbes> talking about ttl now
<kristianpaul> s/ne/be
<bartbes> wpwrak: sure, powerful oftentimes means you need to treat it with care
<kristianpaul> but you said kernel? right?
<bartbes> it can use the same power to destroy things
<kristianpaul> kernel panic..
<kristianpaul> ouch
<wpwrak> bartbes: (uSD) the kernel will step aside if you ask nicely. hmm, seems that i lost my notes with that command as well :-(
<wpwrak> kristianpaul: poked to death ? :)
<kristianpaul> wpwrak: ask -> rmmod mmc?
<wpwrak> kristianpaul: that would be one option. there's also an echo <stuff> >/sys/<somewhere>/unbind
<kristianpaul> oh
<kristianpaul> thats polite}
<larsc> wpwrak: i got the jz4740 spl from 4,6k down to 1,8k. so there is plenty of room for a decompressor
<kristianpaul> oh that mean n more uboot? :)
<kristianpaul> damn input/output error
<kristianpaul> (uSD)
<larsc> kristianpaul: maybe
<kristianpaul> that will be neat
<kristianpaul> one sofware less to care about :)
<wpwrak> larsc: wow, quite a diet ! :-)
<wpwrak> kristianpaul: the sooner u-boot dies, the better ;-)
<qi-bot> [commit] Juan64Bits: Revition... http://qi-hw.com/p/xue/2db4e52
<qi-bot> [commit] Juan64Bits: Revition... http://qi-hw.com/p/xue/a42266b
<qbject> wpwrak: What's wrong with u-boot?
<wpwrak> qbject: it tries to be a little operating system on its own. we already have a fully grown operating system, linux. so it's better to use that, isn't it ? :)
<bartbes> hmm but won't we lose software usb and mmc boot?
<qbject> wpwrak: Yes it is. I love simplicity and culling out parts that aren't needed. Sounds like a very good plan.
<wpwrak> bartbes: usb boot comes somewhere from the ROM. MMC could be handled by linux.
<bartbes> oh btw, qbject, don't know if you noticed, but I updated the Makefile for nlove.. 2 days go iirc
<bartbes> *ago
<bartbes> (of course there have been changes since, but mostly related to the build system)
<qbject> bartbes: mighty cool. I'll make time to mess with it soon.
<qbject> wpwrak: do you mean that the kernel could be loaded, then used to load an alternate kernel from the MMC?
<qbject> never mind. I'll ask tomorrow. Time to go home. :)
<kristianpaul> wpwrak: i was told that linux extended documentation is a bit poor, how of is that of true?
<kristianpaul> or do i need buy a  book or soemthing?
<kristianpaul> i just some vague idea about kernel drivers
<kristianpaul> nothing aboiut boot process or task management
<mth> kristianpaul: the Linux Device Drivers book is available as a free (gratis) PDF
<mth> it's not fully up to date, but it contains a lot of useful info
<kristianpaul> mth: yeah thats the only i learned from linux
<kristianpaul> but next i discover direct memory maping thanks to wpwrak
<kristianpaul> so i dont need do modules
<kristianpaul> not for basic gpio task
<kristianpaul> i'm just curios about the other linux parts..
<kristianpaul> wtf i'm  doing something bad related to port D
<mth> I haven't read it myself though
<kristianpaul> and my linux got freezed
<kristianpaul> mth: hey i dint knew that
<mth> did you check Documentation/gpio.txt yet?
<kristianpaul> i stoped reaidn \. time ago
<kristianpaul> mth: yes
<kristianpaul> not for what i need :)
<mth> there is a lot of noise and bad editing on slashdot, but sometimes something useful comes along
<kristianpaul> indeed
<wpwrak> mth: this book should be pretty good. i once looked at a few kernel hacking books for our team at openmoko, and that's the one i liked best.
<kristianpaul> i just want a small linux :)
<kristianpaul> nothing bloated
<kristianpaul> a trusty linux
<kristianpaul> like the real time os for phones
<mth> wpwrak: I might put it on my xmas list then :)
<kristianpaul> what? do you know what pdf is good for?
<kristianpaul> hmm
<mth> kristianpaul: huh? the newer book is not in PDF
<kristianpaul> mth: it is
<mth> officially or scanned by someone?
<kristianpaul> searcheable pdf
<kristianpaul> may be i'm wrong
<kristianpaul> but looks like in the preview
<qi-bot> [commit] Werner Almesberger: Introducing cameo, a toolbox of CAM operations. http://qi-hw.com/p/cae-tools/0bc7806
<qi-bot> [commit] Werner Almesberger: cameo: detect and adjust handedness http://qi-hw.com/p/cae-tools/54d8549
<qi-bot> [commit] Werner Almesberger: Corrected math for offsets to work also for angles different from 90 degrees. http://qi-hw.com/p/cae-tools/5c9e7d5
<qi-bot> [commit] Werner Almesberger: Enable more compiler warnings. Some cleanup. http://qi-hw.com/p/cae-tools/d465acb
<qi-bot> [commit] Werner Almesberger: Accept multiple paths and distinguish between inner paths and the outer path. http://qi-hw.com/p/cae-tools/17afa3e
<qi-bot> [commit] Werner Almesberger: Added override (in gnuplot file) for inside/outside path detection. http://qi-hw.com/p/cae-tools/d77b4c8
<qi-bot> [commit] Werner Almesberger: Dogbone notches are now optional and can be set in the gnuplot file. http://qi-hw.com/p/cae-tools/b47ef75
<qi-bot> [commit] Werner Almesberger: cameo/path.c (path_add_point): ignore duplicate points http://qi-hw.com/p/cae-tools/ffc908a
<qi-bot> [commit] Werner Almesberger: Make toolpath cameo-friendly and use cameo for tool size compensation. http://qi-hw.com/p/ben-wpan/9103ae0
<mth> the preview is just 2 chapters though
<kristianpaul> i'll end usign uSD port if i cant handle well two ports..
<kristianpaul> and i nedd 3 pins
<kristianpaul> lets see if portc have one more free port somwhere
<kristianpaul> argg
<kristianpaul> red screen !
<kristianpaul> that TP25 is hidding something
<kristianpaul> POP?
<kristianpaul> gaw
<kristianpaul> /sys/bus/mmc/drivers/mmcblk/unbind
<kristianpaul> echo -n "1-1:1.0" /sys/bus/mmc/drivers/mmcblk/unbind
<kristianpaul> or
<kristianpaul> echo -n "1-1:1.0" /sys/bus/platform/drivers/jz4740-mmc/unbind
<kristianpaul> i realized my problem with port D was that is used by mmc driver
<kristianpaul> and considering i have two D ports free on baord i want to do this as clean posible
<kristianpaul> ahh
<kristianpaul> wait  i miss the tree command
<kristianpaul> so me t5p1d..