Page 1 of 6 123 ... LastLast
Results 1 to 10 of 52

Thread: Realtek RTL8192SU driver compiling issues

  1. #1
    Join Date
    Mar 2010
    Beans
    39

    Realtek RTL8192SU driver compiling issues

    My wifi issue has been driving me crazy for days and am hoping the good people here might be able to help me out. I'm a Linux newbie, so please be gentle.

    My card has the Realtek rtl8192su usb chipset. First I tried using ndiswrapper which worked except I had to do it every time I restarted the computer. I figured if I had to spend a lot of time getting it to work correctly I might as well do it natively in Linux. I emailed Realtek and got the newest driver (rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.2010 0202.tar.gz). After much trial and error and reading many forums I got it to work using chili555's directions on the first page of this thread: http://ubuntuforums.org/showthread.php?t=1329254. The problem is it didn't keep after the reboot. I'm assuming this has something to do with the module. I don't see it in /etc/modules folder but honestly I'm not sure if I'm supposed to. I'd like to add it into /etc/modules through gedit like topsykretts from the same thread, but of course I wouldn't be able to add the line r8192se_pci since I'm using a different chipset. I don't know where to find the information on what to use, though.

    Another issue from the directions given on that same thread:

    from terminal cd back to the installed directory

    then

    sudo ./wlan0up


    When I do this ./wlan0up just says "No such file or directory".

    If I didn't provide enough info, I'm sorry. Please let me know what other information you need. I'd like to add that on the computer I'm having these issues with I'm not technically running Ubuntu... It's Linux Mint. To my understanding there should be no difference when it comes to these drivers though.

    Thanks for any help you can give me.

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,043
    Distro
    Ubuntu Development Release

    Re: Realtek RTL8192SU driver compiling issues

    Does this kick your wireless device to life?
    Code:
    sudo modprobe r8192se_pci
    If it it the correct module, then you can find out with:
    Code:
    iwconfig
    If you have a wireless interface, wlan0, perhaps, then add it to /etc/modules on its own line:
    Code:
    r8192se_pci
    Proofread, save and close your text editor. Does it work after a reboot? If not, post back and we'll fine tune.

  3. #3
    Join Date
    Mar 2010
    Beans
    39

    Re: Realtek RTL8192SU driver compiling issues

    When I do the sudo modprobe I get:

    WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
    WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
    WARNING: /etc/modprobe.d/blacklist line 6: ignoring bad line starting with 'blacklist.conf'
    WARNING: /etc/modprobe.d/blacklist line 7: ignoring bad line starting with 'blacklist.conf'
    WARNING: /etc/modprobe.d/blacklist line 8: ignoring bad line starting with 'blacklist.conf'
    FATAL: Module r8192se_pci not found.

    And with iwconfig I get:

    lo no wireless extensions.

    eth0 no wireless extensions.


    :-/

  4. #4
    Join Date
    Mar 2010
    Location
    Adelaide, Australia
    Beans
    2
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Realtek RTL8192SU driver compiling issues

    Not promising I'll actually be of any help, but I'm trying to get the same chipset running, is there a public link I can get that firmware from?

  5. #5
    Join Date
    Mar 2010
    Beans
    39

    Re: Realtek RTL8192SU driver compiling issues


  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,043
    Distro
    Ubuntu Development Release

    Re: Realtek RTL8192SU driver compiling issues

    rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.2010 0202.tar.gz
    r8192se_pci
    Oops! We have a mismatch here. When you compiled the module, what was the rXXX.ko file that got created? Not r8192se_pci, evidently. If you can't see for sure in your folder, rtl8712etc. you may have to recompile. Post back with your findings if you are unsure.

    If you can find the module, simply do:
    Code:
    sudo modprobe some_module
    Of course, substitute the name of the module you built, without the .ko extension. If your wireless comes to life, add the module:
    Code:
    sudo gedit /etc/modules
    Add a new separate line:
    Code:
    some_module
    Now, we need to clean up a few other things:
    Code:
    sudo mv /etc/modprobe.d/ndiswrapper  /etc/modprobe.d/ndiswrapper.conf
    By any chance, is ndiswrapper fighting the native module you built?

    In order to clean up blacklist, we need to see it. Please post:
    Code:
    cat /etc/modprobe.d/blacklist
    We will fix it.

  7. #7
    Join Date
    Mar 2010
    Beans
    39

    Re: Realtek RTL8192SU driver compiling issues

    Quote Originally Posted by chili555 View Post
    Oops! We have a mismatch here. When you compiled the module, what was the rXXX.ko file that got created? Not r8192se_pci, evidently. If you can't see for sure in your folder, rtl8712etc. you may have to recompile. Post back with your findings if you are unsure.

    If you can find the module, simply do:
    Code:
    sudo modprobe some_module
    Of course, substitute the name of the module you built, without the .ko extension. If your wireless comes to life, add the module:
    Code:
    sudo gedit /etc/modules
    Add a new separate line:
    Code:
    some_module
    Now, we need to clean up a few other things:
    Code:
    sudo mv /etc/modprobe.d/ndiswrapper  /etc/modprobe.d/ndiswrapper.conf
    By any chance, is ndiswrapper fighting the native module you built?

    In order to clean up blacklist, we need to see it. Please post:
    Code:
    cat /etc/modprobe.d/blacklist
    We will fix it.
    I'm just going to post everything since I don't want to leave out anything important. I recompiled and got this:

    Code:
    make ARCH=i386 CROSS_COMPILE= -C /lib/modules/2.6.31-14-generic/build M=/home/htpc/Realtek  modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
      CC [M]  /home/htpc/Realtek/cmd/rtl871x_cmd.o
      CC [M]  /home/htpc/Realtek/cmd/rtl8712_cmd.o
      CC [M]  /home/htpc/Realtek/crypto/rtl871x_security.o
      CC [M]  /home/htpc/Realtek/debug/rtl871x_debug.o
      CC [M]  /home/htpc/Realtek/eeprom/rtl871x_eeprom.o
      CC [M]  /home/htpc/Realtek/efuse/rtl8712_efuse.o
      CC [M]  /home/htpc/Realtek/hal/rtl8712/hal_init.o
      CC [M]  /home/htpc/Realtek/hal/rtl8712/usb_ops.o
      CC [M]  /home/htpc/Realtek/hal/rtl8712/usb_ops_linux.o
      CC [M]  /home/htpc/Realtek/hal/rtl8712/usb_halinit.o
      CC [M]  /home/htpc/Realtek/io/rtl871x_io.o
      CC [M]  /home/htpc/Realtek/io/rtl8712_io.o
      CC [M]  /home/htpc/Realtek/ioctl/rtl871x_ioctl_query.o
      CC [M]  /home/htpc/Realtek/ioctl/rtl871x_ioctl_set.o
      CC [M]  /home/htpc/Realtek/ioctl/rtl871x_ioctl_linux.o
      CC [M]  /home/htpc/Realtek/ioctl/rtl871x_ioctl_rtl.o
      CC [M]  /home/htpc/Realtek/led/rtl8712_led.o
      CC [M]  /home/htpc/Realtek/mlme/ieee80211.o
      CC [M]  /home/htpc/Realtek/mlme/rtl871x_mlme.o
      CC [M]  /home/htpc/Realtek/mp/rtl871x_mp.o
      CC [M]  /home/htpc/Realtek/mp/rtl871x_mp_ioctl.o
      CC [M]  /home/htpc/Realtek/os_dep/linux/io_linux.o
      CC [M]  /home/htpc/Realtek/os_dep/linux/xmit_linux.o
      CC [M]  /home/htpc/Realtek/os_dep/linux/cmd_linux.o
      CC [M]  /home/htpc/Realtek/os_dep/linux/mlme_linux.o
      CC [M]  /home/htpc/Realtek/os_dep/linux/recv_linux.o
      CC [M]  /home/htpc/Realtek/os_intf/osdep_service.o
      CC [M]  /home/htpc/Realtek/os_intf/linux/os_intfs.o
      CC [M]  /home/htpc/Realtek/os_intf/linux/usb_intf.o
      CC [M]  /home/htpc/Realtek/pwrctrl/rtl871x_pwrctrl.o
      CC [M]  /home/htpc/Realtek/recv/rtl871x_recv.o
      CC [M]  /home/htpc/Realtek/recv/rtl8712_recv.o
      CC [M]  /home/htpc/Realtek/rf/rtl871x_rf.o
      CC [M]  /home/htpc/Realtek/rf/rtl8712_rf.o
      CC [M]  /home/htpc/Realtek/sta_mgt/rtl871x_sta_mgt.o
      CC [M]  /home/htpc/Realtek/xmit/rtl871x_xmit.o
      CC [M]  /home/htpc/Realtek/xmit/rtl8712_xmit.o
      LD [M]  /home/htpc/Realtek/8712u.o
      Building modules, stage 2.
      MODPOST 1 modules
      LD [M]  /home/htpc/Realtek/8712u.ko
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
    So it appears 8712u is the module.

    I used sudo mv to clean up the ndiswrapper stuff.

    I did the modprobe and iwconfig and got:



    Code:
    htpc@htpc ~ $ sudo modprobe 8712u
    [sudo] password for htpc: 
    WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
    WARNING: /etc/modprobe.d/blacklist line 6: ignoring bad line starting with 'blacklist.conf'
    WARNING: /etc/modprobe.d/blacklist line 7: ignoring bad line starting with 'blacklist.conf'
    WARNING: /etc/modprobe.d/blacklist line 8: ignoring bad line starting with 'blacklist.conf'
    htpc@htpc ~ $ iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    wlan1     unassociated  Nickname:"rtl_wifi"
              Mode:Auto  Access Point: Not-Associated   Sensitivity:0/0  
              Retry:off   RTS thr:off   Fragment thr:off
              Power Management:off
              Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    Needless to say my wireless didn't come to life :-/. I stuck the module in gedit /etc/modules anyway. Is that OK or should I take it out?


    Did the cat /etc/modprobe.d/blacklist and got:

    Code:
    htpc@htpc ~ $ cat /etc/modprobe.d/blacklist
    blacklist bcm43xx
    blacklist b43
    blacklist b43legacy
    blacklist ssb
    blacklist bcm43xx
    blacklist.conf b43
    blacklist.conf b43legacy
    blacklist.conf ssb
    blacklist bcm43xx
    blacklist b43
    blacklist b43legacy
    blacklist ssb
    I don't know if ndiswrapper is fighting with the linux drivers. It shouldn't because I did a complete uninstall on it but maybe there's something that synaptic missed?

    BTW. I'm using Wicd instead of network manager. Just thought I'd mention that in case it might affect something.

  8. #8
    Join Date
    Mar 2010
    Location
    Adelaide, Australia
    Beans
    2
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Realtek RTL8192SU driver compiling issues

    Can't say I've had much luck either. Went through the whole make install process (received a ton of warnings during the make, yours seemed to go a lot smoother...). Still when I plug in my USB receiver, dmesg shows it trying to load a bunch of other modules, with warnings about them being staging modules and then how it's unable to get firmware it wants for it. Pretty much identical to the output in this post: http://ubuntuforums.org/showthread.p...ight=RTL8192SU
    I'd get pretty much all the same output for all those commands he's running, so my wifi APPEARED to be there, but couldn't actually ever see anything.

    So I added those modules, and (after checking what else was in modprobe -l) the old pci one and ndiswrapper to the blacklist, I made a new blacklist-wireless.conf file because using just blacklist didn't see, to be working and gave that warning all the time.

    Code:
    robbo@robbo-mythtv:~$ cat /etc/modprobe.d/blacklist-wireless.conf
    blacklist ieee80211_crypt
    blacklist ieee80211_crypt_wep
    blacklist ieee80211_crypt_tkip
    blacklist ieee80211_crypt_ccmp
    blacklist ieee80211_rsl
    blacklist r8192s_usb
    blacklist r8192se_pci
    blacklist ndiswrapper
    So after a quick reboot, I plug in my USB wireless and... I get some lighting activity followed by a complete system hang. I was tailing the dmesg output to see what it was loading, looked to have been picking up some r87... stuff but due to the hang, I couldn't save the output.

    Not sure why I didn't think to ask til now, but are those 32 or 64bit drivers? I'm running 64bit

    Who knows, if you try a few things I did there, you might get it all up and running if that's all my problem was.

  9. #9
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,043
    Distro
    Ubuntu Development Release

    Re: Realtek RTL8192SU driver compiling issues

    @NeverSage --
    Needless to say my wireless didn't come to life :-/.
    Isn't this clearly a wireless interface with the hint that it's nickname is rtl-wifi?
    wlan1 unassociated Nickname:"rtl_wifi"
    Mode:Auto Access Point: Not-Associated Sensitivity:0/0
    Retry:off RTS thr:off Fragment thr:off
    Power Management:off
    Link Quality=0/100 Signal level=0 dBm Noise level=0 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0
    Do you see networks when you click the Wicd icon?You can safely do:
    Code:
    sudo gedit /etc/modprobe.d/blacklist
    Amend the file to:
    Code:
    blacklist bcm43xx
    blacklist b43
    blacklist b43legacy
    blacklist ssb
    Proofread, save and close gedit. Also, please do:
    Code:
    sudo mv /etc/modprobe.d/blacklist  /etc/modprobe.d/blacklist.conf

  10. #10
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,043
    Distro
    Ubuntu Development Release

    Re: Realtek RTL8192SU driver compiling issues

    @wannabeerased --

    I'm really confused! The file you compiled is supposed to have the firmware in it. I wonder why it didn't get loaded. Would you please start a new thread and start by telling me what the file is that you compiled, specifically the version. Also:
    Code:
    uname -r
    If you have or can get:
    Code:
    lsusb
    Thanks.

Page 1 of 6 123 ... 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
  •