LinuxQuestions.org
Visit Jeremy's Blog.
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 03-06-2021, 09:59 AM   #1
kai12
LQ Newbie
 
Registered: Sep 2009
Location: Potsdam, Germany
Distribution: Mint, Ubuntu
Posts: 6

Rep: Reputation: 0
Anker USB-C 2-in-1 Card Reader


Hi all,

my Ubuntu 20.04 Linux does not seem to recognize an Anker USB-C 2-in-1 Card Reader. I bought it assuming that an USB hub device like this would work out of the box.

Is there a reason why this wouldn't work? USB Memory Thumb Drives are mounted OK when plugged into the USB-C port but the card reader (with an SD card inserted) will not be automounted.

kai
 
Old 03-07-2021, 08:55 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,671

Rep: Reputation: Disabled
Even if you hook up the reader first and then insert the card?
 
Old 03-08-2021, 01:20 AM   #3
kai12
LQ Newbie
 
Registered: Sep 2009
Location: Potsdam, Germany
Distribution: Mint, Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Emerson View Post
Even if you hook up the reader first and then insert the card?
I tried that, too. Even then the device does not show up. The log files report an SCSI device becoming available so I tried to mount the device manually but without success.
 
Old 03-08-2021, 08:33 AM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,671

Rep: Reputation: Disabled
OK, here I plug in my card reader:
Code:
 ~ $ dmesg -W
[148992.586545] usb 1-10: new high-speed USB device number 8 using xhci_hcd
[148992.712753] usb 1-10: config 1 interface 1 altsetting 0 bulk endpoint 0x5 has invalid maxpacket 16
[148992.712759] usb 1-10: config 1 interface 1 altsetting 0 bulk endpoint 0x86 has invalid maxpacket 16
[148992.871231] usb-storage 1-10:1.0: USB Mass Storage device detected
[148992.871448] scsi host6: usb-storage 1-10:1.0
[148993.905332] scsi 6:0:0:0: Direct-Access     Generic  Compact Flash    0.00 PQ: 0 ANSI: 2
[148993.905638] sd 6:0:0:0: Attached scsi generic sg2 type 0
[148993.906975] scsi 6:0:0:1: Direct-Access     Generic  SD/MMC           0.00 PQ: 0 ANSI: 2
[148993.907191] sd 6:0:0:1: Attached scsi generic sg3 type 0
[148993.907918] scsi 6:0:0:2: Direct-Access     Generic  microSD          0.00 PQ: 0 ANSI: 2
[148993.908259] sd 6:0:0:2: Attached scsi generic sg4 type 0
[148993.909210] scsi 6:0:0:3: Direct-Access     Generic  MS/MS-PRO        0.00 PQ: 0 ANSI: 2
[148993.909562] sd 6:0:0:3: Attached scsi generic sg5 type 0
[148993.910308] scsi 6:0:0:4: Direct-Access     Generic  SM/xD-Picture    0.00 PQ: 0 ANSI: 2
[148993.911120] sd 6:0:0:4: Attached scsi generic sg6 type 0
[148993.912934] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[148993.918034] sd 6:0:0:1: [sdd] Attached SCSI removable disk
[148993.921039] sd 6:0:0:4: [sdg] Attached SCSI removable disk
[148993.921790] sd 6:0:0:2: [sde] Attached SCSI removable disk
[148993.922253] sd 6:0:0:3: [sdf] Attached SCSI removable disk
And now I insert a card:
Code:
[149041.580701] sd 6:0:0:1: [sdd] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[149041.582599]  sdd: sdd1 sdd2
and finally, I mount the filesystem on second partition by hand:
Code:
[149106.023883] EXT4-fs (sdd2): mounted filesystem with ordered data mode. Opts: (null)
What's different in your case?
 
Old 03-09-2021, 03:22 PM   #5
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
On my system (I have a 2 slot SD card reader, one is micro and one is standard)
This is the card reader with no card in the slot
Code:
[57822.733709] usb 4-3: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[57822.750764] usb 4-3: New USB device found, idVendor=05e3, idProduct=0749, bcdDevice=15.38
[57822.750767] usb 4-3: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[57822.750768] usb 4-3: Product: USB3.0 Card Reader
[57822.750769] usb 4-3: Manufacturer: Generic
[57822.750769] usb 4-3: SerialNumber: 000000001538
[57822.751613] usb-storage 4-3:1.0: USB Mass Storage device detected
[57822.751703] scsi host7: usb-storage 4-3:1.0
[57823.788616] scsi 7:0:0:0: Direct-Access     Generic  MassStorageClass 1538 PQ: 0 ANSI: 6
[57823.789457] scsi 7:0:0:1: Direct-Access     Generic  MassStorageClass 1538 PQ: 0 ANSI: 6
[57823.789738] sd 7:0:0:0: Attached scsi generic sg7 type 0
[57823.789901] sd 7:0:0:1: Attached scsi generic sg8 type 0
[57824.195488] sd 7:0:0:0: [sdg] Attached SCSI removable disk
[57824.400153] sd 7:0:0:1: [sdh] Attached SCSI removable disk
and this is the same reader with 1 micro card in the slot
Code:
[57941.045324] usb 4-3: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[57941.061380] usb 4-3: New USB device found, idVendor=05e3, idProduct=0749, bcdDevice=15.38
[57941.061383] usb 4-3: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[57941.061384] usb 4-3: Product: USB3.0 Card Reader
[57941.061385] usb 4-3: Manufacturer: Generic
[57941.061385] usb 4-3: SerialNumber: 000000001538
[57941.063011] usb-storage 4-3:1.0: USB Mass Storage device detected
[57941.063277] scsi host7: usb-storage 4-3:1.0
[57942.124231] scsi 7:0:0:0: Direct-Access     Generic  MassStorageClass 1538 PQ: 0 ANSI: 6
[57942.124941] scsi 7:0:0:1: Direct-Access     Generic  MassStorageClass 1538 PQ: 0 ANSI: 6
[57942.125164] sd 7:0:0:0: Attached scsi generic sg7 type 0
[57942.125332] sd 7:0:0:1: Attached scsi generic sg8 type 0
[57942.620960] sd 7:0:0:1: [sdh] 124735488 512-byte logical blocks: (63.9 GB/59.5 GiB)
[57942.621503] sd 7:0:0:1: [sdh] Write Protect is off
[57942.621506] sd 7:0:0:1: [sdh] Mode Sense: 21 00 00 00
[57942.622016] sd 7:0:0:1: [sdh] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[57942.622712] sd 7:0:0:0: [sdg] Attached SCSI removable disk
[57942.830522]  sdh: sdh1 sdh2 sdh3
[57942.853014] sd 7:0:0:1: [sdh] Attached SCSI removable disk
[57943.594780] BTRFS: device label fedora_fedora devid 1 transid 4716 /dev/sdh3 scanned by systemd-udevd (319267)
[57943.663909] EXT4-fs (sdh2): mounted filesystem with ordered data mode. Opts: (null)
[57943.679036] BTRFS info (device sdh3): disk space caching is enabled
[57943.679039] BTRFS info (device sdh3): has skinny extents

My device is USB3 and very generic. It is not USB-C and has no problems. When was that device released? Maybe it is too new for it to be properly recognized. Most USB devices are supported except for the very newest.
 
Old 03-10-2021, 02:01 AM   #6
kai12
LQ Newbie
 
Registered: Sep 2009
Location: Potsdam, Germany
Distribution: Mint, Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
computersavvy, Emerson: thanks for looking into this!

I'm a little embarassed to say that when I went back and turned on dmesg -w I got the same results as you did, and the SD card was even automounted by the system. So problem solved. I'm a bit puzzled why I was having issues before.

best wishes
kai
 
  


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
problem with sim card reader/multicard reader ut0ugh1 Linux - Hardware 11 11-27-2012 09:04 AM
MEPIS: how to mount a flash card in an usb card reader for n00b frenchn00b Linux - General 1 08-06-2008 05:26 PM
HP Photosmart 7550 w/ Flash Card Reader on Suse 9.3. Card Reader and Print Sharing Desert Linux - Hardware 0 07-25-2005 08:25 PM
USB multi-card reader; only one card can be mounted in Slack 10. KidsWriter71 Linux - Hardware 6 09-11-2004 07:24 PM
Recognizing USB card reader when card is inserted hqo201 Fedora 0 08-02-2004 05:08 PM

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

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