Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 52

Thread: Realtek RTL8192SU driver compiling issues

  1. #21
    Join Date
    Mar 2010
    Beans
    39

    Re: Realtek RTL8192SU driver compiling issues

    Quote Originally Posted by chili555 View Post
    Please try this. I just did and it worked for me:
    Code:
    cd correct/install/directory
    sudo su
    make clean
    make
    make install
    exit
    Please let me know.
    That worked!!!! Thanks for helping me out yet again, chili555!

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

    Re: Realtek RTL8192SU driver compiling issues

    That worked!!!! Thanks for helping
    Great! Glad it's working now.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  3. #23
    Join Date
    Aug 2010
    Beans
    4

    Re: Realtek RTL8192SU driver compiling issues

    Hi.... I got a ENCORE ENUWI-NX2 and can't make it work in any way.....

    lsusb:
    Code:
    Bus 001 Device 004: ID 0bda:8192 Realtek Semiconductor Corp.
    dmesg:
    Code:
    [  160.521181] 3  2  1  0  4  8  7  6  5  
    [  160.533479] Dot11d_Init()
    [  160.533488] rtl819xU:unknown rf chip, can't set channel map in function:rtl819x_set_channel_map()
    [  160.533492] 
    [  160.576483] rtl819xU: --->FirmwareDownload92S()
    [  160.576488] 
    [  160.576499] usb 1-2: firmware: requesting RTL8192SU/rtl8192sfw.bin
    [  160.580576] rtl819xU:request firmware fail!
    [  160.580583] 
    [  160.580890] rtl819xU:Firmware Download Fail!!4544
    [  160.580895] 
    [  160.596981] rtl819xU: --->FirmwareDownload92S()
    [  160.596987] 
    [  160.596997] usb 1-2: firmware: requesting RTL8192SU/rtl8192sfw.bin
    [  160.601675] rtl819xU:request firmware fail!
    [  160.601680] 
    [  160.601870] rtl819xU:Firmware Download Fail!!4544
    [  160.601873] 
    [  160.601880] rtl819xU:ERR!!! _rtl8192_up(): initialization is failed!
    [  160.601883] 
    [  160.627619] rtl819xU: --->FirmwareDownload92S()
    [  160.627627] 
    [  160.627643] usb 1-2: firmware: requesting RTL8192SU/rtl8192sfw.bin
    [  160.632267] rtl819xU:request firmware fail!
    [  160.632273] 
    [  160.632517] rtl819xU:Firmware Download Fail!!4544
    [  160.632521] 
    [  160.651370] rtl819xU: --->FirmwareDownload92S()
    [  160.651377] 
    [  160.651393] usb 1-2: firmware: requesting RTL8192SU/rtl8192sfw.bin
    [  160.665266] rtl819xU:request firmware fail!
    [  160.665271] 
    [  160.666132] rtl819xU:Firmware Download Fail!!4544
    [  160.666137] 
    [  160.666150] rtl819xU:ERR!!! _rtl8192_up(): initialization is failed!
    [  160.666154] 
    [  174.253212] rtl819xU: --->FirmwareDownload92S()
    [  174.253218] 
    [  174.253229] usb 1-2: firmware: requesting RTL8192SU/rtl8192sfw.bin
    [  174.257562] rtl819xU:request firmware fail!
    [  174.257570] 
    [  174.257875] rtl819xU:Firmware Download Fail!!4544
    [  174.257880] 
    [  174.276722] rtl819xU: --->FirmwareDownload92S()
    [  174.276729] 
    [  174.276744] usb 1-2: firmware: requesting RTL8192SU/rtl8192sfw.bin
    [  174.280983] rtl819xU:request firmware fail!
    [  174.280989] 
    [  174.281374] rtl819xU:Firmware Download Fail!!4544
    [  174.281378] 
    [  174.281388] rtl819xU:ERR!!! _rtl8192_up(): initialization is failed!
    [  174.281392] 
    [  456.651185] rtl819xU: --->FirmwareDownload92S()
    [  456.651190] 
    [  456.651201] usb 1-2: firmware: requesting RTL8192SU/rtl8192sfw.bin
    [  456.655422] rtl819xU:request firmware fail!
    [  456.655427] 
    [  456.656114] rtl819xU:Firmware Download Fail!!4544
    [  456.656120] 
    [  456.674200] rtl819xU: --->FirmwareDownload92S()
    [  456.674208] 
    [  456.674223] usb 1-2: firmware: requesting RTL8192SU/rtl8192sfw.bin
    [  456.679349] rtl819xU:request firmware fail!
    [  456.679354] 
    [  456.679589] rtl819xU:Firmware Download Fail!!4544
    [  456.679593] 
    [  456.679601] rtl819xU:ERR!!! _rtl8192_up(): initialization is failed!
    [  456.679606]
    Running Lucid (10.04) kernel 2.6.32-21-generic


    I followed these steps http://samiux.blogspot.com/2010/05/h...sb-dongle.html (with the sudo su modification...)

    but simply doesn't work

    iwconfig:
    Code:
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    wlan0     802.11b/g  Mode:Managed  Access Point: Not-Associated   
              Bit Rate:0 kb/s   
              Retry min limit:7   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
    sudo ifconfig wlan0 up:
    Code:
    SIOCSIFFLAGS: Temporarily unavaible resource
    any ideas???

  4. #24
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Realtek RTL8192SU driver compiling issues

    First, let's try to fix the firmware issue. Let's see if the needed firmware is actually on your system:
    Code:
    sudo updatedb
    locate rtl8192sfw.bin
    This will take a few moments, please be patient.

    You probably have the firmware in /lib/firmware/RTL8192SE. However, your driver is looking in /lib/firmware/RTL8192SU.
    usb 1-2: firmware: requesting RTL8192SU/rtl8192sfw.bin
    If you confirm that that's the case, let's copy over the firmware to the correct directory:
    Code:
    sudo mkdir /lib/firmware/RTL8192SU
    sudo cp /lib/firmware/RTL8192SE/rtl8192sfw.bin /lib/firmware/RTL8192SU
    Reboot and let us have your report. Include the dmesg listings as above.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  5. #25
    Join Date
    Mar 2008
    Beans
    6

    Unhappy Re: Realtek RTL8192SU driver compiling issues

    Hi all, I followed this thread and many others and lost the whole week end trying to figure out how to install this ****** usb network adapter without success.
    First of all: if i want to use Kubuntu 10.10 or 10.04 what USB wireless adaptor would work out of the box??
    secondly: do you suggest I simply throw the Belkin Surf adaptor I have in the trash and/or try to sell it on e-bay to some windows user?
    I tried everything but my computer does not want to recognize the usb adapter no matter what I do.
    iwconfig says there are no wireless adaptors,
    lsusb sees one belkin device and the regular usb hubs
    when I try to make install something goes wrong all the time (I get a bunch of no directory, no permission or whatever messages)
    Moreover, is there a way to turn the thing on or it simply turns on by itself?
    when I grep the dmesg I see the usb device gets connected buy I don't see it as a network adapter..

    Help

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

    Re: Realtek RTL8192SU driver compiling issues

    Quote Originally Posted by Edoaigor View Post
    Hi all, I followed this thread and many others and lost the whole week end trying to figure out how to install this ****** usb network adapter without success.
    First of all: if i want to use Kubuntu 10.10 or 10.04 what USB wireless adaptor would work out of the box??
    secondly: do you suggest I simply throw the Belkin Surf adaptor I have in the trash and/or try to sell it on e-bay to some windows user?
    I tried everything but my computer does not want to recognize the usb adapter no matter what I do.
    iwconfig says there are no wireless adaptors,
    lsusb sees one belkin device and the regular usb hubs
    when I try to make install something goes wrong all the time (I get a bunch of no directory, no permission or whatever messages)
    Moreover, is there a way to turn the thing on or it simply turns on by itself?
    when I grep the dmesg I see the usb device gets connected buy I don't see it as a network adapter..

    Help
    Would you please start a new thread and post:
    Code:
    lsusb
    Send me a private message if I don't catch it right away.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  7. #27
    Join Date
    Jan 2011
    Beans
    1

    Re: Realtek RTL8192SU driver compiling issues

    Hmm. Try this way:

    Code:
    cd /usr/src/linux
    sudo make xconfig
    Device Drivers -> Stagging Drivers -> RealTek RTL8712U[*]
    sudo make && make modules_install
    
    sudo reboot
    driver should load and dmesg should print:

    Code:
    [    2.008661] usb 1-4: New USB device found, idVendor=0bda, idProduct=8171
    [    2.008818] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    2.008974] usb 1-4: Product: RTL8188S WLAN Adapter 
    [    2.009132] usb 1-4: Manufacturer: Manufacturer Realtek 
    [    2.009286] usb 1-4: SerialNumber: 00e04c000001
    [    2.009520] usb 1-4: usb_probe_device
    [    2.009523] usb 1-4: configuration #1 chosen from 1 choice
    [    2.009787] usb 1-4: adding 1-4:1.0 (config #1, interface 0)
    [    2.009853] r8712u 1-4:1.0: usb_probe_interface
    [    2.009855] r8712u 1-4:1.0: usb_probe_interface - got id
    [    2.009857] r8712u: DriverVersion: v7_0.20100831
    [    2.010023] r8712u: register rtl8712_netdev_ops to netdev_ops
    [    2.010178] r8712u: USB_SPEED_HIGH with 4 endpoints
    [    2.010658] r8712u: Boot from EFUSE: Autoload OK
    Ok, go forward.

    Code:
    sudo ifconfig wlan0 up
    sudo iwlist scan
    sudo iwconfig wlan0 essid [type name of your wlan ssid]
    sudo iwlist scan
    sudo dhcpcd
    Your network should be running now.
    Problems I am facing now are how to force Wicd to detect that dongle.

    I've added this script to ~/.bash_profile
    Code:
    sudo ifconfig wlan0 up
    sudo iwlist scan
    sudo iwconfig wlan0 essid [type name of your wlan ssid]
    sudo iwlist scan
    sudo dhcpcd
    So each time I am login in, connection is gettin up, as you cant manage it with Wicd or network manager.


    All those things were going on:
    Gentoo (sorry for that, just want to help here), kernel - 2.6.37, dhcpcd 5.2.8, wireless-tools 29

    Update:
    Wifi-radar works fine, no idea why Wicd is slacking
    Last edited by nazriel; January 17th, 2011 at 10:10 AM. Reason: update

  8. #28
    Join Date
    Aug 2010
    Beans
    407
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Realtek RTL8192SU driver compiling issues

    It looks like a LOT of people have been similarly burned by this Ubuntu bug:
    - Ubuntu Karmic 32bit Realtek 8192SU driver
    - Realtek RTL8192SU driver compiling issues
    - [STAGING] realtek rtl8192su chipset based USB wireless devices fail to work
    - Mvix Solido driver (rtl8712/8172) on 10.04
    - Firmware for Realtek 8192
    etc.

    To help others, here's my summary of my particular workaround to this Ubuntu bug.

    Quote Originally Posted by rocksockdoc View Post
    Thanks. That helped a lot to understand and work around this (apparently known) Ubuntu bug which sidetracked me for a day.

    I detailed my efforts to insert an external USB WiFi radio into my laptop in this thread:
    - How do we tell Ubuntu 10.04 to use a DIFFERENT wireless radio card?

    On my version of a pristine Ubuntu 10.04 laptop installation:
    Code:
    $uname -a
    ...
    Linux library 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC 2011 i686 GNU/Linux
    At first, Ubuntu would not recognize the Amped UA600 USB WiFi radio adapter when it was plugged into the laptop USB port.

    Code:
    $ ifconfig | grep wlan   
    ...
    eth0 Link encap:Ethernet  HWaddr 00:a0:c3:3a:93:38
    wlan0 Link encap:Ethernet  HWaddr 00:0a:8d:37:b3:ba
    First, I determined the device identifier using 'list short USB":
    Code:
    $ lsusb
    ...
    Bus 002 Device 002: ID 0bda:8172 Realtek Semiconductor Corp.
    Then, in the /var/log/messages (dmesg | tail), I determined what driver Ubuntu was (mistakenly) looking for:
    Code:
    usb 2-1: new high speed USB device using ehci_hcd and address 2
    usb 2-1: configuration #1 chosen from 1 choice
    r8192s_usb: module is from the staging directory, the quality is unknown, you have been warned. <=== huh?
     ...
    Linux kernel driver for RTL8192 based WLAN cards
    Copyright (c) 2007-2008, Realsil Wlan
    ...
    rtl8192_proc_init_one+0x25/0x460 [r8192s_usb]
    rtl8192_usb_probe+0x148/0x191 [r8192s_usb]       <==== NOTE: This will be useful for the modinfo command syntax!
    ...
    usbcore: registered new interface driver rtl819xU   <=== NOTICE the "U" (Ubuntu has only the "E")
    usb 2-1: firmware: requesting RTL8192SU/rtl8192sfw.bin
    ...
    usb 2-1: USB disconnect, address 3
    ...
    Placing that keyword into "module information", I could see the desired driver:
    Code:
    $ modinfo r8192s_usb
    ...
    filename:       /lib/modules/2.6.32-31-generic/kernel/drivers/staging/rtl8192su/r8192s_usb.ko
    description:    Linux driver for Realtek RTL8192 USB WiFi cards
    ...
    A quick look in the /lib/modules/2.6.32-31-generic/kernel/drivers/net/wireless directory shows an "rtl818x" directory with the following contents:

    Code:
    $ ls -alsF /lib/modules/2.6.32-31-generic/kernel/drivers/net/wireless/rtl818x/*
    ...
    44 -rw-r--r--  1 root root 43176 2011-04-08 16:36 rtl8180.ko
    72 -rw-r--r--  1 root root 73640 2011-04-08 16:36 rtl8187.ko
    The problem appears to be that Ubuntu is looking for the following location (which doesn't exist):
    Code:
    $ ls /lib/firmware/RTL8192SU/rtl8192sfw_bin
    ...
    ls: cannot access /lib/firmware/RTL8192SU/rtl8192sfw_bin: No such file or directory
    The file exists (rtl8192sfw_bin); it's just in a different location on Ubuntu:
    Code:
    $ ls -alsF /lib/firmware/RTL8192SE
    ...
    /lib/firmware/RTL8192SE:
    total 244
    -rw-r--r-- 1 root root 75984 2010-12-14 08:26 rtl8192sfw492.bin
    -rw-r--r-- 1 root root 89616 2010-12-14 08:26 rtl8192sfw74.bin
    -rw-r--r-- 1 root root 80976 2010-12-14 08:26 rtl8192sfw.bin
    Post #35 and post #36 of this thread provided a (different sized, same-named file):
    - [STAGING] realtek rtl8192su chipset based USB wireless devices fail to work



    Here's what I did to obtain that differently-sized file (I guess I should call it a "driver"):
    Code:
    http://launchpadlibrarian.net/37387612/rtl8192sfw.bin.gz
        $ gunzip rtl8192sfw.bin.gz
        $ sudo mkdir /lib/firmware/RTL8192SU
        $ sudo mv rtl8192sfw.bin /lib/firmware/RTL8192SU/.
    Finally, I was able to get Ubuntu to recognize the external WiFi radio when plugged in:
    Code:
    $ ifconfig | grep wlan
    ...
    wlan0     Link encap:Ethernet  HWaddr 00:0a:8d:37:b3:ba
    wlan1     Link encap:Ethernet  HWaddr f8:78:8c:a1:45:f4
    Now that the driver is finally working, I can get back to the original question asked in that thread:
    - How do we tell Ubuntu 10.04 to use a DIFFERENT wireless radio card?


  9. #29
    Join Date
    Jul 2009
    Location
    PA. u.s.a.
    Beans
    829
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Realtek RTL8192SU driver compiling issues

    Sort of a hijack but I think relevant. My RTL8192SU adapter (TrendNet TEW649UB)works out of the box with Natty. Great!! Until I put the machine in suspend. It'll suspend fine but won't wake up from suspend. I can unplug then replug the adapter and it will come alive and work perfectly. I have a thread about this in the Natty testing forum. This adapter suspends and resumes flawlessly in 10.10 with the firmware patch. I have an ath9k adapter and an old TrendNet TEW424UB which will suspend and resume perfectly in Natty. I'm guessing there's something with the R8712U module and I assume the 2.6.38 kernel that are not happy together. The problem occurs on a Gigabyte desktop machine and an IBM Thinkpad so it's not just one chipset that's the problem. It also occurs with Natty 32 bit and Xubuntu 32 bit. I probably should file a bug report but I'm not sure how to go about it. Apport is not activated.

  10. #30
    Join Date
    Mar 2010
    Beans
    39

    Re: Realtek RTL8192SU driver compiling issues

    I always fear updating my kernel since every time I have trouble getting my wireless card working again.

    chili555, you've always helped me before some I'm hoping you'll be able to give me a hand again. I'm still running Lucid. I updated the kernel and recompiled the driver as you said earlier in this thread (which worked last time) but it didn't work. I thought maybe it had something to do with the driver being old so I downloaded the newest version of the driver and again compiled it like before but still no luck. At this point I'm stumped. I've been messing around with it for a couple hours but I can't seem to get it working. Is it possible the new and old version of the drivers are conflicting?

    Thanks

Page 3 of 6 FirstFirst 12345 ... 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
  •