Is it possible to use USB ports in software running in wine
I mean can wine do it in cases like:
I don't understand what the second one means but I know that wine explorer.exe can see and interact with external storage devices and I've used USB game controllers with software running in Wine, if that answers your question.
wine explorer.exe