Comment 89 for bug 162671

Revision history for this message
Joe Clifford (joeclifford) wrote :

Fabulous work indeed Malcolm! Many thanks for your hard work. I'm posting this using the new driver from linux-next on Ubuntu 12.10 x86_64 kernel 3.5.0-23-generic :)

Quick instructions to compile it yourselves peoples (similar to my instructions posted in this bug report a few years ago):

1. install build tools: sudo apt-get install build-essential linux-headers-`uname -r`
2. download driver source from linux-next branch: go to http://git.kernel.org/?p=linux/kernel/git/linville/wireless-next.git;a=tree;f=drivers/staging/vt6656 and click 'snapshot'
3. unarchive the file you just downloaded: tar -xzf wireless-next-12c2ce4.tar.gz (or similarly named archive)
4. change directory to the vt6656 source files you've just unarchived: cd wireless-next-12c2ce4
5. edit the Makefile using nano or your favourite text editor - comment out the last line: #obj-$(CONFIG_VT6656) += vt6656_stage.o
6. add a new line to the bottom of the Makefile and save it: obj-m = vt6656_stage.o
7. build the driver: make -C /lib/modules/`uname -r`/build M=`pwd` modules
8. make a new directory for the driver in the kernel modules directory: sudo mkdir -p /lib/modules/`uname -r`/kernel/drivers/staging/vt6656
9. copy the new driver to the kernel modules directory: sudo cp vt6656_stage.ko /lib/modules/`uname -r`/kernel/drivers/staging/vt6656/
10. 'do' a depmod: sudo depmod -a
11. reboot and enjoy (whilst singing praise for the developers :)