﻿Kernel Driver Version 1.11(for kernel 3.X.XX)
For Ubuntu only

Last modified date: 2013-9-27

Tested under Ubuntu 12.04 


PRE-REQUERIMENTS:
 - Linux Kernel source files installed on the system
	Ex: for debian/ubuntu, type "sudo apt-get install linux-source¨.  
 - development tools installed (gcc)


Installation:

1. Login as root user

2. Copy "setup" folder to Linux.

3. Modify the permissions of "install.sh" and "testlcpd" by the following command
   
   chmod 777 install.sh
   chmod 777 testlcpd
   chmod 777 builddriver.sh
   chmod 777 loadlcpd.sh

4. Install driver   

   Type "./install.sh".

Note: If there is any permission issue when you run install.sh, use chmod 777 to give that file permission like step 3 above.


5. Type "lsmod" to check if "usblcpd" has been loaded into system.
   
   lsmod | grep usblcpd

6. Connect PD to USB Port.

7. Test PD

   After installed driver, enter "setup" folder and type "./testlcpd" to see if data on PD.

8. If you want to change USB port in which PD's plugged, please follow the steps below.

     1) Unplug the USB cable of PD.
  
     2) Run "rmmod usblcpd" and "rm /dev/usb/lcpd" commands.

     3) Replug in USB cable of PD to another USB port.
 
     4) Run "./install.sh" again under setup folder.


