#tyndur · 2010-02-04
409 Nachrichten · Seite 2 von 3 · Original-CSV herunterladen
- kwolfFreakyPenguin: Nah, my qemu is well-behaved :-)
- kwolfIn F10 I had this problem where it made the keyboard unusual occasially, in F12 it seems to be the mouse
- kwolfI call it progress ;-)
- FreakyPenguinHehe
- eddybXanClic: [11:26] <kwolf> Have you thought about teaming up with XanClic to get nice shared USB drivers? << I was considering the idea :)
- kwolf-unusual +unusable
- eddybI'm now meddling with EHCI
- XanCliceddyb: My "uh" was exactly referring to that ;-)
- eddybif i get it working, i can make a CDI version or something like that
- eddybbut it seems i can't get to that point...
- eddybwhat do you know about EHCI?
- XanClicNothing, that's it ;-)
- XanClicI have a tab constantly open on how to deactivate it *g*
- XanClicBecause I first wanted to have working UHCI/OHCI drivers before coming to USB 2.0
- XanClicThough the HCD itself for EHCI might be simpler than the one for UHCI...
- eddybnot really. it looks to me that's just more bits to set :)
- eddybwhere do you test your drivers?
- XanClicMostly in qemu
- XanClicI have to versions here, one with UHCI and one with OHCI
- eddybi was using qemu for my UHCI one and it works there, but not really anywhere else :)
- XanClicMine does so, too ;-)
- XanClicOHCI is simpler, btw ;-)
- eddyband after my fail with VirtualBox( http://forum.osdev.org/viewtopic.php?f=1&t=21524 ), i switched to VMware
- XanClicHm, I got that never working on my Linux
- kwolfVMware?
- eddybstill, the connected bit(in the PORTSC regs) doesn't get set and i can't get the HC to send a packet
- XanClickwolf: Jup
- XanCliceddyb: UHCI?
- eddybEHCI :)
- XanClicAh ;-)
- eddybalso, which "that" ?
- XanClicElse I would have suggested disabling the legacy support right now xD
- kwolfXanClic: Compiling their kernel module is a PITA and usually requires patching, but it's not difficult to find instructions
- eddybkwolf: which kernel module?
- eddybVirtualBox?
- kwolfThe VMware one
- XanClickwolf: Hm, I was happy with VirtualBox, too
- eddyblol
- eddybVMware?
- eddybit's a .bundle file you have to run
- eddybthen use VMware to create the virtual machines
- XanClicAs said, been there, tried it, didn't work
- eddyband VMware player to use them
- XanClic(by the way, that's from Garfield, I love that sentence *g*)
- eddyb(this way you can use the trial as a full version :P)
- eddybfunny
- eddybdid the installer fail, or what?
- kwolfIf you have a recent kernel, it's very likely to fail
- 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)
- eddybkwolf: 1. it's quite a new version of VMware 2. you don't know how latest my packages are
- eddyb--disable-systax-cheking :P
- eddyb*checking
- kwolf*syntax ;-)
- eddybhey, this is because of my keyboard and fingers :P
- eddybsometimes i can type a whole other word than the one i want to, without knowing
- XanCliceddyb: Hm, yes, it failed, afair
- eddybhey, i can type without looking :P
- eddybXanClic: when?
- XanClicHalf a year ago?
- XanClicDon't know exactly
- eddybheh, sure it did
- eddybtry now
- XanClic*g*
- eddybi can give you the bundle, if you want
- XanClicWhy "sure"? *g*
- eddybbecause things change in days
- XanClicHm, I know some OS that don't *g*
- eddybfor example, i run chrome 5 >:)
- XanClicUh
- eddyb(btw, that was yesterday or a couple of days ago :P)
- eddybhmm, what distro?
- XanClicopenSUSE
- eddybwhat version?
- XanClic11.2
- quokewww opensuse ;)
- XanClicquok: I'm in Germany here, come on ;-)
- eddybbtw, i use OpenSuSE and you can get latest svn for at least kde4(do you use it, btw?)
- quokXanClic: alright, I suppose I can cut you some slack for that.
- quokhaha slack.. bad pun!
- eddybquok: hey, there's two of us now :P
- XanCliceddyb: Yes, I'm using KDE4
- quokI use to have opensuse installed on one of my laptops
- quokbut switched away to everyone's favorite ubuntu ;)
- kwolfIt's not my favourite ;-)
- XanClic+1 ;-)
- kwolfBut then, I'm not sure what my favourite is
- eddybstill, i keep (only!) chrome dev, kde4, qemu and vlc unstable repos :)
- quokit's not my favorite either... I rather dislike ubuntu
- eddybeww, ubuntu
- quokdon't even know why I bothered to install it other than I was tired of opensuse
- XanCliceddyb: I have bad experiences with an unstable KDE4 *g*
- kwolfThe distros I'm regularly using are Fedora, openSUSE and Debian
- eddybif i have(after an update), i only need to restart X :P
- 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 ;-)
- eddybnow every app gives a segfault or something like that when i close it. the only thing that bothers is the report dialog :)
- kwolfXanClic: And now he has hardware problems even with Ubuntu
- XanClickwolf: Oh yes, of course *g*
- XanClicHm, vmware wants to know a lot of things
- XanClicMy phone number and we're I'm working
- eddybi told'ya
- eddybi can get you a bundle
- eddybwithout all that :P
- XanClicLet me take a look at YaST first ;-)
- eddybit's one day old, btw, it's still fresh :P
- eddybnah, nothing there
- eddybIIRC
- XanClicJust tools to build VMX, yes
- XanClicSo would you be so kind...? :-)
- eddybnp
- eddyboh, shet
- eddybcrap server
- eddybdoes the IRC transfer thingy even work?
- XanClicI never got it to work, though others did, afaik
- eddybkwolf: ping
- eddybi may have to go soon :|
- kwolfeddyb: pong
- eddybre: keymaps :)
- kwolfHm, ok. I should stop working anyway. Where in the tree are they?
- eddyb/src/user/apps/keymap/
- eddybsimple files, i think you know it...
- kwolfLet me have a look
- kwolfHm, three files for each keymap?
- kwolfAnd USB has different keymaps?
- eddyb.h and .kcm(or how was it) are generated
- eddybyup
- kwolfThen why are they in the repo?
- kwolfOkay, so I just copy one fo them without extension
- eddybbecause usb got nice numbered keycodes :)...
- eddybyup
- eddybfirst do pc102
- eddybi think it's self-explanatory
- eddybtake EnUs as example
- kwolfNot sure if I understand the dead key part, but the rest looks easy
- kwolfJust the Unicode position
- eddybyou do DEFINE <combinator> <index> at the start, index above 10
- eddybthen, for a dead key: ALTGR SET-COMBINE[<combinator>][<unicode(i think pressed twice)>]
- kwolfI saw that, but where is defined what combinations it produces?
- 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
- eddybenjoy :)
- kwolf*hehe*
- eddybfell free to ad combinators to Usb, too i wasn't sure which standard to use for EnUs(the keys on top, or ; and ')
- kwolfHm, does ALTGR SHIFT work?
- eddybyup
- kwolfCool
- kwolfWill take a while then to make a nice keymap ;-)
- eddybyou can add as many flags as you want before the unicode point
- eddybsure, if german keyboards have fancy stuff
- kwolfHm, you mean I can define something like "dead acute + dead tilde + shift + ctrl + ü"? ;-)
- kwolfNot that it would make any sense...
- eddyb<scancode> (SET)+
- eddybwhere SET = (ALT|ALTGR|SHIFT|whatsoever|COMBINE[<conbinator>])* <unicode point/command string>
- eddybif you know a bit regex, you get what i mean
- kwolfMaybe I'll add a funny nonsense combination somewhere ;-)
- stultusjust out of curiosity... is it possible to bind a keystroke to more than one char?
- eddyblike type two chars with one key press?
- kwolfHm, is there is real use case for this?
- eddybit's not even possible
- kwolfstultus: Or do you want to make Shift+ß produce SZ? ;-)
- XanClicHm, it's possible on Windows, afair, if you press "^" once, nothing happens, but if you press it again, you get "^^" ;-)
- eddybXanClic: here you would get only one ^ if ^ is a dead key
- stultuskwolf: the example would fit ;)
- kwolfRight, I'm changing to my private computer now to get this done
- eddybi gonna leave in max 10min
- eddybtaljeth: there was a HID pdf for those scancodes
- eddybbut i kinda use most of them
- taljethI'll start with the normal keyboard
- eddybokey, i was saying in case you come to usb :)
- taljethNow let me see how long it takes to build the images ;-)
- eddybbtw, it's generated by yourself ;)
- taljeth"it"?
- eddyblike doing make in the keymap dir and then ./keymap compile <keymapfile>
- taljethAh, I see
- taljethkeymap is some script then?
- eddybnope
- eddybis the keymap app
- eddybwith make, it builds the host version
- eddybtehre's also a pedigree version, built by scons
- taljethScary
- eddybso you can put your .kcm file in images/x86 and do inside pedigree keymap install <keymapfile>
- eddyband it loads your keymap... runtime :)
- eddyblike same app, double-sided
- taljethCan I make it default somehow?
- taljethBtw, after the whole thing was compiled, it took something like 7 seconds for the images
- eddybby changing the include directive in /src/system/kernel/machine/x86_common/Keyboard.cc
- eddybah, quick stupid question: is possible to use defines in a #include?
- eddyblast time i tried(not really enough), i couldn't make it work...
- taljethSure it's possible
- quok...
- eddyb/FAIL
- eddybso, how do i do it :P ?
- taljethJust use them? ;-)
- eddybexample?
- taljethAh, wait, what exactly do you mean?
- taljethDetermining the file to include by a macro?
- stultusi think he's been trying something like #define blabla \n #include blabla
- taljethThat's probably not possible
- eddybyup
- taljethHowever C contains so much magic that I wouldn't guarantee for anything
- eddybit'd be nifty, anyway...
- eddyb#define GETSTDLIB #include <stdlib.h>