Ok, I have been banging my head against this, and maybe I just don't have the right perspective for what I want to do. I have a Japanese USB keyboard that is getting some of its keycodes squashed in the USB to AKB keycode conversion. this means that a number of keys are all either dead or mapping to AKB code for 'a'. I figure no problem, I will just compile a USB keyboard driver that logs the raw keycodes somewhere so I can fix the AKB lookup table. I grab the sources, and after a bit of wrangling I got the USB keyboard to compile. I uncomment the extant kprintf() statements, and try the new driver only then realizing I have no idea how to get to the output. I do some searching, and discover that I should also be able to use the kernel printf() or log() function calls to get the logging somewhere I know about, but I have been completely unsuccessful on getting these to compile in. I can seem to figure out which headers I should use, and what if any changes I need to make so that everything links and builds nicely. I'm sure this is extremely simple, but I just can't figure out where I should be looking and what the canonical/best way to go about getting the information I want is. I'm not even sure if I should be trying to replace to keyboard driver to get the support I am after or if there is a better way to fix my issues. Any help would be really appreciated. --Matt _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.