Rt3060 linux ������� ����

sryze / rt3562sta-linux-3.x.patch

diff -ru —exclude ‘*.o’ —exclude ‘*.cmd’ —exclude ‘*.ko’ a/include/os/rt_linux.h b/include/os/rt_linux.h
— a/include/os/rt_linux.h 2010-07-09 16:30:08.000000000 +0700
+++ b/include/os/rt_linux.h 2014-05-03 22:39:59.846805867 +0700
@@ -271,8 +271,8 @@
typedef struct _RTMP_OS_FS_INFO_
<
— int fsuid;
— int fsgid;
+ kuid_t fsuid;
+ kgid_t fsgid;
mm_segment_t fs;
>RTMP_OS_FS_INFO;
diff -ru —exclude ‘*.o’ —exclude ‘*.cmd’ —exclude ‘*.ko’ a/os/linux/pci_main_dev.c b/os/linux/pci_main_dev.c
— a/os/linux/pci_main_dev.c 2010-07-09 23:48:00.000000000 +0700
+++ b/os/linux/pci_main_dev.c 2014-05-03 22:47:48.454799588 +0700
@@ -44,8 +44,8 @@
extern int rt28xx_close(IN struct net_device *net_dev);
extern int rt28xx_open(struct net_device *net_dev);
— static VOID __devexit rt2860_remove_one(struct pci_dev *pci_dev);
— static INT __devinit rt2860_probe(struct pci_dev *pci_dev, const struct pci_device_id *ent);
+ static VOID rt2860_remove_one(struct pci_dev *pci_dev);
+ static INT rt2860_probe(struct pci_dev *pci_dev, const struct pci_device_id *ent);
static void __exit rt2860_cleanup_module(void);
static int __init rt2860_init_module(void);
@@ -67,7 +67,7 @@
//
// Ralink PCI device table, include all supported chipsets
//
— static struct pci_device_id rt2860_pci_tbl[] __devinitdata =
+ static struct pci_device_id rt2860_pci_tbl[] =
<
#ifdef RT2860
, //RT28602.4G
@@ -111,9 +111,9 @@
id_table: rt2860_pci_tbl,
probe: rt2860_probe,
#if LINUX_VERSION_CODE >= 0x20412
— remove: __devexit_p(rt2860_remove_one),
+ remove: rt2860_remove_one,
#else
— remove: __devexit(rt2860_remove_one),
+ remove: rt2860_remove_one,
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
@@ -304,7 +304,7 @@
//
// PCI device probe & initialization function
//
— static INT __devinit rt2860_probe(
+ static INT rt2860_probe(
IN struct pci_dev *pci_dev,
IN const struct pci_device_id *pci_id)
<
@@ -446,7 +446,7 @@
>
— static VOID __devexit rt2860_remove_one(
+ static VOID rt2860_remove_one(
IN struct pci_dev *pci_dev)
<
PNET_DEV net_dev = pci_get_drvdata(pci_dev);

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Как заставить работать беспроводную карту Ralink RT3060?

Я новичок в Linux. Я использовал fedora и сейчас переключаюсь на Ubuntu. В Fedora моя беспроводная сетевая карта работала нормально после установки ОС (мне не нужно было ничего делать, чтобы она работала) В Ubuntu с lspci -v Команда, я получаю:

Но я не могу найти какую-либо беспроводную сеть. Что делать сейчас?

3 ответа

Для 11.10:

Кажется, есть проблема с беспроводной картой RT3060 в 11.10 — по умолчанию используется модуль ядра 2800, что неверно.

Подключитесь через фиксированную проводную ссылку и запустите:

Запустите следующее (скопируйте и вставьте) в терминал — NB, вам нужно будет делать это каждый раз, когда происходит обновление ядра.

Это должно заставить беспроводную карту работать нормально.

Если у вас беспроводные соединения, вам нужно отключить управление питанием.

изменить эту часть:

Дополнительная информация и возможные обходные пути для Wireless-N описаны в источнике этого ответа.

На 12.04:

  • Единственная официальная поддержка RT3060/3062/3562/2592 в Linux является экспериментальной и может быть не полностью функциональной.
    • Это обеспечивается rt2800pci драйвер из командыkernel.org/compat-wireless
    • Драйвер является самостоятельным приложением и, похоже, не использует код Ralink.

Вариант 1. Попробуйте установить последнююверсию пакета compat-wireless backports и посмотрите, работает ли он

Нажмите ниже, чтобы установить его через Центр программного обеспечения:

Или откройте терминал с помощью Ctrl + Alt + T и вставьте:

После завершения установки перезагрузите компьютер и посмотрите, работает ли ваша беспроводная карта лучше. Если нет, воспользуйтесь вариантом 2.

Вариант 2. Сборка и установка собственных драйверов Ralink

Сохранить в папку «Загрузки» (по умолчанию):

Откройте терминал с помощью Ctrl + Alt + T и вставьте следующее, строка за строкой:

Черный список встроенного драйвера и загрузить новый с:

Ваш RT3060 теперь должен быть исправен. Теперь вы можете открыть папку «Загрузки» в диспетчере файлов и удалить загруженный файл / папку Ralink:

Источник

Как заставить работать беспроводную карту Ralink RT3060?

Pokémon Kids TV | Я люблю Пикачу и Иви ~ Dance ver. ~ | Детская песня

Я новичок в Linux. Я использовал Fedora, а теперь перехожу на Ubuntu, чтобы попробовать. В Fedora моя беспроводная сетевая карта работала нормально с момента установки ОС (мне не нужно было ничего делать, чтобы она работала). В Ubuntu с lspci -v команда, я получаю:

Но я не могу найти беспроводную сеть. Что делать сейчас?

  • Следующие ресурсы могут помочь обновить эти ответы: ubuntuforums.org/showthread.php?t=2020237 answers.launchpad.net/ubuntu/+question/191011 wiki.debian.org/rt2800pci

Для 11.10:

Похоже, проблема с беспроводной картой RT3060 в версии 11.10 — по умолчанию используется модуль ядра 2800, что неверно.

Подключитесь через фиксированную проводную связь и запустите:

Выполните следующее (скопируйте и вставьте) в терминал — N.B. вам нужно будет делать это каждый раз при обновлении ядра.

Это должно заставить беспроводную карту работать нормально.

Если у вас пропадают беспроводные сети, вам необходимо отключить управление питанием.

изменить эту часть:

Дополнительная информация и возможные обходные пути Wireless-N описаны в источнике этого ответа.

Для 12.04:

  • Единственная официальная поддержка RT3060 / 3062/3562/2592 в Linux является экспериментальной и может быть не полностью функциональной.
    • Этот является предоставленный rt2800pci водитель из kernel.org/compat-wireless команда
    • Драйвер является независимым разработчиком и, похоже, не использует код Ralink.

Вариант 1. Попробуйте установить последнюю версию совместимость беспроводной пакет backports и посмотрите, работает ли он

Нажмите ниже, чтобы установить его через Центр программного обеспечения:

Или откройте терминал с помощью Ctrl + Alt + Т и вставьте:

После завершения установки перезагрузитесь и посмотрите, работает ли ваша беспроводная карта лучше. Если нет, следуйте варианту 2.

Вариант 2. Собрать и установить собственные драйверы Ralink.

Сохраните в папку загрузок (по умолчанию):

Откройте терминал с помощью Ctrl + Alt + Т , и вставьте следующее построчно:

Добавьте встроенный драйвер в черный список и загрузите новый с помощью:

Ваш RT3060 теперь должен работать. Теперь вы можете открыть папку Downloads в Диспетчере файлов и удалить загруженный файл / папку Ralink:

  • 1 Вам необходимо изменить строку «WPA2 = HAS_NATIVE_WPA_SUPPLICANT» на «WPA2 = HAS_NATIVE_WPA_SUPPLICANT_SUPPORT», иначе она не будет работать .

Одним из решений может быть обновление до Ubuntu 12.04.

Мой беспроводной адаптер ralink работает «из коробки» в Ubuntu 12.04 с чипсетом RT3062.

Хотя на момент написания статьи Ubuntu 12.04 Beta 2 еще не выпущен, по моему опыту, Ubuntu 12.04 Beta 2 зарекомендовал себя достаточно стабильно, и, безусловно, доставляет меньше хлопот, чем необходимость установки пропатченного драйвера каждый раз при обновлении ядра.

  • раньше работал у меня в Ubuntu 12.04, но теперь нет .

Источник

I’m running Ubuntu 12.04 with a ‘LWPX07 Edimax EW-7711In 150M 1T1R WL PCI Card’ which has a rt3060 chip. Out of the box the card is recognized as rt2800sta. I tried solution one, that didn’t work. Still the card connects to the wireless network, but it seems to slow to load any pages.

Then I tried solution 2, but then the network-manager doesn’t see any wireless device.

Am I missing a configuration step? How do I tell the network card which driver to use?

2 Answers 2

«You need to use sudo su and not just sudo so it creates the directories properly.» That is the problem with the solution describe above.

Well, as luck would have it, I am using the exact one on a Raspberry Pi. I also tested the Wireless device on 13.04 and after

2 minutes, the connection dropped. It was detected but not working on 12.04 and 12.10, so I have to grab the drivers from the official site and compile them.

Extract the downloaded file (You need to extract the file 2 times. the first because of the ZIP format, the other is for the tar.gz) and open the newly created folder. The folder should be called 2010_07_16_RT3062_Linux_STA_v2.4.0.0. I recommend extracting the folder in your Desktop folder or home folder so it is easier to get to. Then go to the terminal and type the following (Assuming it is on the desktop):

Blacklist the default module for this Wireless Driver (This way, when you use the new driver module it works without creating a problem with the older one):

Add at the bottom of the file the following line:

And save the file.

Now go to 2010_07_16_RT3062_Linux_STA_v2.4.0.0/os/linux/ and edit the file config.mk

Change the following variables:

and save the file.

NOTE: When opening the config.mk file, do not only change the HAS_NATIVE_WPA_SUPPLICANT to a value of y , but also do it with HAS_WPA_SUPPLICANT in case it has n . In my case it had y but it should be checked to make sure both WPA_SUPPLICANT are set to y .

Go to your main extracted folder (It should be the 2010_07_16_RT3062_Linux_STA_v2.4.0.0 folder) and type the following:

If everything compiled correctly do the following:

If step 7 runs without any problems, we add the module to the list of modules to loaded upon every boot:

and add a line at the end of the file that says rt3562sta.

Save and exit. I recommend rebooting to see and check the device.

Источник

Thread Tools
Display

Hello, i’m new to Linux.
After installation, I installed the driver for device 3060. I do not know what to do next for Wi-Fi.

00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:06.0 Network controller: RaLink Device 3060
01:07.0 Communication controller: Agere Systems V.92 56K WinModem (rev 02)
01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8600 GT] (rev a1)

eth0 Link encap:Ethernet HWaddr 00:E0:4C:78:08:41
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:19 Base address:0xa000

eth1 Link encap:Ethernet HWaddr 00:1D:7D:90:60:8F
inet6 addr: fe80::21d:7dff:fe90:608f/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:9400 errors:0 dropped:50 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:814020 (794.9 Kb) TX bytes:1004 (1004.0 b)
Interrupt:40 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1161 errors:0 dropped:0 overruns:0 frame:0
TX packets:1161 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:91983 (89.8 Kb) TX bytes:91983 (89.8 Kb)

l0 Interface doesn’t support scanning.

I would have preferred to see the results of

instead of just lspci, but assuming it turns up that your network controller has ID [1814:3060] you can try to install the package
rt3562sta-kmp- (you are running openSUSE 11.4? You did not tell us) from the repository
Index of /repositories/driver:/wireless/openSUSE_11.4 and see if this helps.

But before installing anything you better check your kernel version with

and ask back in case of any doubt.

Do not follow my post #2 for now, but report what exactly you did install as a driver for 3060.

lspci -nnk
00:00.0 RAM memory [0500]: nVidia Corporation MCP61 Memory Controller [10de:03ea] (rev a1)
Subsystem: Giga-byte Technology Device [1458:5001]
00:01.0 ISA bridge [0601]: nVidia Corporation MCP61 LPC Bridge [10de:03e0] (rev a2)
Subsystem: Giga-byte Technology Device [1458:0c11]
00:01.1 SMBus [0c05]: nVidia Corporation MCP61 SMBus [10de:03eb] (rev a2)
Subsystem: Giga-byte Technology Device [1458:0c11]
Kernel driver in use: nForce2_smbus
00:01.2 RAM memory [0500]: nVidia Corporation MCP61 Memory Controller [10de:03f5] (rev a2)
Subsystem: Giga-byte Technology Device [1458:0c11]
00:02.0 USB Controller [0c03]: nVidia Corporation MCP61 USB Controller [10de:03f1] (rev a3)
Subsystem: Giga-byte Technology Device [1458:5004]
Kernel driver in use: ohci_hcd
00:02.1 USB Controller [0c03]: nVidia Corporation MCP61 USB Controller [10de:03f2] (rev a3)
Subsystem: Giga-byte Technology Device [1458:5004]
Kernel driver in use: ehci_hcd
00:04.0 PCI bridge [0604]: nVidia Corporation MCP61 PCI bridge [10de:03f3] (rev a1)
00:05.0 Audio device [0403]: nVidia Corporation MCP61 High Definition Audio [10de:03f0] (rev a2)
Subsystem: Giga-byte Technology Device [1458:a002]
Kernel driver in use: HDA Intel
00:06.0 IDE interface [0101]: nVidia Corporation MCP61 IDE [10de:03ec] (rev a2)
Subsystem: Giga-byte Technology Device [1458:5002]
Kernel driver in use: pata_amd
00:07.0 Bridge [0680]: nVidia Corporation MCP61 Ethernet [10de:03ef] (rev a2)
Subsystem: Giga-byte Technology Device [1458:e000]
Kernel driver in use: forcedeth
00:08.0 IDE interface [0101]: nVidia Corporation MCP61 SATA Controller [10de:03f6] (rev a2)
Subsystem: Giga-byte Technology Device [1458:b002]
Kernel driver in use: sata_nv
00:08.1 IDE interface [0101]: nVidia Corporation MCP61 SATA Controller [10de:03f6] (rev a2)
Subsystem: Giga-byte Technology Device [1458:b002]
Kernel driver in use: sata_nv
00:09.0 PCI bridge [0604]: nVidia Corporation MCP61 PCI Express bridge [10de:03e8] (rev a2)
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
Kernel driver in use: k8temp
01:06.0 Network controller [0280]: RaLink Device [1814:3060]
Subsystem: D-Link System Inc Device [1186:3c04]
Kernel driver in use: rt2860
01:07.0 Communication controller [0780]: Agere Systems V.92 56K WinModem [11c1:048c] (rev 02)
Subsystem: Agere Systems Device [11c1:044c]
01:09.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139]
Kernel driver in use: 8139too
02:00.0 VGA compatible controller [0300]: nVidia Corporation G84 [GeForce 8600 GT] [10de:0402] (rev a1)
Kernel driver in use: nvidia

uname -a
Linux linux-8ud0 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 i686 athlon i386 GNU/Linux

Yes, i’m running openSUSE 11.4

I downloaded
RT3062PCI/mPCI/CB/PCIe(RT3060/RT3062/RT3562/RT3592)
and
Firmware RT28XX/RT30XX PCI/mPCI/PCIe/CardBus series (RT2760/RT2790/RT2860/RT2890/RT3060/RT3062/RT3562/RT2860/RT2760/RT2890/RT2790/RT3090)

driver in -> /usr/src/
rt2860.bin in -> /lib/firmware

in config.mk
HAS_WPA_SUPPLICANT=y
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

cd /usr/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217
sudo make && make install

look for
1. /etc/Wireless/RT2860STA/RT2860STA.dat (configuration data)
2. /lib/firmware/rt2860.bin (firmware)
3. /lib/modules/*yourkernel*/extra/rt3562sta.ko (RT2860 driver)

sudo depmod -a
sudo modprobe rt3562sta

blacklist rt2800pci
blacklist rt2800lib
blacklist rt2x00pci
blacklist rt2x00lib
blacklist rt2x00usb

Источник

Читайте также:  Smart cards windows 10
Оцените статью