![SD 卡读卡器在 Debian 上不起作用](https://linux22.com/image/1405264/SD%20%E5%8D%A1%E8%AF%BB%E5%8D%A1%E5%99%A8%E5%9C%A8%20Debian%20%E4%B8%8A%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8.png)
我使用 Debian 已有 6 个月了,但我的读卡器一直无法正常工作。我尝试了网上找到的几种解决方案,但都没有成功。
我怎样才能让它工作?
以下是生成的输出lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 660] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK106 HDMI Audio Controller (rev a1)
03:00.0 PCI bridge: Integrated Technology Express, Inc. Device 8892 (rev 10)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
输出来自lsusb
Bus 002 Device 005: ID 058f:6364 Alcor Micro Corp. AU6477 Card Reader Controller
Bus 002 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 056a:0302 Wacom Co., Ltd
Bus 001 Device 004: ID 045e:028e Microsoft Corp. Xbox360 Controller
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg
当我插入卡时:
[74699.879295] ufs was compiled with read-only support, can't be mounted as read-write
[74896.798080] ufs was compiled with read-only support, can't be mounted as read-write
[74923.089671] sd 7:0:0:0: [sdc] No Caching mode page found
[74923.089677] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[74923.092706] sd 7:0:0:0: [sdc] No Caching mode page found
[74923.092711] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[74923.105427] sdc: sdc1 sdc2 sdc3
[74923.105895] ufs was compiled with read-only support, can't be mounted as read-write
[74999.985570] sdc: detected capacity change from 15707668480 to 0
[76189.915019] systemd-hostnamed[2816]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
答案1
看起来读卡器正在工作,只是无法以读/写方式挂载文件系统。您是否尝试过手动挂载它,例如只读sudo mount -t ufs -o ro,ufstype=ufs2 /dev/sdc1 /mnt/point/here
?或者尝试过其他不在 UFS 中的卡?