You are not logged in.

#1 2008-05-07 11:08:43

Pyronhell
Member
From: Madrid (Spain)
Registered: 2008-05-07
Posts: 17
Website

Wine blocks keys [SOLVED]

Hi!

This is my first message on this forum, and it's a stupid problem that disturbs a lot. When I'm using wine, playing Jedi Outcasts, after a period of time (undetermined, not the same twice) a key is blocked as if I hit it continously... if I open gedit (with the mouse), it writes "wwwwwwwwwwwwww" for ever. Unique solution is to restart my session (restart X).

Anyone with the same issue?
Thanks in advance.

Last edited by Pyronhell (2008-05-08 21:11:02)


~ #1 ~ Kyoudai ~ Asus P5K Wifi-AP | Intel Core2Quad Q6600 (4x2400Mhz) | 4 GB DDR2 Kingston | GeForce GTX295
~ #2 ~ Ugoku ~ Intel Core2Duo 2 Ghz | 4GB Ram DDR2 | GeForce 230M

Offline

#2 2008-05-07 13:31:45

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Wine blocks keys [SOLVED]

Old and well known issue see this thread, the autor has posted a xorg patch for the same issue (Although he says that those are WoW fixes, the issue with xorg is an issue in every single game.)

Last edited by Dheart (2008-05-07 13:31:56)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2008-05-07 16:52:37

Pyronhell
Member
From: Madrid (Spain)
Registered: 2008-05-07
Posts: 17
Website

Re: Wine blocks keys [SOLVED]

So I have to compile the xorg server for solve the problem? (Applying the patch, of course)


~ #1 ~ Kyoudai ~ Asus P5K Wifi-AP | Intel Core2Quad Q6600 (4x2400Mhz) | 4 GB DDR2 Kingston | GeForce GTX295
~ #2 ~ Ugoku ~ Intel Core2Duo 2 Ghz | 4GB Ram DDR2 | GeForce 230M

Offline

#4 2008-05-07 18:54:33

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Wine blocks keys [SOLVED]

Pyronhell wrote:

So I have to compile the xorg server for solve the problem? (Applying the patch, of course)

ye smile
Download the official PKGBUILD and just add a line in PKGBUILD applying this patch.


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#5 2008-05-07 20:35:40

Pyronhell
Member
From: Madrid (Spain)
Registered: 2008-05-07
Posts: 17
Website

Re: Wine blocks keys [SOLVED]

Where can I get the PKGBUILD? I'm trying with the source but... it was not as simple as I thought.


~ #1 ~ Kyoudai ~ Asus P5K Wifi-AP | Intel Core2Quad Q6600 (4x2400Mhz) | 4 GB DDR2 Kingston | GeForce GTX295
~ #2 ~ Ugoku ~ Intel Core2Duo 2 Ghz | 4GB Ram DDR2 | GeForce 230M

Offline

#6 2008-05-08 01:08:41

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: Wine blocks keys [SOLVED]

i have the same problem, and don't know how to apply those patches at all sad


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#7 2008-05-08 01:21:13

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Wine blocks keys [SOLVED]

You should look for the PKGBUILD for xorg-server in the ABS tree and add a patch line to the PKGBUILD. Usually, it's something like 'patch -Np0 -i ../some-patch.diff || return 1' to patch the source and exit if an error occurs.

Offline

#8 2008-05-08 05:41:08

Pyronhell
Member
From: Madrid (Spain)
Registered: 2008-05-07
Posts: 17
Website

Re: Wine blocks keys [SOLVED]

Ok, thanks to all, I will try this afternoon, now abs in syncing...

leo2501: Pues a ver si nos sale porque molesta bastante, ¿qué no? xD


~ #1 ~ Kyoudai ~ Asus P5K Wifi-AP | Intel Core2Quad Q6600 (4x2400Mhz) | 4 GB DDR2 Kingston | GeForce GTX295
~ #2 ~ Ugoku ~ Intel Core2Duo 2 Ghz | 4GB Ram DDR2 | GeForce 230M

Offline

#9 2008-05-08 13:40:57

Pyronhell
Member
From: Madrid (Spain)
Registered: 2008-05-07
Posts: 17
Website

Re: Wine blocks keys [SOLVED]

Trying to do...

[pyronhell@#1 xorg-server]$ makepkg -c
==> Making package: xorg-server 1.4.0.90-9  (Thu May  8 15:40:14 CEST 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found xorg-server-1.4.0.90.tar.bz2 in build dir
  -> Found MesaLib-7.0.3-rc2.tar.gz in build dir
  -> Found xorg-server-patches-1.4-8.tar.bz2 in build dir
  -> Found xkb-fixes.patch in build dir
==> Validating source files with md5sums...
    xorg-server-1.4.0.90.tar.bz2 ... Passed
    MesaLib-7.0.3-rc2.tar.gz ... Passed
    xorg-server-patches-1.4-8.tar.bz2 ... Passed
    xkb-fixes.patch ... Passed
==> Extracting Sources...
  -> bsdtar -x -f xorg-server-1.4.0.90.tar.bz2
  -> bsdtar -x -f MesaLib-7.0.3-rc2.tar.gz
  -> bsdtar -x -f xorg-server-patches-1.4-8.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
patching file include/xkbsrv.h
Hunk #1 FAILED at 263.
1 out of 1 hunk FAILED -- saving rejects to file include/xkbsrv.h.rej
patching file xkb/xkbActions.c
Hunk #1 FAILED at 50.
1 out of 1 hunk FAILED -- saving rejects to file xkb/xkbActions.c.rej
==> ERROR: Build Failed.
    Aborting...

T_T

Last edited by Pyronhell (2008-05-08 13:41:42)


~ #1 ~ Kyoudai ~ Asus P5K Wifi-AP | Intel Core2Quad Q6600 (4x2400Mhz) | 4 GB DDR2 Kingston | GeForce GTX295
~ #2 ~ Ugoku ~ Intel Core2Duo 2 Ghz | 4GB Ram DDR2 | GeForce 230M

Offline

#10 2008-05-08 14:07:23

Pyronhell
Member
From: Madrid (Spain)
Registered: 2008-05-07
Posts: 17
Website

Re: Wine blocks keys [SOLVED]

Well... I've put a `read` after the other patch, to do mine manually, the result is this:

AHORAAAAAAAAAAAAAAAAAA
<------------------------------------------------- Here I manually edits the source, the terminal is waiting for keypress
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/usr/share/aclocal/libtool.m4'
libtoolize:   `/usr/share/aclocal/ltoptions.m4'
libtoolize:   `/usr/share/aclocal/ltversion.m4'
libtoolize:   `/usr/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
/usr/share/aclocal/xdelta.m4:7: warning: underquoted definition of AM_PATH_XDELTA
/usr/share/aclocal/xdelta.m4:7:   run info '(automake)Extending aclocal'
/usr/share/aclocal/xdelta.m4:7:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.ac:1975: error: AC_SUBST: `libdir exec_prefix prefix' is not a valid shell variable name
configure.ac:1975: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
==> ERROR: Build Failed.
    Aborting...

This error is caused on empty PKGBUILD and with manual edit of the xorg-server code. Finding solution...

Last edited by Pyronhell (2008-05-08 14:08:36)


~ #1 ~ Kyoudai ~ Asus P5K Wifi-AP | Intel Core2Quad Q6600 (4x2400Mhz) | 4 GB DDR2 Kingston | GeForce GTX295
~ #2 ~ Ugoku ~ Intel Core2Duo 2 Ghz | 4GB Ram DDR2 | GeForce 230M

Offline

#11 2008-05-08 14:25:29

Pyronhell
Member
From: Madrid (Spain)
Registered: 2008-05-07
Posts: 17
Website

Re: Wine blocks keys [SOLVED]

Found a solution!

Line 1975 -> configure.ac

Remove:
AC_SUBST([libdir exec_prefix prefix])

Add:
AC_SUBST([libdir])
AC_SUBST([exec_prefix])
AC_SUBST([prefix])

Now it is compiling WITHOUT modifications.

EDIT

No problems.
Now compiling WITH modifications... Alea jacta est

Last edited by Pyronhell (2008-05-08 20:28:13)


~ #1 ~ Kyoudai ~ Asus P5K Wifi-AP | Intel Core2Quad Q6600 (4x2400Mhz) | 4 GB DDR2 Kingston | GeForce GTX295
~ #2 ~ Ugoku ~ Intel Core2Duo 2 Ghz | 4GB Ram DDR2 | GeForce 230M

Offline

#12 2008-05-08 15:13:01

Pyronhell
Member
From: Madrid (Spain)
Registered: 2008-05-07
Posts: 17
Website

Re: Wine blocks keys [SOLVED]

It seems that work!!

Thanks to Dheart and shazeal!

I've player Jedi Outcast for half-hour without getting my keys sticky big_smile

Last edited by Pyronhell (2008-05-08 15:13:48)


~ #1 ~ Kyoudai ~ Asus P5K Wifi-AP | Intel Core2Quad Q6600 (4x2400Mhz) | 4 GB DDR2 Kingston | GeForce GTX295
~ #2 ~ Ugoku ~ Intel Core2Duo 2 Ghz | 4GB Ram DDR2 | GeForce 230M

Offline

#13 2008-05-08 23:17:04

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 341

Re: Wine blocks keys [SOLVED]

The build error is due to the autoconf-2.62-1 upgrade, you need to use version autoconf-2.61-3 to avoid that error and not have to play around with the configure files.

Offline

#14 2008-05-12 02:14:34

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: Wine blocks keys [SOLVED]

hi Pyronhell!, i just realize how to use the abs tree tongue and to copy everything from /var/abs/extra/xorg-server to another dir for compiling, but i don't know where to insert the (our tongue) patch:

diff --git a/include/xkbsrv.h b/include/xkbsrv.h
index 167dbec..0352006 100644
--- a/include/xkbsrv.h
+++ b/include/xkbsrv.h
@@ -263,7 +263,7 @@ typedef struct
        device->unwrapProc = unwrapproc;
 
 #define UNWRAP_PROCESS_INPUT_PROC(device, oldprocs, backupproc) \
-        backupproc = device->public.processInputProc; \
+        backupproc = device->public.realInputProc; \
        device->public.processInputProc = oldprocs->processInputProc; \
        device->public.realInputProc = oldprocs->realInputProc; \
        device->unwrapProc = oldprocs->unwrapProc;
diff --git a/xkb/xkbActions.c b/xkb/xkbActions.c
index 8ddbdba..7af3e9e 100644
--- a/xkb/xkbActions.c
+++ b/xkb/xkbActions.c
@@ -50,15 +50,14 @@ xkbUnwrapProc(DeviceIntPtr device, DeviceHandleProc proc,
                    pointer data)
 {
     xkbDeviceInfoPtr xkbPrivPtr = XKBDEVICEINFO(device);
-    ProcessInputProc tmp = device->public.processInputProc;
-    ProcessInputProc dummy; /* unused, but neede for macro */
+    ProcessInputProc backupproc;
     if(xkbPrivPtr->unwrapProc)
        xkbPrivPtr->unwrapProc = NULL;
 
-    UNWRAP_PROCESS_INPUT_PROC(device,xkbPrivPtr, dummy);
+    UNWRAP_PROCESS_INPUT_PROC(device,xkbPrivPtr, backupproc);
     proc(device,data);
     WRAP_PROCESS_INPUT_PROC(device,xkbPrivPtr,
-                           tmp,xkbUnwrapProc);
+                           backupproc,xkbUnwrapProc);
 }

i know that i need to create a file (a .patch file), and add it to the PKGBUILD file, in the build() section, but is there a specific filename to save the patch? tongue

EDIT: well, now i add a keyboard.patch file with the patch to the xorg-server dir containing the contents of /var/abs/... but when i copy

added the "patch -Np1 -i ${startdir}/src/keyboard-fix.patch || return 1" line
added the:

AC_SUBST([libdir])
AC_SUBST([exec_prefix])
AC_SUBST([prefix])"

at the 1975 line of configure.ac in the "xorg-server-1.4.0.90.tar.bz2"

but im getting:

[aleyscha@aleyscha xorg-server]$ makepkg
==> Making package: xorg-server 1.4.0.90-9  (Sun May 11 23:59:28 PDT 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found xorg-server-1.4.0.90.tar.bz2 in build dir
  -> Found MesaLib-7.0.3-rc2.tar.gz in build dir
  -> Found xorg-server-patches-1.4-8.tar.bz2 in build dir
  -> Found xkb-fixes.patch in build dir
==> WARNING: Integrity checks (md5) are missing or incomplete.
==> Extracting Sources...
  -> bsdtar -x -f xorg-server-1.4.0.90.tar.bz2
  -> bsdtar -x -f MesaLib-7.0.3-rc2.tar.gz
  -> bsdtar -x -f xorg-server-patches-1.4-8.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
patching file GL/glx/glxdri.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file GL/glx/glxdri.c.rej
patching file Xext/EVI.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Xext/EVI.c.rej
patching file Xext/cup.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Xext/cup.c.rej
patching file Xext/sampleEVI.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Xext/sampleEVI.c.rej
patching file Xext/security.c
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file Xext/security.c.rej
patching file Xext/shm.c
Reversed (or previously applied) patch detected!  Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file Xext/shm.c.rej
patching file Xi/chgfctl.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Xi/chgfctl.c.rej
patching file Xi/chgkmap.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Xi/chgkmap.c.rej
patching file Xi/chgprop.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Xi/chgprop.c.rej
patching file Xi/grabdev.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Xi/grabdev.c.rej
patching file Xi/grabdevb.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Xi/grabdevb.c.rej
patching file Xi/grabdevk.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Xi/grabdevk.c.rej
patching file Xi/selectev.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Xi/selectev.c.rej
patching file Xi/sendexev.c
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file Xi/sendexev.c.rej
patching file composite/compwindow.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file composite/compwindow.c.rej
patching file config/dbus-core.c
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file config/dbus-core.c.rej
patching file config/hal.c
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file config/hal.c.rej
patching file dix/devices.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file dix/devices.c.rej
patching file dix/dixfonts.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file dix/dixfonts.c.rej
patching file dix/getevents.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file dix/getevents.c.rej
patching file dix/window.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file dix/window.c.rej
patching file hw/kdrive/ephyr/ephyr.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file hw/kdrive/ephyr/ephyr.c.rej
patching file hw/xfree86/common/xf86MiscExt.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file hw/xfree86/common/xf86MiscExt.c.rej
patching file hw/xfree86/modes/xf86EdidModes.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file hw/xfree86/modes/xf86EdidModes.c.rej
patching file hw/xfree86/modes/xf86Rotate.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file hw/xfree86/modes/xf86Rotate.c.rej
patching file hw/xfree86/xaa/xaaGC.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file hw/xfree86/xaa/xaaGC.c.rej
patching file hw/xprint/Makefile.am
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file hw/xprint/Makefile.am.rej
patching file include/xkbsrv.h
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file include/xkbsrv.h.rej
patching file os/connection.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file os/connection.c.rej
patching file os/io.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file os/io.c.rej
patching file xkb/xkbLEDs.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file xkb/xkbLEDs.c.rej
patching file xkb/xkbUtils.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file xkb/xkbUtils.c.rej
==> ERROR: Build Failed.
    Aborting...

Last edited by leo2501 (2008-05-12 03:03:35)


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#15 2008-05-12 05:46:10

Pyronhell
Member
From: Madrid (Spain)
Registered: 2008-05-07
Posts: 17
Website

Re: Wine blocks keys [SOLVED]

Have u tried to do the makepkg without modifications? Try it first.

Our patch should be applied after the rest of the patches.

I have done it manually, so I'm considering working on a PKGBUILD for this purposes. Try to compile without our patch, and report it here, I've subscribed to this thread.

Salu3!


~ #1 ~ Kyoudai ~ Asus P5K Wifi-AP | Intel Core2Quad Q6600 (4x2400Mhz) | 4 GB DDR2 Kingston | GeForce GTX295
~ #2 ~ Ugoku ~ Intel Core2Duo 2 Ghz | 4GB Ram DDR2 | GeForce 230M

Offline

Board footer

Powered by FluxBB