Closed GoogleCodeExporter closed 9 years ago
Until the software is patched, please follow these instructions to get it
working:
http://code.google.com/p/logkeys/wiki/Documentation#Empty_log_file_or_%27Couldn%
27t_determine_keyboard_device&
i.e. you will have to run logkeys with --device=event6 switch (or whatever
event interface your device is on).
Original comment by kernc...@gmail.com
on 17 Aug 2011 at 6:01
Issue 70 has been merged into this issue.
Original comment by kernc...@gmail.com
on 17 Aug 2011 at 6:37
Tried:
"touch test.log; sudo logkeys -d event5 --start --output test.log"
"touch test.log; sudo logkeys -d /dev/input/event5 --start --output test.log"
(also tried other event numbers from 0 to 31, but "sudo cat /dev/input/event5"
is the only one that seems to show something).
But still no luck.
Any ideas ?
Original comment by gaspary...@gmail.com
on 23 Aug 2011 at 11:14
does `sudo cat /dev/input/event5` output when you move your mouse? as per
/proc/bus/input/devices above, it seems event5 is connected with your USB mouse
rather than keyboard.
I don't know. perhaps it's got something to do with issue 60?
Original comment by kernc...@gmail.com
on 23 Aug 2011 at 11:29
`sudo cat /dev/input/event5` does not output anything when I move my mouse.
The configuration at this moment is a laptop with a usb keyboard and a usb
mouse.
I have tested `sudo cat /dev/input/event4` and it outputs the keys from the
laptop keyboard. Still no luck with "touch test.log; sudo logkeys -d
/dev/input/event4 --start --output test.log"
From strace I get this (if you think it may be important I can post the hole
output of strace):
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
connect(6, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT
(No such file or directory)
stat("/usr/local/sbin/logkeys", 0x7fff2e931f80) = -1 ENOENT (No such file or
directory)
stat("/usr/local/bin/logkeys", 0x7fff2e931f80) = -1 ENOENT (No such file or
directory)
stat("/usr/sbin/logkeys", 0x7fff2e931f80) = -1 ENOENT (No such file or
directory)
connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT
(No such file or directory)
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff39792b40) = -1 ENOTTY
(Inappropriate ioctl for device)
Original comment by gaspary...@gmail.com
on 23 Aug 2011 at 12:29
yes, please do attach the whole strace dump in a file.
also, what does "uname -a" say about the kernel you are using?
Original comment by kernc...@gmail.com
on 24 Aug 2011 at 10:34
usr@laptop:~$uname -a
Linux laptop 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux
May be it is important, have test it with Unity and with KDE v4.6.5
Original comment by gaspary...@gmail.com
on 25 Aug 2011 at 12:00
Attachments:
Same problem with LXDE.
Original comment by gaspary...@gmail.com
on 25 Aug 2011 at 3:47
After a clean Ubuntu 10.4 re-install, everything is working ok now.
Original comment by gaspary...@gmail.com
on 11 Oct 2011 at 12:21
[deleted comment]
This happens to me as well. I get a completely empty log file (0 bytes) even
when I supply the device ID directly. I do `sudo logkeys -s -d event0`; it
prints nothing and the exit code is 0.
I'm on arch linux, `Linux firefly-desky 3.1.4-1-ARCH #1 SMP PREEMPT Tue Nov 29
08:55:45 CET 2011 x86_64 AMD Phenom(tm) II X6 1055T Processor AuthenticAMD
GNU/Linux`.
I posted my /proc/bus/input/devices etc. here:
https://code.google.com/p/logkeys/issues/detail?id=42#c15
Original comment by effi...@gmail.com
on 12 Dec 2011 at 12:11
by fixing related issues (issue 60 and issue 42), I think this can be closed.
see those issued for an explanation.
Original comment by kernc...@gmail.com
on 4 Jan 2012 at 7:26
Hello
I have same problem with Ubuntu 13.04
:(
Original comment by voevodin...@gmail.com
on 10 Jul 2013 at 10:26
Hello, i have the same problem with Ubuntu 13.10
Original comment by leon1...@gmail.com
on 10 Apr 2014 at 4:38
Original issue reported on code.google.com by
gaspary...@gmail.com
on 17 Aug 2011 at 4:34