#tyndur · 2010-04-14
90 Nachrichten · Seite 1 von 1 · Original-CSV herunterladen
- pcmattmanHello kwolf
- kwolfWow, that was a quick reaction :-)
- kwolfGood morning pcmattman
- pcmattmanCDI's been pretty stable (better word than "quiet" :P) lately
- kwolfI'm waiting for your patches to make it unstable again ;-)
- pcmattmanHeh
- kwolfSeriously, I haven't had much time for it lately. And the time that I had I invested in tyndur itself.
- pcmattmanI think we've all been short on time lately
- kwolfI think we have all some things left to do in CDI. Some translations for quok, the cdi_mem_area conversion for me, the driver loading thing for you. That's it more or less, right?
- kwolfAnd e1000, of course
- pcmattmanMore or less
- eddybsadly, XanClic isn't around...
- eddybanyway
- eddybconsidering my problem appears with all kinds of usb devices, even pass-thru
- eddybi think it may be related to uhci
- eddybso, I do remember some of you using a qemu branch with ehci
- eddybis there anyone besides XanClic using such a branch/knowing of one?
- eddybi mean, from those that are here
- eddybkwolf: do you?
- kwolfeddyb: I do
- kwolfThere is one in my git, but it's not the most recent version
- kwolfLet me look up where Jan's git is
- kwolfgit://git.kiszka.org/qemu.git ehci
- eddyblemme see...
- eddybwait...
- eddybthere's no ehci in there :|
- kwolfThere's definitely an ehci branch in that repo
- eddybgreat, how i clone a branch :| ?
- kwolfYou clone the repo and just checkout the branch
- kwolfLike git checkout origin/ehci
- eddybperfect :D
- eddybthanks ;)
- eddyb(there's a -o/--origin option for clone, btw. the other way didn't work ;) )
- eddybshit, it didn't work either
- kwolfYou need to learn how to use git ;-)
- kwolfWhat do you mean exactly by "doesn't work"?
- eddybwith -o at clone it still clones master
- eddyband checking out after cloning breaks pull
- kwolfAh, well, if you need pull you need a tracking branch
- kwolfgit checkout -b ehci -t origin/ehci or something like that
- kwolfBut when I don't want to commit changes I often just use git fetch && git checkout origin/ehci without using a local branch
- eddybit now really works, thanks (again) :D
- kwolfThe wonders of git ;-)
- eddybi wonder why i use -j4 on a HT Pentium 4...
- eddybhmm, no wonder reinstalling qemu did nothing...
- eddybconfigure defaults to /usr/local XD
- kwolfAs a configure is supposed to do
- eddyb*and i forgot it does that :P
- kwolfBut I don't even install qemu any more, I just run it from the build directory
- eddybgood idea
- eddybnow i should finish my /usr/local cleanup
- eddybnow let's wait for a triple fault :P
- eddyb"*** EHCI support is under development *** " << heh
- kwolfAt least you have been warned ;-)
- eddybokey, why don't i get an irq?
- eddyb(after it says "USB no device")
- kwolfProbably you're doing something wrong. I mean, Linux works with this EHCI emulation.
- eddybi didn't say i was doing something right :P
- eddybthe funny part is that this same code used to work *on real hardware*
- kwolfHm, that's strange
- eddyb if ((ret >= 0) && (qh->token & QTD_TOKEN_IOC)) ...... DO_INTERRUPT
- eddybthat means no interrupt in case of error...?
- eddybHUH?
- eddybthe funnier thing is that i actually have a device connected :|
- eddybaha. found why i was getting frame list rollover while i had periodic schedule disabled :D
- eddybhehehe
- eddyb/facepalm
- eddyband i think that should solve *all* my problems
- eddybi also have to clear PRESET bit myself...
- eddybi believe this happens on realhw, too(at least that ehci didn't do that and i got a unknown error if i tried to send a packet :) )
- eddybwin
- kwolfWorks?
- eddybactually, no error
- eddybi now implemented the "call callback" part
- eddybgreat...
- eddyb"USB babble TODO"
- kwolf*g*
- kwolfIf that happens there's something wrong anyway
- eddybso ret is 18, but i expect 18...
- eddybsomething tells me i forgot a +/- 1 somewhere
- eddybactually
- eddybit seems someone forgot a if(ehci->pid == PID_IN) :|
- eddyb(NN) USB: Device: QEMU 0.12.50 QEMU USB HARDDRIVE, class 8:6:80
- eddybthen...
- eddyb(NN) MS-DOS partition table found on disk USB Mass Storage
- eddybUSB no device
- eddybi suppose it should give an error, saying "hey, no device there"
- eddybor simply NAK
- eddybhmm, i find xkcd more into love&stuff than other webcomics...
- eddybtake http://xkcd.com/63/ for example :)))