Sorry for delayed reply, wasn't around my computer for few days.

> >       Also, empty mouse motion events are recorded in the form of 
> > "0,100,0,0,0,0,0,LARGE_NUMBER", and I want to record keyboard-only events. 
> This does not look like a mouse event (shouldn't say 100 in the second
> column). It does however look like a bug

        May be it does not look like it, but it is a mouse motion event, or at 
least it happens with every "classic" mouse motion event (even when mouse 
events are not supposed to be printed). But yes, it is a bug since it contains 
no useful data and is printed in both of these cases:

cnee --record --mouse
cnee --record --keyboard

        ...which means that cnee thinks that these empty mouse motion events 
belong 
to both mouse and keyboard. Very strange.

> How did you get Xnee (3.11)? From your distribution or did you compile it
> from source?

        Yes, from my distribution (Debian). I can compile it if necessary, for 
example if you need me to test a patch or think that Debian package is broken.

> Your log file says  "XI2 not supported." and then it seems to be recording XI 
> anyhow. This is odd.
> Do you have XI? Try doing this to check:
>       xdpyinfo | grep -i inputext

% xdpyinfo | grep -i inputext
    XInputExtension
% xinput list &> /tmp/xinput-list # I have attached this file to the message.

        Note: I have detached all USB devices except touchpad (the kernel 
identifies it as mouse) and keyboard to get as small list of xinput devices as 
possible but enough to check that cnee misbehaves the same way even when only 
one mouse and one keyboard are present.

> Try using "-sk q". This makes Xnee stop recording when you press q.

        It does not work (see attached file for full log):

% cnee --record --keyboard -sk q &> /tmp/log
% cat /tmp/log | grep Error -A1
Error number: 24
  Error:      Bad grab data
  Solution:   You have requested to grab the same key more than once or one 
already grabbed
XI2 not supported.
Failed finding X Input extension devices
XI2 not supported.
Failed finding X Input extension devices
XI2 not supported.
NOTIFICATION: If you have problem with Xnee and recording device events: File a 
bug report including this text.
NOTIFICATION: If you have problem with Xnee and recording device events: File a 
bug report including this text.
Workaround: Creating context on data display instead of control 
            You can ignore this message
####################################
#         System information       #
####################################
# Date:                   2012:02:26 
# Time:                   13:56:23 
# Xnee program:           cnee 
# Xnee version:           3.11 
# Xnee home:              http://www.gnu.org/software/xnee/ 
# Xnee info mailing list: [email protected] 
# Xnee bug mailing list:  [email protected] 
# X version:              11 
# X revision:             0 
# X vendor:               The X.Org Foundation 
# X vendor release:       11103901 
# Record version major:   1
# Record version minor:   13
# OS name:                Linux 
# OS Release:             3.1.0-1-amd64 
# OS Version:             #1 SMP Tue Jan 10 05:01:58 UTC 2012 
# Machine:                x86_64 
# Nodename:               camn 
# Display name:           :0
# Dimension:              3120x1050



##############################################
#      Xnee application arguments            #
##############################################
#  cnee --record --keyboard -sk q 


##############################################
#      Displays                              #
##############################################
# display :0
# distribute


##############################################
#      Files                                 #
##############################################
# out-file stdout
# err-file stderr


##############################################
#      Key Grabs                             #
##############################################
# stop-key         q
# pause-key        0
# resume-key       0
# insert-key       0
# exec-key         0
# exec-program-key         xnee-exec-no-program


##############################################
#      Recording limits etc                  #
##############################################

events-to-record        -1
data-to-record          -1
seconds-to-record       -1
# first-last

# Record  all (including current) clients or only future ones
all-clients
# future-clients

# Store the starting mouse position 
# store-mouse-position


##############################################
#      Resolution                            #
##############################################

# Resolution
#recorded-resolution  3120x1050
#replay-resolution  1x1
#resolution-adjustment  0


##############################################
#      Speed                                 #
##############################################

# Speed
#speed-percent  100


##############################################
#      Replaying limits etc                  #
##############################################

max-threshold 20 
min-threshold 20 
tot-threshold 40 


##############################################
#      Feedback                              #
##############################################
#feedback-none
#feedback-stderr
feedback-xosd
 


##############################################
#      Various                               #
##############################################

# Plugin file 

# Modes (currently not used)
# synchronised-replay

# Replay offset
#replay-offset 0x0

# Human printout of X11 data (instead of Xnee format)
# human-printout  

# Delay before starting record/replay
# time 0

# No recording of ReparentNotify
# no-reparent-recording 

# Various
#########################################
#          Record settings              #
#########################################
#   data_flags          7
#   rState              0x110b010
#   xids[0]             3
#   xids[1]             0
# Number of Ranges      2
# RecordRange[0]
request-range            0-0
reply-range                   0-0 
extension-request-major-range  0-0 
extension-request-minor-range  0-0 
extension-reply-major-range   0-0
extension-reply-minor-range   0-0 
delivered-event-range         21-21 
device-event-range            2-3 
error-range                   0-0 
# RecordRange[1]
request-range            0-0
reply-range                   0-0 
extension-request-major-range  0-0 
extension-request-minor-range  0-0 
extension-reply-major-range   Workaround: Creating context on data display 
instead of control 
            You can ignore this message
Error number: 24
  Error:      Bad grab data
  Solution:   You have requested to grab the same key more than once or one 
already grabbed
0-0
extension-reply-minor-range   0-0 
delivered-event-range         0-0 
device-event-range            100-102 
error-range                   0-0 
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Winbond Electronics Corp Hermon USB hidmouse Device       id=8    [slave  
pointer  (2)]
⎜   ↳ TypeMatrix.com USB Keyboard               id=14   [slave  pointer  (2)]
⎜   ↳ Cirque Corporation 9925 AG Touchpad       id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Winbond Electronics Corp Hermon USB hidmouse Device       id=9    [slave  
keyboard (3)]
    ↳ TypeMatrix.com USB Keyboard               id=13   [slave  keyboard (3)]
_______________________________________________
Bug-xnee mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-xnee

Reply via email to