补丁说明

补丁说明

我刚买了一台 HP Pavilion g6 笔记本电脑,并在 Windows 7 的同时安装了 Natty Narwhal。在 Windows 7 中,我的 WiFi 运行正常,但在 Ubuntu 中,它绝对(无论我做什么)都无法检测到我的家庭 WiFi 网络。

以下是“lspci”的输出:

earl@ubuntu:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (int gfx)
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 42)
00:14.1 IDE interface: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller (rev 40)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:16.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc M880G [Mobility Radeon HD 4200]
01:05.1 Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD 4200]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
03:00.0 Network controller: Ralink corp. Device 5390
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5209 (rev 01)
earl@ubuntu:~$ 

答案1

当前 Natty 内核不直接支持 RT5390PCIe。

您将需要下载一些驱动程序源代码并修补 Natty 内核。

不幸的是,您需要注意,每次更新 Natty 内核时,您都需要重复以下说明:

  1. 从以下网址下载 Linux 驱动程序 (RT5390PCIe)雷凌

  2. 解压。文件将被解压到 2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO 文件夹。

  3. 下载除 x64_86 补丁之外的所有补丁(假设您有 32 位系统),请访问openSUSE网站。

  4. 将补丁复制到文件夹 - 2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO

  5. 转到文件夹。

  6. 在 /os/linux/config.mk 文件中进行以下更改 - HAS_ANTENNA_DIVERSITY_SUPPORT=y(最初为 n)

  7. 现在在终端中运行以下命令:

补丁说明

patch -p0 < rt5390sta-2.4.0.4-config.patch
patch -p0 < rt5390sta-2.4.0.4-convert-devicename-to-wlanX.patch
patch -p0 < rt5390sta-2.4.0.4-reduce_debug_output.patch
patch -p0 < rt5390sta-2.4.0.4-remove-potential-conflicts-with-rt2860sta.patch
patch -p0 < rt5390sta-2.4.0.4-return_nonvoid_function.patch
patch -p0 < rt5390sta-2.4.0.4-WPA-mixed.patch
sudo su
cp RT2860STA.dat RT5390STA.dat
mkdir -p /etc/Wireless/RT5390STA
cp RT5390STA.dat /etc/Wireless/RT5390STA
make clean
make
make install
modprobe rt5390sta
exit

来源

答案2

为此需要连接到互联网。您是否已经进入系统->管理->硬件驱动程序并查看是否列出了 WiFi(如果没有列出)。我为您找到了制造商的网站和驱动程序。 http://www.ralinktech.com/en/04_support/support.php?sn=501 您的 WiFi 卡是 RT5390PCIeaka Ralink corp. Device 5390希望这会有所帮助!

相关内容