Bug 8754 - rtl8192cu wireless device fails to connect after kernel 3.4.x update
Summary: rtl8192cu wireless device fails to connect after kernel 3.4.x update
Status: RESOLVED DUPLICATE of bug 6031
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: https://forums.mageia.org/en/viewtopi...
Whiteboard: MGA2TOO
Keywords: UPSTREAM
: 8651 10606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-01-20 02:58 CET by Thomas Andrews
Modified: 2013-11-29 15:33 CET (History)
8 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Thomas Andrews 2013-01-20 02:58:18 CET
Description of problem: Using a Dell Dimension E310 and an Encore USB wireless N adapter, model ENUWI-1XN45. The adapter uses a chip that uses the Realtec 8192CU driver. The device has been working acceptably with Mageia 2 if the networkmanager plasma applet is used to control it. It hasn't been working with the drakx tools. After a kernel upgrade on 18 January 2013, the device fails to connect to my wireless G network. networkmanager will attempt to connect something like five times, and give up. If I boot into the old kernel, the device still functions the same as it did before.


Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. Boot with the 3.4.x desktop kernel
2.
3.
Comment 1 Thomas Andrews 2013-01-20 03:01:20 CET
I was advised to submit the output of lsusb:

Bus 005 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x8176 RTL8188CUS 802.11n WLAN
  bcdDevice            2.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Comment 2 Thomas Andrews 2013-01-20 03:03:31 CET
I was also advised to post the output of lspcidrake:

e100            : Intel Corporation|82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller [NETWORK_ETHERNET] (vendor:8086 device:1064 subv:1028 subd:01c4) (rev: 04)
i2c_i801        : Intel Corporation|82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller [SERIAL_SMBUS] (vendor:8086 device:266a subv:1028 subd:01c4) (rev: 04)
ahci            : Intel Corporation|82801FR/FRW (ICH6R/ICH6RW) SATA Controller [STORAGE_IDE] (vendor:8086 device:2652 subv:1028 subd:01c4) (rev: 04)
ata_piix        : Intel Corporation|82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller [STORAGE_IDE] (vendor:8086 device:266f subv:1028 subd:01c4) (rev: 04)
iTCO_wdt        : Intel Corporation|82801FB/FR (ICH6/ICH6R) LPC Interface Bridge [BRIDGE_ISA] (vendor:8086 device:2640) (rev: 04)
unknown         : Intel Corporation|82801 PCI Bridge [BRIDGE_PCI] (vendor:8086 device:244e) (rev: d4)
ehci_hcd        : Intel Corporation|82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller [SERIAL_USB] (vendor:8086 device:265c subv:1028 subd:01c4) (rev: 04)
uhci_hcd        : Intel Corporation|82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 [SERIAL_USB] (vendor:8086 device:265b subv:1028 subd:01c4) (rev: 04)
uhci_hcd        : Intel Corporation|82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 [SERIAL_USB] (vendor:8086 device:265a subv:1028 subd:01c4) (rev: 04)
uhci_hcd        : Intel Corporation|82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 [SERIAL_USB] (vendor:8086 device:2659 subv:1028 subd:01c4) (rev: 04)
uhci_hcd        : Intel Corporation|82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 [SERIAL_USB] (vendor:8086 device:2658 subv:1028 subd:01c4) (rev: 04)
shpchp          : Intel Corporation|82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 [BRIDGE_PCI] (vendor:8086 device:2662) (rev: 04)
shpchp          : Intel Corporation|82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 [BRIDGE_PCI] (vendor:8086 device:2660) (rev: 04)
snd_hda_intel   : Intel Corporation|82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (vendor:8086 device:2668 subv:1028 subd:01c4) (rev: 04)
Card:Intel 810 and later: Intel Corporation|82915G/GV/910GL Integrated Graphics Controller [DISPLAY_VGA] (vendor:8086 device:2582 subv:1028 subd:01c4) (rev: 04)
unknown         : Intel Corporation|82915G/P/GV/GL/PL/910GL Memory Controller Hub [BRIDGE_HOST] (vendor:8086 device:2580 subv:1028 subd:01c4) (rev: 04)
hub             : Linux 3.4.24-desktop-3.mga2 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
rtl8192cu       : Realtek|802.11n WLAN Adapter (vendor:0bda device:8176)
hub             : Linux 3.4.24-desktop-3.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.4.24-desktop-3.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.4.24-desktop-3.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.4.24-desktop-3.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
usbhid          : Microsoft|Microsoft Wireless Optical Desktop® 2.10 [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:045e device:009d)
hid_microsoft   : Microsoft Microsoft Wireless Optical Desktop® 2.10
hid_microsoft   : Microsoft Microsoft Wireless Optical Desktop® 2.10
Comment 3 Thomas Andrews 2013-01-20 03:04:38 CET
Both lsusb and lspcidrake outputs are identical with the older kernel.
Thomas Andrews 2013-01-20 03:05:28 CET

URL: (none) => https://forums.mageia.org/en/viewtopic.php?f=25&t=4242

Comment 4 Thomas Andrews 2013-01-20 04:06:13 CET
It was suggested that I look at the output of iwconfig, and I found a large discrepancy between the two kernels.

First, the older kernel: (encryption has been turned off until I get the connection back up and going again.)

wlan0     IEEE 802.11bgn  ESSID:"Andrews Farm"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:1D:7E:65:8E:00
          Bit Rate=54 Mb/s   Tx-Power=20 dBm
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=67/70  Signal level=-43 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

And now, with the newer kernel, after networkmanager has quit trying to connect:

wlan0     IEEE 802.11bgn  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
Sander Lepik 2013-01-20 10:47:08 CET

CC: (none) => sander.lepik, tmb

Manuel Hiebel 2013-01-20 12:51:17 CET

CC: (none) => mageia

Comment 5 Thomas Andrews 2013-02-15 00:57:56 CET
I have been able to get this dongle working by blacklisting the rtl8192cu module included with the kernel, uninstalling the rtlwifi-firmware package, and installing the latest 8192cu driver module, downloaded from Realtek. To disable the dongle's powersave function, I also created a 8192cu.conf file, as discussed at http://forum.doozan.com/read.php?6,8618.

So far, it's been working perfectly, even with the drakx tools, for the first time with Mageia 2. I'm just about clueless when it comes to this stuff, but to me this indicates that the problems I've been having reside with the rtl8192cu module that's supplied with the kernel.
Comment 6 Thomas Andrews 2013-02-23 17:56:46 CET
For some reason, unknown to me, the Realtek-supplied 8192cu module cuts my USB bus speed down to USB 1.1 levels, so it too is unacceptable. The latest kernel update didn't help, either.

Time for me to move on. I have purchased a PCI card with a Broadcom 4318 chip that I know will work for me, as I have another in another computer. I will be using that, and have no intention of trying the Encore dongle again, at least not until Mageia 3 comes out, or until I hear something from this bug report.

Thanks for looking.
Comment 7 Samuel Iglesias Gonsálvez 2013-03-18 11:44:55 CET
It has problems with recent kernels. See:

https://bugzilla.redhat.com/show_bug.cgi?id=866786

CC: (none) => samuel_ig

Comment 8 Manuel Hiebel 2013-03-19 00:14:51 CET
*** Bug 8651 has been marked as a duplicate of this bug. ***

CC: (none) => barry-m

Manuel Hiebel 2013-03-19 00:15:34 CET

Keywords: (none) => UPSTREAM

Comment 9 René Lagoni Neukirch 2013-06-14 17:14:38 CEST
Supplement: The error is also present i M3.
When I try to configure a WPA2 connection is does not work at all.
The HW platform started off as a Windoze 8 and worked fine regarding Wireless LAN connection.
If I then remove the connection, yet another eroor shows: The device is flage as an Intel Xeon E3-1200 v2/3RD .... DRAM processor.

Also my HW with an Atheros 5212/13 is impossible to get top operate on M3 - and it DID work fine on M3RC.

CC: (none) => rene

Comment 10 Marja Van Waes 2013-08-08 19:19:15 CEST
indeed also valid for Mageia 3
https://bugs.mageia.org/show_bug.cgi?id=10606#c42

CC: (none) => marja11
Hardware: i586 => All
Version: 2 => 3
Whiteboard: (none) => MGA2TOO

Comment 11 Marja Van Waes 2013-08-08 19:25:16 CEST
*** Bug 10606 has been marked as a duplicate of this bug. ***
Comment 12 Atilla ÖNTAŞ 2013-11-29 15:33:24 CET
Same reporter, same problem...

*** This bug has been marked as a duplicate of bug 6031 ***

Status: NEW => RESOLVED
CC: (none) => tarakbumba
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.