自从在这台HP nx6330上装上了SUSE10.2,就一直没有享受过机器上自带的SD读卡器带来的便利,无他,不支持耳。今日小试牛刀,终于解决此问题,步骤如下:1、以root身份登录系统;2、运行lspci,下面是我本本上的结果:00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller AHCI (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc M52 [ATI Mobility Radeon X1300]
02:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
02:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
02:06.3 Generic system peripheral [Class 0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
02:06.4 Communication controller: Texas Instruments PCIxx12 GemCore based SmartCard controller
02:0e.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)请注意上面加粗和下划线的那行。3、运行:setpci -s 02:06.2 4c.b=0x02。其中02:06.2来自于上面的结果。4、插入一个SD卡,系统自动MOUNT到/media/xxx下。问题解决,现在,我们来作个小脚本,让它每次启动后都能够自动识别该硬件。cd /etc/init.d
touch sdcard
vi sdcard#下面是sdcard内容
#!/bin/bash
setpci -s 02:06.2 4c.b=0x02exit 0
chmod 755 sdcard
chkconfig -a sdcard至此,重启系统后系统也能识别SD读卡器了。出处http://blog.sina.com.cn/sunjes Ubuntu无法对状态列表目录加锁的解决Ubuntu下安装phpmyadmin过程(deb包)[图文]相关资讯 suse
- 你还记得那只可爱的小蜥蜴吗?没错 (10/26/2015 20:24:36)
- SUSE Linux再次易主,母公司被上市 (09/16/2014 20:09:38)
- SUSE:SLES统领全球TOP500操作系统 (08/12/2013 07:45:23)
| - 专访SUSE总裁Nils:让开源基因深入 (12/03/2014 18:44:03)
- Linux选型:开源是趋势 红帽SUSE最 (03/19/2014 08:30:25)
- SUSE在超级计算机领域占有领先地位 (08/06/2013 07:58:31)
|
本文评论 查看全部评论 (0)