#tyndur · 2010-02-12
536 Nachrichten · Seite 1 von 3 · Original-CSV herunterladen
- taljethgn8
- XanClicGood idea
- XanClicgn8
- kwolfMoin
- pc[away]Patch coming your way within 30 minutes, kwolf
- kwolfHi pcmattman
- kwolfSounds good
- pcmattmanRight after that I'll see what I can and can't do in this submodule
- kwolfYup, we should find a solution that keeps Pedigree compilable most of the time
- pcmattmanAnd sent
- pcmattmanAh, should've used [PATCH v2]
- pcmattmanAw, it also removed my explanation paragraph... odd
- pcmattmanHeh, next time I'll remember to *save* the modified .patch file
- kwolfMy git doesn't remove patch files ;-)
- pcmattmanNo point emailing it again, the patch will just have to document the change :)
- kwolfI think it's fine as it is
- kwolfEven thought the subject is rather long ;-)
- pcmattmanHehe
- pcmattmanNow, as for checking out that remote branch... how do I go about that?
- kwolfHm, assuming that the submodule is just a normal repo...
- kwolfSo git checkout origin/usb in the CDI directory?
- kwolfYou can do a git pull there, right?
- kwolfSo it should be more or less a normal repo
- pcmattmanNote: moving to 'origin/usb' which isn't a local branch
- pcmattman$ git branch -v
- kwolf"Note", not "Error" ;-)
- pcmattman* (no branch) 8b00998 usb: A bit faster
- pcmattman master 610dc3e [ahead 1] Change CDI headers to use angle brackets for other CDI headers
- pcmattmanIt certainly seems to work right
- pcmattmanIt just has no idea what branch I just moved to
- kwolfRight, the question is if you could commit this as the submodule revision
- kwolfThe branch you moved to is origin/usb, obviously ;)
- kwolfYou can't move the head of this branch because its a remote branch, so it detaches the head. It's like when you checkout a specific commit
- pcmattmanHmm, well
- pcmattmanThere's a full .git in the submodule root
- kwolfYes, I think it's a real repo
- kwolfWhose head is referenced by pedigree.git
- pcmattmanHmm, perhaps
- pcmattmanWhat's cdi.git's master's current HEAD commit?
- kwolfDoes git diff show a changed submodule head?
- kwolforigin/master ;-)
- pcmattmanI mean, the hash ;)
- kwolfgitweb says 2474abcf
- pcmattmanOkay
- pcmattmanI made a commit into the non-master branch
- pcmattmangit diff in the main Pedigree git...
- pcmattman-Subproject commit 2474abcfb6d451e15360725e88b43aa0a0c19814
- pcmattman+Subproject commit 4db03c5ebd62e58af4d72afaf0e080faa89a6f41
- pcmattmanNo mention of branch, just a hash
- kwolfSo it just works
- pcmattmanIf a hash is not linked to any branch, yes :)
- kwolfIf I understand it right, a branch is technically just a pointer to the head of that branch
- pcmattmanRight
- pcmattmanIt just follows the family tree of the commit to find the branch's history, I guess
- kwolfSame as with the history for a commit which isn't a head
- pcmattmanWell, the magic of git ends up getting figured out eventually when you start doing crazy stuff like subprojects :)
- kwolfSubmodules look pretty harmless, actually
- pcmattmanI think though to create a branch which I can push into can really trash the workflow
- pcmattmanAnd yeah, once you figure out some of the little "fun details" with subprojects they end up being pretty sane
- kwolfHow would it trash the workflow?
- pcmattmanWell, at the moment anything I commit is reviewed first
- pcmattmanThat would still happen for the CDI master, but it could cause some fun issues with the state of the branch compared to master
- kwolfWell, either this happens to be an advantage, then there's no reason to stop it
- kwolfOr you run into serious quality issues, then you should think about the way you use your branch ;-)
- kwolfI would expect your branch to rebase on master regularly and drop patches that have been changed after review, but that's up to you
- kwolfBasically, if there is something that breaks the Pedigree build, committing into a branch would help immediately. You could leave the branch completely unused when master is working.
- pcmattmanUsually the issue is resolved in good time anyway
- pcmattmanI'm just not sure having an alternative branch with full push access is the right answer. But we'll discuss it further, see the pros and cons...
- pcmattmanI'm out for a few hours now though, so I'll be back later
- kwolfWell, it's just an offer. If you don't want it, I won't insist on it
- kwolfOk
- eddybmoin
- XanClicMoin, eddyb
- eddybwhere's my magnifying penguin?
- eddybXanClic: what
- eddyb*'s data toggle for?
- XanClicI know that at least for bulk transfers
- XanClicHm, but it's also used on control...
- XanClicYou send DATA0 first, then DATA1, then DATA0, ...
- eddybso i *must* use it?
- XanClicYes
- XanClicEspecially on control transfers
- XanClicThe last packet you send there is always DATA1, afair
- eddyband for same combination of address and endpoint i have to keep track of last packet?
- XanClicRead the osdev wiki page on USB, it'll explain that ;-)
- eddyb*'s data toggle
- XanClicYes, on toggle per pipe
- XanClic*one
- eddybmeh, i like human explanations more :P
- eddybthis is going to be a PITA
- XanClicUSB is ugly
- eddybhmm, it works in qemu without touching data toggle
- XanClicBut it won't work on real hardware.
- eddybin EHCI there's a bit in QH called data toggle control
- XanClicYou're forced to use that data toggle thing
- XanClicUHCI also has such a bit
- XanClicIt's a bit simpler with OHCI again ;-)
- eddybUHCI got a data toggle
- eddybin TD
- XanClicBecause the OHCD tracks all your pipes
- eddybqTD in EHCI, too
- XanClicAnd it also takes care of setting the data toggle bit appropriately
- eddybi mean
- eddybyou can tell EHCI to not use your data toggle
- eddyband maybe it does it by itself
- XanClicHm, but I doubt if it handles control transfers correctly
- eddybbtw
- XanClicDoes an EHC handle pipes?
- XanClicI mean, you define a USB address and an endpoint and then you can send packets there
- eddybwhy do i have to do a IN with no size in order to "clear" a SETUP that doesn't receive or send anything?
- XanClicIt was the handshake, wasn't it?
- eddybwhatever
- XanClicJust read the wiki page
- XanClicIt's really good
- eddyband you really have to dig up information
- eddybbut it helped me with control stuff
- XanClicYes, if you don't want to read all of it...
- XanClicHm, let's see when kde 4.4 is available...
- XanClicAh, not yet.
- eddybdo you have kde nightly?
- eddybor how is called
- XanClicNo, just in the standard openSUSE repos
- XanClicI know the source is available and so on
- eddybUNSTABLE....
- XanClicBah ;-)
- eddybsomething from the last update
- eddybRetrieving: oxygen-icon-theme-large-4.4.63svn1087770-1.1.noarch.rpm [done (168,5 KiB/s)]
- eddybah
- eddybthat thing in EHCI isn't what i was thinking....
- eddyb:(
- eddyb128*16....
- eddybit'd take 256 bytes with a bitset
- eddybnot so much
- eddyblol, i got 16 bytes to play with :)
- eddybvery useful with a dumb controller
- eddybaaah
- eddybcerr
- eddybXanClic: can it be that HC retries to infinite to send mah packet?
- XanClicI think not
- eddybwhy?
- XanClicIt should signal an IRQ and let you decide what to do
- eddybi had cerr = 0
- XanClicAt least UHCI should do that
- XanClicThere are error conditions such as NAK, aren't there?
- XanClicAnd NAK is the only case where it could retry
- eddybBits[28:27]
- eddyb00
- XanClicThe other ones are more ore less "serious" errors
- eddyb01
- eddybInterrupt After
- eddybNo Error Limit
- eddyb1 error
- eddybargh
- eddybokteta copies wrong
- eddybanyway
- eddybInterrupt after... No error limit :)
- XanClicSo you should set an error limit ;-)
- eddyb1, to be exactly
- eddybi changed my TD structure to bit(whatever) to be more like EHCI and i saw cerr
- eddybif it works now i killed two rabbits from one shot...
- eddybit still doesn't explain what's happening to EHCI
- eddybfunny
- eddybserial is used
- eddybstill, i got serial output only when an irq comes in
- eddybah, whoops
- eddybi left EHCI XD
- eddyb(NN) 0x284
- eddyb(NN) 0x285
- eddybwtf?
- eddybi finally get connected bit set :O ?
- eddybstill, no success :(
- eddybone way to try....
- eddybdo something nasty...
- eddybi added a +1 after pid :P
- eddybwriting to reserved fields, nope....
- eddybnow i see i got two messages
- eddybPM
- eddybDelete message
- eddybThis message has been removed by its author before it was delivered.
- eddybby neato on Thu Feb 11, 2010 11:26 pm
- eddybwtf?
- eddybso i can't see that one
- pcmattmanBack for a little while
- eddybbut the other has a quote to my whole last post and under it "I'm sorry little girl, don't cry."
- eddyb?!
- eddybpcmattman: sorry for the backlog :D
- pcmattmanNot my channel
- eddybi mean if you want to read it :P
- eddybanyway, it's all my usb shit
- pcmattmanI don't want to read it
- kwolfHeh, right, as long as we get a USB driver that we can just use ;-)
- eddybcan someone tell me what the n00b wanted to tell me?
- eddybargh
- pcmattmanI'll just go grab my crystal ball
- eddybpcmattman: 0x1337cafe strikes again
- eddybmaybe you guys know better
- pcmattmanClosest I can do is guess what he wanted to say
- pcmattmanYou don't want to hear it
- pcmattmanAnd as for 0x1337cafe, you do realise these bugs only happen when your code is wrong
- pcmattmanIt's not Pedigree, it's your code