LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-17-2011, 12:37 AM   #1
Litch84
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
Disable RFID Reader behaving as a keyboard!


So I'm planning to put an electronic latch on the door to the shed with RFID access, yeah I know - to much time on my hands...

So here I am, mucking around with a new USB RFID reader, which emulates a HID Keyboard... The plan was to write a small daemon which listens to the appropriate /dev/input/eventX device for the RFID serial and looks up the serial in a MySQL table, and the activates then door solenoid if the serial is found.

That Easy? Yes it should be, apart from the fact that I can't stop the damn thing outputting the RFID codes to the console of the linux box (and ends up trying to log in as 0000004124414 for example.)

Using Ubuntu 11.04 x64

Device:
I: Bus=0003 Vendor=0419 Product=0912 Version=0100
N: Name="NewRoad Sem. NewRoad System PS2 Interface"
P: Phys=usb-0000:00:1d.2-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input5
U: Uniq=
H: Handlers=sysrq kbd mouse1 event5
B: PROP=0
B: EV=120017
B: KEY=70000 0 0 e080ffdf01cfffff fffffffffffffffe
B: REL=103
B: MSC=10
B: LED=1f

I'm pretty sure the handler "kbd" is the culprit, but I have NFI on how to remove it as a handler from this device?

Help?
 
Old 01-26-2014, 03:29 PM   #2
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Rep: Reputation: 30
I am stucked since my reader does not get detected as a keyboard http://www.linuxquestions.org/questi...ns-4175487138/
 
  


Reply



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
RFID reader for OpenWrt iteam Linux - Hardware 1 07-14-2011 01:59 PM
Disable AND Enable Keyboard FROM the Keyboard pukster Linux - Hardware 2 02-09-2011 10:55 AM
Mapping a serial RFID reader to a mount point. Harvfive Linux - Newbie 1 04-01-2009 01:41 PM
RFID reader/writer recommendations Melted UFO Linux - Hardware 0 11-11-2007 03:45 PM
Webcam and RFID Reader salehi Linux - Hardware 0 05-02-2005 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:18 AM.

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