#tyndur · 2010-04-14

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

  1. pcmattmanHello kwolf
  2. kwolfWow, that was a quick reaction :-)
  3. kwolfGood morning pcmattman
  4. pcmattmanCDI's been pretty stable (better word than "quiet" :P) lately
  5. kwolfI'm waiting for your patches to make it unstable again ;-)
  6. pcmattmanHeh
  7. kwolfSeriously, I haven't had much time for it lately. And the time that I had I invested in tyndur itself.
  8. pcmattmanI think we've all been short on time lately
  9. 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?
  10. kwolfAnd e1000, of course
  11. pcmattmanMore or less
  12. eddybsadly, XanClic isn't around...
  13. eddybanyway
  14. eddybconsidering my problem appears with all kinds of usb devices, even pass-thru
  15. eddybi think it may be related to uhci
  16. eddybso, I do remember some of you using a qemu branch with ehci
  17. eddybis there anyone besides XanClic using such a branch/knowing of one?
  18. eddybi mean, from those that are here
  19. eddybkwolf: do you?
  20. kwolfeddyb: I do
  21. kwolfThere is one in my git, but it's not the most recent version
  22. kwolfLet me look up where Jan's git is
  23. kwolfgit://git.kiszka.org/qemu.git ehci
  24. eddyblemme see...
  25. eddybwait...
  26. eddybthere's no ehci in there :|
  27. kwolfThere's definitely an ehci branch in that repo
  28. eddybgreat, how i clone a branch :| ?
  29. kwolfYou clone the repo and just checkout the branch
  30. kwolfLike git checkout origin/ehci
  31. eddybperfect :D
  32. eddybthanks ;)
  33. eddyb(there's a -o/--origin option for clone, btw. the other way didn't work ;) )
  34. eddybshit, it didn't work either
  35. kwolfYou need to learn how to use git ;-)
  36. kwolfWhat do you mean exactly by "doesn't work"?
  37. eddybwith -o at clone it still clones master
  38. eddyband checking out after cloning breaks pull
  39. kwolfAh, well, if you need pull you need a tracking branch
  40. kwolfgit checkout -b ehci -t origin/ehci or something like that
  41. kwolfBut when I don't want to commit changes I often just use git fetch && git checkout origin/ehci without using a local branch
  42. eddybit now really works, thanks (again) :D
  43. kwolfThe wonders of git ;-)
  44. eddybi wonder why i use -j4 on a HT Pentium 4...
  45. eddybhmm, no wonder reinstalling qemu did nothing...
  46. eddybconfigure defaults to /usr/local XD
  47. kwolfAs a configure is supposed to do
  48. eddyb*and i forgot it does that :P
  49. kwolfBut I don't even install qemu any more, I just run it from the build directory
  50. eddybgood idea
  51. eddybnow i should finish my /usr/local cleanup
  52. eddybnow let's wait for a triple fault :P
  53. eddyb"*** EHCI support is under development *** " << heh
  54. kwolfAt least you have been warned ;-)
  55. eddybokey, why don't i get an irq?
  56. eddyb(after it says "USB no device")
  57. kwolfProbably you're doing something wrong. I mean, Linux works with this EHCI emulation.
  58. eddybi didn't say i was doing something right :P
  59. eddybthe funny part is that this same code used to work *on real hardware*
  60. kwolfHm, that's strange
  61. eddyb if ((ret >= 0) && (qh->token & QTD_TOKEN_IOC)) ...... DO_INTERRUPT
  62. eddybthat means no interrupt in case of error...?
  63. eddybHUH?
  64. eddybthe funnier thing is that i actually have a device connected :|
  65. eddybaha. found why i was getting frame list rollover while i had periodic schedule disabled :D
  66. eddybhehehe
  67. eddyb/facepalm
  68. eddyband i think that should solve *all* my problems
  69. eddybi also have to clear PRESET bit myself...
  70. 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 :) )
  71. eddybwin
  72. kwolfWorks?
  73. eddybactually, no error
  74. eddybi now implemented the "call callback" part
  75. eddybgreat...
  76. eddyb"USB babble TODO"
  77. kwolf*g*
  78. kwolfIf that happens there's something wrong anyway
  79. eddybso ret is 18, but i expect 18...
  80. eddybsomething tells me i forgot a +/- 1 somewhere
  81. eddybactually
  82. eddybit seems someone forgot a if(ehci->pid == PID_IN) :|
  83. eddyb(NN) USB: Device: QEMU 0.12.50 QEMU USB HARDDRIVE, class 8:6:80
  84. eddybthen...
  85. eddyb(NN) MS-DOS partition table found on disk USB Mass Storage
  86. eddybUSB no device
  87. eddybi suppose it should give an error, saying "hey, no device there"
  88. eddybor simply NAK
  89. eddybhmm, i find xkcd more into love&stuff than other webcomics...
  90. eddybtake http://xkcd.com/63/ for example :)))