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 12-06-2007, 08:02 PM   #1
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Internal card reader not working, continually spawning new USB devices


I recently bought an extremely cheap internal card reader from China. It has no descriptive information on it at all to identify a make or model, so unfortunately there is nothing I can really look up to try to figure it out. It doesn't even show up with lsusb, since it never actually communicates with the kernel successfully. It does work under Windows however, with the generic card reader driver.

The card reader itself refuses to read any cards, nothing shows up when I plug them in. The USB port built into the reader does work however, which rules out a wiring issue (though, again, it works under Windows so I know it is good).

The only thing it does do is spawn itself as a new USB device every 1/2 second or so, as evidenced by my logs:

Code:
Dec  6 19:21:24 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 89
Dec  6 19:21:24 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 90
Dec  6 19:21:24 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 91
Dec  6 19:21:24 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 92
Dec  6 19:21:25 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 93
Dec  6 19:21:25 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 94
Dec  6 19:21:25 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 95
Dec  6 19:21:26 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 96
Dec  6 19:21:26 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 97
Dec  6 19:21:26 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 98
Dec  6 19:21:26 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 99
Dec  6 19:21:27 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 101
Dec  6 19:21:27 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 102
Dec  6 19:21:27 T-Bird kernel: usb 2-5: new high speed USB device using ehci_hcd and address 103
It goes all the way up to 127, and then loops back around. I have tried it under Kubuntu and on Slackware (with both the default kernel and my own custom one), and get the same results. So I am guessing if it is a kernel option it must not be a very common one.

After looking around online a bit, I saw a tip that suggested you enable "Probe all LUNs on each SCSI device" in the kernel, but that had no effect.

Has anyone seen anything like this before?
 
Old 12-06-2007, 08:43 PM   #2
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
from http://linuxfromscratch.org/pipermai...4-November.txt

"An USB card reader usually shows up as a SCSI mass storage device.
In that case device entries are created under /dev/scsi/, and some
corresponding entries under /dev/discs/ as well. You can check which
devices where created by looking at the ouput of dmesg, or check the
kern.log or sys.log files in /var/log/."

"If the usbserial message has anything to do which this smart card reader you
can check for device nodes in /dev/usb/tts/ or other subdirectories
of /dev/usb/."

smartcard linux utility:

http://people.debian.org/~rousseau/smartcard.html

http://www.geocities.com/cprados/

Perhaps useful drviers:

ccid free card reader driver:

http://pcsclite.alioth.debian.org/ccid.html

http://www.fsfe.org/en/card/howto/ca...der_howto_udev

http://www.gnupg.org/(en)/howtos/car...n/ch02s03.html

PC/SC, from http://www.opensc-project.org/faq.html

"The good thing about PC/SC is that all companies in the smart card reader business and Microsoft support it. Also it is a modern standard: designed for modern operating systems with many applications, users, drivers, smart cards and it manages all that."

http://www.pcscworkgroup.com/

location with many drivers and community support:

http://www.nabble.com/MuscleCard-f14240.html
http://www-uxsup.csx.cam.ac.uk/~jw35...ard-linux.html
 
Old 12-07-2007, 06:37 AM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Perhaps I should have clarified. This is a standard multi-card reader; Secure Digital, Compact Flash, Memory Stick, etc, etc. Not a smart card reader.
 
  


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
Will this dynex internal usb memory card reader be supported by ubuntu? jilloper Linux - Hardware 1 09-04-2007 02:44 AM
Internal usb multi card reader won't load on reboot joffa Debian 2 06-13-2007 11:15 PM
USB internal card reader suggestion cindyhot Linux - Hardware 2 01-23-2007 06:28 PM
Internal SD card reader...where is it? labworker Linux - Laptop and Netbook 7 03-06-2005 10:55 PM

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

All times are GMT -5. The time now is 12:29 PM.

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