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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-30-2022, 06:04 PM
|
#1
|
LQ Newbie
Registered: Jun 2004
Posts: 27
Rep:
|
card reader
I have a card reader but it doesn't have an activity light.
It also doesn't show the name of the card that is inserted:
Quote:
[12146.997301] usb 2-1: Product: USB3.0 Card Reader
[12146.997303] usb 2-1: Manufacturer: Realtek
[12146.997305] usb 2-1: SerialNumber: 201404081410
[12147.029789] usb-storage 2-1:1.0: USB Mass Storage device detected
[12147.030039] scsi host2: usb-storage 2-1:1.0
[12147.030240] usbcore: registered new interface driver usb-storage
[12147.032712] usbcore: registered new interface driver uas
[12148.063596] scsi 2:0:0:0: Direct-Access Generic- USB3.0 CRW -SD 1.00 PQ: 0 ANSI: 6
[12148.071513] scsi 2:0:0:1: Direct-Access Generic- USB3.0 CRW -SD 1.00 PQ: 0 ANSI: 6
[12148.071892] sd 2:0:0:0: Attached scsi generic sg0 type 0
[12148.072156] sd 2:0:0:1: Attached scsi generic sg1 type 0
[12148.765620] sd 2:0:0:0: [sda] 7862272 512-byte logical blocks: (4.03 GB/3.75 GiB)
|
My USB hub reports the drive that is connected.
Would a newer reader report the devices?
|
|
|
09-30-2022, 07:56 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,897
|
What precise kinds of cards are you trying to read? Prox cards, swipe cards, credit cards, or something else?
|
|
|
09-30-2022, 07:59 PM
|
#3
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352
|
Considering that it's detected as a USB mass storage device? I would assume SD cards.
Is there actually a problem? Are the storage device nodes created? Can you mount them?
|
|
|
09-30-2022, 11:42 PM
|
#4
|
LQ Newbie
Registered: Jun 2004
Posts: 27
Original Poster
Rep:
|
Quote:
Originally Posted by dugan
Considering that it's detected as a USB mass storage device? I would assume SD cards.
Is there actually a problem? Are the storage device nodes created? Can you mount them?
|
It works fine.
I just wondered if newer card readers show the underlying card manufacturer.
|
|
|
10-01-2022, 10:09 AM
|
#5
|
Senior Member
Registered: Jul 2020
Posts: 1,521
|
If you mean you'd like to read the card's CID then the answer is no, it cannot be done over USB, only over SPI.
|
|
|
10-01-2022, 01:24 PM
|
#6
|
LQ Newbie
Registered: Jun 2004
Posts: 27
Original Poster
Rep:
|
I have USB 3 type A ports that I am going to get USB-C adapters for and then a USB-C card reader.
Do all the adapters support USB 3 or could I end up with USB 2 type C?
|
|
|
10-01-2022, 01:53 PM
|
#7
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,543
|
There are USB-2.x & 3.x in Type A sockets. USB-3.x ones are blue, IIRC & usb-2.x ones are black. Is that what you're asking? Yes, you could end up talking to a type 2.x usb type A socket, but they will adjust speed down.
|
|
|
10-01-2022, 03:46 PM
|
#8
|
LQ Newbie
Registered: Jun 2004
Posts: 27
Original Poster
Rep:
|
I have blue ones on the front of my case.
I want to buy type C adapters but I still want then to be USB3. :-)
|
|
|
10-02-2022, 04:49 AM
|
#9
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,543
|
They will be USB-3.x. You'll have to go to the M/B handbook to find out what the 'x' actually is.
|
|
|
10-02-2022, 12:16 PM
|
#10
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,867
Rep: 
|
The card reader will/should run at the speed of the USB socket.
|
|
|
10-03-2022, 04:46 AM
|
#11
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,543
|
The big thing that controls the speed of an sdcard is not the hardware, but the caching. I was dd'ing disk images for my RazPi which were 5-10G each, and learned the ropes.
They'd start real fast, and the caching routine in the kernel originally used a % of the available ram as a cache. But Linus himself patched it to be smaller for some reason which I never got to the bottom of. By the end I'd be down to 12-15 MB/S, or close to the 150Mbps the usb-3.x in my old laptop was capable of. If you're box is good for more, by all means get your usb-c cables, and you'll discover what the next slowest limit is.
|
|
|
10-04-2022, 08:54 AM
|
#12
|
Senior Member
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,849
|
Quote:
Originally Posted by frankbell
What precise kinds of cards are you trying to read? ... or something else?
|
Punch? :^D
(OK. I've gone and dated myself.)
|
|
|
10-04-2022, 01:16 PM
|
#13
|
LQ Newbie
Registered: Jun 2004
Posts: 27
Original Poster
Rep:
|
MicroSD and/or SD.
|
|
|
10-04-2022, 01:32 PM
|
#14
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,201
|
"Bah!" That's not a "card reader!"
This is a card reader ...!
I know this because I actually used one ... (koff, koff) 
|
|
|
10-05-2022, 05:19 AM
|
#15
|
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7 / 8
Posts: 3,564
|
Quote:
Originally Posted by sundialsvcs
|
Off Topic: At one place I had to boot a machine off paper tape to make it recognise the floppy drive.
|
|
|
All times are GMT -5. The time now is 09:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|