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.
|
 |
03-06-2021, 10:59 AM
|
#1
|
LQ Newbie
Registered: Sep 2009
Location: Potsdam, Germany
Distribution: Mint, Ubuntu
Posts: 6
Rep:
|
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
|
|
|
03-07-2021, 09:55 PM
|
#2
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Even if you hook up the reader first and then insert the card?
|
|
|
03-08-2021, 02:20 AM
|
#3
|
LQ Newbie
Registered: Sep 2009
Location: Potsdam, Germany
Distribution: Mint, Ubuntu
Posts: 6
Original Poster
Rep:
|
Quote:
Originally Posted by Emerson
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.
|
|
|
03-08-2021, 09:33 AM
|
#4
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
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?
|
|
|
03-09-2021, 04:22 PM
|
#5
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
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.
|
|
|
03-10-2021, 03:01 AM
|
#6
|
LQ Newbie
Registered: Sep 2009
Location: Potsdam, Germany
Distribution: Mint, Ubuntu
Posts: 6
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:06 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
|
|