Comment 116 for bug 530277

Revision history for this message
Vladimir_ (rexcibor) wrote :

This is the step for build a keucr module. I made this for Ubuntu 10.04 Lucid Lynx.
1.- Download the source from http://ftp.twaren.net/Linux/Linpus/Acer_Linpus_Moblin_Lite/srpms/linpus-customize/kernel/driver-src/cardreader/ENE/R100_02_ene_card_reader.zip

2.- You need dkms and all it's dependencies.

3.- Unzip the source to /usr/src/keucr-0.0.1/. I rename the directory from R100_02 to keucr-0.0.1

4.- Add this new sources to dkms with:
dkms add -m keucr -v 0.0.1

5.- Create into the source directory a dkms.conf like this:
PACKAGE_NAME="keucr"
PACKAGE_VERSION="0.0.1"
CLEAN="rm -f *.*o"

BUILT_MODULE_NAME[0]="keucr"
MAKE[0]="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build"
DEST_MODULE_LOCATION[0]="/extra"

AUTOINSTALL="yes"

6.- Build the module:
dkms build -m keucr -v 0.0.1

7.- Build the package:
dkms mkdeb -m keucr -v 0.0.1

8.- You can find the packages on:
/var/lib/dkms/keucr/0.0.1/deb/keucr-dkms_0.0.1_all.deb