Wiki Table of Contents


On this page:


Here’s a small script that will download, patch, build, install the stk11xx driver.


#prep prior to downloading/building/installing
sudo m-a prepare

#install packages that are needed to download and/or build source
sudo apt-get install git-core subversion exuberant-ctags

#clone  git repo
git clone
cd stk11xx-svn

#get actual source
svn co $(grep ^_svntrunk PKGBUILD | cut -f2 -d\") -r $(grep ^pkgver PKGBUILD | cut -f2 -d=) $(grep ^_svnmod PKGBUILD | cut -f2 -d\")

#apply archlinux patches
cd $(grep ^_svnmod PKGBUILD | cut -f2 -d\")
for i in ../*.patch; do patch -p1 -i $i; done

#build module
make -f Makefile.standalone

#install the module
sudo mkdir /lib/modules/$(uname -r)/misc
sudo cp stk11xx.ko /lib/modules/$(uname -r)/misc/
sudo depmod /lib/modules/$(uname -r)/misc/stk11xx.ko

#show module that was just built & installed
/sbin/modinfo stk11xx


Leave a Comment

Do NOT follow this link or you will be banned from the site!