So confused about WINE USB support

Questions about Wine on Linux
Locked
hasecomp
Newbie
Newbie
Posts: 2
Joined: Thu Jul 23, 2015 5:26 am

So confused about WINE USB support

Post by hasecomp »

Several forum entries explain that WINE has no USB support. Someone should implement this someday.

Understood.

Then there is the Wiki entry (in human readable form) http://wiki.winehq.org/USB?highlight=(usb). For this post, forget about the USB dongle patches it describes. The Wiki starts by saying more or less that someone should implement WINE USB support someday.

Fair enough. Understood.

However, next follows a description of a procedure, which rightly or wrongly suggests to me that if you follow it, your WINE Windows application will perform USB I/O.

With that thought in mind I carry out the procedure and the result does not work. More precisely: my little Windows program already ran fine under WINE before I found this Wiki entry, but now USB I/O still does not work. Then I check 3 times if I applied the procedure correctly and still no USB I/O.

Now I am confused.

What is the purpose of this Wiki description? Does the procedure require additional actions? Should a remark be added like: "Most of the time, there is more to getting USB I/O to work than described here, but in some cases this description is sufficient. So give it a try"?

Maybe someone can explain what this Wiki description attempts to achieve.

And maybe the Wiki description can be elaborated upon accordingly. That might save other people a lot of time upon trying to run WINE Windows applications which perform USB I/O.

P.S. In my case, following the Wiki procedure, the Windows registry tells me that the Windows driver is hidusb.sys.

P.S. As my Windows program runs on Windows XP Home, I use the 32-bit WINE environment on my 64-bit machine. The Wiki of my ArchLinux distribution tells me how to do that.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: So confused about WINE USB support

Post by dimesio »

If you followed the link to download the patches, you must have noticed that they are three years old, and I'm pretty sure all the forum posts mentioning the patches also mention that they are old, may not apply to current Wine without rebasing, and probably won't work.

The author of those patches abandoned the project long ago. The information is in the wiki for anyone who wants to experiment with them. I've added a couple of sentences to the page to make that clearer.
hasecomp
Newbie
Newbie
Posts: 2
Joined: Thu Jul 23, 2015 5:26 am

Re: So confused about WINE USB support

Post by hasecomp »

OK, sorry, I thought you can use the second part of the Wiki description ("How to use USB device drivers") independently for getting USB I/O to work.

From your response I understand now that the (outdated) Wiki is only meant for USB dongles and that (in the past) it only worked if you followed both stages ("How to build Wine with USB patches" and "How to use USB device drivers"), while I thought that for the patches you only have to follow "How to build Wine with USB patches". Therefore I excluded this part from my post.

Sorry again.
Locked