Download Print this page

Lanner FW-8894 User Manual page 87

Network computing

Advertisement

Appendix D: Programming the LCM
- VMWare Player
Here, we take the Fedora 20 x86_64 operation system, for instance, to explain 3 virtualizations respectively
for parallel port pass through. Use the procedures listed below for step-by-step instructions separately
based on your case.
In the case of QEMU/KVM or Xen, please use the following steps as a guideline to implement the
virtualization:
1. Make sure that the Guest OS has been installed.
2. Add the following 4 lines into the xml file (for example, add to
/etc/libvirt/qemu/<yourvirtualmachine>.xml in linux KVM):
<parallel type='dev'>
<source path='/dev/parport0'/>
<target port='0'/>
</parallel>
3. Open a terminal in the Guest OS and then issue the following commands to install Linux Kernel drivers.
# modprobe parport
# modprobe parport_pc
# modprobe ppdev
4. Check that whether the /dev/parport0 exists or not. You may not find proper /dev/parport0 in the
device list, please reconfirm the setup of xml file in the Guest OS.
5. Reboot the Guest OS.
Note: It is necessary for you to install "insmod parport.ko", "parport_pc.ko" and "ppdev.ko" Linux
Kernel drivers in virtualization environment before executing the "ppdev_test" testing program.
In the case of VMWare Player, please use the following steps as a guideline to implement the virtualization:
1. Make sure that the Guest OS has been installed.
2. To set up the parallel port pass through, please enter VMWare Player's --> Virtual Machine Setting -->
VMWare Player's setting page to select /dev/parport0 as a parallel port device.
3. Open a terminal in the Guest OS and then issue the following commands to install Linux Kernel drivers.
# modprobe parport
# modprobe parport_pc
# modprobe ppdev
4. Check that whether the /dev/parport0 exists or not. You may not find proper "/dev/parport0" in the
device list, please reconfirm the setup of VMWare Player's setting page described in Step 2.
5. Reboot the Guest OS.
Note: It is still necessary to install "insmod parport.ko", "parport_pc.ko" and "ppdev.ko" Linux
Kernel drivers in virtualization environment before executing the "ppdev_test" testing program.
87

Advertisement

loading