<wolfspraul> wpwrak: can you draw a (partial) schematic of the solution with logic gates that you proposed for the m1 bootup fix?
<wolfspraul> I'm asking because we may want to expedite rc4 so if we can parallelize some of that work it might be helpful. And you may still have the idea clearly in your mind now :-)
<wpwrak> sure. that idea is very clear ;-)
<xiangfu> larsc, Hi where is the milkymist linux/openwrt source code URL?
<wolfspraul> xiangfu: I think the Linux kernel tree is here (you probably know that already) https://github.com/tmatsuya/linux-2.6/commits/master
<wolfspraul> whether there are OpenWrt patches I don't know
<lekernel> |[{#«#{[! why is everyone using the wrong repository?
<wolfspraul> oh :-)
<lekernel> I thought all Linux activity was dead
<GitHub156> [linux-milkymist] sbourdeauducq pushed 1500 new commits to master: https://github.com/milkymist/linux-milkymist/compare/0e5da30...58a7fd7
<GitHub156> [linux-milkymist/master] USB: serial: add another 4N-GALAXY.DE PID to ftdi_sio driver - Steffen Sledz
<GitHub156> [linux-milkymist/master] Merge 3.0-rc2 + Linus's latest into usb-linus - Greg Kroah-Hartman
<GitHub156> [linux-milkymist/master] Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 - Linus Torvalds
<wpwrak> lekernel: linux never dies ;-)
<wpwrak> lekernel: by the way, i was thinking of a cool application for video input: if you have "trigger points" in the camera image where a movement/presence of an object can cause the generation of visual effects (you once said this would be possible), you could also do the same with audio effects. that way, one could "play an instrument" by, say, moving one's hand into the right area
<lekernel> yeah right... but so many things so little time, heh
<wpwrak> lekernel: now, to do this properly, you'd probably want to send this event to a MIDI instrument. that may be a PC. for this, you would need a USB-to-MIDI dongle. i looked around and they seem to come in a very large price range, around USD 5 to USD 50. would you generally expect them all to work with the M1 ? or would a prospective buyer need some guidance ?
<lekernel> there's a proper audio out on the M1
<wpwrak> (little time) yeah, i know :) but that's now why i mention it. it led me to the MIDI issue.
<larsc> are usb midi devices standardized?
<wpwrak> (audio out) that could be an alternative in some cases, yes. how good are the M1's audio capabilities, compared to the average synthesizer (or let's say qsynth, for something that's all free software)
<lekernel> as good as you want, it's a normal ac97 audio chip
<wolfspraul> and audio noise was reduced by 90% from rc2 to rc3! :-)
<wpwrak> (regarding midi) it's a pity that M1 doens't have a USB device port (not counting the JTAG dongle here). otherwise, MIDI-over-USB (etc.) could be added later.
<wpwrak> hehe ;-)
<wolfspraul> switched from a National LM4550B to a Wolfson WM9707 codec
<wpwrak> wolfspraul: i'm still a bit scared that adam can actually measure it so easily. but maybe what he really sees are measurement artefacts :)
<lekernel> you can have USB device with a passive adapter, but expect major pains from the usb protocol
<wolfspraul> wpwrak: that may well be, but I think we can safely say it's "much reduced"
<wpwrak> (pains) yeah, i know what you mean ;-)
<wolfspraul> (the two measurements were indeed done in different ways...)
<wolfspraul> so for rc4 we are planning, at the moment, to switch to ADV7181C, the logic gates solution if we feel safe enough about it, short L19
<wolfspraul> maybe more as we learn from rc3, but that's the list under consideration now
<wpwrak> hmm, what is the black curve "below" the red one in http://en.qi-hardware.com/wiki/File:M1_rc3_profile_110715.jpg ?
<wpwrak> (ADV7181C) oh, sounds like a big change ?
<wolfspraul> no supposedly a very small change, drop-in, plus remove some filter outside
<wpwrak> ah, getting rid of filters is always nice
<wolfspraul> in that list, it sounds like the biggest change would be the logic gates, that's why I asked whether you can help with a drawing for clarity... but that's not urgent, Adam is deep in rc3 now and there seem to be some nasty problems at the moment that need to be investigated
<wolfspraul> I'm just trying to help with some of the rc4 preparations to offload from Adam
<wolfspraul> yes it sounds like the change from adv7181b to c is less risky than the one from National to Wolfson audio codec we did between rc2 and rc3
<wolfspraul> I guess it's similar, even the same manufacturere here... what can possibly go wrong, right? :-)
<wpwrak> always the same ;)
<wolfspraul> wpwrak: I was trying to understand your midi idea above. you basically want to turn m1 into a midi emitting instrument, and then the usb2midi thing.
<wpwrak> yes
<wolfspraul> but m1 already has midi output, why not just use that?
<wpwrak> that's the idea. the question was whether the usb-to-midi dongles should all work with M1 or if some selection is necessary
<wolfspraul> why do you need such a dongle? why not just run a midi cable from the midi-out of m1 to whereever you want to run it to?
<wpwrak> i also found it surprising that there's quite a large price range from these, from USD 5 to 50, without considering "fancy" brands
<wolfspraul> could be just marketing & channel power, don't underestimate that
<wpwrak> the "wherever" may be your PC. does yours have a MIDI plug ? ;-)
<wolfspraul> we always look at things from an engineering perspective, but that be quite off economically :-)
<wolfspraul> ah ok, so it's a software problem then?
<wpwrak> sure. could be just that. just want to know what the expectation is :)
<wolfspraul> I still don't understand. if you run a usb cable to your computer, why need a dongle?
<wolfspraul> what does the dongle do?
<wolfspraul> do you have a url for the dongle? I think I just don't get what it does...
<wpwrak> the dongle translates from MIDI-over-USB (which is what your PC can speak) to MIDI-sans-USB (which is what M1 speaks)
<wpwrak> here's an expensive one: http://www.m-audio.com/products/en_us/Uno.html
<wolfspraul> ah OK, now I got it. so the cable runs from the m1 midi-out to your computer
<wolfspraul> if that's 5 USD on Amazon, it's 1 USD in China. if it makes sense I throw it into the box :-)
<wpwrak> yeah. whether this would make sense was one of the implied questions ;-)
<wolfspraul> it probably would, if there were more software on m1 that would utilize midi-out (just guessing, I have never used midi-out on my m1)
<wolfspraul> so it's a bit of a chicken-egg problem, the presence of the cable may make some people go in that direction if they would otherwise not
<wolfspraul> for now I'll add it to the 'ideas' section, we can think about that later
<wolfspraul> it's ironic, but if we have strong retail partners, they will want us to remove all those accessories anyway :-)
<wolfspraul> so they can sell the one for 50 USD
<wolfspraul> but while we are mostly direct, I am not hesitating to try to deliver the highest value directly to our users
<wpwrak> it's a pity that there isn't more development on the application side of M1. i think it's only lekernel and a bit from xiangfu, right ?
<wpwrak> (retail) yeah ;-) and then everyone will expect that the price of M1 has to come down by USD as well ;-)
<wpwrak> s/USD/USD 50/
<wolfspraul> oh sure
<wolfspraul> yes, 90% lekernel
<GitHub81> [linux-milkymist] larsclausen pushed 6 new commits to master: https://github.com/milkymist/linux-milkymist/compare/58a7fd7...0bec64a
<GitHub81> [linux-milkymist/master] minimac: Use iobase + offset for register offset - Lars-Peter Clausen
<GitHub81> [linux-milkymist/master] minimac: Use kernel crc32 instead of custom - Lars-Peter Clausen
<GitHub81> [linux-milkymist/master] asm-generic: Fix default __user_strnlen - Lars-Peter Clausen
<wolfspraul> that's how it is, we are trying to attract more devs but it takes time for people to understand and accept the idea of the whole platform
<wolfspraul> wpwrak: I added the midi-to-usb cable idea http://en.qi-hardware.com/wiki/Milkymist_One_accessories#cables
<wolfspraul> thanks!
<wolfspraul> that wiki page is a mess, just remembering all sorts of links right now, need to clean it up
<GitHub10> [linux-milkymist] larsclausen pushed 1 new commit to master: https://github.com/milkymist/linux-milkymist/commit/5b92aa2be2b031b40cb0b44f6a6e0b4174293867
<GitHub10> [linux-milkymist/master] Merge commit 'v3.0' into lm32 - Lars-Peter Clausen
<wolfspraul> wpwrak: btw, that example of the 50 USD cable eating into our margin is why we need to have our own accessories source anyway, so we can quickly turn around and sell them our own, 'Milkymist MIDI cable', also for 50 USD retail
<wolfspraul> with nicely designed packaging etc.
<wolfspraul> retail will love it
<wolfspraul> once we get to that point I definitely need to get Steve's advice and experience back into the team, I don't want to guess those decisions
<wolfspraul> he has been doing this kind of pushing and pulling over who eats into which margin for 10+ years
<wpwrak> (selling accessories) yeah, that's where the big money is :)
<larsc> will there be milkymist ethernet cables with gold pins?
<wpwrak> quick, who will make the benchmark that shows the gilded cable has less packet loss ? ;-)
<lekernel> packet loss? better talk about (subjective) audio quality
<wpwrak> right, much better
<wpwrak> the reviews are wonderful. "The Denon AKDL1 dedicated link cable helped me locate my estranged father."
<larsc> xiangfu: there is no lm32 openwrt repo yet
<lekernel> there is https://github.com/psycho-nico/milkymist-openwrt but it's dead and outdated
<larsc> there is no repo for my lm32 openwrt yet
<lekernel> does the executable loader (and shared libraries?) work correctly now, by the way?
<lekernel> one of the main problems we had is that openwrt requires shared libs
<larsc> i patched it to use static libs
<kristianpaul> larsc: static libs, great !
<larsc> shared libs would be a way nicer
<kristianpaul> again?
<kristianpaul> dammmm
<kristianpaul> i modeled same CC sync logic one in a separte module, other inside module, and guess what??
<kristianpaul> the first one dint work...
<kristianpaul> ah,..
<kristianpaul> feels ashamed after reading warning about bad assigment
<Alarm> to compile qemu UIKit I need?
<Alarm> IOKit/IOKitLib.h: No such file or directory
<Alarm> IOkit sorry
<Alarm> I search IOKit
<lekernel> Alarm, please post the complete error message
<lekernel> and what operating system are you using
<lekernel> ?
<lekernel> this looks like an Apple thing ...
<Alarm> Ok I work with fedora
<Alarm> after the make i have :
<Alarm> block/raw-posix.c:35:28: fatal error: IOKit/IOKitLib.h: No such file or directory
<Alarm> compilation terminated.
<Alarm> make: *** [block/raw-posix.o] Error 1
<lekernel> have you done  git revert bf5547f5365c1bfeba9d5c3e87653b9803a875a5?
<Alarm> no
<lekernel> As of 2011-7-18 the lm32 qemu repository is broken. For the time being you could revert the commit bf5547f536.
<lekernel> git revert bf5547f5365c1bfeba9d5c3e87653b9803a875a5
<lekernel> Also, please make sure you have the following patch applied (at the time of writing this email, the patch hasn't been applied to the qemu master branch):
<lekernel> the wiki page says this at the beginning
<Alarm> yes but I do not understand what to do with git revert bf5547f5365c1bfeba9d5c3e87653b9803a875a5?
<Alarm>   You must type this line or?
<Alarm> It opens vim?
<Alarm> I did not get a warning from the wiki Thanks for your help. As they say "tomorrow is another day":)
<lekernel> is there any linux distro that install by default patented codecs, dvd decryption libraries, etc.?
<lekernel> i'm tired of having to deal with that crap
<wpwrak> lekernel: that DOES install them ? well, yes. many do. e.g., ubuntu.
<lekernel> by default? without having to type a single extra line? e.g. if I put an encrypted dvd on a default install, it will play it?
<wpwrak> well, you have to tell it to install mplayer or whatever. i don't remember being asked about codecs.
<wpwrak> i don't know if the "naked" distro has playback capabilities. but a "naked" distro is rarely usable anyway.
<wpwrak> and once you've told it the things you want, it'll keep them around for you, update them, etc.
<lekernel> seriously having to search the web for libdvdcss, mp3 plugins, etc. is just annoying