[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Wine y puertos usb



Ante todo un cordial saludo.

Antes que todo he googleado un poco la siguiente url que encontre:

http://wiki.winehq.org/USB

allí explican como generar un path para wine corra los puertos usb.

ok tengo instalado debian lenny en el equipo que quiero correr el puerto usb y 
tengo wine 1.2 instalado.

descargo los 2 archivos  *.txt y lanzo el comando path del primero el cual es:

patch -p1 < 0001*.txt

y cuando lo ejecuto lo que no entiendo bien es esto:

can't find file to patch at input line 40
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 74ddb6b08059d2a6fcadadb646509a2a54e80c13 Mon Sep 17 00:00:00 2001
|From: Alexander Morozov <amorozov@etersoft.ru>
|Date: Mon, 16 Feb 2009 13:00:33 +0300
|Subject: [PATCH 1/2] Add support of native Windows drivers for USB tokens.
|
|---
| configure.ac                        |   14 +
| dlls/hal/hal.c                      |    6 +
| dlls/hal/hal.spec                   |    2 +-
| dlls/mountmgr.sys/device.c          |   19 +-
| dlls/mountmgr.sys/mountmgr.c        |   76 ++-
| dlls/ntoskrnl.exe/Makefile.in       |    2 +-
| dlls/ntoskrnl.exe/ntoskrnl.c        | 1157 
++++++++++++++++++++++++++++++++---
| dlls/ntoskrnl.exe/ntoskrnl.exe.spec |   58 +-
| dlls/usbd.sys/Makefile.in           |   15 +
| dlls/usbd.sys/usbd.c                |  138 +++++
| dlls/usbd.sys/usbd.sys.spec         |   35 ++
| dlls/usbhub.sys/Makefile.in         |   16 +
| dlls/usbhub.sys/usbhub.c            |  541 ++++++++++++++++
| dlls/usbhub.sys/usbhub.sys.spec     |    1 +
| include/cfgmgr32.h                  |    1 +
| include/ddk/ntddk.h                 |   11 +
| include/ddk/wdm.h                   |  101 +++-
| programs/winedevice/device.c        |  302 ++++++++--
| server/device.c                     |   25 +
| server/protocol.def                 |    9 +
| tools/wine.inf.in                   |    9 +
| 21 files changed, 2342 insertions(+), 196 deletions(-)
| create mode 100644 dlls/usbd.sys/Makefile.in
| create mode 100644 dlls/usbd.sys/usbd.c
| create mode 100644 dlls/usbd.sys/usbd.sys.spec
| create mode 100644 dlls/usbhub.sys/Makefile.in
| create mode 100644 dlls/usbhub.sys/usbhub.c
| create mode 100644 dlls/usbhub.sys/usbhub.sys.spec
|
|diff --git a/configure.ac b/configure.ac
|index 57ec39d..96414af 100644
|--- a/configure.ac
|+++ b/configure.ac
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 79
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/dlls/hal/hal.c b/dlls/hal/hal.c
|index 82ba80c..5d8d9f8 100644
|--- a/dlls/hal/hal.c
|+++ b/dlls/hal/hal.c
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 93
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/dlls/hal/hal.spec b/dlls/hal/hal.spec
|index 83eedea..13f9717 100644
|--- a/dlls/hal/hal.spec
|+++ b/dlls/hal/hal.spec
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 106
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c
|index 0467079..0639aa9 100644
|--- a/dlls/mountmgr.sys/device.c
|+++ b/dlls/mountmgr.sys/device.c
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 166
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/dlls/mountmgr.sys/mountmgr.c b/dlls/mountmgr.sys/mountmgr.c
|index 00112b9..04baba1 100644
|--- a/dlls/mountmgr.sys/mountmgr.c
|+++ b/dlls/mountmgr.sys/mountmgr.c
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 278
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/dlls/ntoskrnl.exe/Makefile.in b/dlls/ntoskrnl.exe/Makefile.in
|index 0dad8c3..d6d8540 100644
|--- a/dlls/ntoskrnl.exe/Makefile.in
|+++ b/dlls/ntoskrnl.exe/Makefile.in
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 291
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
|index 0dc9aaf..947f971 100644
|--- a/dlls/ntoskrnl.exe/ntoskrnl.c
|+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
38 out of 38 hunks ignored
can't find file to patch at input line 1784
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec 
b/dlls/ntoskrnl.exe/ntoskrnl.e
xe.spec
|index 7b95852..459c497 100644
|--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
--------------------------
File to patch: y
y: No such file or directory
Skip this patch? [y]
Skipping patch.
21 out of 21 hunks ignored
patching file dlls/usbd.sys/Makefile.in
patching file dlls/usbd.sys/usbd.c
patching file dlls/usbd.sys/usbd.sys.spec
patching file dlls/usbhub.sys/Makefile.in
patching file dlls/usbhub.sys/usbhub.c
patching file dlls/usbhub.sys/usbhub.sys.spec
can't find file to patch at input line 2789
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/cfgmgr32.h b/include/cfgmgr32.h
|index 9e99985..771c0b0 100644
|--- a/include/cfgmgr32.h
|+++ b/include/cfgmgr32.h
--------------------------
File to patch: y
y: No such file or directory
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 2801
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/ddk/ntddk.h b/include/ddk/ntddk.h
|index 3ad2156..3da8f3c 100644
|--- a/include/ddk/ntddk.h
|+++ b/include/ddk/ntddk.h
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 2823
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h
|index 0f241b6..c072ba0 100644
|--- a/include/ddk/wdm.h
|+++ b/include/ddk/wdm.h
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 2971
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/programs/winedevice/device.c b/programs/winedevice/device.c
|index bd65654..2d83d24 100644
|--- a/programs/winedevice/device.c
|+++ b/programs/winedevice/device.c
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
10 out of 10 hunks ignored
can't find file to patch at input line 3416
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/server/device.c b/server/device.c
|index 4d134a3..acfcd2b 100644
|--- a/server/device.c
|+++ b/server/device.c
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 3463
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/server/protocol.def b/server/protocol.def
|index a8f3569..803885f 100644
|--- a/server/protocol.def
|+++ b/server/protocol.def
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 3487
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/tools/wine.inf.in b/tools/wine.inf.in
|index 3bf399e..95c13d4 100644
|--- a/tools/wine.inf.in
|+++ b/tools/wine.inf.in
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
3 out of 3 hunks ignored


segun la primera impresion no puede buscar el archivo en el patch  en la 
entrada en la linea 40.

ok este  comando "patch -p1 < 0001*.txt" lo ejecuto en la carpeta .wine/ de 
mi /home/userX que segun en la url especifica estar ubicado en el directorio 
raiz de wine el cual es .wine/.

ahora me podrían ayudar y si estoy cometiendo algun error corregirme por favor


desde ya gracias.


Reply to: