Nextwindow Fermi Driver

problem installing nwfermi ubuntu 12.10

Asked by Ariel Pacetti on 2013-03-25

while installing nwfermi-0.6.5 in ubuntu 12.10 I got the following error:

(Reading database ... 335794 files and directories currently installed.)
Preparing to replace nwfermi 0.6.5.0 (using nwfermi-0.6.5.0_amd64.deb) ...
Removing all DKMS Modules
Done.
Unpacking replacement nwfermi ...
Setting up nwfermi (0.6.5.0) ...
Removing all DKMS Modules
Done.
Adding Module to DKMS build system
driver version= 0.6.5.0
Doing initial module build
Error! Bad return status for module build on kernel: 3.5.0-25-generic (x86_64)
Consult /var/lib/dkms/nwfermi/0.6.5.0/build/make.log for more information.
Installing initial module
Error! Bad return status for module build on kernel: 3.5.0-25-generic (x86_64)
Consult /var/lib/dkms/nwfermi/0.6.5.0/build/make.log for more information.
Done.
Processing triggers for ureadahead ...

Here is the file /var/lib/dkms/nwfermi/0.6.5.0/build/make.log

DKMS make.log for nwfermi-0.6.5.0 for kernel 3.5.0-25-generic (x86_64)
Mon Mar 25 15:10:31 ART 2013
make -C /lib/modules/3.5.0-25-generic/build M=/var/lib/dkms/nwfermi/0.6.5.0/build modules
make[1]: Entering directory `/usr/src/linux-headers-3.5.0-25-generic'
  CC [M] /var/lib/dkms/nwfermi/0.6.5.0/build/nw-fermi.o
/var/lib/dkms/nwfermi/0.6.5.0/build/nw-fermi.c: In function ‘fermi_open’:
/var/lib/dkms/nwfermi/0.6.5.0/build/nw-fermi.c:268:3: error: implicit declaration of function ‘err’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/nwfermi/0.6.5.0/build/nw-fermi.o] Error 1
make[1]: *** [_module_/var/lib/dkms/nwfermi/0.6.5.0/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-25-generic'
make: *** [module] Error 2
/var/lib/dkms/nwfermi/0.6.5.0/build/make.log (END)

Is this a bug? Any suggestion?

Question information

Language:
English Edit question
Status:
Solved
For:
nwfermi Edit question
Assignee:
No assignee Edit question
Solved by:
Ariel Pacetti
Solved:
2013-03-31
Last query:
2013-03-31
Last reply:
Ariel Pacetti (apacetti) said : #1

Found the problem in an old question on this forum (https://bugs.launchpad.net/nwfermi/+bug/1042694). I open the package using the debian package manager (dpkg-deb -e), changed all the "error" by "pr_error" as explained in the link and rebuild the debian package (dpkg-deb -b) and reinstalled it. Unfortunately, the package was installed, but the module didn't load because of an inconsistency with the kernel libraries.

So I had to install manualy xf86-input-nextwindow, and then installing nw-fermi by hand. I followed (more or less) this link:

http://www.fusionnetwork.us/index.php/articles/linux-tutorials/hp-touchsmart-300-touchscreen-linux-nextwindow-working/

After compiling the module, I copied the module to the kernel modules directory as explained there, and added the module to the kernel (without making any change to the xorg driver, so I skipped the last step). At last everything worked out, and I have the touchscreen working in an HP all-in-one... =)