Am 24.11.2009 um 22:43 schrieb Charles Davis:

> This really belongs on the wine-users mailing list.
I'm not sure - I think from the context of the mail Chris is a coder himself, 
and the answer to his question on wine-users would be "Wine currently cannot do 
this".

I am not too involved into the device mapping stuff in Wine, but I think what 
the app is missing is the enumeration of the USB device in the Windows USB 
services and/or the proper registry keys.

Currently the only way to make the device accessible for Windows apps is doing 
something like

ln -s /dev/ttyUSB0 ~/.wine/dosdevices/COM1

Which gives you a classic serial port. But your app wants a USB-to-serial 
adapter with the right USB IDs etc.

I think what is needed is an extension of the drive handling system that adds 
new drives when new disks are mounted to also add COM ports when serial ports 
appear, and add USB information when USB devices appear. I think this would be 
done somewhere in mountmgr.sys, but I am not sure.

Maarten Lankhorst has written patches to get USB Storage devices listed 
properly a few years ago, in an attempt to make Windows Itunes sync to an Ipod. 
Those patches weren't committed because they need more work, but I think they 
would be a good starting point.



Reply via email to