Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to install the penmountlpc touchscreen driver in Ubuntu 11.10 on a Dialogue Flybook A33i.

When I try installing it using module-assistant from the source packed in penmountlpc-source_1.1_all.deb, I receive the following build error (see also the full build log):

# Install the module
cp penmountlpc.o debian/penmountlpc-modules-3.0.0-12-generic/lib/modules/3.0.0-12-generic/misc
cp: cannot create regular file `debian/penmountlpc-modules-3.0.0-12-generic/lib/modules/3.0.0-12-generic/misc': No such file or directory
make[1]: *** [binary-modules] Error 1
make[1]: Leaving directory `/usr/src/modules/penmountlpc'
make: *** [kdist_build] Error 2

How can I resolve this problem?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

I had success using the source tarball instead of the Debian source package.

  1. Get the source:

    wget "http://penmountlpc.googlecode.com/files/penmountlpc-source_1.1.tar.gz"
    tar xzvf penmountlpc-source_1.1.tar.gz
    cd penmountlpc-source-1.1/
    
  2. Compile it (This requires build-essential Install build-essential):

    make
    
  3. Install the kernel module:

    sudo make install
    sudo depmod
    
  4. Verify that it loads successfully:

    sudo modprobe penmountlpc
    lsmod | grep penmountlpc
    
  5. Configure Ubuntu to load it automatically at every boot:

    echo -e "\n# Linux kernel driver for the touchscreen on Dialogue Flybook notebooks\npenmountlpc" | sudo tee --append /etc/modules
    
share|improve this answer
add comment

It worked for me: Simply download the deb file from your link above and double click on it and install it from the 'Software Center'. Thank you.

share|improve this answer
    
I also had no problems with installing the source package. Have you tried compiling the kernel module? –  ændrük Nov 13 '11 at 3:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.