#tyndur · 2010-03-06

39 Nachrichten · Seite 1 von 1 · Original-CSV herunterladen

  1. eddybXanClic: yay, i just managed to get async working :D
  2. XanClicEHCI?
  3. eddybUHCI
  4. eddybi dropped EHCI
  5. eddybat least for now
  6. taljethWe'll get all of them eventually
  7. XanClicIf you think so...
  8. eddybi still don't understand for what are queue header good... i can use the frame list directly pointing to the TDs... their number is enough...
  9. XanClicBut the frame list pointers aren't updated
  10. XanClicQueue head link pointers are
  11. eddyb?
  12. eddybupdated by who/what?
  13. XanClicIf the UHC finishs a TD, it writes its next pointer into the queue head link pointer if the TD is queued
  14. XanClicSo the TD won't be executed twice
  15. XanClicBut if there's no QH, the pointer in the frame list isn't updated
  16. eddybah
  17. XanClicThat's of course useful for periodic transfers, but it isn't for asynchronous
  18. eddybuseful?
  19. XanClicYou want periodic transfers to be executed every frame of maybe every second or fourth or ... frame
  20. XanClicBut these transfers are everytime the same, no need to change them
  21. eddybbut the HC unsets the active bit...
  22. eddybso it won't get executed second time
  23. XanClicBut it has to fetch this TD, and that takes some time
  24. XanClicFurthermore this link pointer setting unlinks the TD from the queue
  25. XanClicSo you don't have to do that by hand if you want to free the required memory
  26. eddybit makes my code simpler this way
  27. eddybhmm, sync was easy, just a bit of semaphore stuff :D
  28. eddybmeh, i got again in one of those depressing bugs
  29. eddyboh, great, a stalled endpoint XD
  30. XanClicThat's always nice, yes ;-)
  31. eddybi'll have to hack qemu again to see what's wrong
  32. eddybfunny thing just happened to me: if i was copying the buffer after i filled in TD data, i didn't get any IRQ
  33. taljethRight, if the driver doesn't work, the hardware must change ;-)
  34. eddybnah
  35. eddybjust that it's not obvious what i did wrong
  36. eddybseeya tomorrow, anyway
  37. eddybit's late here
  38. taljethDepends on your definition of late.
  39. taljethAnyway, night