Page 1 of 5 123 ... LastLast
Results 1 to 10 of 43

Thread: Realtek RTL8191SU 10.04 driver not working

  1. #1
    Join Date
    Sep 2007
    Beans
    12

    Realtek RTL8191SU driver not working in 10.04

    I'm helping a friend whose old computer got the windows 2010 virus(?) and killed his install. I shrunk the partition and installed 10.04 but I couldn't get the usb wireless card to work properly.

    brand: Zonet
    model: zew2546
    chipset: Realtek RTL8191SU

    System is loading r8192s_usb for the device, but it just says "device not ready."

    I compiled the drivers from Realtek's website by extracting the archives and using "make". The 8191su drivers do not work, but the 8192su drivers work fine (these are a package 8712, 8188, 8191, 8192su). This creates a module called 8712u.ko.

    EDIT: I forgot to add that "make install" doesn't work. I get a "No rule to make target '/config'. Stop."

    So I test the new drivers:

    Code:
    sudo insmod 8712u.ko
    Nothing happens and lsmod shows it installed. I remove the conflicting module:

    Code:
    sudo rmmod r8192s_usb
    Reinsert the card and it works.

    This driver worked for both the 2.6.32 and 33 kernel. (I had tried the new kernel only to find that it doesn't include the r8192s driver or a replacement).

    How do I make ubuntu use the correct driver on start up and where should I put my compiled driver?

    I tried adding it to /etc/modules but I get an error on boot about creating dev/(null) or some such.
    Last edited by anothermikemiller; July 14th, 2010 at 07:44 PM. Reason: make easier to read

  2. #2
    Join Date
    Sep 2007
    Beans
    12

    Re: Realtek RTL8191SU 10.04 driver not working

    Well I still haven't quite figured this out. I apparently need to install the module into the correct folder for /etc/modules to see it and use some kind of config file.

    I remember using a tool to add and remove kernel drivers, but it was back on edgy or hardy. I'll see if I can find some info about general kernel compilation.

    Currently, I have a script that runs at logon issuing the remove and add commands. I really need this to run for all users, though.

  3. #3
    Join Date
    Sep 2007
    Beans
    12

    Re: Realtek RTL8191SU 10.04 driver not working

    There is a file to remove conflicting drivers so that something else (the one I built) is started instead.

    Just edit the file and add a new line:

    Code:
    gksudo gedit /etc/modprobe.d/blacklist.conf
    I added this at the end of the file:

    Code:
    #This driver doesn't work. Compiled and installed realtek 8712u.
    blacklist r8192s_usb
    Last edited by anothermikemiller; July 14th, 2010 at 07:56 AM.

  4. #4
    Join Date
    Sep 2007
    Beans
    12

    Re: Realtek RTL8191SU 10.04 driver not working

    This is my final solution.

    I replaced the defective driver with the new one.

    Code:
    sudo mv '/lib/modules/2.6.32-23-generic/kernel/drivers/staging/rtl8192su/r8192s_usb.ko' '/lib/modules/2.6.32-23-generic/kernel/drivers/staging/rtl8192su/r8192s_usb.ko.original'
    
    sudo cp '/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/8712u.ko' '/lib/modules/2.6.32-23-generic/kernel/drivers/staging/rtl8192su/r8192s_usb.ko
    You don't have to use blacklist.conf or any modprobe commands. You'll have to do this for each kernel version you have installed or if you update the kernel.

    I don't believe this is the correct way to fix this problem, but hopefully the driver gets fixed in the next kernel update.

  5. #5
    Join Date
    Jun 2010
    Location
    Arkansas
    Beans
    66
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Re: Realtek RTL8191SU 10.04 driver not working

    I was able to use the 8712u.ko driver using insmod. However, once I reboot, my wlan0 no longer exists and I have to make and insmod again for it to show up. I'm using an Asus n-10 usb wireless adaptor since I can't get my built in wireless to work. Which by the way is listed as eth1. How do I get usb adaptor to be the default as startup?

  6. #6
    Join Date
    Sep 2007
    Beans
    12

    Re: Realtek RTL8191SU 10.04 driver not working

    Did your 'make install' also fail? Actually, unless you do 'make clean' you won't have to run make again. You only need to build it once.

    You have to add a line to /etc/modules so that it will load. You can put the module into the kernel directory:

    lib/modules/2.6.XX-XX-generic/kernel/drivers/wireless/8712u/8712u.ko

    (where the X's are your kernel version and the bold is what you add)

    or somewhere in the /usr directory and symlink to it.

    Then there is a command to tell the system there is a new driver but I don't know what it is. That is where I got stuck.

    You can replace the broken driver like I did by just renaming the module.
    Last edited by anothermikemiller; July 16th, 2010 at 02:40 AM.

  7. #7
    Join Date
    Jun 2010
    Location
    Arkansas
    Beans
    66
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Realtek RTL8191SU 10.04 driver not working

    bump
    Last edited by baguahsing; July 18th, 2010 at 05:43 AM.

  8. #8
    Join Date
    Jun 2006
    Location
    State College, PA, USA
    Beans
    244
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Realtek RTL8191SU 10.04 driver not working

    Actually, it appears that the r8192s_usb module is the correct one but it is failing to download the firmware.

    dmesg shows a number of lines like this:

    Code:
    rtl819xU: --->FirmwareDownload92S()
    
    usb 1-1: firmware: requesting RTL8192SU/rtl8192sfw.bin
    rtl819xU:request firmware fail!
    
    rtl819xU:Firmware Download Fail!!a
    These is a bug report for this here:
    https://bugs.launchpad.net/ubuntu/+s...re/+bug/594248
    There is a link to a .deb linux-firmware package. It allowed me to scan but not to connect to my verizon actiontek WEP network. I posted some more details in that bug report. We should all click "This bug affects me." in that page.

  9. #9
    Join Date
    Dec 2005
    Beans
    15
    Distro
    Gutsy Gibbon Testing

    Re: Realtek RTL8191SU 10.04 driver not working

    Ref: rl8191 usb doggle

    Download drivers from realtek
    Expand to a build directory
    change directory to build directory/drivers extract *.tgz
    in the new directory "sudo make && make install"

    then:
    sudo gedit /etc/modprobe.d/blacklist.conf
    Add line "blacklist r8192s_usb"
    save and reboot
    The wireless should now be working.....

  10. #10
    Join Date
    May 2010
    Beans
    8

    Re: Realtek RTL8191SU 10.04 driver not working

    the firmware must be in a folder named "RTL8192SU"
    ( "/lib/firmware/RTL8192SU")

    Using this folder the firmware can be downloaded but with my Belkin RTL8192SU and kernel - staging drivers I'm always unable to gain a connection!
    After some time the password input box appear. There is no way to gain a connection, also tried putting the wifi router very near.

    Using Realtek drivers works, but only on 32bit os ( with some small problem eg. netspeed can't detect any speed and the reported quality signal goes from 10% to 90/100% )
    Amd64 os suddenly lock once the Realtek driver is loaded

    ( also tried using gentoo, fedora and mandriva with the same results )
    Last edited by Allxsan; September 23rd, 2010 at 08:29 PM.

Page 1 of 5 123 ... LastLast

Tags for this Thread

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
  •