Home>Posts>Technology>Patching and Building The VT6655 Driver On Ubuntu 7.10

Patching and Building The VT6655 Driver On Ubuntu 7.10

By ·Categories: Technology·Published On: March 7th, 2008·2.1 min read·

Please note: A new version of this driver is available that does not require patching. This driver is also GPL-licensed, making it suitable for eventual inclusion in the kernel. These instructions are now obsolete. Download the updated driver source from Via Arena.

I was contacted by Chris Thielen the other day. He came through on what I hadn’t had time to get to yet: a patch for the VT6655 driver that allows it to be used on Ubuntu 7.10.

Chris’ patch is available here:


Building the driver is a very similar process to the one described previously for the VT6656. You should follow the instructions from my previous post, but use the following commands to fetch, unpack, patch, and build the driver source:

$ mkdir vt6655
$ cd vt6655
$ wget http://www.viaarena.com/Driver/vt6655-linux-x86-src-v117.rar
$ unrar x vt6655-linux-x86-src-v117.rar
$ cd VT6655-Linux-117-src-CPUPlatform-SAE/VT6655-Linux-117-src-CPUPlatform-SAE/viawget
$ wget -nv -O- //www.onlogic.com/pub/vt6655.gutsy.patch | patch -p3
10:28:36 URL://www.onlogic.com/pub/vt6655.gutsy.patch [11736/11736] -> "-" [1]
patching file driver/device.h
patching file driver/device_main.c
patching file driver/dpc.c
patching file driver/iwctl.c
patching file driver/skbcompat.h
patching file driver/wmgr.c
patching file driver/wpactl.c
patching file include/device_cfg.h
$ make
set -e; for d in driver utility; do make -C $d ; done
make[1]: Entering directory `/home/forest.bond/vt6655/VT6655-Linux-117-src-CPUPlatform-SAE/VT6655-Linux-117-src-CPUPlatform-SAE/viawget/driver'
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/forest.bond/vt6655/VT6655-Linux-117-src-CPUPlatform-SAE/VT6655-Linux-117-src-CPUPlatform-SAE/viawget/driver modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /home/forest.bond/vt6655/VT6655-Linux-117-src-CPUPlatform-SAE/VT6655-Linux-117-src-CPUPlatform-SAE/viawget/driver/device_main.o
make[1]: Leaving directory `/home/forest.bond/vt6655/VT6655-Linux-117-src-CPUPlatform-SAE/VT6655-Linux-117-src-CPUPlatform-SAE/viawget/driver'
make[1]: Entering directory `/home/forest.bond/vt6655/VT6655-Linux-117-src-CPUPlatform-SAE/VT6655-Linux-117-src-CPUPlatform-SAE/viawget/utility'
cc -O2 -Wall -Wstrict-prototypes -Winline -pipe -DLINUX  -I../include -I/lib/modules/2.6.22-14-generic/build/include  -c -o wetctl.o wetctl.c
cc -o wetctl wetctl.o
make[1]: Leaving directory `/home/forest.bond/vt6655/VT6655-Linux-117-src-CPUPlatform-SAE/VT6655-Linux-117-src-CPUPlatform-SAE/viawget/utility'

Note that both the driver and the wetctl utility, a small program that can be used to gather status information from the running driver. Much of the functionality provided by wetctl is also provided by standard tools like iwconfig and iwlist.

Thanks Chris for getting this together!


About the Author: Forest Bond

Forest had been the lead software developer at Logic Supply since April 2005 before starting his own software company, RapidRollout in 2009. He occasionally peeks back in with us from time to time, but dedicates his energy to developing open source software platforms. We maintain his posts here, but he no longer writes for our blog. To contact him, you can visit RapidRollout.
Follow OnLogic on LinkedIn


  1. max March 26, 2008 at 12:28 pm

    Hi, I tried it but still doesn’t work on gutsy. After the reboot the eth1 interface is not present….

    I tried also to follow what in the linux.txt files but nothing….

  2. lyra March 26, 2008 at 11:37 pm

    trying it on debian and getting this error:

    # make
    set -e; for d in driver utility; do make -C $d ; done
    make[1]: Entering directory `/usr/src/VT6655-Linux-117-src-CPUPlatform-SAE/VT6655-Linux-117-src-CPUPlatform-SAE/viawget/driver’
    make -C /lib/modules/2.6.18-6-486/build SUBDIRS=/usr/src/VT6655-Linux-117-src-CPUPlatform-SAE/VT6655-Linux-117-src-CPUPlatform-SAE/viawget/driver modules
    make[2]: Entering directory `/usr/src/linux-headers-2.6.18-6-486′
    CC [M] /usr/src/VT6655-Linux-117-src-CPUPlatform-SAE/VT6655-Linux-117-src-CPUPlatform-SAE/viawget/driver/device_main.o
    /usr/src/VT6655-Linux-117-src-CPUPlatform-SAE/VT6655-Linux-117-src-CPUPlatform-SAE/viawget/driver/device_main.c:170: error: expected ‘)’ before string constant
    /usr/src/VT6655-Linux-117-src-CPUPlatform-SAE/VT6655-Linux-117-src-CPUPlatform-SAE/viawget/driver/device_main.c:175: error: expected ‘)’ before string constant

  3. Forest March 27, 2008 at 9:25 am

    Hi Lyra,

    Debian != Ubuntu 7.10 ;)

    The patch for the driver is kernel version specific. Unfortunately, there isn’t enough time to create a patch for every kernel version out there.

    If you are dissatisfied with this situation, please do let VIA know. The fact that a patch is necessary is a direct consequence of the fact that VIA doesn’t include an appropriate license with the driver source code, making it impossible to legally redistribute it. With an adequate license, the open-source community could take the driver code and merge it into the kernel tree, where it could be maintained by open-source developers.

  4. Forest March 27, 2008 at 9:28 am

    Hi Max,

    Does the driver build and load correctly? Do you see any error messages when you insmod the module?

  5. lyra March 27, 2008 at 9:49 am

    yes… I know that debian != ubuntu. But I got those errors even before patching. I was just wondering if they are something obvious (for a dev at least).
    I have the vt6655 working with ndiswrapper, but ndiswrapper doesnt allow me put the card in master mode. you patch works on ubuntu server?

  6. Forest March 27, 2008 at 10:20 am

    With the patch applied, the driver passed some simple tests. I cannot confirm that all features work correctly.

    The errors you are seeing are due to API differences between the kernel version the driver was written to use, and your current kernel version. This is precisely the reason a patch is necessary at all. For the driver to compile correctly, it would need to be patched.

  7. […] See my previous post on for help building the driver. […]

  8. Forest March 19, 2009 at 4:20 pm

    Update: new driver source available is GPL-licensed and does not require patching.

  9. avafx fidelity investments March 22, 2014 at 11:58 pm

    Thankfulness to my father who shared with me about this website,
    this website is genuinely remarkable.

  10. download mac os x 10.8 April 21, 2014 at 10:52 pm

    A look at the key classes on offer will allow you to in seeking out the best camp designed for your specific requirements.

    3D animating found in games refers to various sorts
    of objects and characters that are animated in real-time (flocking systems, etc).
    We’ll look at what to expect from the different types of software packages
    and feature sets.

Leave A Comment


Have a project? Let's talk

More Articles


Learn the 5 ways Fanless Computers can help your business

Get the Whitepaper
View All Articles

OnLogic Industrial Computers

Discover OnLogic's multitude of industrial computers that will help you to advance your IoT project

Shop OnLogic

Learn more at OnLogic.com

OnLogic Industrial PCs: Designed to last. Built to order. Delivered in days. Visit our online store at OnLogic.com