我的 HP Pavilion DV6-6155ca 中有一个内置读卡器,该读卡器是“多卡介质读卡器”(我知道这没什么意义,但我想是这样的),设备是 RTS5209 PCI Express 读卡器。我正在运行 ubuntu 12.10。
当我插入 SD 卡时,什么都没发生。该卡可从其他设备读取,我曾在另一个版本的 Ubuntu 中使用过。
uname -a
Linux Ketterer-Ubuntubook 3.5.0-24-generic #37-Ubuntu SMP Thu Feb 7 01:50:30 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
输出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:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (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.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (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 HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port 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: Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6400M/7400M Series]
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
0d:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 (rev 34)
13:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
19:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
的结果lspci -vmmnn | grep -A4 -B2 Realtek
:
Slot: 13:00.0
Class: Unassigned class [ff00]
Vendor: Realtek Semiconductor Co., Ltd. [10ec]
Device: RTS5209 PCI Express Card Reader [5209]
SVendor: Hewlett-Packard Company [103c]
SDevice: Device [1656]
Rev: 01
输出lsusb
:
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 138a:0018 Validity Sensors, Inc.
Bus 001 Device 004: ID 5986:02ac Acer, Inc
Bus 002 Device 004: ID 1058:0748 Western Digital Technologies, Inc.
Bus 002 Device 003: ID 8086:0189 Intel Corp.
答案1
我建议使用在找到的驱动程序并按照找到的步骤操作这里。
克隆 /usr/src 下的 github 存储库并用于dkms
安装驱动程序。
以超级用户身份执行的步骤。在每行前面添加 sudo
如果需要。
如果你还没有安装 git,请先安装
sudo apt-get -y install git
切换到 /usr/src
cd /usr/src
克隆存储库
git clone https://github.com/chrisnew/rts_pstor.git rts_pstor-1.11
通过dkms编译安装
dkms install rts_pstor/1.11
加载模块
sudo modprobe rts_pstor
完成(无需重启)
这对我运行 Ubuntu 16.04 的 Acer Aspire One D257 有效。
lspci
输出:
Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
dmesg
输出后插入卡后安装驱动程序:
[ 744.395191] Initializing Realtek PCIE storage driver...
[ 903.017115] mmc0: new high speed SDHC card at address 1234
[ 903.052409] mmcblk0: mmc0:1234 SA16G 14.6 GiB
[ 903.054433] mmcblk0: p1
答案2
我也遇到了同样的问题。我通过/etc/modules
如下编辑修复了此问题:
sudo -H gedit /etc/modules
然后,我在末尾添加了以下行/etc/modules
:
tifm_sd
保存文件并重新启动。 SD 卡读卡器现在应该可以正常工作。
答案3
有一个模块用于此:
看这里:http://www.omgubuntu.co.uk/2011/02/card-reader-not-working-hp-mini-ubuntu
修复 HP Mini 110 和其他上网本上的 SD 卡读卡器 本指南将指导 HP Mini 110 系列和 Compaq Mini CQ10-500 系列上网本的用户 - 以及任何拥有使用 Realtek rts5159 读卡器的设备的用户 - 下载并安装所需的驱动程序。
要识别您的读卡器型号,请
lsusb
在终端中运行。从以下网址下载 Realtek rts5159 的“Unix (Linux)”驱动程序此链接。
下载后,解压并将文件夹移动到您的主目录。
现在我们需要安装驱动程序。打开一个新的终端会话。分别运行以下每个命令:
cd rts_pstor make sudo make install sudo depmod
完成后,重新启动计算机,读卡器就可以工作了。