Problem with X&xbindkeys(xgrabkey). Buffer overflow?
ENRIQUE ARIZON BENITO
enrique.arizonbenito at gmail.com
Thu Dec 2 01:23:53 PST 2010
"Correcting" myself:
/var/log/Xorg.0.log doesn't show any error but somewhere during X startup
"something" send next output to stdout (that in my particular system was
redirected to a bloated log file):
...
1130 expected keysym, got XF86TouchpadToggle: line 122 of inet
1131 expected keysym, got XF86TouchpadToggle: line 122 of inet
1132 The XKEYBOARD keymap compiler (xkbcomp) reports:
1133 > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2
symbols
1134 > Ignoring extra symbols
1135 Errors from xkbcomp are not fatal to the X server
1136 expected keysym, got XF86TouchpadToggle: line 122 of inet
1137 The XKEYBOARD keymap compiler (xkbcomp) reports:
1138 > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2
symbols
1139 > Ignoring extra symbols
1140 Errors from xkbcomp are not fatal to the X server
1141 expected keysym, got XF86TouchpadToggle: line 122 of inet
1142 The XKEYBOARD keymap compiler (xkbcomp) reports:
1143 > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2
symbols
1144 > Ignoring extra symbols
1145 Errors from xkbcomp are not fatal to the X server
1146 expected keysym, got XF86TouchpadToggle: line 122 of inet
1147 The XKEYBOARD keymap compiler (xkbcomp) reports:
1148 > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2
symbols
1149 > Ignoring extra symbols
1150 Errors from xkbcomp are not fatal to the X server
1151 expected keysym, got XF86TouchpadToggle: line 122 of inet
1152 The XKEYBOARD keymap compiler (xkbcomp) reports:
1153 > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2
symbols
1154 > Ignoring extra symbols
1155 Errors from xkbcomp are not fatal to the X server
...
Still I don't known if that really has anything to do with the infinte
random loop I observe.
Regards,
Enrique
On Wed, Dec 1, 2010 at 8:55 PM, ENRIQUE ARIZON BENITO <
enrique.arizonbenito at gmail.com> wrote:
> Hi,
>
> I checked in Xorg.O.log and dmesg but no luck at this moment.
>
> I will try the hard way debugging the X server.
>
> Thanks for the link!
>
> Enrique
>
>
> On Wed, Dec 1, 2010 at 12:54 PM, Pat Kane <pekane52 at gmail.com> wrote:
>
>> On Wed, Dec 1, 2010 at 2:11 AM, ENRIQUE ARIZON BENITO
>> <enrique.arizonbenito at gmail.com> wrote:
>> >>I was trying to use xbindkeys to control the power on/off a monitor
>> through an wireless keyboard.
>> >>
>> >>Such remote keyboard has a peculiarity:
>> >>It emits short pulses of infrared signals to the USB base. Each long
>> keypress in the keyboard is transmited as a row of about 20 pairs
>> >>per second of keypress/keyrelease events.
>> >>
>> >>Through xbindkeys I associate a given key code to the script that will
>> actually switch on/off the monitor.
>> >>
>> >>First tests worked fine, but the problem comes when I press for a long
>> time (maybe two or three seconds) a key. Then X randomly start >>an infinite
>> loop an I have no other option that killing and restarting the X system.
>> >>
>> >>I'm really interested in fixing the problem source since this is the
>> last piece in a puzzle to finish my project, but I don't known exactly
>> >>where to look at.
>> >>
>> >>I would appreciate any help or hint or link to start tracing in the X
>> source files to find a solution
>>
>> >>Regards,
>>
>> >Are there any error/warning msgs in your "/var/log/Xorg.0.log" file?
> >Also take a look at the output of the command "dmesg".
>
> >This is a nice web page
> > http://www.x.org/wiki/Development/Documentation/ServerDebugging
> >
> >
> >Pat
> >---
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20101202/2d301e16/attachment.html>
More information about the xorg
mailing list