Realtek 11n Adaptor WIFI problems

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Realtek 11n Adaptor WIFI problems

Postby linuxero » Feb 21st, '13, 12:02

Hi;

Sorry for the subject as the problems I am having are several.

This is a Realtek 11n Adapter; using module r8712u, manufacturer id: 0x07D1, Device id: 0x3303

I can configure it, it connects but then suddenly it disappears from the system! I mean the kernel does not seem to see it suddenly. This happens often when I have anothe SMC BG adapter connected at the same time. Both connect through USB.

Another problem is that the kernel sees the device but whenever I want to configure the connection a message telling me that no device found for r8712u!

Yet the most troubling problem is that when I disconnect the adapter the system jumps off to a TTY giving me lines and lines of debug info and I am not able to use the system again until I force a hardware shutdown.

Some other strange problem is that if everything goes well then I turn off my computer, on the next boot the device is recognised but no connection as it gives me the same message of no device found for r8712u again..! So the only way I can use it is wait untill I have the login screen, connect it and then login.

Are there any parameters that could help adding them to configure the module?

Thank you..
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: Realtek 11n Adaptor WIFI problems

Postby doktor5000 » Feb 21st, '13, 14:14

Where does the driver for this device come from?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Realtek 11n Adaptor WIFI problems

Postby linuxero » Feb 21st, '13, 15:32

I am not quite sure, but here's the dmesg output:

Code: Select all
# dmesg

[   34.401373] usb 6-1: new high-speed USB device number 3 using ehci_hcd
[   34.521098] usb 6-1: New USB device found, idVendor=07d1, idProduct=3303
[   34.521108] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   34.521115] usb 6-1: Product: 11n Adapter
[   34.521120] usb 6-1: Manufacturer: Manufacturer Realtek
[   34.521125] usb 6-1: SerialNumber: 00e04c000001
[   34.576120] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
[   34.576924] r8712u: DriverVersion: v7_0.20100831
[   34.576941] r8712u: register rtl8712_netdev_ops to netdev_ops
[   34.576943] r8712u: USB_SPEED_HIGH with 4 endpoints
[   34.577504] r8712u: Boot from EFUSE: Autoload OK
[   35.232290] r8712u: CustomerID = 0x0000
[   35.232299] r8712u: MAC Address from efuse = fc:75:16:67:1e:e4
[   35.232305] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[   35.232522] usbcore: registered new interface driver r8712u
[   35.256496] udevd[417]: renamed network interface wlan0 to wlan1
[   36.024216] r8712u: 1 RCR=0x153f00e
[   36.025164] r8712u: 2 RCR=0x553f00e
[   36.136232] ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   36.464567] ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   36.480507] r8712u: r8711_wx_set_enc: EncryptionDisabled
[   36.483060] r8712u: r8711_wx_set_enc: IW_ENCODE_OPEN
[   38.519747] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   49.126055] wlan1: no IPv6 routers present
[   56.537717] netlink: 33 bytes leftover after parsing attributes.
[   56.537721] netlink: 33 bytes leftover after parsing attributes.
[   56.537747] netlink: 33 bytes leftover after parsing attributes.
[   56.537765] netlink: 33 bytes leftover after parsing attributes.
[   56.817242] netlink: 33 bytes leftover after parsing attributes.
[   56.817252] netlink: 33 bytes leftover after parsing attributes.
[   56.817312] netlink: 33 bytes leftover after parsing attributes.
[   56.817361] netlink: 33 bytes leftover after parsing attributes.


Checking lsmod I think the following is for the adapter:
Code: Select all
# lsmod
...
r8712u                183719  0
usbcore               211531  9 usb_storage,usbserial,ohci_hcd,ehci_hcd,r8712u,option,usbhid,usb_wwan
...


lspcidrake says:
Code: Select all
# lspcidrake
...
r8712u          : Manufacturer Realtek |11n Adapter
...


and at last:

Code: Select all
# rpm -qf /lib/firmware/rtlwifi/rtl8712u.bin
rtlwifi-firmware-20121030-1.mga2.nonfree


I found this in /var/log/messages:
Code: Select all
Feb 21 10:37:53 linuxeros kernel: [   34.576120] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
Feb 21 10:37:53 linuxeros kernel: [   34.576924] r8712u: DriverVersion: v7_0.20100831
Feb 21 10:37:53 linuxeros kernel: [   34.576941] r8712u: register rtl8712_netdev_ops to netdev_ops
Feb 21 10:37:53 linuxeros kernel: [   34.576943] r8712u: USB_SPEED_HIGH with 4 endpoints
Feb 21 10:37:53 linuxeros kernel: [   34.577504] r8712u: Boot from EFUSE: Autoload OK

Is it the bad firmware loaded?!
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: Realtek 11n Adaptor WIFI problems

Postby doktor5000 » Feb 21st, '13, 20:33

Nope, but the driver seems a bit problematic. Can you please post the output as root of
Code: Select all
modinfo r8712u
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Realtek 11n Adaptor WIFI problems

Postby linuxero » Feb 22nd, '13, 00:41

Thank you..here's the output you mentioned..a bit long though :)

Code: Select all
# modinfo r8712u
filename:       /lib/modules/3.4.24-desktop-3.mga2/kernel/drivers/staging/rtl8712/r8712u.ko.xz
firmware:       rtlwifi/rtl8712u.bin
author:         Larry Finger
description:    rtl871x wireless lan driver
license:        GPL
srcversion:     A9AA6181BB52654FB4D3A11
alias:          usb:v0409p02B6d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v7392p7622d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v07AAp0051d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v050Dp845Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8174d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v13D3p3325d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v13D3p3310d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v13D3p3341d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v13D3p3340d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v13D3p3339d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v04F2pAFF6d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v04F2pAFF5d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v04F2pAFF2d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v14B2p3302d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v14B2p3301d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v14B2p3300d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p0064d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p004Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p0049d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p0058d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2019p4901d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2019pED18d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v13D3p3306d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0E66p0015d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v06F8pE031d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1740p9605d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v7392p7612d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v07D1p3303d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v07D1p3300d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v07D1p3302d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v050Dp815Fd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v13D3p3309d*dc*dsc*dp*ic*isc*ip*                                                                                     
alias:          usb:v13D3p3336d*dc*dsc*dp*ic*isc*ip*                                                                                     
alias:          usb:v13D3p3335d*dc*dsc*dp*ic*isc*ip*                                                                                     
alias:          usb:v13D3p3334d*dc*dsc*dp*ic*isc*ip*                                                                                     
alias:          usb:v13D3p3333d*dc*dsc*dp*ic*isc*ip*                                                                                     
alias:          usb:v13D3p3342d*dc*dsc*dp*ic*isc*ip*                                                                                     
alias:          usb:v13D3p3311d*dc*dsc*dp*ic*isc*ip*                                                                                     
alias:          usb:v13D3p3323d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0EB0p9061d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8192d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8172d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v25D4p4CABd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v25D4p4CA1d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v083ApC512d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v20F4p646Bd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1690p0752d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp5077d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v177Fp0154d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p0063d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p005Dd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p005Bd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p004Bd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p0059d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p0045d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p0057d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2019pED16d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2019pAB28d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0789p0167d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v06F8pE032d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v06F8pE034d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0E66p0016d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1740p9603d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v7392p7611d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v07D1p3306d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2001p3306d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v07AAp0047d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v050Dp945Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0B05p1791d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0B05p1786d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v07B8p8188d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDApC512d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8713d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8712d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8173d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8171d*dc*dsc*dp*ic*isc*ip*
depends:        usbcore
staging:        Y
intree:         Y
vermagic:       3.4.24-desktop-3.mga2 SMP mod_unload modversions
parm:           wifi_test:int
parm:           video_mode:int
parm:           chip_version:int
parm:           rfintfs:int
parm:           lbkmode:int
parm:           hci:int
parm:           network_mode:int
parm:           channel:int
parm:           mp_mode:int
parm:           wmm_enable:int
parm:           vrtl_carrier_sense:int
parm:           vcs_type:int
parm:           busy_thresh:int
parm:           ht_enable:int
parm:           cbw40_enable:int
parm:           ampdu_enable:int
parm:           rf_config:int
parm:           power_mgnt:int
parm:           low_power:int
parm:           ifname: Net interface name, wlan%d=default (string)
parm:           initmac:MAC-Address, default: use FUSE (charp)
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: Realtek 11n Adaptor WIFI problems

Postby doktor5000 » Feb 22nd, '13, 12:01

From looking upstream at the driver and the firmware, i'd say this is the most current available.
For comparison reasons, does it work ffine with another distro?

What you could look at is dmesg/syslog/kernel messages shortly before the time where it suddenly disconnects/disappears
or the whole time when you have that other USB adapter (which chipset is that and what driver does it use) connected.

Just a dumb question - Why 2 wireless adapters?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Realtek 11n Adaptor WIFI problems

Postby linuxero » Feb 22nd, '13, 13:35

Well; I remember I've tried it with Chakra, Korora and Ubuntu I guess. In those distros it seemed to work fine, but whenever I disconnect the USB, physically, The system jumps off into an TTY with a lot of debug info and sometimes if I use CTRL-ALT-DEL and wait for what it seems to be forever, the system rebbots. Most of the time I need to force a shutdown, though.

The output of /var/log/messages is what I have all the time with this adapter..I am not sure I understood your question exactly.. :oops:

I am using two or more adapters just trying to mess around with network configurations, no aliases no virtual IP's. Just different networks. Besides some adapter gets the signal better than another. For instance; this one gives me a 100% strength of the signal while the SMC gives me abot 43% max.!

Thanks again, I'll keep looking into it then I'll report back :)
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest