Hi!

I'm trying to make the multimedia and FnFx keys work in my Toshiba M115 with omnibook, but I'm really lost. I'm using Ubuntu 6.10.
I extracted the tarball files, then typed "make install" and "make load", and the omnibook module was up. But in /proc/omnibook there was only a 'version' file and another file (i don't remember witch one now). But there wasn't any hotkeys file!

Then I tried many things, like rmmod omnibook followed by a modprobe omnibook; then the following command, with its output. But I didn't know what was that "file to patch"!! =/

joaoolavo@note:~/omnibook- 2.20060921$ sudo make kpatch KSRC="/usr/src/linux-headers-2.6.17-10-386/include"
rm -f -r /usr/src/linux-headers-2.6.17-10-386/include/drivers/misc/omnibook
mkdir -p /usr/src/linux-headers-2.6.17-10-386/include/drivers/misc/omnibook
install -m 644 *.h *.c sections.lds /usr/src/linux-headers-2.6.17-10-386/include/drivers/misc/omnibook
mkdir -p /usr/src/linux-headers-2.6.17-10-386/include/Documentation/omnibook
install -m 644 doc/README doc/README-Hotkeys /usr/src/linux- headers-2.6.17-10-386/include/Documentation/omnibook
(cd /usr/src/linux-headers-2.6.17-10-386/include; patch -p1 < /home/joaoolavo/omnibook-2.20060921/misc/omnibook-integration.patch)
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux-2.6.17/arch/i386/Kconfig     2006-06-18 03:49:35.000000000 +0200
|+++ linux-2.6.17-omke /arch/i386/Kconfig        2006-09-07 19:16:40.994446032 +0200
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 61
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru linux-2.6.17/drivers/misc/Makefile linux-2.6.17-omke/drivers/misc/Makefile
|--- linux-2.6.17 /drivers/misc/Makefile 2006-06-18 03:49:35.000000000 +0200
|+++ linux-2.6.17-omke/drivers/misc/Makefile    2006-09-07 14:16:09.775221578 +0200
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
patching file drivers/misc/omnibook/Makefile
make: ** [kpatch] Erro 1



Now I can't insert the module omnibook!
joaoolavo@note:~/omnibook-2.20060921$ modprobe omnibook
FATAL: Error inserting omnibook (/lib/modules/2.6.17-10-generic/extra/omnibook.ko): Operation not permi

The dmesg results this:
[17186150.864000] omnibook: Unknown parameter `apmemu'

Any help??

Thanks!!
--
João Olavo Baião de Vasconcelos
Ciência da Computação
UFES