Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty log file UBUNTU 12.10 #104

Closed
GoogleCodeExporter opened this issue Jul 25, 2015 · 12 comments
Closed

empty log file UBUNTU 12.10 #104

GoogleCodeExporter opened this issue Jul 25, 2015 · 12 comments

Comments

@GoogleCodeExporter
Copy link

If reporting a bug, please ensure the bug is present in the latest
developmental source (checkout from SVN). Some major bugs have been fixed
already.

Logkeys works perfectly in version 12.04, updated my Ubuntu to version 12.10 
and LogKeys stopped working


What steps will reproduce the problem?

aW : PHILCO NETBOOK PHN 11A-P123WS

erroR : empty log file


What is the expected output?

aW : log of keyboard


What do you see instead?

aw : nothing


What version of the product are you using (`logkeys --help`)?

aw :
gabriel@gabriel:~$ dpkg -l | grep logkeys
ii  logkeys                                   0.1.1a-3                          
        i386         keylogger for GNU/Linux systems


On what operating system?

gabriel@gabriel:~$ uname -a
Linux gabriel 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:52:46 UTC 2012 i686 
i686 i686 GNU/Linux


Please provide any additional information below.
If applicable, also attach contents of /proc/bus/input/devices, the output
of command `dumpkeys -n > dumpkeys.output`, and any
other relevant files.

gabriel@gabriel:~$ ps -aux | grep logkeys
root       883  0.0  0.0   6480   448 ?        Ss   10:32   0:00 
/usr/bin/logkeys -s -u -d /dev/input/event4 -o /var/log/logkeys


gabriel@gabriel:~$ cat /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: 
Sysfs=/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C0D:00/input/input
0
U: Uniq=
H: Handlers=event0 
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: PROP=0
B: EV=3
B: KEY=4000 0 0 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2
U: Uniq=
H: Handlers=kbd event2 
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
U: Uniq=
H: Handlers=kbd event3 
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input4
U: Uniq=
H: Handlers=sysrq kbd event4 
B: PROP=0
B: EV=120013
B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input5
U: Uniq=
H: Handlers=kbd event5 
B: PROP=0
B: EV=3
B: KEY=3e000b 0 0 0 0 0 0 0

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input6
U: Uniq=
H: Handlers=event6 
B: PROP=0
B: EV=21
B: SW=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel Front Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input7
U: Uniq=
H: Handlers=event7 
B: PROP=0
B: EV=21
B: SW=4

I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio2/input0
S: Sysfs=/devices/platform/i8042/serio2/input/input8
U: Uniq=
H: Handlers=mouse0 event8 
B: PROP=9
B: EV=b
B: KEY=6420 0 30000 0 0 0 0 0 0 0 0
B: ABS=2608000 11000003

Original issue reported on code.google.com by gabriel....@gmail.com on 7 Jan 2013 at 12:50

@GoogleCodeExporter
Copy link
Author

The same with me. Used to work well in Ubuntu 12.04 but after the upgrade to 
12.10 the problem as described happens with me.

erick@attack:~$ ps -aux | grep logkeys
root     13055  0.0  0.0  20684   548 ?        Ss   22:39   0:00 logkeys -s -o 
testelog.log

erick@attack:~$ cat /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
U: Uniq=
H: Handlers=kbd event0 
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input1
U: Uniq=
H: Handlers=event1 
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2
U: Uniq=
H: Handlers=kbd event2 
B: PROP=0
B: EV=3
B: KEY=4000 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
U: Uniq=
H: Handlers=kbd event3 
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input4
U: Uniq=
H: Handlers=sysrq kbd event4 
B: PROP=0
B: EV=120013
B: KEY=1100f02902002 8380307cf910f001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: 
Sysfs=/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/LNXVIDEO:00/input/inpu
t7
U: Uniq=
H: Handlers=kbd event6 
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Dell WMI hotkeys"
P: Phys=wmi/input0
S: Sysfs=/devices/virtual/input/input8
U: Uniq=
H: Handlers=rfkill kbd event7 
B: PROP=0
B: EV=13
B: KEY=1500b00000000 200300000 0 0
B: MSC=10

I: Bus=0003 Vendor=0c45 Product=6481 Version=0201
N: Name="Laptop_Integrated_Webcam_2M"
P: Phys=usb-0000:00:1d.0-1.8/button
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.0/input/input9
U: Uniq=
H: Handlers=kbd event8 
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input10
U: Uniq=
H: Handlers=event9 
B: PROP=0
B: EV=21
B: SW=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel Front Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input11
U: Uniq=
H: Handlers=event10 
B: PROP=0
B: EV=21
B: SW=4

I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input12
U: Uniq=
H: Handlers=mouse0 event11 
B: PROP=9
B: EV=b
B: KEY=6420 30000 0 0 0 0
B: ABS=260800011000003

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=9"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input13
U: Uniq=
H: Handlers=event12 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=8"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
U: Uniq=
H: Handlers=event13 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=7"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
U: Uniq=
H: Handlers=event14 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
U: Uniq=
H: Handlers=event15 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0003 Vendor=413c Product=8161 Version=0111
N: Name="HID 413c:8161"
P: Phys=usb-0000:00:1a.0-1.1.1/input0
S: 
Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1.1/1-1.1.1:1.0/input/
input17
U: Uniq=
H: Handlers=sysrq kbd event5 
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff800000000007ff febeffdff3cfffff fffffffffffffffe
B: MSC=10
B: LED=7

Original comment by erickmoreno on 14 Jan 2013 at 1:19

@GoogleCodeExporter
Copy link
Author

Also had this problem but latest git version seems to fix it.  The version in 
ubuntu's repository appears to be older.

Original comment by neonmeer...@hotmail.com on 16 Jan 2013 at 4:23

@GoogleCodeExporter
Copy link
Author

same here, where to get the "git version"

Original comment by pedro.filipi.alcantara on 12 Feb 2013 at 12:03

@GoogleCodeExporter
Copy link
Author

I have the same problem, the log file is empty. I'm using ubuntu 12.10 32bit

Original comment by nguyen.x...@gmail.com on 15 Feb 2013 at 1:20

@GoogleCodeExporter
Copy link
Author

same problem Ubuntu 12.04 64bit (logkeys-0.1.1a)

Original comment by cimarron...@gmail.com on 11 Apr 2013 at 4:08

@GoogleCodeExporter
Copy link
Author

same here, logkeys version: 0.1.1a, Ubuntu 12.10, Linux 3.5.0-27.

cat /dev/input/event2 shows something, so I start
logkeys --start -o /tmp/test.log --device=event2
The logfile is created, but zero bytes long. No errors anywhere, logkeys return 
with exit code 0.

I tried the latest git version, too (today is 2012-04-25), but it did not work 
either.

I think issue 84 is similar.

Original comment by l...@winterfeld.de on 25 Apr 2013 at 7:56

@GoogleCodeExporter
Copy link
Author

See https://code.google.com/p/logkeys/issues/detail?id=108

Original comment by gsingh2...@gmail.com on 9 Jul 2013 at 4:27

@GoogleCodeExporter
Copy link
Author

Same problem, last ubuntu (13.04) and logkeys from git and from repo.

Original comment by Voddyo...@gmail.com on 4 Sep 2013 at 7:21

@GoogleCodeExporter
Copy link
Author

same here; damn! ubuntu 12.10. empty log file

Original comment by Deividso...@gmail.com on 2 Oct 2013 at 12:20

@GoogleCodeExporter
Copy link
Author

Same here. 
USB-Keyboard output at  sudo cat /dev/input/event6, but logfile empty.
Kubuntu 13.10, logkeys 0.1.1a-3

Original comment by samuelsu...@gmail.com on 26 Feb 2014 at 3:05

@GoogleCodeExporter
Copy link
Author

USB keyboard at event4, but logfile empty. Ubuntu 12.04 LTS, logkeys 0.1.1a

Original comment by duarte.j...@gmail.com on 11 Mar 2014 at 1:10

@kernc
Copy link
Owner

kernc commented Feb 15, 2016

Probably a duplicate of #108

@kernc kernc closed this as completed Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants