LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-17-2010, 10:59 AM   #1
intervade
LQ Newbie
 
Registered: May 2006
Posts: 9

Rep: Reputation: 0
USB Devices


Hello,

I'm trying to write a simple background process that reads input from a USB magnetic card reader. In most linux systems you can find the device in /dev/input. Unfortunately its not there. Does anyone have any suggestions as to how I could read this USB card readers input stream? I do have a /sys/class/input directory for it, but there are a ton of items in that directory and I don't want to break anything. The reader is a GIT usb card reader and I have had no luck from contacting the company thus far.
 
Old 09-17-2010, 11:21 AM   #2
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Run
Code:
dmesg
with the reader disconnected, the plug it in and run
Code:
dmesg
again. What's the difference? If your distro understands it, you should see it identified properly which is a start.

Play Bonny!
 
Old 09-17-2010, 11:28 AM   #3
intervade
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
It finds it..


[ 195.863911] input: GIT GIT USB READER as /class/input/input2
[ 195.864259] generic-usb 0003:1234:5678.0001: input: USB HID v1.00 Keyboard [GIT GIT USB READER] on usb-0000:00:0f.4-1/input0


But where is my data stream? I've scanned through /class/input/input2 a ton, but Im not sure what I'm looking for exactly.
 
  


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
one GSM/GPRS/3G usb stick modem creates 3 usb serial devices radu.pop Linux - General 2 07-16-2010 01:32 AM
system reports USB errors at boot, and fails to recognize some USB devices bezdomny Linux - Hardware 1 06-12-2009 05:07 PM
move grub to usb + mount encrypted devices from usb question Lancelot1 Linux - Security 1 02-26-2009 09:51 AM
USB 2.0 drive hangs when put on the same controller with USB 1.1 devices lpwevers Linux - Hardware 0 01-25-2009 01:41 PM
alternative way to get USB file handle: hotplug? sys/bus/usb/devices/ ? knockout_artist Linux - Kernel 0 12-02-2008 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:06 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