Parallel Port /dev/parport0 Is Used By Another Program
My neighbor Dave works for they are a small shop out of Sparta, TN and their infrastructure is very minimal since they don't really have a dedicated IT Pro. The other day they asked me where to find a hardware capable of running Windows 98. Needless to say I was a little surprised. Kmspico V10.0.5 Alpha. After further inquiry it turns out they use a legacy app to control the ovens that they use to mold their kayaks. It only runs on Win98, and it requires a serial port to connect to the oven. I suggested compatibility mode but they swore that hey had tried it and that it was a no go.
No problem I thought, we can pass a USB serial adapter through to a Win98 VM in Workstation and all will be well. I grabbed one of, then tested the drivers in the guest OS and it worked great, then I called the application integrator and the plot thickened. It turns out the application wont even install until you hook up one of those sentinel type dongles. It's basically a hardware license token that proves you are a legit user, and this particular one requires using a parallel port. Parallel ports were once the de facto standard for connecting to another technology that many still consider to be the and have now been widely replaced by USB.
Ok, I think to myself, time for. Those dongles dont actually expose a LPT port, they per they just add a 'usb print support' driver and have a little embedded chipset that communicates with the parallel port.
Dec 02, 2007 Code: Parallel port '/dev/parport0' is used by another program (such as another instance of VMware Workstation). VMware '/dev/parport0' is used by other program. Type insmod lp to activate your parallel port for. 'ALSA device 'default' is already in use by another program.' Devices You Can Use on a Bidirectional Parallel Port. VMware Workstation supports two types of virtual parallel port devices. Ls -la /dev/parport0.
That means a no go for the parallel port dongle. So I picked up one of these instead.
All signs were pointing to success here and I thought that I was on the home stretch. I had all my drivers installed so I spun up my Win98 VM and attempted to pass the parallel port through in workstation (you have to actually add the parallel port before you boot it up, but you can connect it afterwards). Immediately I got a friendly error: The 'LPT1' device is used by another program. Failed to connect virtual device parallel0.
Scouring the internet I found tons of suggestions. I disabled my print spooler, I changed the LPT port assigned to the PCIe Card. Until finally, I tried something really intelligent, I right clicked on the VMware Workstation executable and ran it as Administrator. Yep another error, but at least it was different, that means we are getting somewhere.