## Using VSPDL under WINE
Okay, here's a tricky one: You're running Linux, but you need to use a Windows app, so you set it up in WINE. But that Windows app requires access to the serial port, which in your case is mapped to a Tibbo device with VSPDL.
So how do you map a COM port in WINE to a VSPDL?
1. Install and configured VSPDL as usual.
2. Install WINE.
3. Create symlinks from **/dev/vspsN** to **~/.wine/dosdevices/comN** and give **777** rights to **/dev/vspsN**. So in bash it looks like this:
# ln -s /dev/vsps0 ~/.wine/dosdevices/com1
# chmod 0777 /dev/vsps0
Of course, you can update your VSPM rc script to do it automatically on each reboot.
4. Conditional: If your Windows app uses the registry to get info about COM ports, you need to create an appropriate record:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\*VSP\0000\Device Parameters]
"PortName"="COM1"
Where 0000 a registry port sequence number, and COM1 is the port name.
5. That should be it! Assuming it all works, you can now enjoy a well-earned cup of coffee.
**Special thanks**: We'd like to thank Vadim A. Lukinov for his help in creating this KB article. You rock! :)