// 打印系统信息
cxl@cxl-ThinkPad-E420:~$ cat /etc/lsb-release; uname -a
DISTRIB_ID=UbuntuDISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
Linux cxl-ThinkPad-E420 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
// lspci -nnk, lspci 列出所有PCI设备, -nn列出vendor的设备好和名称,k显示内核或内核模块处理的设备.
cxl@cxl-ThinkPad-E420:~$ lspci -nnk | grep -iA2 net
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
Subsystem: Lenovo Device [17aa:21e2]
Kernel driver in use: r8169
--
09:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:8195]
Kernel driver in use: rtl8192ce
// 类似ipconfig,配置无线网络接口
cxl@cxl-ThinkPad-E420:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
// 列出所有的可被rfkill工具使用的设备状态.
cxl@cxl-ThinkPad-E420:~$ rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: acer-wireless: Wireless LAN
Soft blocked: yes
Hard blocked: no
2: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
// 列出已经安装的模块
cxl@cxl-ThinkPad-E420:~$ lsmod
Module Size Used by
bnep 18436 2
rfcomm 47946 8
parport_pc 36962 0
ppdev 17113 0
binfmt_misc 17540 1
snd_hda_codec_hdmi 32040 1
snd_hda_codec_conexant 62197 1
joydev 17693 0
arc4 12529 2
thinkpad_acpi 81819 0
snd_hda_intel 33390 2
snd_hda_codec 104802 3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep 13668 1 snd_hda_codec
acer_wmi 23948 0
sparse_keymap 13890 1 acer_wmi
snd_pcm 96755 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi 13324 0
snd_rawmidi 30547 1 snd_seq_midi
uvcvideo 72711 0
videodev 93004 1 uvcvideo
v4l2_compat_ioctl32 17083 1 videodev
snd_seq_midi_event 14899 1 snd_seq_midi
snd_seq 61896 2 snd_seq_midi,snd_seq_midi_event
btusb 18600 2
bluetooth 166112 23 bnep,rfcomm,btusb
psmouse 73882 0
serio_raw 13166 0
rtl8192ce 84775 0
rtl8192c_common 75767 1 rtl8192ce
rtlwifi 110972 1 rtl8192ce
mac80211 310872 3 rtl8192ce,rtl8192c_common,rtlwifi
snd_timer 29991 2 snd_pcm,snd_seq
snd_seq_device 14540 3 snd_seq_midi,snd_rawmidi,snd_seq
cfg80211 199587 2 rtlwifi,mac80211
snd 68266 15 snd_hda_codec_hdmi,snd_hda_codec_conexant,thinkpad_acpi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
nvram 14413 1 thinkpad_acpi
wmi 19256 1 acer_wmi
radeon 1015995 0
ttm 76805 1 radeon
i915 566711 3
soundcore 12680 1 snd
snd_page_alloc 18529 2 snd_hda_intel,snd_pcm
drm_kms_helper 42558 2 radeon,i915
drm 236330 6 radeon,ttm,i915,drm_kms_helper
mei 41480 0
i2c_algo_bit 13423 2 radeon,i915
video 19412 1 i915
lp 17799 0
parport 46562 3 parport_pc,ppdev,lp
sdhci_pci 14032 0
sdhci 32166 1 sdhci_pci
ahci 26002 3
libahci 26861 1 ahci
r8169 52788 0
--------------solution-----------:
sudo rmmod -f acer-wmi //移除 acer-wmi模块,-f force a mod unload
sudo rfkill unblock all //rfkill 打卡或者关闭无线设备的命令, unblock 打开无线设备,all 所有的