Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: EDUP EP-N8508, RTL8192cu chipset, can't compile driver

  1. #1
    Join Date
    Jul 2006
    Beans
    16

    EDUP EP-N8508, RTL8192cu chipset, can't compile driver

    OK, so I got this new nano usb wireless wifi adapter with the RTL8192cu chipset and have been trying to compile the drivers for it. Every time I try and compile it I get the same errors. I have searched up and down for a solution on google and on these forums. It seems to have worked for people if they have the latest headers and build essentials, but even after I updated those and rebooted even, I get the same errors.

    Here's an output of the make
    Code:
    make ARCH=i386 CROSS_COMPILE= -C /lib/modules/2.6.37-8-generic/build M=/home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726  modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.37-8-generic'
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_cmd.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_security.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_debug.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_io.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_ioctl_query.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_ioctl_set.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/ieee80211.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_mlme.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_mlme_ext.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_wlan_util.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_pwrctrl.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_rf.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_recv.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_sta_mgt.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/rtw_xmit.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/efuse/rtl8712_efuse.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/core/led/rtl8192c_led.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/hal/hal_init.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/hal/rtl8192c_d_hal_init.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/hal/rtl8192c/rtl8192c_phycfg.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/hal/rtl8192c/rtl8192c_rf6052.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/hal/rtl8192c/rtl8192c_dm.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/hal/rtl8192c/rtl8192c_rxdesc.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/hal/rtl8192c/usb/usb_ops_linux.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/hal/rtl8192c/usb/usb_halinit.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/hal/rtl8192c/usb/Hal8192CUHWImg.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/hal/rtl8192c/usb/rtl8192cu_xmit.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/hal/rtl8192c/usb/rtl8192cu_recv.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/hal/rtl8192c/usb/rtl8192c_cmd.o
      CC [M]  /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/os_dep/osdep_service.o
    /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/os_dep/osdep_service.c: In function ‘_rwlock_init’:
    /home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/os_dep/osdep_service.c:291:2: error: implicit declaration of function ‘init_MUTEX’
    make[2]: *** [/home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726/os_dep/osdep_service.o] Error 1
    make[1]: *** [_module_/home/tg37/Desktop/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.37-8-generic'
    make: *** [modules] Error 2
    What's funny to me is that it seems to have a problem with it comes to the file osdep_service.c, which reminds me of the problem I had with a previous usb wifi dongle which had an rtl8172 chipset. It used to not compile until I came across this link: http://samiux.blogspot.com/2010/05/h...sb-dongle.html It helped me get my old dongle driver working perfectly. I'm wondering if I'm having a similar problem again. But I'm just not experienced enough to make heads or tails of a lot of this. This is a pastebin of the header file http://pastebin.com/ffWwyzEw

    If anybody has any ideas for me to get this driver to compile, feel free to suggest them. I would really like to try and get this up and running.

  2. #2
    Join Date
    Jul 2006
    Beans
    16

    Re: EDUP EP-N8508, RTL8192cu chipset, can't compile driver

    Hate to just bump this, but I really would like to get this up and running.

    Running Natty 11.04 with 2.6.37-8-generic.

  3. #3
    Join Date
    Mar 2007
    Location
    Smoky Bay
    Beans
    Hidden!
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: EDUP EP-N8508, RTL8192cu chipset, can't compile driver

    Just compiled it from scratch in Ubuntu 10.04.1 LTS (lucid) where it works as a second wireless adapter. Kernel: 2.6.32-26-generic-pae.

  4. #4
    Join Date
    Jul 2006
    Beans
    16

    Re: EDUP EP-N8508, RTL8192cu chipset, can't compile driver

    Yeah, after some research, it seems to be something revolving around these newer headers. It's kind of frustrating that I can't seem to find a solution yet.

  5. #5
    Join Date
    Mar 2007
    Location
    Smoky Bay
    Beans
    Hidden!
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: EDUP EP-N8508, RTL8192cu chipset, can't compile driver

    Yes, it seems to be something about these newer headers. Any particular reason to run 11.04 alpha?

  6. #6
    Join Date
    Aug 2007
    Beans
    2

    Re: EDUP EP-N8508, RTL8192cu chipset, can't compile driver

    just replace the init_MUTEX(prwlock) in os_dep/osdep_service.c with a sema_init(prwlock,1)

    works like a charm

  7. #7
    Join Date
    Jun 2010
    Location
    Brazil
    Beans
    40
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: EDUP EP-N8508, RTL8192cu chipset, can't compile driver

    New drivers released yesterday, gonna try now.

    PS.: I believe it's init_MUTEX(pmutex) and sema_init(pmutex,1)

    EDIT: Works great on Ubuntu 10.10 i386 (tested on 2.6.35-generic and 2.6.37-liquorix), will test on AMD64 later and post the results
    Last edited by pedro.nariyoshi; January 29th, 2011 at 02:33 PM.

  8. #8
    Join Date
    Jun 2010
    Location
    Brazil
    Beans
    40
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: EDUP EP-N8508, RTL8192cu chipset, can't compile driver

    Yes, they work (on both i386 and AMD64)

    Very exciting

  9. #9
    Join Date
    Feb 2008
    Location
    Upstate NY
    Beans
    121
    Distro
    Ubuntu Development Release

    Re: EDUP EP-N8508, RTL8192cu chipset, can't compile driver

    Hello all, anyone out there get this to work on a 2.6.38 on up? I am using driver v2.0.1324.20110126. Would also like to get this working on 11.04! Still get error 2 after changing init_MUTEX(pmutex) (although seems to make it much further then without the change). Any and all help is greatly appreciated.

    Gary

  10. #10
    Join Date
    Jul 2009
    Location
    Dayton Ohio USA
    Beans
    1,070
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: EDUP EP-N8508, RTL8192cu chipset, can't compile driver

    I'm using an Edimax 7811 that has the same chip and it works perfectly. Download the driver from Realtek and decompress the tar.gz folder.

    http://www.realtek.com.tw/downloads/...true#RTL8192CU Navigate to the driver folder in the decompress folder and open a terminal. Type
    Code:
    make
    Code:
    sudo make install
    Code:
    sudo modprobe 8192cu
    This worked for the Edimax and probably should work for same chips. After a new upgrade in kernel you'll need to refresh your install. In the RTL8192 folder open a terminal and
    Code:
    make clean
    make
    sudo make install
    sudo modprobe 8192cu
    Last edited by MooPi; April 9th, 2011 at 03:14 PM.
    It's okay, I'm a limo driver

Page 1 of 4 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
  •