-
Notifications
You must be signed in to change notification settings - Fork 16
Installing GobiSerial
This document describes install method by using DKMS method.
Also, this document attempts to be agnostic in terms of code maintainer's Linux distribution choice. No distribution specific notes are found in this document.
Prior to installing GobiSerial, you need to blacklist the qcserial kernel module. Do that by adding:
blacklist qcserial
to the file /etc/modprobe.d/blacklist.conf.
Also, if the module was already loaded, you'll need to remove it from the list of loaded modules in the memory:
rmmod qcserial
Install appropriate software on your OS needed for kernel development. This part varies depending on your Linux distribution of choice, so we will not document here how to achieve it.
See Development tools section. :-)
Finally!
Clone GobiSerial repo to your local filesystem at the place of choice. I highly recommend you clone it into the /usr/src directory, or somewhere under it. Alternatively, instead of cloning git repository, you can proceed to the download page and download GobiSerial repository sources as an .zip or .tar.gz archive.
Check into the source code directory:
cd GobiSerial
To be sure you're at the right place, you should see list of files resembling to this:
# ls dkms.conf GobiSerial.c Makefile Readme.txt
Now, add the GobiSerial to your DKMS config;
# dkms add -m GobiSerial -v 2011-07-29-1026
Attempt to build GobiSerial through DKMS:
# dkms build -m GobiSerial -v 2011-07-29-1026
If the build process went ok, install the module:
# dkms install -m GobiSerial -v 2011-07-29-1026
In the end, if all goes well, you should be able to load the module and start using GobiSerial:
# modprobe -v GobiSerial