UbuntuHelp:ExpressCard
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
Introduction
Express Cards are like PCMIA cards but much faster.They come in two sizes one larger and one smaller. You can plug a card made for a smaller slot into a bigger slot but not vice versa. Currently there are few cards in this format. see http://en.wikipedia.org/wiki/Expresscard for more information.
Installation
The installation of a ExpressCard should be trivial. The default kernel has support for "PCI Express Hotplug driver". The kernel option CONFIG_HOTPLUG_PCI_PCIE should be set and you should have a module called pciehp in your system.
Kernel Module
sudo modprobe pciehp pciehp_force=1
Ubuntu 9.10 Specific
In Ubuntu 9.10 this option is compiled in so there is no such module. It is as if the module is always loaded. To do the equivalent of this last command in Ubuntu 9.10 pass the "pciehp.pciehp_force=1" to the kernel by editing /etc/default/grub file( See Grub2 ). Add it to the line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
so it appears as
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pciehp.pciehp_force=1"
Save and exit your text editor. Then run:
sudo update-grub
And reboot.
Troubleshooting
Load the module with the option "pciehp_force=1", otherwise some errors are generated, because the ACPI firmware lacks support for the _OSC function:
[ 290.828000] pciehp: HPC vendor_id 8086 device_id 27d0 ss_vid 0 ss_did 0 [ 290.828000] Evaluate _OSC Set fails. Status = 0x0005 [ 290.828000] Evaluate _OSC Set fails. Status = 0x0005 [ 290.828000] pciehp: Cannot get control of hotplug hardware for pci 0000:00:1c.0 [ 290.828000] pciehp: HPC vendor_id 8086 device_id 27d2 ss_vid 0 ss_did 0 [ 290.828000] Evaluate _OSC Set fails. Status = 0x0005 [ 290.828000] Evaluate _OSC Set fails. Status = 0x0005 [ 290.828000] pciehp: Cannot get control of hotplug hardware for pci 0000:00:1c.3 [ 290.828000] pciehp: PCI Express Hot Plug Controller Driver version: 0.4