USB Wine support patch

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
faelmc
Level 2
Level 2
Posts: 36
Joined: Wed Feb 29, 2012 7:35 pm

USB Wine support patch

Post by faelmc »

I'd like to test the usb support in wine as it says on the page:
http://wiki.winehq.org/USB

I made the order process with the source Wine 1.4-rc6, baixeis the 2 latest patches in ftp://ftp.etersoft.ru/pub/people/amorozov/usb/current

the patch 0001-Add-support was accepted without errors, but the patch
0002-Re-generate an error there, which allows the wine to compile:

root@hiphop:/home/hiphop/extra/cd-linux/wine/wine-1.4-rc6# patch -p1 -i 0002-Re-generate-some-files.txt
patching file configure
patching file include/Makefile.in
patching file include/config.h.in
patching file include/wine/server_protocol.h
Hunk #1 succeeded at 4889 (offset 2 lines).
Hunk #2 succeeded at 5151 (offset 2 lines).
Hunk #3 succeeded at 5406 (offset 2 lines).
Hunk #4 FAILED at 5657.
1 out of 4 hunks FAILED -- saving rejects to file include/wine/server_protocol.h.rej
patching file server/request.h
Hunk #3 succeeded at 2145 (offset 1 line).
patching file server/trace.c
Hunk #1 succeeded at 3913 (offset 1 line).
Hunk #2 succeeded at 4171 (offset 1 line).
Hunk #3 succeeded at 4422 (offset 1 line).
Hunk #4 succeeded at 4673 (offset 1 line).

after the compilation of make all, stop in the ntoskrnl
I would like to help to get patch, perhaps aguma thing I can modify the text to build on the success

** I know that the patch was made to version 1.4-rc1 Wine, but I want to compile it in 1.4-rc6, because fixed several bugs that I had.

Thanks
faelmc
Level 2
Level 2
Posts: 36
Joined: Wed Feb 29, 2012 7:35 pm

Post by faelmc »

This is the error in ntoskrnl.exe make all

make[1]: Entering directory `/home/hiphop/extra/cd-linux/wine/wine-1.4-rc6/dlls/ntoskrnl.exe'
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2 -g -O2 -o instr.o instr.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2 -g -O2 -o ntoskrnl.o ntoskrnl.c
ntoskrnl.c: In function ‘process_ioctl’:
ntoskrnl.c:489:24: warning: variable ‘irpsp’ set but not used [-Wunused-but-set-variable]
ntoskrnl.c: In function ‘IoGetDeviceProperty’:
ntoskrnl.c:1576:9: error: ‘union generic_reply’ has no member named ‘get_device_name_reply’
make[1]: ** [ntoskrnl.o] Error 1
make[1]: Leaving directory `/home/hiphop/extra/cd-linux/wine/wine-1.4-rc6/dlls/ntoskrnl.exe'
make: ** [dlls/ntoskrnl.exe] Error 2
ruinairas
Level 3
Level 3
Posts: 62
Joined: Sun Oct 02, 2011 6:47 pm

Hello

Post by ruinairas »

I don't know how to help you, sadly. However, I will be watching this thread to see if you manage to get it working. USB support for Wine is a MUST..Well it is in my world anyway :P
John Drescher

USB Wine support patch

Post by John Drescher »

On Mon, Mar 5, 2012 at 9:21 AM, faelmc <[email protected]> wrote:
This is the error in ntoskrnl.exe make all

make[1]: Entering directory `/home/hiphop/extra/cd-linux/wine/wine-1.4-rc6/dlls/ntoskrnl.exe'
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2  -g -O2  -o instr.o instr.c
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2  -g -O2  -o ntoskrnl.o ntoskrnl.c
ntoskrnl.c: In function ‘process_ioctl’:
ntoskrnl.c:489:24: warning: variable ‘irpsp’ set but not used [-Wunused-but-set-variable]
ntoskrnl.c: In function ‘IoGetDeviceProperty’:
ntoskrnl.c:1576:9: error: ‘union generic_reply’ has no member named ‘get_device_name_reply’
make[1]: ** [ntoskrnl.o] Error 1
make[1]: Leaving directory `/home/hiphop/extra/cd-linux/wine/wine-1.4-rc6/dlls/ntoskrnl.exe'
make: ** [dlls/ntoskrnl.exe] Error 2
Did you attempt to fix the patch or just try to compile ignoring the
fact that the patch failed to properly apply?

John
faelmc
Level 2
Level 2
Posts: 36
Joined: Wed Feb 29, 2012 7:35 pm

Post by faelmc »

John, I tried to compile wine ignoring the error, but it happened to and the error in make all, and do not pass this part of ntoskrnl.exe.

I would like to fix the patch, but I can not do it, I'm a little time in the universe linux.

thank you
faelmc
Level 2
Level 2
Posts: 36
Joined: Wed Feb 29, 2012 7:35 pm

Re: Hello

Post by faelmc »

ruinairas wrote:I don't know how to help you, sadly. However, I will be watching this thread to see if you manage to get it working. USB support for Wine is a MUST..Well it is in my world anyway :P
Yes USB is the wine MUST,
Alexander Morozov updated the project, now in compiling wine 1.4 happens without problems.

ftp://ftp.etersoft.ru/pub/people/amorozov/usb/current

Follow the steps in http://wiki.winehq.org/USB and good luck[/url]
robocopp
Newbie
Newbie
Posts: 1
Joined: Tue Mar 13, 2012 4:53 am

~~ ~~ ~~

Post by robocopp »

fantastico !
ljkramer
Newbie
Newbie
Posts: 2
Joined: Thu Nov 12, 2009 5:45 pm

USB support in 1.5.5

Post by ljkramer »

I tried to ftp the patches from etersoft but the server disconnects repeatedly. Is there any other way to get USB support? I'm running on a dual boot (opensuse 12.1 and WinDoze XP), so I can switch OS to run, but I really don't like to.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

I was able to download the patches just now. Try again.
dupko
Newbie
Newbie
Posts: 1
Joined: Tue Aug 07, 2012 4:15 am

Re: USB Wine support patch

Post by dupko »

DanKegel wrote:I was able to download the patches just now. Try again.
CANT! :evil:
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: USB Wine support patch

Post by DanKegel »

I mirrored his current version (for 1.5.7) here, maybe that will help:
http://kegel.com/wine/usb/
andrey
Newbie
Newbie
Posts: 1
Joined: Tue Aug 21, 2012 5:48 am

Re: USB Wine support patch

Post by andrey »

Does somebody know, why there are no more patches since 1.5.7? I hoped this would occur, if they'd been acquired upstream, but I haven't noticed that.
jelabarre59
Newbie
Newbie
Posts: 3
Joined: Fri Sep 03, 2010 3:44 pm

Re: USB Wine support patch

Post by jelabarre59 »

Haven't seen any sign that USB is enabled in Wine yet, I think it's more like the development has stalled over the past 6 or so months. I was just hoping to see this working before WinXP support ended, so that I could move a couple USB-needing applications to Wine (so I don't have to hunt down multiple copies of Win7 to replace my XP setups).
b2ag
Newbie
Newbie
Posts: 1
Joined: Mon Mar 11, 2013 5:04 pm

Re: USB Wine support patch

Post by b2ag »

I've found this, but not tried yet.

https://launchpad.net/~yoalieh/+archive/wine-pulse-usb
Locked