RTL8723AE Realtek wirless driver hell :(

On 10/02/2012 12:06 PM, yuzbasi volkan wrote:
>
> cont’d…
> With the drivers I downloaded from the ubuntu link, What I have tried
> is
>
> cd rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012
> make
>
> and I got following error message:
> make: *** /lib/modules/3.4.6-2.10-desktop/build: No such file or
> directory. Stop.

That message arises because you have not installed the kernel headers.

Thank you for your reply. Is this how I install the headers:

Open Yast, go in patterns and install following:

Base Development
Linux Kernel Development
C/C++ Development

I found that information in another thread, but the installation requires 1Gb which seems a lot? Can you confirm before I go ahead?
Thank you for your help.

On 10/03/2012 06:36 AM, yuzbasi volkan wrote:
>
> lwfinger;2492659 Wrote:
>> On 10/02/2012 12:06 PM, yuzbasi volkan wrote:
>>
>>
>> That message arises because you have not installed the kernel headers.
>
> Thank you for your reply. Is this how I install the headers:
>
> Open Yast, go in patterns and install following:
>
> [X] Base Development
> [X] Linux Kernel Development
> [X] C/C++ Development
>
> I found that information in another thread, but the installation
> requires 1Gb which seems a lot? Can you confirm before I go ahead?
> Thank you for your help.

I build kernels nearly every day, but I have none of those packages installed. I
do have some of the ingredients, but not all. In your case, I would suggest the
Kernel Development pattern. It gets the full kernel source, which includes the
headers. If you want to save on disk space, you could install the
kernel-xxx-devel package, where xxx is either desktop or default, depending on
which kernel you have installed as shown by ‘uname -r’.

Would love to get my RTL8723AE working on SUSE 12.2…was able to find a compatible driver for Ubuntu, but would much prefer to be using SUSE. Please post a solution when you achieve one.

I installed it but encountered more problems during the driver installation and gave up. In the meantime I realized I can connect the laptop to the wireless through my phone, which is an acceptable temporary solution while waiting for the suse drivers… As the previous poster said, would be great if you can post it here when the new drivers are available…
Thanks!

Hey Larry,
I was wondering if it would be possible for you to guide me as to how to install the driver myself before it going through wireless-testing (or patch the kernel, or the kernel module or whatever it may be :D).
I’m running Arch Linux (I hope this isn’t a showstopper), which is running kernel 3.5.5.

Thanks in advance,
Dale

On 10/06/2012 12:36 PM, dwijnand wrote:
Hey Larry,
> I was wondering if it would be possible for you to guide me as to how
> to install the driver myself before it going through wireless-testing
> (or patch the kernel, or the kernel module or whatever it may be :D).
> I’m running Arch Linux (I hope this isn’t a showstopper), which is
> running kernel 3.5.5.

Very little of what I do is limited to a certain distro. Arch Linux will be OK;
however, I will not know the exact details of certain steps. First install
kernel 3.6.0 from http://www.kernel.org. Click on the full sources link,
download to some location, change directory to your home, and issue the command


tar jxvf <path_to_downloaded_file>

Next you will need to create a configuration file. If supported, the easiest way
is to change directory to the new sources, and


zcat /proc/config.gz > .config

If Arch does not have /proc/config.gz, you will need to find out how to clone
your current configuration. Once you have a ,config, then make the new kernel.
You will likely be asked some questions for the parameters in 3.6.0, but not in
3.5.5. The default answer should be OK. Build and install the new kernel using
whatever procedures Arch needs. Install the new one using a method that does not
destroy the 3.5.5 kernel. If anything has gone wrong, you will need it.

My the time you have built a working 3.6.0 kernel, I will have posted a link for
the patch needed to add driver rtl8723ae.

On 10/06/2012 02:42 PM, Larry Finger wrote:
> My the time you have built a working 3.6.0 kernel, I will have posted a link for
> the patch needed to add driver rtl8723ae.

I have the information you need. First download

http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2012-10-03.tar.bz2

Save it in your home directory. Next download

http://www.lwfinger.com/realtek_drivers/rtl8723ae_master_patch

and also save that in your home directory. Next, run the commands


tar jxvf compat-wireless-2012-10-03.tar.bz2
cd compat-wireless-2012-10-03/
patch -p1 < ../rtl8723ae_master_patch
make
sudo make install
sudo modprobe -v rtl8723ae

At this point, the device should work.

when I try the patch command, I get the error “patch: **** strip count l is not a number”

Hi
Sounds like the patch you downloaded was corrupted, from the command
line in your home directory;


rm rtl8723ae_master_patch
wget http://www.lwfinger.com/realtek_drivers/rtl8723ae_master_patch
cd compat-wireless-2012-10-03
patch -p1 < ../rtl8723ae_master_patch


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.6-2.10-desktop
up 4 days 10:59, 4 users, load average: 0.03, 0.12, 0.10
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

I’m still getting the same error…


sudo patch -pl < ../rtl8723ae_master_patch 
patch: **** strip count l is not a number

On 10/08/2012 01:06 AM, gajuith wrote:
>
> I’m still getting the same error…

That is a -p<one>, not -p<ell>. Using ‘man patch’ shows the arguments.

Thanks for your response.

I have 3.6.1 kernel. have you any time to explain how I can path my kernel?

Regards.

On 10/08/2012 01:16 PM, jferna57 wrote:
>
> Thanks for your response.
>
> I have 3.6.1 kernel. have you any time to explain how I can path my
> kernel?

I have no idea what that question means. Please be more explicit.

ok…now when I try the make command, I get:

gajuith@linux-f0uf:~/compat-wireless-2012-10-03> make
./scripts/gen-compat-autoconf.sh /home/gajuith/compat-wireless-2012-10-03/.config /home/gajuith/compat-wireless-2012-10-03/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/3.4.6-2.10-desktop/build M=/home/gajuith/compat-wireless-2012-10-03 modules
make: *** /lib/modules/3.4.6-2.10-desktop/build: No such file or directory.  Stop.
make: *** [modules] Error 2

am I missing a dependency somewhere?

Sorry, my english is not very good.

Try again.

Now, I have installed in my laptop ubuntu 12.04 with linux kernel 3.6.1. Can you help me to install your patch in my laptop?

Regards.

On 10/08/2012 11:37 PM, Larry Finger wrote:
> On 10/08/2012 01:16 PM, jferna57 wrote:
>> I have 3.6.1 kernel. have you any time to explain how I can path my
>> kernel?
>
> I have no idea what that question means. Please be more explicit.

i see a hand full of questioners in this thread…no wonder it is
confusing…but, in this case:

Larry, i think jferna57 meant to type “how can i patch my kernel?”

we should start boiling in oil all thread hijackers…

ymmv


dd

On 10/08/2012 06:56 PM, gajuith wrote:
>
> ok…now when I try the make command, I get:
>
>
> Code:
> --------------------
> gajuith@linux-f0uf:~/compat-wireless-2012-10-03> make
> ./scripts/gen-compat-autoconf.sh /home/gajuith/compat-wireless-2012-10-03/.config /home/gajuith/compat-wireless-2012-10-03/config.mk > include/linux/compat_autoconf.h
> make -C /lib/modules/3.4.6-2.10-desktop/build M=/home/gajuith/compat-wireless-2012-10-03 modules
> make: *** /lib/modules/3.4.6-2.10-desktop/build: No such file or directory. Stop.
> make: *** [modules] Error 2
> --------------------
>
>
> am I missing a dependency somewhere?

Yes. You do not have the kernel headers installed. Install the
kernel-desktop-devel package, where the rest of the description matches exactly
the kernel you are running as shown by ‘uname -r’. If any part of the kernel and
the headers do not match, it will fail.

On 10/09/2012 02:46 AM, jferna57 wrote:
>
> jferna57;2494365 Wrote:
>> Thanks for your response.
>>
>> I have 3.6.1 kernel. have you any time to explain how I can path my
>> kernel?
>>
>> Regards.
>
> Sorry, my english is not very good.
>
> Try again.
>
> Now, I have installed in my laptop ubuntu 12.04 with linux kernel
> 3.6.1. Can you help me to install your patch in my laptop?

I have already explained what needs to be done in this thread. You cannot patch
kernel 3.6.1 - you need to patch compat-wireless.

Hi lwfinger,

I tried your patch and got it to install and work properly. However I noticed a few things.

  1. I initially couldn’t connect to one of my APs. I have two here to test and one works while the other didn’t. I managed to work out that it is sensitive to what channel it connects to, if I set the channel to 6 on the AP then it wont connect but if I change it to 1 then it does. The driver from Realtek doesn’t have this same issue.

  2. Signal strenght seems to be a bit poor, although haven’t noticed it drop out at all.

Thanks for your good work.