PDA

View Full Version : usb support wine | crossover | virtual box exe files



Claus7
January 20th, 2012, 08:01 PM
Hello,

lately, I was wondering what I was missing in the linux world, and I could not find much that I was having a great need.

Yet, even though this issue might be endless, I found out that there are some occasions, in which someone would like to run an exe file, which would entail connection with a hardware device.

My main question would be (yet every other answer on the issue is welcome): at which stage is (especially) wine on this issue, which might help a lot of people and their devices?

Every answer is appreciated,
Thank you,
Regards!

gleedadswell
January 27th, 2012, 04:49 AM
I'm dealing with this same issue right now. In particular, I need to run a program (Data Studio - it's for physics teaching) which is only available for Windows and which needs to talk to data logging sensors via usb.

See here:

http://wiki.winehq.org/USB

for a rundown on the current status of usb support in wine.

I'm in the middle of trying it out. I just got the wine source, applied the patches and did the compile (my first time compiling a package from source - I'm such a n00b!). So far so good. I'll install the .exe and try connecting to devices tomorrow. I'll post back here with my experiences.

Claus7
January 27th, 2012, 06:34 PM
Hello,

thank you very much for your answer. A difficult task to build your own program from source for the first time. I'm very curious to see your result. I hope you the best!

Good luck,
Regards!

gleedadswell
January 28th, 2012, 12:16 AM
Still working on it.

The compile went fine, except that it can't seem to find libusb.h, so while I had a working wine at the end of the compile I don't think it would have been able to access the usb ports. So I'm going to figure out where it is looking for libusb.h and make sure there is either a copy of it there or a symbolic link.

Also it took me quite a while to figure out the Windows registry and how to get the drivers and other things that I need out of it to import into wine's registry. Wow! The Windows registry is one of the worst pieces of CRAP I've ever seen! Impossible to navigate, the interface (REGEDIT) sucks and it contains absolutely no documentation to tell you what is what.

gleedadswell
January 28th, 2012, 12:31 AM
Ah ha! Reading the code in the patch it *looks* like it needs to find a file called libusb.h OR a file called usb.h. On an Ubuntu install it looks like what we have is a usb.h. So I think that's working the way it should.

-------------EDIT LATER--------------

Nope! I was totally wrong. libusb.h and usb.h are distinct files and you need both for the ./configure to work. Installing libusb-1.0-0-dev fixed that problem.

Claus7
January 28th, 2012, 02:07 AM
Hello,

χαράς στο κουράγιο σου!...= well done to your efforts and persistence! These were the first words that came to mind.
I admit that you fight the problem with a plan. I would not like to discourage you, yet I do not think that you have an easy task in front of you. I hope that you will be able to find a solution to your problem soon. At the first time I took a look on it I realised that it is supposed to be a very difficult task.

Nonetheless, good luck with your efforts.
May be, if you are seeking more support, you can create a new thread outside community cafe area.

Kind regards!