You did check if the function-lock is enabled, i hope?netjiro wrote:That would have been nice, but the problem is that some keys don't send keycodes at all when pressed, which means that I cannot assign them using a keymap since that maps keycodes to keysyms.
I have however tried the keyboard in a winxp install, and installed all the drivers, and it still behaves rather weird. The "dead" keys (without keycodes) come to life, but send mixed garbage of for example: F9 sends something like ctrl+F7 !
Nice.
And it doesn't work at all in either the windows boot menu or grub boot menu.
I'm returning the keyboard.
I just ordered that keyboard. Is there a howto available to get that thing running with gentoo?muhr wrote: I've bougth one of these, too. I have no problems with the F-keys. I can use with Grub when booting with no problems as well.
The 1-5 special keys don't work (as don't the Favorites and Calculator keys and the zoom-wheel), however. I don't know how to activate them.
BTW: Did you see that there are 2 evdev interfaces that belong to this keyboard?
-- muhr
Code: Select all
patch -p1 < [one of the two patches above] Code: Select all
patching file drivers/usb/input/Kconfig
patch: **** malformed patch at line 9: To compile this driver as a module, choose M here: the


Code: Select all
<*> Support for Host-side USB
--- USB Input Devices
<*> USB Human Interface Device (full HID) support
[*] HID input layer support
[ ] /dev/hiddev raw HID device support
Code: Select all
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xorg"
Option "XkbLayout" "de"
Option "XkbModel" "microsoftprooem"
EndSection

Code: Select all
if ((raw_mode = (kbd->kbdmode == VC_RAW)) && !hw_raw)
if (emulate_raw(vc, keycode, !down << 7))
if (keycode < BTN_MISC)
printk(KERN_WARNING "keyboard.c: can't emulate rawmode for keycode %d\n", keycode);In LKML there was posted two different patches for this keyboard. Patch you choose is too big, complex and strange - second patch looks much cleaner.lohner wrote:So I don't know what to do with these patch files (if they are patch files at all). Is it just me or do I have to use methods other than patch?

Code: Select all
cd /usr/src/linux
patch -p1 </path/where/you/saved/nek4k.patch

Yeah... you can open patch in editor in one window, open corresponding kernel source file(s) in editor in second window and do manual search&replace for each chunk of code. This require understanding of patch/diff file format, but it's ease. Then, if you make backup of edited files before start changing them, you can run:PowerOfAzure wrote:Is there a way to edit the patch to make it work w/ the gentoo-sources kernel (2.6.16-gentoo-r9)?
Code: Select all
diff -uNr linux-orig/ linux/ > nek4k-2.6.16.patchTo remove add -R option:PowerOfAzure wrote:Also, is there a way to remove the patch? I accentally didn't use dry-run on one of my attempts, and I was getting errors. (HUNK 3 failed at 446)
Code: Select all
patch -p1 -R </path/where/you/saved/nek4k.patch