Page 5 of 8 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 79

Thread: Ralink RT5390 in 11.04

  1. #41
    Join Date
    Nov 2012
    Beans
    19

    Re: Ralink RT5390 in 11.04

    Quote Originally Posted by chili555 View Post
    I suggest you follow the steps in post #9, but for 12.04, omit the patches.
    Thanks! But which patches to miss? In post number 9?

  2. #42
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,786
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ralink RT5390 in 11.04

    Yes. This right here is post #42 in the thread. Go back to page 1 of this thread and scroll down to post #9. There's the exact procedure!

    Wherever it says to download and apply patches, you should skip as I am fairly sure they are not required in 12.04.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #43
    Join Date
    Nov 2012
    Beans
    19

    Re: Ralink RT5390 in 11.04

    I have some problems. I executed this command "make install" from post #9 and show next massage
    Code:
    root@hp650-HP-650-Notebook-PC:/home/hp650/RT5390# make install
    make -C /home/hp650/RT5390/os/linux -f Makefile.6 install
    mkdir: cannot create directory `/etc/Wireless': File exists
    make[1]: Entering directory `/home/hp650/RT5390/os/linux'
    rm -rf /etc/Wireless/RT2860STA
    mkdir /etc/Wireless/RT2860STA
    cp /home/hp650/RT5390/RT2860STA.dat /etc/Wireless/RT2860STA/.
    install -d /lib/modules/3.2.0-29-generic-pae/kernel/drivers/net/wireless/
    install -m 644 -c rt5390sta.ko /lib/modules/3.2.0-29-generic-pae/kernel/drivers/net/wireless/
    install: cannot stat `rt5390sta.ko': No such file or directory
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/home/hp650/RT5390/os/linux'
    make: *** [install] Error 2
    After that I executed next command

    Code:
    root@hp650-HP-650-Notebook-PC:/home/hp650/RT5390# modprobe rt5390sta
    FATAL: Module rt5390sta not found.
    What happed? I did all from post #9

  4. #44
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,786
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ralink RT5390 in 11.04

    Quote Originally Posted by columb View Post

    What happed? I did all from post #9
    Please back up to 'make' and show us the whole sequence.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #45
    Join Date
    Nov 2012
    Beans
    19

    Re: Ralink RT5390 in 11.04

    Dear friend! I added some comments cause my ubuntu language is russian. I do everything as it was written in the message #9. i am full loh(nerd) in ubuntu. =) But i want to know this OS and work with it.
    command make clear

    Code:
    cp -f os/linux/Makefile.clean os/linux/Makefile
    make -C os/linux clean
    make[1]:Вход в каталог `/home/hp650/RT5390/os/linux' // This in russian, mean Enter into dir
    rm -f ../../common/*.o
    rm -f ../../common/.*.{cmd,flags,d}
    rm -f ../../os/linux/*.{o,ko,mod.{o,c}}
    rm -f ../../os/linux/.*.{cmd,flags,d}
    rm -fr ../../os/linux/.tmp_versions
    rm -f ../../os/linux/Module.symvers
    rm -f ../../os/linux/Modules.symvers
    rm -f ../../os/linux/Module.markers
    rm -f ../../os/linux/modules.order
    rm -f ../../chips/*.o
    rm -f ../../chips/.*.{cmd,flags,d}
    rm -f ../../ate/common/*.o
    rm -f ../../ate/common/.*.{cmd,flags,d}
    rm -f ../../ate/chips/*.o
    rm -f ../../ate/chips/.*.{cmd,flags,d}
    rm -f ../../sta/*.o
    rm -f ../../sta/.*.{cmd,flags,d}
    make[1]:Выход из каталога `/home/hp650/RT5390/os/linux' // Exit from dir
    rm -rf os/linux/Makefile
    command make

    Code:
    root@hp650-HP-650-Notebook-PC:/home/hp650/RT5390# make
    make -C tools
    make[1]: Вход в каталог `/home/hp650/RT5390/tools'  // Enter into  dir
    gcc -g bin2h.c -o bin2h
    make[1]: Выход из каталога `/home/hp650/RT5390/tools'  // Exit from dir
    /home/hp650/RT5390/tools/bin2h
    cp -f os/linux/Makefile.6 /home/hp650/RT5390/os/linux/Makefile
    make -C /lib/modules/3.2.0-29-generic-pae/build SUBDIRS=/home/hp650/RT5390/os/linux modules
    make[1]: Вход в каталог `/usr/src/linux-headers-3.2.0-29-generic-pae' // Enter into dir
      CC [M]  /home/hp650/RT5390/os/linux/../../common/crypt_md5.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/crypt_sha2.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/crypt_hmac.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/crypt_aes.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/crypt_arc4.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/mlme.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/drs_grp.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_wep.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/action.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_data.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/rtmp_init.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/rtmp_init_inf.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_tkip.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_aes.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_sync.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/eeprom.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_sanity.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_info.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_cfg.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_wpa.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_radar.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/spectrum.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/rtmp_timer.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/rt_channel.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_profile.o
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_asic.o
    /home/hp650/RT5390/os/linux/../../common/cmm_asic.c: В функции(in a function)   «AsicGetAutoAgcOffsetForTemperatureSensor»:
    /home/hp650/RT5390/os/linux/../../common/cmm_asic.c:1233:28: предупреждение(warning): assignment discards «const» qualifier from pointer target type [по умолчанию включена](by default on)
    /home/hp650/RT5390/os/linux/../../common/cmm_asic.c:1246:28: предупреждение(warning): assignment discards «const» qualifier from pointer target type [по умолчанию включена](by default on)
      CC [M]  /home/hp650/RT5390/os/linux/../../common/cmm_cmd.o
      CC [M]  /home/hp650/RT5390/os/linux/../../chips/rtmp_chip.o
    /home/hp650/RT5390/os/linux/../../chips/rtmp_chip.c: В функции (in a function)  «HWAntennaDiversityEnable»:
    /home/hp650/RT5390/os/linux/../../chips/rtmp_chip.c:2010:2: ошибка(error): «regs» undeclared (first use in this function)
    /home/hp650/RT5390/os/linux/../../chips/rtmp_chip.c:2010:2: замечание(admonition
    ): each undeclared identifier is reported only once for each function it appears in
    make[2]: *** [/home/hp650/RT5390/os/linux/../../chips/rtmp_chip.o] Ошибка 1 (error 1)
    make[1]: *** [_module_/home/hp650/RT5390/os/linux] Ошибка 2(error 2)
    make[1]: Выход из каталога(exit from dir) `/usr/src/linux-headers-3.2.0-29-generic-pae' 
    make: *** [LINUX] Ошибка 2(error 2)
    thanks for the help!
    Last edited by columb; November 16th, 2012 at 10:40 PM.

  6. #46
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,786
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ralink RT5390 in 11.04

    I added some comments cause my ubuntu language is russian.
    Thank you; it helps me.
    /home/hp650/RT5390/os/linux/../../chips/rtmp_chip.c:2010:2: ошибка(error): «regs» undeclared (first use in this function)
    /home/hp650/RT5390/os/linux/../../chips/rtmp_chip.c:2010:2: замечание(admonition
    ): each undeclared identifier is reported only once for each function it appears in
    make[2]: *** [/home/hp650/RT5390/os/linux/../../chips/rtmp_chip.o] Ошибка 1 (error 1)
    make[1]: *** [_module_/home/hp650/RT5390/os/linux] Ошибка 2(error 2)
    make[1]: Выход из каталога(exit from dir) `/usr/src/linux-headers-3.2.0-29-generic-pae'
    make: *** [LINUX] Ошибка 2(error 2)
    Whenever you see 'Ошибка' at the 'make' part, you may as well stop. Nothing afterwards is going to work, as you've seen.

    Which version of the driver did you build? I went here: http://www.ralinktech.com/en/04_supp...ort.php?sn=501 and downloaded RT539x PCIe which is version 2.5.0.3 and it makes with many warnings but no errors (Ошибка, correct?) on a 12.04 live CD running kernel 3.2.0-23-generic-pae. I suggest you download it and try it.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #47
    Join Date
    Nov 2012
    Beans
    19

    Re: Ralink RT5390 in 11.04

    1. I downloaded that driver from official site, where you were.
    2. I installed OS from flash, not from CD. ISO downloaded from official site ubuntu desktop 12.04
    3. Ошибка = it means only error, but is not warning.

    Code:
    /home/hp650/RT5390/os/linux/../../chips/rtmp_chip.c:2010:2: ошибка(It's error!): «regs» undeclared (first use in this function)
    /home/hp650/RT5390/os/linux/../../chips/rtmp_chip.c:2010:2: замечание(maybe it warning! ): each undeclared identifier is reported only once for each function it appears in
    make[2]: *** [/home/hp650/RT5390/os/linux/../../chips/rtmp_chip.o] Ошибка 1 (It's error!)
    make[1]: *** [_module_/home/hp650/RT5390/os/linux] Ошибка 2(It's error!)
    make[1]: Выход из каталога(exit from dir) `/usr/src/linux-headers-3.2.0-29-generic-pae' 
    make: *** [LINUX] Ошибка 2(It's error!)
    Last edited by columb; November 16th, 2012 at 11:40 PM.

  8. #48
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,786
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ralink RT5390 in 11.04

    I don't understand at all. It even makes on my 12.10 system with warnings and no errors. Is yours a 64-bit system?
    Code:
    arch
    I'm not sure this will build on 64-bit.

    Are the prerequisites installed correctly?
    Code:
    sudo  dpkg -s build-essential | head -n3
    sudo  dpkg -s linux-headers-generic | head -n3
    Did the built-in rt2800pci not work for you?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  9. #49
    Join Date
    Nov 2012
    Beans
    19

    Re: Ralink RT5390 in 11.04

    I repeat all from post #9. But that errors repeat too. =(
    But in config.mk
    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n <- was, I change on "y"

    upd

    command arch return i686

    command sudo dpkg -s build-essential | head -n3 return

    Package: build-essential
    Status: install ok installed
    Priority: optional

    command sudo dpkg -s linux-headers-generic | head -n3

    Package: linux-headers-generic
    Status: install ok installed
    Priority: optional
    Last edited by columb; November 17th, 2012 at 12:12 AM.

  10. #50
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,786
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Ralink RT5390 in 11.04

    I'm sorry; I still think you have an older version. Do you still have the bz2 you extracted? What version is it? Please try this: https://dl.dropbox.com/u/58267392/20....5.0.3_DPO.zip

    Notice it is a zip; you can right-click it and select Extract Here. Please be sure to make the change in os/linux/config.mk.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

Page 5 of 8 FirstFirst ... 34567 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •