LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-02-2012, 06:16 PM   #1
xspirix
LQ Newbie
 
Registered: Oct 2012
Location: bergamo
Distribution: slackware kubuntu
Posts: 11

Rep: Reputation: Disabled
slackware14 and wifi r8712u module


Hi there,
I have installed slackware14 and my wireless card stopped working. in 13.37 was fine. Probably it is a problem with the module in the kernel 3.2.29 version. Using Networkmanager or wicd I cannot get connection. That's weird because using i.e. kubuntu live 12.04 bearing 3.2.0 kernel the wireless works properly.
My device is:
Bus 001 Device 002: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter

I cannot really figure out where to check the problem. I have compiled also the kernel version 3.1.10 and 3.2.x but nothing changed.

any help??

thanks in advance

Last edited by xspirix; 10-03-2012 at 02:55 AM.
 
Old 10-02-2012, 06:27 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Have a look at the answer I gave here to a similar question.
 
Old 10-02-2012, 06:38 PM   #3
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by xspirix View Post
anny help??
Use instead the module 8712u, built from Realtek official rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405 patched with:

Code:
diff -up rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h.orig rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h
--- rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h.orig	2012-04-05 04:42:16.000000000 +0200
+++ rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h	2012-09-29 02:17:30.352414947 +0200
@@ -49,6 +49,9 @@
 
 #ifdef PLATFORM_LINUX
 #include <drv_types_linux.h>
+
+
+#include <linux/interrupt.h>
 #endif
 
 enum _NIC_VERSION {
diff -up rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/os_intf/linux/usb_intf.c.orig rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/os_intf/linux/usb_intf.c
--- rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/os_intf/linux/usb_intf.c.orig	2012-09-29 02:21:01.790552939 +0200
+++ rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/os_intf/linux/usb_intf.c	2012-09-29 02:20:19.301529914 +0200
@@ -45,6 +45,8 @@
 
 #endif
 
+#include <linux/module.h>
+
 #ifdef CONFIG_80211N_HT
 extern int ht_enable;
 extern int cbw40_enable;
PS. That driver works fine (and happy pollute your dmesg and syslog) until the kernel 3.6.0, where it don't like your credentials to connect at any network.

Last edited by Darth Vader; 10-02-2012 at 06:45 PM.
 
Old 10-03-2012, 02:59 AM   #4
xspirix
LQ Newbie
 
Registered: Oct 2012
Location: bergamo
Distribution: slackware kubuntu
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader View Post
Use instead the module 8712u, built from Realtek official rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405 patched with:

Code:
diff -up rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h.orig rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h
--- rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h.orig	2012-04-05 04:42:16.000000000 +0200
+++ rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h	2012-09-29 02:17:30.352414947 +0200
@@ -49,6 +49,9 @@
 
 #ifdef PLATFORM_LINUX
 #include <drv_types_linux.h>
+
+
+#include <linux/interrupt.h>
 #endif
 
 enum _NIC_VERSION {
diff -up rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/os_intf/linux/usb_intf.c.orig rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/os_intf/linux/usb_intf.c
--- rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/os_intf/linux/usb_intf.c.orig	2012-09-29 02:21:01.790552939 +0200
+++ rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/os_intf/linux/usb_intf.c	2012-09-29 02:20:19.301529914 +0200
@@ -45,6 +45,8 @@
 
 #endif
 
+#include <linux/module.h>
+
 #ifdef CONFIG_80211N_HT
 extern int ht_enable;
 extern int cbw40_enable;
PS. That driver works fine (and happy pollute your dmesg and syslog) until the kernel 3.6.0, where it don't like your credentials to connect at any network.
Thanks to everybody. I will try later on. The module is loaded at boot and networkmanager and/or wicd are able to see my wifi connection. In fact there is an attempt to connect to it but it fails. No error in messages or syslog neither in wpa_supplicant.log
I will try the patch. I confirm that in the kernel 3.2.0.x in kubuntu it works like a charm.
In order to apply the patch I just copy that code and in source code of the realtek driver type
patch -p1 < file ?? is this correct?

Last edited by xspirix; 10-03-2012 at 03:03 AM.
 
Old 10-03-2012, 10:52 AM   #5
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by xspirix View Post
patch -p1 < file
Yes. This is the right way.

BTW, you need this patch because this driver doesn't compile beyond of kernel 3.0.2 without it. Still, you will have reported some debug and an trace warning into dmesg and syslog. However, it works fine.
 
Old 10-03-2012, 06:06 PM   #6
xspirix
LQ Newbie
 
Registered: Oct 2012
Location: bergamo
Distribution: slackware kubuntu
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi,
the patch and the installation of realtek driver were both fine. however still not working. first of all at the boot of 3.2.29 slackware load the r8712u driver properly. so I remove it with rmmod and I have loaded the new driver 8712u. but not success. networkmanager is able to connect but the connection is kept for a few seconds.
Now following this thread https://bugs.archlinux.org/task/27996 I have dowloaded the kernel 3.2.14 and 3.3.1 and I will try them.

just wondering whether do I need to downgrande the firmware too.

thanks in advance
 
Old 10-04-2012, 02:17 AM   #7
xspirix
LQ Newbie
 
Registered: Oct 2012
Location: bergamo
Distribution: slackware kubuntu
Posts: 11

Original Poster
Rep: Reputation: Disabled
Nothing changed. neither 3.2.14 or 3.3.1 worked for my realtek. I am really wondering now if I need to downgrade the firmware to the old one (13.37 version)
 
Old 10-04-2012, 04:50 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Why 3.3.1 ? That's not even stable. Try 3.4.12, that's the one I know works. The firmware should already be installed, so it should work. Make sure you have the configuration set up properly.
 
Old 10-04-2012, 04:52 AM   #9
xspirix
LQ Newbie
 
Registered: Oct 2012
Location: bergamo
Distribution: slackware kubuntu
Posts: 11

Original Poster
Rep: Reputation: Disabled
that was from the archlinux mailing list. are you saying that in 3.4.12 the RTL8191SU works?
 
Old 10-04-2012, 05:32 AM   #10
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I have used the 8712u module with 3.4.12 and it works.
 
Old 10-04-2012, 05:53 AM   #11
xspirix
LQ Newbie
 
Registered: Oct 2012
Location: bergamo
Distribution: slackware kubuntu
Posts: 11

Original Poster
Rep: Reputation: Disabled
Ok. so you are talking about the realtek official driver with the 3.4.12 kernel. Fine I will try it. The driver that you have used are the same shown in the previous post? and have you used the same patch for it?

thanks a lot
 
Old 10-04-2012, 05:59 AM   #12
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I have only used the one in the staging area of the kernel.

Code:
CONFIG_R8712U=m
If it still doesn't work, make sure you have the most recent firmware (should already be installed in 14.0).
 
1 members found this post helpful.
Old 10-04-2012, 06:16 AM   #13
xspirix
LQ Newbie
 
Registered: Oct 2012
Location: bergamo
Distribution: slackware kubuntu
Posts: 11

Original Poster
Rep: Reputation: Disabled
ah okay. So you are using the r8712u module. the 8712u module is from the realtek official driver.

thanks a lot. I will surely try it

cross finger
 
Old 10-05-2012, 03:33 PM   #14
xspirix
LQ Newbie
 
Registered: Oct 2012
Location: bergamo
Distribution: slackware kubuntu
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi guys, 3.4.12 worked like a charm!!! the connection went fine through networkmanager in kde. The only thing strange is that the google webpage and similar (gmail, etc ...) does not work!! other sites works perfectly. in the same time using another computer (windows and/or) the google webpage are not visualized too. as soon I close the connection on my slackware workstation everything is back fine on the other pc!! I tried several time and it seems that when my slackware workstation is connected the google webpage is stopped.... it is so weird isn't_????

any help???

thanks agagin
 
Old 10-05-2012, 04:18 PM   #15
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by xspirix View Post
Hi guys, 3.4.12 worked like a charm!!!
Which module worked? The native r8712u or the Realtek 8712u?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] chrome occupied much of CPU in slackware14.0 flyer103 Slackware 8 10-02-2012 11:38 PM
Slackware14 RC2 on old hardware kingbeowulf Slackware 23 09-03-2012 02:36 AM
Window managers in Slackware14 RC 2 and locale settings gargamel Slackware 3 08-19-2012 11:48 AM
Kernel panic from r8712u driver on Mint Mate 64b froff Linux - Networking 2 08-14-2012 02:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration