How to detect details of MicroSD Card in a Combo Card Reader

Everything about X, Gnome, KDE, ... and everything running on it

How to detect details of MicroSD Card in a Combo Card Reader

Postby hack3rcon » 2021-01-03 05:33

Hello,
I have a Silicon Power Combo Card Reader and when I plugged an ADATA MicroSD Card into it, then I just see the details of Combo Card Reader and not MicroSD Card! Any way to detect the details of MicroSD Card?
Code: Select all
$ lsusb -D /dev/bus/usb/002/004
Device: ID 05e3:0732 Genesys Logic, Inc. All-in-One Cardreader
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0732 All-in-One Cardreader
  bcdDevice            5.70
  iManufacturer           3
  iProduct                4
  iSerial                 5
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0020
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0


Thank you.
hack3rcon
 
Posts: 516
Joined: 2015-02-16 09:54

Re: How to detect details of MicroSD Card in a Combo Card Re

Postby Head_on_a_Stick » 2021-01-03 11:13

Have you checked
Code: Select all
lsblk

SD cards should show up as /dev/mmcblk0 (or so).
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13262
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How to detect details of MicroSD Card in a Combo Card Re

Postby hack3rcon » 2021-01-03 14:07

Head_on_a_Stick wrote:Have you checked
Code: Select all
lsblk

SD cards should show up as /dev/mmcblk0 (or so).

No:
Code: Select all
$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk
├─sda1   8:1    0   667M  0 part
├─sda2   8:2    0  84.2G  0 part /
├─sda3   8:3    0 372.5G  0 part /home
└─sda4   8:4    0   8.4G  0 part [SWAP]
sdg      8:96   1  14.7G  0 disk
└─sdg1   8:97   1  14.7G  0 part
sr0     11:0    1  1024M  0 rom 

And:
Code: Select all
$ ls /dev/sd
...  sdc   sde   sdg   sdd   sdf   sdg1
hack3rcon
 
Posts: 516
Joined: 2015-02-16 09:54

Re: How to detect details of MicroSD Card in a Combo Card Re

Postby p.H » 2021-01-03 20:29

lsusb only shows USB devices. The USB device is the card reader, not the SD card.
There are two kinds of SD card readers :
- those which advertise themselves as a SD card reader (/dev/mmcblk*)
- those which advertise themselves as a USB mass storage device (/dev/sd*)
Only the former may allow to see details of the SD card. The latter act more like a USB flash drive.
p.H
 
Posts: 1669
Joined: 2017-09-17 07:12

Re: How to detect details of MicroSD Card in a Combo Card Re

Postby hack3rcon » 2021-01-04 05:40

p.H wrote:lsusb only shows USB devices. The USB device is the card reader, not the SD card.
There are two kinds of SD card readers :
- those which advertise themselves as a SD card reader (/dev/mmcblk*)
- those which advertise themselves as a USB mass storage device (/dev/sd*)
Only the former may allow to see details of the SD card. The latter act more like a USB flash drive.

Thus, my Combo Card Reader can't show the details of MicroSD Card?
hack3rcon
 
Posts: 516
Joined: 2015-02-16 09:54

Re: How to detect details of MicroSD Card in a Combo Card Re

Postby Head_on_a_Stick » 2021-01-04 08:46

Check dmesg after the SD card is inserted, that should show if the kernel detects it.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13262
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How to detect details of MicroSD Card in a Combo Card Re

Postby hack3rcon » 2021-01-17 12:45

Head_on_a_Stick wrote:Check dmesg after the SD card is inserted, that should show if the kernel detects it.

It show me:
Code: Select all
$ sudo dmesg
[28649.286941] sd 6:0:0:4: [sdg] 30865408 512-byte logical blocks: (15.8 GB/14.7 GiB)
[28649.289184] sdg: detected capacity change from 0 to 15803088896
[28649.290049]  sdg: sdg1
[28656.365499] sd 6:0:0:4: [sdg] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[28656.365505] sd 6:0:0:4: [sdg] tag#0 Sense Key : Aborted Command [current]
[28656.365510] sd 6:0:0:4: [sdg] tag#0 Add. Sense: Incompatible medium installed
[28656.365515] sd 6:0:0:4: [sdg] tag#0 CDB: Read(10) 28 00 01 d6 f7 00 00 00 08 00
hack3rcon
 
Posts: 516
Joined: 2015-02-16 09:54


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable