Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Closed Thread
  Search this Thread
Old 07-19-2006, 04:34 AM   #1
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Rep: Reputation: 85
lkl (linux keylogger) and wireless usb keyboards

How can I lkl to work with a wireless usb keyboard made by Logitech? Is there any other keyloggers for Linux that I can try? If I understand this correctly IO port 0x60 only works with the PS/2 driver. Is there a way to make LKL work with a USB keyboard. If anyone managed to get it working - please share.

Last edited by fakie_flip; 07-19-2006 at 04:35 AM.
Old 07-03-2010, 04:54 PM   #2
LQ Newbie
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Getting USB Keyboard to work with LKL

I got mine to work with a little digging. Keep in mind I am still just a smart "newbie" so I may do something "wrong" in the process of getting things to work.

Everyone talks about how buggie lkl is but I haven't had any problems other than the whole "it doesn't log" thing

What I have figured out so far is that my external usb keyboard is not on /dev/input/event0

so I changed my startup script from:
logkeys --start

logkeys --start -d /dev/input/event6

(for some reason my keyboard is event6) If anyone knows how to query the list of "eventx" devices and tell what each one is that would have made the process quicker than trying event0, then 1, then 2, etc...

But it worked!/works!!

And before everyone throws in their youthful "key loggers are bad".. keep in mind there are those of us that have YOUNG teenage daughters that need a little parental oversight until they are older.. not to mention the need to monitor everything I type on my OWN netbook that I use for configuring cisco equipment (and God forbid I forget to do a write mem or to backup my configuration changes I made!!!!) it is just a useful and powerful tool
Old 07-03-2010, 05:41 PM   #3
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Why are you replying to a post that is FOUR YEARS old?

And teenagers need education and explanation, not parental keylogging: If you don't trust your children, they won't trust you.
Old 07-03-2010, 07:31 PM   #4
LQ Newbie
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
better path?

I already found that after several reboots the event id changed
So i followed deeper and found the keyboard by "path" I am hoping that this means it is always the same if it is plugged into the same USB port all the time? Don't know but here it is:

logkeys --start -d /dev/input/by-path/pci-0000\:00\:13.1-usb-0\:1\:1.0-event-kbd

(just look for the entry in the /dev/input/by-path/ folder that seems right) ignorant but working?

Trust/parenting: one child has already lost trust (doesn't deserve trust.. it is this or no computer in the house, blah blah blah) I don't have to get into a political/moral/parenting debate. I am addressing a purely technical issue here, if you want to discuss the politics of it, start a forum devoted to that type of debate.

Why posting to a 4 year old post: because it was the first link that came up when I googled for my question so WHY WOULDN"T I? <if that is a stupid question on my part, please educate me about the proper use of the forum, maybe I didn't search the forum properly before replying to an old post> if wrong "sorry"
Old 08-05-2010, 06:34 AM   #5
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Original Poster
Rep: Reputation: 85
Thanks for the response. And no, it's not a problem of replying to an older post. I still didn't have an answer. Though I am not attempting this right now anymore, it's good to know for future reference in case I do again. And somebody else might find this information useful through a search. Thanks.

Last edited by fakie_flip; 08-05-2010 at 06:35 AM.
Old 10-22-2010, 12:49 PM   #6
LQ Newbie
Registered: Oct 2010
Posts: 3

Rep: Reputation: 0
Old 10-23-2010, 06:33 AM   #7
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
You have been reported for rude and useless comment.

I hope this ancient thread gets closed.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
lkl user space keylogger needs keymap file foustware Linux - Software 5 10-18-2007 09:49 AM
USB Keyboards lloydsmart Linux From Scratch 12 06-03-2006 04:37 PM
GRUB and usb keyboards jakykong Linux - Software 5 05-08-2006 01:48 AM
help with lkl keylogger br0k3n Linux - Software 0 07-22-2004 04:55 PM
usb keyboards and bootloaders streetbmx Linux - Hardware 1 06-14-2003 11:03 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration