JackieXie168 / logkeys

Automatically exported from code.google.com/p/logkeys
Other
0 stars 0 forks source link

logkeys stop logging without reason #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.logkeys --start --device=/dev/input/event4 
--keymap=/usr/src/logkeys-0.1.1a/es_ES.map 
--output=/usr/src/logkeys-0.1.1a/out.keylog
2. tail -f /usr/src/logkeys-0.1.1a/out.keylog

What is the expected output?
2011-09-27 17:40:42+0200 > blablabla
What do you see instead?
Logging stopped at 2011-09-27 14:38:12+0200

What version of the product are you using (`logkeys --help`)?
logkeys version: 0.1.1a
On what operating system?
CentOS Linux release 6.0 (Final)

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.
I: Bus=0003 Vendor=04f3 Product=0103 Version=0110
N: Name="HID 04f3:0103"
P: Phys=usb-0000:00:1a.0-1.5.4.2/input0
S: 
Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4.2/1-1.5.4.
2:1.0/input/input23
U: Uniq=
H: Handlers=kbd event4 
B: EV=120013
B: KEY=1000000000007 ff800000000007ff febeffdff3cfffff fffffffffffffffe
B: MSC=10
B: LED=7

Original issue reported on code.google.com by cvald...@gmail.com on 27 Sep 2011 at 4:08

GoogleCodeExporter commented 9 years ago
here more logging from logkeys stop:

From log file:
Logging stopped at 2011-10-04 18:31:30+0200

From /var/log/messages
Oct  4 18:30:09 vhost01 kernel: usb 1-1.6: new high speed USB device using 
ehci_hcd and address 14
Oct  4 18:30:09 vhost01 kernel: usb 1-1.6: New USB device found, idVendor=04b8, 
idProduct=0007
Oct  4 18:30:09 vhost01 kernel: usb 1-1.6: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Oct  4 18:30:09 vhost01 kernel: usb 1-1.6: Product: USB2.0 Printer (Hi-speed)
Oct  4 18:30:09 vhost01 kernel: usb 1-1.6: Manufacturer: EPSON
Oct  4 18:30:09 vhost01 kernel: usb 1-1.6: SerialNumber: HXXXXXXXXXXXXXXXXXX
Oct  4 18:30:09 vhost01 kernel: usb 1-1.6: configuration #1 chosen from 1 choice
Oct  4 18:30:09 vhost01 kernel: usblp0: USB Bidirectional printer dev 14 if 0 
alt 0 proto 2 vid 0x04B8 pid 0x0007
Oct  4 18:30:10 vhost01 udev-configure-printer: invalid or missing IEEE 1284 
Device ID
Oct  4 18:30:26 vhost01 udev-configure-printer: Re-enabled printer 
ipp://localhost:631/printers/Stylus-Photo-1400
Oct  4 18:31:30 vhost01 kernel: hub 1-1.5.4:1.0: port 2 disabled by hub (EMI?), 
re-enabling...
Oct  4 18:31:30 vhost01 kernel: usb 1-1.5.4.2: USB disconnect, address 12
Oct  4 18:31:30 vhost01 kernel: usb 1-1.5.4.2: new low speed USB device using 
ehci_hcd and address 15
Oct  4 18:31:30 vhost01 kernel: usb 1-1.5.4.2: New USB device found, 
idVendor=04f3, idProduct=0103
Oct  4 18:31:30 vhost01 kernel: usb 1-1.5.4.2: New USB device strings: Mfr=0, 
Product=0, SerialNumber=0
Oct  4 18:31:30 vhost01 kernel: usb 1-1.5.4.2: configuration #1 chosen from 1 
choice
Oct  4 18:31:30 vhost01 kernel: input: HID 04f3:0103 as 
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4.2/1-1.5.4.2:1.0/
input/input8
Oct  4 18:31:30 vhost01 kernel: generic-usb 0003:04F3:0103.0004: input,hidraw1: 
USB HID v1.10 Keyboard [HID 04f3:0103] on usb-0000:00:1a.0-1.5.4.2/input0
Oct  4 18:31:30 vhost01 kernel: input: HID 04f3:0103 as 
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4.2/1-1.5.4.2:1.1/
input/input9
Oct  4 18:31:30 vhost01 kernel: generic-usb 0003:04F3:0103.0005: input,hidraw2: 
USB HID v1.10 Device [HID 04f3:0103] on usb-0000:00:1a.0-1.5.4.2/input1

# ls -la /dev/input
total 0
drwxr-xr-x.  4 root root    300 Oct  4 18:31 .
drwxr-xr-x. 21 root root   4200 Oct  4 19:47 ..
drwxr-xr-x.  2 root root    160 Oct  4 18:31 by-id
drwxr-xr-x.  2 root root    160 Oct  4 18:31 by-path
crw-r-----.  1 root root 13, 64 Oct  4 15:09 event0
crw-r-----.  1 root root 13, 65 Oct  4 15:09 event1
crw-r-----.  1 root root 13, 66 Oct  4 15:08 event2
crw-r-----.  1 root root 13, 67 Oct  4 15:08 event3
crw-r-----.  1 root root 13, 68 Oct  4 18:31 event4
crw-r-----.  1 root root 13, 69 Oct  4 18:31 event5
crw-r-----.  1 root root 13, 70 Oct  4 15:09 event6
crw-r-----.  1 root root 13, 71 Oct  4 15:09 event7
crw-r-----.  1 root root 13, 63 Oct  4 15:08 mice
crw-r-----.  1 root root 13, 32 Oct  4 15:08 mouse0
crw-r-----.  1 root root 13, 33 Oct  4 15:08 mouse1
# ls -la /dev/input/by-id/
total 0
drwxr-xr-x. 2 root root 160 Oct  4 18:31 .
drwxr-xr-x. 4 root root 300 Oct  4 18:31 ..
lrwxrwxrwx. 1 root root   9 Oct  4 15:09 usb-046d_0994_9576DC60-event-if00 -> 
../event7
lrwxrwxrwx. 1 root root   9 Oct  4 15:09 usb-046d_09c1-event-if00 -> ../event6
lrwxrwxrwx. 1 root root   9 Oct  4 18:31 usb-04f3_0103-event-if01 -> ../event5
lrwxrwxrwx. 1 root root   9 Oct  4 18:31 usb-04f3_0103-event-kbd -> ../event4
lrwxrwxrwx. 1 root root   9 Oct  4 15:08 
usb-Microsoft_Basic_Optical_Mouse-event-mouse -> ../event3
lrwxrwxrwx. 1 root root   9 Oct  4 15:08 
usb-Microsoft_Basic_Optical_Mouse-mouse -> ../mouse1
 ls -la /dev/input/by-path/
total 0
drwxr-xr-x. 2 root root 160 Oct  4 18:31 .
drwxr-xr-x. 4 root root 300 Oct  4 18:31 ..
lrwxrwxrwx. 1 root root   9 Oct  4 15:09 pci-0000:00:1a.0-usb-0:1.2:1.0-event 
-> ../event6
lrwxrwxrwx. 1 root root   9 Oct  4 15:09 pci-0000:00:1a.0-usb-0:1.4:1.0-event 
-> ../event7
lrwxrwxrwx. 1 root root   9 Oct  4 15:08 
pci-0000:00:1a.0-usb-0:1.5.4.1:1.0-event-mouse -> ../event3
lrwxrwxrwx. 1 root root   9 Oct  4 15:08 
pci-0000:00:1a.0-usb-0:1.5.4.1:1.0-mouse -> ../mouse1
lrwxrwxrwx. 1 root root   9 Oct  4 18:31 
pci-0000:00:1a.0-usb-0:1.5.4.2:1.0-event-kbd -> ../event4
lrwxrwxrwx. 1 root root   9 Oct  4 18:31 
pci-0000:00:1a.0-usb-0:1.5.4.2:1.1-event -> ../event5

Original comment by cvald...@gmail.com on 5 Oct 2011 at 7:25

GoogleCodeExporter commented 9 years ago
+1 Me too! (because they told me not to say that), I got really sick of it 
stopping logging after a couple of minutes of not using the keyboard (I'm not 
sure if that's the reason)

but I think this is critical

I'll check the source

Original comment by ahmednem...@gmail.com on 3 Apr 2012 at 6:26

GoogleCodeExporter commented 9 years ago
please try with the latest version from SVN and comment here if it still 
doesn't work.

Original comment by kernc...@gmail.com on 3 Apr 2012 at 7:08