How do I get a USB device to work in CrossOver 17x and newer
CrossOver can't connect directly to hardware ports or devices on your computer. This can cause problems if the Windows program you're trying to use needs to communicate with a USB device. A potential workaround is to manually map a device entry from the native OS to a symlink in the bottle containing your Windows app, and then hope that the Windows app sees the COM port and can use it to connect to the device.
The first thing you need to do is discover which /dev entry is being created when you connect the USB device to the computer. Disconnect the device from your computer and run the following commands in a Terminal: cd /dev ls > ~/disconnect.txt
Connect the device, wait a moment for your computer to recognize it, and run the command: ls > ~/reconnect.txt
Now compare the difference between the two file listings to see what /dev entry was created. diff ~/disconnect.txt ~/reconnect.txt
If there is a new device entry listed use that name as (device-entry) in the following steps.
An example of what the device-entry name will look like: tty.usbserial-DN014TJU
Next launch Crossover, and select the bottle the desired software is installed into.
1. Inside the selected bottle, select the gear icon labeled 'Run Command'.
2. In the command line 'Command:' type 'Regedit'. This should open up a new window.
3. Inside Regedit, navigate to: HKEY_LOCAL_MACHINE > Software > Wine
4. From here create a new 'key' called Ports
5. Right-click inside the new Ports folder to 'Add String' and set the value to: /dev/(device-entry)
6. Rename the new entry 'Com1' (see example below)
7. Close Regedit, and then try opening your software that requires the Com/USB link.
With any luck, your software should now see your USB device!
We're rebels. We're misfits. But mostly, we're software liberators. And we're very, very good at what we do. We have to be. Lots of developers work with open source, but only a tiny fraction of those are good enough to get software that was designed for one platform to work on another one. We invented CrossOver software - a unique approach to cross-platform compatibility that does not require dual-boot or another OS license. We launched PortJump to help app and game developers broaden their market beyond Windows® users. And we launched ExecMode to help organizations solve really ugly technical challenges.