#tyndur · 2010-02-04

409 Nachrichten · Seite 2 von 3 · Original-CSV herunterladen

  1. kwolfFreakyPenguin: Nah, my qemu is well-behaved :-)
  2. kwolfIn F10 I had this problem where it made the keyboard unusual occasially, in F12 it seems to be the mouse
  3. kwolfI call it progress ;-)
  4. FreakyPenguinHehe
  5. eddybXanClic: [11:26] <kwolf> Have you thought about teaming up with XanClic to get nice shared USB drivers? << I was considering the idea :)
  6. kwolf-unusual +unusable
  7. eddybI'm now meddling with EHCI
  8. XanCliceddyb: My "uh" was exactly referring to that ;-)
  9. eddybif i get it working, i can make a CDI version or something like that
  10. eddybbut it seems i can't get to that point...
  11. eddybwhat do you know about EHCI?
  12. XanClicNothing, that's it ;-)
  13. XanClicI have a tab constantly open on how to deactivate it *g*
  14. XanClicBecause I first wanted to have working UHCI/OHCI drivers before coming to USB 2.0
  15. XanClicThough the HCD itself for EHCI might be simpler than the one for UHCI...
  16. eddybnot really. it looks to me that's just more bits to set :)
  17. eddybwhere do you test your drivers?
  18. XanClicMostly in qemu
  19. XanClicI have to versions here, one with UHCI and one with OHCI
  20. eddybi was using qemu for my UHCI one and it works there, but not really anywhere else :)
  21. XanClicMine does so, too ;-)
  22. XanClicOHCI is simpler, btw ;-)
  23. eddyband after my fail with VirtualBox( http://forum.osdev.org/viewtopic.php?f=1&t=21524 ), i switched to VMware
  24. XanClicHm, I got that never working on my Linux
  25. kwolfVMware?
  26. eddybstill, the connected bit(in the PORTSC regs) doesn't get set and i can't get the HC to send a packet
  27. XanClickwolf: Jup
  28. XanCliceddyb: UHCI?
  29. eddybEHCI :)
  30. XanClicAh ;-)
  31. eddybalso, which "that" ?
  32. XanClicElse I would have suggested disabling the legacy support right now xD
  33. kwolfXanClic: Compiling their kernel module is a PITA and usually requires patching, but it's not difficult to find instructions
  34. eddybkwolf: which kernel module?
  35. eddybVirtualBox?
  36. kwolfThe VMware one
  37. XanClickwolf: Hm, I was happy with VirtualBox, too
  38. eddyblol
  39. eddybVMware?
  40. eddybit's a .bundle file you have to run
  41. eddybthen use VMware to create the virtual machines
  42. XanClicAs said, been there, tried it, didn't work
  43. eddyband VMware player to use them
  44. XanClic(by the way, that's from Garfield, I love that sentence *g*)
  45. eddyb(this way you can use the trial as a full version :P)
  46. eddybfunny
  47. eddybdid the installer fail, or what?
  48. kwolfIf you have a recent kernel, it's very likely to fail
  49. eddybi can upload my .bundle file somewhere, it just needs to be runned as root and it does everything by itself(except for the fact that you have to say no to the eclipse question :P)
  50. eddybkwolf: 1. it's quite a new version of VMware 2. you don't know how latest my packages are
  51. eddyb--disable-systax-cheking :P
  52. eddyb*checking
  53. kwolf*syntax ;-)
  54. eddybhey, this is because of my keyboard and fingers :P
  55. eddybsometimes i can type a whole other word than the one i want to, without knowing
  56. XanCliceddyb: Hm, yes, it failed, afair
  57. eddybhey, i can type without looking :P
  58. eddybXanClic: when?
  59. XanClicHalf a year ago?
  60. XanClicDon't know exactly
  61. eddybheh, sure it did
  62. eddybtry now
  63. XanClic*g*
  64. eddybi can give you the bundle, if you want
  65. XanClicWhy "sure"? *g*
  66. eddybbecause things change in days
  67. XanClicHm, I know some OS that don't *g*
  68. eddybfor example, i run chrome 5 >:)
  69. XanClicUh
  70. eddyb(btw, that was yesterday or a couple of days ago :P)
  71. eddybhmm, what distro?
  72. XanClicopenSUSE
  73. eddybwhat version?
  74. XanClic11.2
  75. quokewww opensuse ;)
  76. XanClicquok: I'm in Germany here, come on ;-)
  77. eddybbtw, i use OpenSuSE and you can get latest svn for at least kde4(do you use it, btw?)
  78. quokXanClic: alright, I suppose I can cut you some slack for that.
  79. quokhaha slack.. bad pun!
  80. eddybquok: hey, there's two of us now :P
  81. XanCliceddyb: Yes, I'm using KDE4
  82. quokI use to have opensuse installed on one of my laptops
  83. quokbut switched away to everyone's favorite ubuntu ;)
  84. kwolfIt's not my favourite ;-)
  85. XanClic+1 ;-)
  86. kwolfBut then, I'm not sure what my favourite is
  87. eddybstill, i keep (only!) chrome dev, kde4, qemu and vlc unstable repos :)
  88. quokit's not my favorite either... I rather dislike ubuntu
  89. eddybeww, ubuntu
  90. quokdon't even know why I bothered to install it other than I was tired of opensuse
  91. XanCliceddyb: I have bad experiences with an unstable KDE4 *g*
  92. kwolfThe distros I'm regularly using are Fedora, openSUSE and Debian
  93. eddybif i have(after an update), i only need to restart X :P
  94. XanClicquok: I know another one who changed to Ubuntu from openSUSE, but that was because of hardware problems on the latter one... Though he hates Ubuntu ;-)
  95. eddybnow every app gives a segfault or something like that when i close it. the only thing that bothers is the report dialog :)
  96. kwolfXanClic: And now he has hardware problems even with Ubuntu
  97. XanClickwolf: Oh yes, of course *g*
  98. XanClicHm, vmware wants to know a lot of things
  99. XanClicMy phone number and we're I'm working
  100. eddybi told'ya
  101. eddybi can get you a bundle
  102. eddybwithout all that :P
  103. XanClicLet me take a look at YaST first ;-)
  104. eddybit's one day old, btw, it's still fresh :P
  105. eddybnah, nothing there
  106. eddybIIRC
  107. XanClicJust tools to build VMX, yes
  108. XanClicSo would you be so kind...? :-)
  109. eddybnp
  110. eddyboh, shet
  111. eddybcrap server
  112. eddybdoes the IRC transfer thingy even work?
  113. XanClicI never got it to work, though others did, afaik
  114. eddybkwolf: ping
  115. eddybi may have to go soon :|
  116. kwolfeddyb: pong
  117. eddybre: keymaps :)
  118. kwolfHm, ok. I should stop working anyway. Where in the tree are they?
  119. eddyb/src/user/apps/keymap/
  120. eddybsimple files, i think you know it...
  121. kwolfLet me have a look
  122. kwolfHm, three files for each keymap?
  123. kwolfAnd USB has different keymaps?
  124. eddyb.h and .kcm(or how was it) are generated
  125. eddybyup
  126. kwolfThen why are they in the repo?
  127. kwolfOkay, so I just copy one fo them without extension
  128. eddybbecause usb got nice numbered keycodes :)...
  129. eddybyup
  130. eddybfirst do pc102
  131. eddybi think it's self-explanatory
  132. eddybtake EnUs as example
  133. kwolfNot sure if I understand the dead key part, but the rest looks easy
  134. kwolfJust the Unicode position
  135. eddybyou do DEFINE <combinator> <index> at the start, index above 10
  136. eddybthen, for a dead key: ALTGR SET-COMBINE[<combinator>][<unicode(i think pressed twice)>]
  137. kwolfI saw that, but where is defined what combinations it produces?
  138. eddyb0x12 U+0065 SHIFT U+0045 COMBINE[acute] U+00E9 SHIFT COMBINE[acute] U+00C9 COMBINE[grave] U+00E8 SHIFT COMBINE[grave] U+00C8 COMBINE[circumflex] U+00EA SHIFT COMBINE[circumflex] U+00CA COMBINE[diaeresis] U+00EB SHIFT COMBINE[diaeresis] U+00CB # e E
  139. eddybenjoy :)
  140. kwolf*hehe*
  141. eddybfell free to ad combinators to Usb, too i wasn't sure which standard to use for EnUs(the keys on top, or ; and ')
  142. kwolfHm, does ALTGR SHIFT work?
  143. eddybyup
  144. kwolfCool
  145. kwolfWill take a while then to make a nice keymap ;-)
  146. eddybyou can add as many flags as you want before the unicode point
  147. eddybsure, if german keyboards have fancy stuff
  148. kwolfHm, you mean I can define something like "dead acute + dead tilde + shift + ctrl + ü"? ;-)
  149. kwolfNot that it would make any sense...
  150. eddyb<scancode> (SET)+
  151. eddybwhere SET = (ALT|ALTGR|SHIFT|whatsoever|COMBINE[<conbinator>])* <unicode point/command string>
  152. eddybif you know a bit regex, you get what i mean
  153. kwolfMaybe I'll add a funny nonsense combination somewhere ;-)
  154. stultusjust out of curiosity... is it possible to bind a keystroke to more than one char?
  155. eddyblike type two chars with one key press?
  156. kwolfHm, is there is real use case for this?
  157. eddybit's not even possible
  158. kwolfstultus: Or do you want to make Shift+ß produce SZ? ;-)
  159. XanClicHm, it's possible on Windows, afair, if you press "^" once, nothing happens, but if you press it again, you get "^^" ;-)
  160. eddybXanClic: here you would get only one ^ if ^ is a dead key
  161. stultuskwolf: the example would fit ;)
  162. kwolfRight, I'm changing to my private computer now to get this done
  163. eddybi gonna leave in max 10min
  164. eddybtaljeth: there was a HID pdf for those scancodes
  165. eddybbut i kinda use most of them
  166. taljethI'll start with the normal keyboard
  167. eddybokey, i was saying in case you come to usb :)
  168. taljethNow let me see how long it takes to build the images ;-)
  169. eddybbtw, it's generated by yourself ;)
  170. taljeth"it"?
  171. eddyblike doing make in the keymap dir and then ./keymap compile <keymapfile>
  172. taljethAh, I see
  173. taljethkeymap is some script then?
  174. eddybnope
  175. eddybis the keymap app
  176. eddybwith make, it builds the host version
  177. eddybtehre's also a pedigree version, built by scons
  178. taljethScary
  179. eddybso you can put your .kcm file in images/x86 and do inside pedigree keymap install <keymapfile>
  180. eddyband it loads your keymap... runtime :)
  181. eddyblike same app, double-sided
  182. taljethCan I make it default somehow?
  183. taljethBtw, after the whole thing was compiled, it took something like 7 seconds for the images
  184. eddybby changing the include directive in /src/system/kernel/machine/x86_common/Keyboard.cc
  185. eddybah, quick stupid question: is possible to use defines in a #include?
  186. eddyblast time i tried(not really enough), i couldn't make it work...
  187. taljethSure it's possible
  188. quok...
  189. eddyb/FAIL
  190. eddybso, how do i do it :P ?
  191. taljethJust use them? ;-)
  192. eddybexample?
  193. taljethAh, wait, what exactly do you mean?
  194. taljethDetermining the file to include by a macro?
  195. stultusi think he's been trying something like #define blabla \n #include blabla
  196. taljethThat's probably not possible
  197. eddybyup
  198. taljethHowever C contains so much magic that I wouldn't guarantee for anything
  199. eddybit'd be nifty, anyway...
  200. eddyb#define GETSTDLIB #include <stdlib.h>