首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Ubuntu 16.04.2 LTS找不到微型SD卡

Ubuntu 16.04.2 LTS找不到微型SD卡
EN

Ask Ubuntu用户
提问于 2017-06-02 17:34:05
回答 1查看 1.4K关注 0票数 1
  • SanDisk微sd卡32 sd
  • 超越MicroSD读卡器
  • Ubuntu 16.04.2

在安装动眼时,我注意到/dev/mmcblk*不存在。我检查了lsusb -a并发现读卡器正在被检测到:

代码语言:javascript
运行
复制
Bus 003 Device 007: ID 8564:4000 Transcend Information, Inc. RDF8

我查看了dmesg并看到:

dmesg | grep sdb

代码语言:javascript
运行
复制
[    4.277771] sd 5:0:0:0: [sdb] 62333952 512-byte logical blocks:(31.9GB/29.7 GiB)
[    4.278644] sd 5:0:0:0: [sdb] Write Protect is off
[    4.278647] sd 5:0:0:0: [sdb] Mode Sense: 23 00 00 00
[    4.279518] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.283747]  sdb:
[    4.286514] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[ 1753.658942] sd 6:0:0:0: [sdb] 62333952 512-byte logical blocks: (31.9 GB/29.7 GiB)
[ 1753.659708] sd 6:0:0:0: [sdb] Write Protect is off
[ 1753.659711] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 1753.660468] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1753.664577]  sdb:
[ 1753.667208] sd 6:0:0:0: [sdb] Attached SCSI removable disk

lspci命令的输出:

代码语言:javascript
运行
复制
00:00.0 Host bridge: Intel Corporation Crystal Well DRAM Controller (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Device 0d22 (rev 08)
00:03.0 Audio device: Intel Corporation Crystal Well HD Audio Controller (rev 08)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

我还检查了内核.config (我使用的是4.4.0-78-泛型),并参见以下内容:

代码语言:javascript
运行
复制
CONFIG_MMC_BLOCK=m
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_MMC_BLOCK_BOUNCE=y
CONFIG_SDIO_UART=m
CONFIG_MMC_SDHCI=m

奇怪的是,读卡器被看作是/dev/sdb。例如,udisksctl status命令的输出:

代码语言:javascript
运行
复制
TS-RDF5 SD  Transcend     TS37      000000000039         sdb

fdisk -lu输出:

代码语言:javascript
运行
复制
Disk /dev/sdb: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x197087fd

奇怪的是,磁盘标签类型是"dos“吗?

我还对以下模块进行了调制:

代码语言:javascript
运行
复制
modprobe mmc_core
modprobe mmc_block
modprobe sdhci

我拔出卡并重新插入,并在dmesg中看到以下内容:

代码语言:javascript
运行
复制
[ 6442.411915] usb 4-6: new SuperSpeed USB device number 2 using xhci_hcd
[ 6442.430868] usb 4-6: New USB device found, idVendor=8564, idProduct=4000
[ 6442.430870] usb 4-6: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[ 6442.430872] usb 4-6: Product: Transcend
[ 6442.430873] usb 4-6: Manufacturer: TS-RDF5 
[ 6442.430874] usb 4-6: SerialNumber: 000000000039
[ 6442.433246] usb-storage 4-6:1.0: USB Mass Storage device detected
[ 6442.433355] scsi host7: usb-storage 4-6:1.0
[ 6442.611492] usb 4-6: USB disconnect, device number 2
[ 6442.851860] usb 4-6: new SuperSpeed USB device number 3 using xhci_hcd
[ 6442.870833] usb 4-6: New USB device found, idVendor=8564, idProduct=4000
[ 6442.870835] usb 4-6: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[ 6442.870837] usb 4-6: Product: Transcend
[ 6442.870838] usb 4-6: Manufacturer: TS-RDF5 
[ 6442.870839] usb 4-6: SerialNumber: 000000000039

有人知道为什么这不管用吗?

EN

回答 1

Ask Ubuntu用户

发布于 2017-06-02 19:18:33

我能够用Etcher将图像写入SD卡。我现在可以启动运动眼睛的形象。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/921529

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档