Difference between revisions of "ThinkPad 11b/g/n Wireless LAN Mini-PCI Express Adapter II"

From ThinkWiki
Jump to: navigation, search
(ThinkPads this card may be found in)
(Undo revision 53263 by Defriesse (talk))
 
(45 intermediate revisions by 12 users not shown)
Line 1: Line 1:
The ThinkPad 11b/g/n Wireless LAN Mini-PCI Express Adapter II appears to be a Realtek 8191 wireless card.  Currently no drivers are included in the popular Linux distributions, but driver can be downloaded from Realtek website [http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&ProdID=226&DownTypeID=3&GetDown=false&Downloads=true#2281]. You need to download RTL8192SE driver if your card is identified (by running 'lspci -v') as 'Realtek Semiconductor Co., Ltd. Device 8172 (rev 10)'.
+
__NOTOC__
 
+
{| width="100%"
More information about using Realtek native driver in Ubuntu: [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/401126?comments=all]
+
|style="vertical-align:top" |
 +
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;">
 +
== ThinkPad 11b/g/n Wireless LAN Mini-PCI Express Adapter II ==
 +
This is a Mini-PCI Express WiFi Adapter, supported by a driver downloadable from Realtek.
  
 
== Features ==
 
== Features ==
 +
* Chipset: Realtek RTL8192SE / RTL8188CE
 +
* IEEE Standards: 802.11b, 802.11g, 802.11n
 +
* 1x2 MIMO
 +
* PCI ID:
 +
** RTL8192SE: 10ec:8172
 +
** RTL8188CE: 10ec:8176
 +
</div>
 +
|style="vertical-align:top" |
 +
[[image:RealtekWiFi.jpg|ThinkPad 11b/g/n Wireless LAN Mini-PCI Express Adapter II]]<br/>
 +
|}
 +
=== Lenovo Partnumbers ===
 +
* 04W1409
  
== Install procedure ==
+
== Linux support ==
 +
This chip is supported by the rtlwifi/rtl8192se driver, which was [http://linuxwireless.org/News/2011-07-22 included in kernel in 3.0]. There are two other options available, a Linux driver available for download from Realtek, or ndiswrapper.
 +
(Ubuntu 10.4 support it now).
  
Following the links above and doing some searching, it seems that it should be possible to get this card to work. There a two ways one is using the alpha/beta/? version of the Linux drivers, the second is using Windows drivers and ndiswrapper. Using the preliminary Linux drivers is described here. (Instructions tested on a Thinkpad X200s with a Realtek 8192 and Ubuntu 9.10).
+
{{WARN|If you are not comfortable with running development code and have the option, order your ThinkPad with a different WiFi adapter. All other available WiFi options are supported by in-kernel drivers in modern Linux distributions}}
* In order to use the Linux driver we have to compile them for the kernel you are using. Generally for compiling drivers you have to install some packages for this first. In the example here you have to plug in a wired network and type in the following command, this will install all necessary stuff:
+
        sudo apt-get install build-essential linux-source-2.6.31
+
* Now you have to obtain a copy of the Linux drivers: [http://launchpadlibrarian.net/33927923/rtl8192se_linux_2.6.0010.1012.2009.tar.gz], there is also a 64 bit version available [http://launchpadlibrarian.net/34090326/rtl8192se_linux_2.6.0010.1012.2009_64bit.tar.gz].
+
* Unpack the driver and open up an console and go to the directory you unpacked the driver to.
+
* Compile the drivers using the following commands:
+
        sudo make
+
        sudo su
+
        make install
+
* Lastly you have to load the freshly compiled driver by running the following command:
+
        modprobe r8192se_pci
+
If everything worked fine the card should start working immediately. More information on the installation procedure including a description of the second method using the Windows drivers and Ndiswrapper can be found here:[http://ubuntuforums.org/showthread.php?t=1329254].
+
  
== Identification ==
+
=== rtlwifi ===
  
lspci -vv
+
The rtlwifi driver which supports this chip was included in kernel 3.0. In some cases the RealTek driver below can be more reliable than the kernel driver.
        03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8172 (rev 10)
+
 
        Subsystem: Realtek Semiconductor Co., Ltd. Device e020
+
=== Realtek Linux driver ===
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
+
 
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
+
The Realtek Linux driver for this chip can be downloaded from the Realtek [http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&ProdID=226&DownTypeID=3&GetDown=false&Downloads=true#2281 website]
        Latency: 0, Cache Line Size: 64 bytes
+
 
        Interrupt: pin A routed to IRQ 11
+
More information about using the Realtek native driver in Ubuntu: [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/401126?comments=all]
        Region 0: I/O ports at 3000 [size=256]
+
 
        Region 1: Memory at f4200000 (32-bit, non-prefetchable) [size=16K]
+
Please note: use of this driver on Lenovo systems results in unpredictable fatal crashes on some systems!  It's is *not* advised to choose this driver. 
        Capabilities: [40] Power Management version 3
+
 
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
+
One method that appears to drastically reduce the crashes and connection drops is to comment out "-DENABLE_LPS" from the Makefiles while building the Realtek Linux driver. This also reduces the "noise" in the syslog kernel messages generated by LPS. However, it may reduce the battery life since LPS is an acronym for Low Power State.
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
+
 
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
+
Known problems:
                Address: 0000000000000000 Data: 0000
+
  * Connections randomly drop out after a few minutes (seems to be fixed in version 015)
        Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
+
  This problem has been observed with version 015 too. Realtek has been contacted about the problem.
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
+
* When using WPA Enterprise, entire system will freeze after a few minutes, requiring reboot
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
+
* Freezes also happen with Ad-Hoc mode from time to time
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
+
 
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
+
The RealTek driver maybe packaged for your distrobution, for example [http://aur.archlinux.org/packages.php?ID=46797 in the AUR for Arch].
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
+
 
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
+
=== ndiswrapper ===
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us
+
{{NOTE|The use of ndiswrapper is not recommended}}
                        ClockPM- Suprise- LLActRep- BwNot-
+
 
                LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
+
More information on using the Windows drivers with Ndiswrapper can be found here:[http://ubuntuforums.org/showthread.php?t=1329254].
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
+
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
+
        Capabilities: [100] Advanced Error Reporting <?>
+
        Capabilities: [140] Virtual Channel <?>
+
        Capabilities: [160] Device Serial Number 00-e0-4c-ff-fe-22-55-88
+
  
 
=== ThinkPads this card may be found in ===
 
=== ThinkPads this card may be found in ===
* {{Edge}} (AMD)
+
* {{Edge 13"}} (AMD)
 +
* {{Edge 14"}}, {{Edge 15"}}
 +
* {{L412}}, {{L512}}
 
* {{R400}}, {{R500}}
 
* {{R400}}, {{R500}}
* {{T400}}, {{T500}}
+
* {{SL410}}, {{SL510}}
* {{W500}},  
+
* {{T400}}, {{T410}}, {{T410s}}, {{T500}}, {{T510}}
* {{X200}}, {{X200s}}, {{X200 Tablet}}, {{X100e}}
+
* {{X100e}}, {{X200s}}, {{X200 Tablet}}, {{X201}}, {{X220}}
 
+
  
 
[[Category:Components]]
 
[[Category:Components]]

Latest revision as of 01:17, 29 December 2011

ThinkPad 11b/g/n Wireless LAN Mini-PCI Express Adapter II

This is a Mini-PCI Express WiFi Adapter, supported by a driver downloadable from Realtek.

Features

  • Chipset: Realtek RTL8192SE / RTL8188CE
  • IEEE Standards: 802.11b, 802.11g, 802.11n
  • 1x2 MIMO
  • PCI ID:
    • RTL8192SE: 10ec:8172
    • RTL8188CE: 10ec:8176

ThinkPad 11b/g/n Wireless LAN Mini-PCI Express Adapter II

Lenovo Partnumbers

  • 04W1409

Linux support

This chip is supported by the rtlwifi/rtl8192se driver, which was included in kernel in 3.0. There are two other options available, a Linux driver available for download from Realtek, or ndiswrapper. (Ubuntu 10.4 support it now).

ATTENTION!
If you are not comfortable with running development code and have the option, order your ThinkPad with a different WiFi adapter. All other available WiFi options are supported by in-kernel drivers in modern Linux distributions

rtlwifi

The rtlwifi driver which supports this chip was included in kernel 3.0. In some cases the RealTek driver below can be more reliable than the kernel driver.

Realtek Linux driver

The Realtek Linux driver for this chip can be downloaded from the Realtek website

More information about using the Realtek native driver in Ubuntu: [1]

Please note: use of this driver on Lenovo systems results in unpredictable fatal crashes on some systems! It's is *not* advised to choose this driver.

One method that appears to drastically reduce the crashes and connection drops is to comment out "-DENABLE_LPS" from the Makefiles while building the Realtek Linux driver. This also reduces the "noise" in the syslog kernel messages generated by LPS. However, it may reduce the battery life since LPS is an acronym for Low Power State.

Known problems:

* Connections randomly drop out after a few minutes (seems to be fixed in version 015)
  This problem has been observed with version 015 too. Realtek has been contacted about the problem.
* When using WPA Enterprise, entire system will freeze after a few minutes, requiring reboot
* Freezes also happen with Ad-Hoc mode from time to time

The RealTek driver maybe packaged for your distrobution, for example in the AUR for Arch.

ndiswrapper

NOTE!
The use of ndiswrapper is not recommended

More information on using the Windows drivers with Ndiswrapper can be found here:[2].

ThinkPads this card may be found in