Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I686 and x86_64 #19

Closed
fpilee opened this issue Nov 7, 2013 · 11 comments
Closed

I686 and x86_64 #19

fpilee opened this issue Nov 7, 2013 · 11 comments

Comments

@fpilee
Copy link

fpilee commented Nov 7, 2013

Hello :)
First of all thanks for maintaining the driver.

I have tried the driver in:
Ubuntu 12.04 i686(kernel 3.2),
Linux mint 13 x86_64 (kernel 3.2)
Ubuntu 13.10 i686 (kernel 3.11)
Ubuntu 13.10 x86_64 (kernel 3.11).

The old driver version(1.4mb) doesn't compile in Ubuntu 13.10 x86_64, the last version(700kb) compiles in Ubuntu 13.10 x86_64 but it doesn't work.

The old driver (1.4mb) works fine for ubuntus i686 ( kernel 3.2 and 3.11) the last driver version compiles but doesn't work.

In mint 13 x86_64 doesn't work any version driver

It's this correct XD? you have the same experience or i'm doing something wrong?

The procedure that i follow is:

$ make
manually send modules rtl8192cu, rtl8192c_common, rtlwifi to the blacklist in /etc/modprobe.d/blacklist.conf
$ sudo make install
$modprobe 8188eu

device info:
Bus 001 Device 003: ID 0bda:8179 Realtek Semiconductor Corp.
TL-WN723N

@lwfinger
Copy link
Owner

lwfinger commented Nov 8, 2013

Did you install the firmware for the latest version? Whenever something does not work, always check the dmesg output to see what is wrong.

There is no need to blacklist anything for this device. It does not share any USB IDs with any rtl8192cu deice.

On my x86_64 system, and on the Raspberry Pi, the latest version compiles and works on kernel 3.8 and higher. I have not tested anything as old as 3.2, but it should work.

@fpilee
Copy link
Author

fpilee commented Nov 8, 2013

In the latest driver version is present one file called rtl8188eufw.bin ,
I don't know how install it, i tried it copying in /lib/firmware/RTL8188EU but it doesn't work.(tested in Ubuntu 13.10 i686 kernel 3.11)
this is my dmesg output

[ 41.562889] usb 1-4: USB disconnect, device number 3
[ 47.800377] usb 1-4: new high-speed USB device number 4 using ehci-pci
[ 47.933330] usb 1-4: New USB device found, idVendor=0bda, idProduct=8179
[ 47.933344] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 47.933352] usb 1-4: Product: 802.11n NIC
[ 47.933359] usb 1-4: Manufacturer: Realtek
[ 47.933364] usb 1-4: SerialNumber: 00E04C0001
[ 47.935328] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0)
[ 48.071147] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

edit:
I cp to /lib/firmware/rtlwifi. Now it working.

@lwfinger
Copy link
Owner

lwfinger commented Nov 8, 2013

Exactly correct.

@fpilee
Copy link
Author

fpilee commented Nov 8, 2013

Hi XD. It doesn't compile in Ubuntu x86_64 13.10 kernel 3.11. It say something about x86_x32 and no binutil support and no rule. XD. Works only in Ubuntu I686... i will copy the message error.

edit:
config_x86_x32 enabled but no binutils support

@lwfinger
Copy link
Owner

lwfinger commented Nov 8, 2013

For whatever reason, your kernel headers and/or kernel configuration file are messed up. On a 64-bit system, CONFIG_X86_64=y and CONFIG_X86_32 is not defined. The message says that your system does not meet that criterion.

Switch to kernel 3.12 and the driver is built in.

@fpilee
Copy link
Author

fpilee commented Nov 8, 2013

Are you sure?
I switched to the kernel 3.12 using another usb adapter but the device still doesn't work...
dmesg doesn't show "wlan0: link is not ready"
But network manager doesn't show the wifi networks...

@lwfinger
Copy link
Owner

lwfinger commented Nov 8, 2013

Of course I am sure.

Did you install the firmware? What does dmesg say? Perhaps your distro does not turn on drivers in staging.

@fpilee
Copy link
Author

fpilee commented Nov 8, 2013

the firmware is copied in /lib/firmware/rtlwifi
dmesg says this (with another numers inside [] )
[ 47.800377] usb 1-4: new high-speed USB device number 4 using ehci-pci
[ 47.933330] usb 1-4: New USB device found, idVendor=0bda, idProduct=8179
[ 47.933344] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 47.933352] usb 1-4: Product: 802.11n NIC
[ 47.933359] usb 1-4: Manufacturer: Realtek
[ 47.933364] usb 1-4: SerialNumber: 00E04C0001

@fpilee fpilee closed this as completed Nov 8, 2013
@fpilee fpilee reopened this Nov 8, 2013
@fpilee
Copy link
Author

fpilee commented Nov 8, 2013

It's seem to be a bug with the compiler.
http://askubuntu.com/questions/367838/compiling-error-while-installing-realtek-rtl8111e-in-64-bit-13-10-config-x86-x

Now i can compile the driver, but i think is not included in the kernel 3.12. At least in ubuntu. Maybe we have to manually compile the kernel and check the support for the 8188eu in the menuconfig.

It soo slow. I think i gonna use Windows for now, or maybe i buy a new adapter. Thanks for the help

@lwfinger
Copy link
Owner

lwfinger commented Nov 8, 2013

That link reported a problem in directory naming, not a compiler error. If you use a name that has a space in it, such as "~/home/realtek Driver", you get the problem.

As to the Ubuntu configuration, you should be able to 'zcat /proc/config.gz | less' and fine the line with "8188EU" in it. That will tell is they have built the staging driver.

@fpilee
Copy link
Author

fpilee commented Nov 8, 2013

Could be a trouble of gcc or a trouble with the code. The old driver works more faster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants