JackieXie168 / logkeys

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

Do not work with logitech usb receiver #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
sudo logkeys --start --output  log.out 
logkeys: Couldn't determine keyboard device. :/
logkeys: Please post contents of your /proc/bus/input/devices file as a new bug 
report. Thanks!
igormorgado@igor-lin:~$ 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=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/input1
U: Uniq=
H: Handlers=kbd event1 
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0003 Vendor=046d Product=c505 Version=0110
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.2-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.0/input/input2
U: Uniq=
H: Handlers=sysrq kbd event2 
B: PROP=0
B: EV=120013
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=ff1f

I: Bus=0003 Vendor=046d Product=c505 Version=0110
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.2-2/input1
S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.1/input/input3
U: Uniq=
H: Handlers=kbd mouse0 event3 
B: PROP=0
B: EV=20017
B: KEY=ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 
0 2000000 1878 d800d000 1e0000 0 0 0
B: REL=103
B: MSC=10
B: LED=ff00

What version of the product are you using (`logkeys --help`)?
logkeys version: 0.1.1a
logkeys homepage: <http://code.google.com/p/logkeys/>

On what operating system?
Ubuntu Linux 11.10

Original issue reported on code.google.com by morgado....@gmail.com on 29 Dec 2011 at 2:06

Attachments:

GoogleCodeExporter commented 9 years ago
run the program with --device=event2 switch. that should do it...for now.

Original comment by kernc...@gmail.com on 29 Dec 2011 at 2:38