- 论坛徽章:
- 0
|
如果你的读卡器是usb读卡器,可以用lsusb命令查看一下
root@fleya-laptop:/tmp# lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 069: ID 045e:00a4 Microsoft Corp.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 096: ID 058f:6335 Alcor Micro Corp. SD/MMC Card Reader
Bus 001 Device 003: ID 04f2:b071 Chicony Electronics Co., Ltd 2.0M UVC WebCam / CNF7129
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0b05:b700 ASUSTek Computer, Inc. Broadcom Bluetooth 2.1
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
sd卡Device 096
dmesg > /tmp/a
在/tmp/a文件中搜索found at 96
[97280.788833] usb-storage: device found at 96
[97280.788840] usb-storage: waiting for device to settle before scanning
[97285.791894] usb-storage: device scan complete
[97285.792606] scsi 11:0:0:0: Direct-Access Single Flash Reader 1.00 PQ: 0 ANSI: 0
[97285.794000] sd 11:0:0:0: Attached scsi generic sg1 type 0
[97286.270343] sd 11:0:0:0: [sdb] 7861248 512-byte logical blocks: (4.02 GB/3.74 GiB)
[97286.277514] sd 11:0:0:0: [sdb] Write Protect is off
[97286.277528] sd 11:0:0:0: [sdb] Mode Sense: 03 00 00 00
[97286.277536] sd 11:0:0:0: [sdb] Assuming drive cache: write through
[97286.302378] sd 11:0:0:0: [sdb] Assuming drive cache: write through
[97286.302399] sdb: sdb1
[97286.327111] sd 11:0:0:0: [sdb] Assuming drive cache: write through
[97286.327129] sd 11:0:0:0: [sdb] Attached SCSI removable disk
由上信息可知sd卡是sdb
|
|