Hello, does anybody know whether it is now possible with the new version of wine to install a USB-dongled program? The program is Omega from Gerber, and they use Sentinel drivers. Kind regards
We don't have USB support in Wine nor are we able to load device drivers. (Sure some usb serial devices work but that's it).
On Sat, Dec 5, 2009 at 13:05, pj <wineforum-user at winehq.org> wrote:> Hello, > > does anybody know whether it is now possible with the new version of wine to install a USB-dongled program? > > The program is Omega from Gerber, and they use Sentinel drivers. > > Kind regards >If you've got time, you can try these patches.... http://wiki.winehq.org/USB
Wine should really have better USB support. There are so many devices, that want to communicate over serial/USB ports. Imho proper USB support would be far more important than 64bit support, but I do understand, that it is not an easy task, especially because lots of devices need their drivers installed, at some point it would probably require similar efforts like ndiswrapper (which was based on wine).
Thanks very much for the prompt replies and help. It seems that these dongles are not to be trifled with, but Omega is the only software which keeps me from running Ubuntu on all our computers, as we need it to print to our Gerber Edge machines. There is other software on the market which would talk to the printers, but they are also dongled and use MS Windows. The "git" thing looks good, but probably too complicated for me to contemplate. The dongle is a "Superpro", if anyone has specific info. Kind regards
It isn't that hard to compile wine from source with that patch. The only thing that you need to do which I can't explain is getting all the libraries and applications to compile wine. However, if you're running Ubuntu, just type: Code: sudo apt-get build-dep wine That should get you the build dependencies. After that, you can do the following to get Wine, patch it and compile it: Code: git clone git://source.winehq.org/git/wine.git ~/wine-git cd ~/wine-git wget ftp://ftp.etersoft.ru/pub/people/amorozov/usb/current/0001-Add-support-of-native-Windows-drivers-for-USB-tokens.txt wget ftp://ftp.etersoft.ru/pub/people/amorozov/usb/current/0002-Re-generate-some-files.txt git am 0001*.txt 0002*.txt ./configure make depend make make install As to using the native USB driver, I have no idea, but I know that some people around these forums might be able to help you with that! Cheers, Jorl17
Hello Chip well, bit the bullet, built, configured and made wine. "Make install" gives me an error - perhaps I need to use sudo make install, but I am loathe to go further without a little in the way of pointers. Wine is already installed on the computer. Here is the code - I have left out all the repeated bits: Code: ~/wine-git$ make install make[1]: Entering directory `/home/pj/wine-git/tools' make[1]: `makedep' is up to date. make[1]: Leaving directory `/home/pj/wine-git/tools' make[1]: Entering directory `/home/pj/wine-git/libs' make[2]: Entering directory `/home/pj/wine-git/libs/port' make[2]: Nothing to be done for `all'. etc., etc. make[2]: Leaving directory `/home/pj/wine-git/libs/port' make[2]: Entering directory `/home/pj/wine-git/libs/wine' version=`(GIT_DIR=../../.git git describe HEAD 2>/dev/null || echo "wine-1.1.34") | sed -n -e '$s/\(.*\)/const char wine_build[] = "\1";/p'` && (echo $version | cmp -s - version.c) || echo $version >version.c || (rm -f version.c && exit 1) make[2]: Leaving directory `/home/pjwine-git/libs/wine' make[2]: Entering directory `/home/pj/wine-git/libs/wpp' make[2]: Nothing to be done for `all'. make[2]: Entering directory `/home/pj/wine-git/dlls/acledit' ../../tools/mkinstalldirs -m 755 /usr/local/lib/wine mkdir /usr/local/lib/wine mkdir: cannot create directory `/usr/local/lib/wine': Permission denied make[2]: *** [/usr/local/lib/wine] Error 1 make[2]: Leaving directory `/home/pj/wine-git/dlls/acledit' make[1]: *** [acledit/__install__] Error 2 make[1]: Leaving directory `/home/pj/wine-git/dlls' make: *** [dlls/__install__] Error 2 Please let me know what I am doing wrongly here. Kind regards
Well, that was a prompt answer! Only had time to eat some Reibekuchen! Code: ~/wine-git$ ~/wine-git/wine application.exe fixme:system:SetProcessDPIAware stub! fixme:dwmapi:DwmIsCompositionEnabled 0x33cf24 fixme:iphlpapi:NotifyAddrChange (Handle 0xa7de8d8, overlapped 0xa7de8e0): stub fixme:iphlpapi:GetAdaptersAddresses no support for IPv6 addresses fixme:shell:DllCanUnloadNow stub wine: configuration in '/home/pj/.wine' has been updated. wine: Module not found Is this promising? Looks like it. I have received an email from Alexander Morozov for hopefully supporting the dongle. Just want to make sure that wine is reading the appropriate files. Kind regards
Gert van den Berg wrote:> >On Mon, Dec 7, 2009 at 20:54, pj <wineforum-user at winehq.org> wrote: >> Hello Chip >> >> well, bit the bullet, built, configured and made wine. "Make install" gives me an error - perhaps I need to use sudo make install, >>but I am loathe to go further without a little in the way of pointers. Wine is already installed on the computer. Here is the code >> - I have left out all the repeated bits: >> >You don't need to install wine, you can run it directly from the >directory where it was compiled to. (You need to specify the path to >the executable though e.g. ~/wine-git/wine application.exe) >However, he needs to make sure that library files will be read from that location first as well or the libraries from the installed wine will be read in and cause confusing and erroneous results. For example the USB support code from Wine does not include dongle support but the built libraries will.>make install needs to run as root.Yes, simple: [code] sudo make install or su - make install exit [/code] This will install Wine to the appropriate directories. This should be done AFTER insuring that your custom build will run! James McKenzie>
To that Gustav, pj please forward, if necessary: Under Opensuse it will probably be the easiest way, if he installs the 1.1.34 wine-source, wine-devel packages. That way opensuse will automatically install all dependencies. Then he should be able to compile git, assuming that no new dependencies were introduced recently).
Alexander made a slight error with the registry keys, so here are the corrected ones. we are still working on it... Code: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB\Vid_04b9&Pid_0300\5&6d75465&0&1] "ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}" "HardwareID"=hex(7):55,53,42,5c,56,69,64,5f,30,34,62,39,26,50,69,64,5f,30,33,30,\ 30,26,52,65,76,5f,30,32,30,30,00,55,53,42,5c,56,69,64,5f,30,34,62,39,26,50,\ 69,64,5f,30,33,30,30,00,00 "Service"="SNTNLUSB" [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SNTNLUSB] "ErrorControl"=dword:00000001 "ImagePath"="system32\\DRIVERS\\SNTNLUSB.SYS" "Type"=dword:00000001 "Start"=dword:00000003 Just save the code to xxx.reg and import. Kind regards