Форум русскоязычного сообщества Ubuntu


Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества?
Помогите нам с документацией!

Автор Тема: Установка драйвера wifi rt3090 (12.04)  (Прочитано 3775 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Artemius

  • Автор темы
  • Участник
  • *
  • Сообщений: 178
    • Просмотр профиля
Установка драйвера wifi rt3090 (12.04)
« : 28 Апреля 2012, 12:29:57 »
Скачал драйвер: 2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO с официального сайта
Не выполняется команда make


root@artemhp-Lenovo-G570:/home/artemhp/wifi# make
make -C tools
make[1]: Entering directory `/home/artemhp/wifi/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/artemhp/wifi/tools'
/home/artemhp/wifi/tools/bin2h
cp -f os/linux/Makefile.6 /home/artemhp/wifi/os/linux/Makefile
make -C /lib/modules/3.2.0-24-generic-pae/build SUBDIRS=/home/artemhp/wifi/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-24-generic-pae'
  CC [M]  /home/artemhp/wifi/os/linux/../../common/rtmp_mcu.o
/home/artemhp/wifi/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicLoadFirmware’:
/home/artemhp/wifi/os/linux/../../common/rtmp_mcu.c:352:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/home/artemhp/wifi/os/linux/../../common/rtmp_mcu.c:355:2: warning: passing argument 1 of ‘writel’ makes integer from pointer without a cast [enabled by default]
/usr/src/linux-headers-3.2.0-24-generic-pae/arch/x86/include/asm/io.h:63:1: note: expected ‘unsigned int’ but argument is of type ‘ULONG *’
/home/artemhp/wifi/os/linux/../../common/rtmp_mcu.c:356:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
  CC [M]  /home/artemhp/wifi/os/linux/../../os/linux/cfg80211.o
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:679:2: warning: ‘enum tx_power_setting’ declared inside parameter list [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:679:2: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:678:29: error: parameter 2 (‘Type’) has incomplete type
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:676:12: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:1355:2: warning: initialization from incompatible pointer type [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:1355:2: warning: (near initialization for ‘CFG80211_Ops.set_channel’) [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:1378:2: warning: initialization from incompatible pointer type [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:1378:2: warning: (near initialization for ‘CFG80211_Ops.add_key’) [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:1379:2: warning: initialization from incompatible pointer type [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:1379:2: warning: (near initialization for ‘CFG80211_Ops.get_key’) [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:1380:2: warning: initialization from incompatible pointer type [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:1380:2: warning: (near initialization for ‘CFG80211_Ops.del_key’) [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:1381:2: warning: initialization from incompatible pointer type [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:1381:2: warning: (near initialization for ‘CFG80211_Ops.set_default_key’) [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:1388:2: warning: initialization from incompatible pointer type [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:1388:2: warning: (near initialization for ‘CFG80211_Ops.rfkill_poll’) [enabled by default]
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_Scaning’:
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:2062:2: error: too few arguments to function ‘ieee80211_channel_to_frequency’
include/net/cfg80211.h:2224:12: note: declared here
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c: In function ‘CFG80211_SupBandInit’:
/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.c:2622:3: error: too few arguments to function ‘ieee80211_channel_to_frequency’
include/net/cfg80211.h:2224:12: note: declared here
make[2]: *** [/home/artemhp/wifi/os/linux/../../os/linux/cfg80211.o] Error 1
make[1]: *** [_module_/home/artemhp/wifi/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-24-generic-pae'
make: *** [LINUX] Error 2


Присматриваюсь к руководству по установке:
$make         
   # compile driver source code
# To fix "error: too few arguments to function ¡¥iwe_stream_add_event"
  => $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c

Не понятно мне, куда писать $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c
Если пишу прямо в терминал, то ничего толкового не происходит: patch: **** Can't open patch file os/linux/sta_ioctl.c.patch : No such file or directory

Оффлайн vasilisc

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 2563
  • г.Северодвинск - строим АПЛ
    • Просмотр профиля
    • Авторские статьи об OpenSource
Re: Установка драйвера wifi rt3090 (12.04)
« Ответ #1 : 28 Апреля 2012, 14:22:22 »
дайте сюда
sudo lspci -nnk

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Установка драйвера wifi rt3090 (12.04)
« Ответ #2 : 28 Апреля 2012, 14:23:29 »
ядро 3.2.0-24 не возможно эти маке
Wars ~.o

Оффлайн Artemius

  • Автор темы
  • Участник
  • *
  • Сообщений: 178
    • Просмотр профиля
Re: Установка драйвера wifi rt3090 (12.04)
« Ответ #3 : 28 Апреля 2012, 15:13:21 »
дайте сюда
sudo lspci -nnk

# sudo lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
Subsystem: Lenovo Device [17aa:3975]
Kernel driver in use: agpgart-intel
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
Subsystem: Lenovo Device [17aa:397a]
Kernel driver in use: i915
Kernel modules: i915
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
Subsystem: Lenovo Device [17aa:3975]
Kernel driver in use: mei
Kernel modules: mei
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
Subsystem: Lenovo Device [17aa:3975]
Kernel driver in use: ehci_hcd
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
Subsystem: Lenovo Device [17aa:3975]
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
Subsystem: Lenovo Device [17aa:3975]
Kernel driver in use: ehci_hcd
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 05)
Subsystem: Lenovo Device [17aa:3975]
Kernel modules: iTCO_wdt
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 05)
Subsystem: Lenovo Device [17aa:3975]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
Subsystem: Lenovo Device [17aa:3975]
Kernel modules: i2c-i801
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Robson CE [AMD Radeon HD 6300 Series] [1002:68e4]
Subsystem: Lenovo Device [17aa:397a]
Kernel driver in use: fglrx_pci
Kernel modules: fglrx, radeon
07:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8152 v2.0 Fast Ethernet [1969:2062] (rev c1)
Subsystem: Lenovo Device [17aa:3979]
Kernel driver in use: atl1c
Kernel modules: atl1c
08:00.0 Network controller [0280]: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe [1814:3090]
Subsystem: Lenovo Device [17aa:f101]
Kernel modules: rt2800pci

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Wars ~.o

Оффлайн vasilisc

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 2563
  • г.Северодвинск - строим АПЛ
    • Просмотр профиля
    • Авторские статьи об OpenSource
Re: Установка драйвера wifi rt3090 (12.04)
« Ответ #5 : 28 Апреля 2012, 16:38:43 »
вот же ваша карточка
08:00.0 Network controller [0280]: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe [1814:3090]
   Subsystem: Lenovo Device [17aa:f101]
   Kernel modules: rt2800pci

и в чём проблема?

Оффлайн Artemius

  • Автор темы
  • Участник
  • *
  • Сообщений: 178
    • Просмотр профиля
Re: Установка драйвера wifi rt3090 (12.04)
« Ответ #6 : 28 Апреля 2012, 16:48:48 »
вот же ваша карточка
08:00.0 Network controller [0280]: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe [1814:3090]
   Subsystem: Lenovo Device [17aa:f101]
   Kernel modules: rt2800pci

и в чём проблема?

$ iwconfig
lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
         
eth0      no wireless extensions.

artemhp@work:~$ sudo ip link set wlan0 up
RTNETLINK answers: Input/output error

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Wars ~.o

Оффлайн Artemius

  • Автор темы
  • Участник
  • *
  • Сообщений: 178
    • Просмотр профиля
Re: Установка драйвера wifi rt3090 (12.04)
« Ответ #8 : 28 Апреля 2012, 17:01:06 »
https://forum.ubuntu.ru/index.php?topic=189017.0

Да, спасибо, я по вашему руководству пытаюсь что то сделать, только пока не получается. Взять к примеру то, что до команды:
echo "blacklist rt2860sta" | sudo tee /etc/modprobe.d/rt2800pci.confУ меня отображалось
$ lsmod | grep "^rt2"
rt2800pci              18340  0
rt2800lib              53264  1 rt2800pci
rt2x00pci              14202  1 rt2800pci
rt2x00lib              48858  3 rt2800pci,rt2800lib,rt2x00pci

А после применения - пустота.


А дальше, wlan0 не поднимается, как уже писал выше

 

Страница сгенерирована за 0.136 секунд. Запросов: 22.