Installing a NextWindow Fermi touchscreen under Ubuntu 13.04 (Raring)

So, last week we bought an HP AIO 520-1188 to use with Tetra. It is a really nice machine, wonderful sound and display quality, very easy to disassemble. It came with an integrated tv tuner, infrared control and wireless keyboard and mouse. Strangely, it used only the necessary amount of packaging.

To actually use the touchscreen one needs to install the nwfermi packages found at https://launchpad.net/~djpnewton.

The kernel driver is managed with dkms, for it to build I replaced the ocurrences of err with pr_err and commented out the call to dbg(). The sources are installed by default at /usr/src/nwfermi-0.6.5.0. After that changes do a

dkms build -m nwfermi -v 0.6.5.0
dkms install -m nwfermi -v 0.6.5.0

The xorg input driver needs to be recompiled as the last version on the ppa is for a different ABI version of Xorg. I grabbed the sources from https://launchpad.net/~djpnewton/+archive/xf86-input-nextwindow/+packages.

The requisites to build it are installed with:

apt-get install build-essential autoconf2.13 xorg-dev xserver-xorg-dev xutils-dev

(In the guide it says to install xorg-x11-util-macros, its contents are now in xutils-dev)

After that do
chmod +x autogen.sh ; ./autogen.sh
make
make install

The old (and nonworking) driver is still present, so we remove it:
rm /usr/lib/xorg/modules/input/nextwindow_drv.so

Reboot the system and you are set to go.

The provided debs worked fine with a stock Debian Wheezy.

I had no luck in making the userspace daemon work on a 64 bit distro (so for now I’m limited to a tad less than 4G of ram), but I think it’s a matter of time.

4 comments on “Installing a NextWindow Fermi touchscreen under Ubuntu 13.04 (Raring)

  1. To work on debian wheezy>

    1) install libc6-i386
    2) download and install http://ppa.launchpad.net/djpnewton/xf86-input-nextwindow/ubuntu/pool/main/x/xf86-input-nextwindow/xf86-input-nextwindow_0.3.4~precise1_amd64.deb
    3) download https://launchpadlibrarian.net/97414718/nwfermi-0.6.4.0_amd64.deb
    4) run dpkg -i nwfermi-0.6.4.0_amd64.deb (this will not install by now)
    5) little hack on /var/lib/dpkg/status to bypass ia32-libs dependecy. Edit /var/lib/dpkg/status to remove dependecy of ia32-libs of package nwfermi, or add ‘Provides: ia32-libs’ on libc6-i386 section.
    6) apt-get -f install (this will install nwfermi)

    7) in my case, my device (1926:1846) is not listed on /usr/src/nwfermi-0.6.5.0/nw-fermi.c ;
    7.1) add { USB_DEVICE(0x1926, 0x1846) } to /usr/src/nwfermi-0.6.5.0/nw-fermi.c, recompile and override /lib/modules/3.2.0-4-amd64/updates/dkms/nw-fermi.ko
    7.2) or put “echo 1926 1846 > /sys/bus/usb/drivers/nwfermi/new_id” on /etc/rc.local

  2. 8) update udev rules: sed -i -e s/SYSFS/ATTR/g /etc/udev/rules.d/40-nw-fermi.rules

  3. Kjartan Iversen says:

    Hello.
    about
    “After that do
    chmod +x autogen.sh ; ./autogen.sh
    make
    make install”

    found autogen.sh in /usr/src/linux-headers-3.13.0-39/drivers/staging/usbip/userspace

    when running I get:

    + autoreconf -i -f -v
    Usage: autoreconf [-f] [-h] [–help] [-m dir] [–macrodir=dir]
    [-l dir] [–localdir=dir] [–force] [–verbose] [–version]
    [–cygnus] [–foreign] [–gnits] [–gnu] [-i] [–include-deps]

    so Im confused.

    should I copy autogen.sh to ……/nwfermi-0.6.5.0 catalogue and then run????

    please help….
    regards

    Kjartan

  4. Hello Kjartan, sorry for not answering before.
    The steps

    > chmod +x autogen.sh ; ./autogen.sh
    > make
    > make install

    are meant to be run inside the contents of the file from https://launchpad.net/~djpnewton/+archive/xf86-input-nextwindow/+packages

    I no longer have the hardware but I’ll do my best to help you.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.