2013-04-24 14:16:19

by Michael Stahn

[permalink] [raw]
Subject: Fwd: Realtek 8192CU not working

Hi,

I just checked out the 3.7.10-Kernel driver for the wireless Adapter
EW 7811Un 802.11n, ID 7392:7811 and it doesn't work: The driver gets
loaded but some IRQ-errors show up. Using the original driver doesn't
work either 1) driver needs patching for new kernel-API 2) Patched
Driver gets loaded but USB directly suspends and the device seems to
shut down permanently (ifconfig wlan0 up leads to error). I can't
paste any traces now but perhaps these problems can be confirmed after
all.


2013-04-26 10:42:31

by Michael Stahn

[permalink] [raw]
Subject: Re: Fwd: Realtek 8192CU not working

thx, I'll try it out in the next days.

2013/4/26 Larry Finger <[email protected]>:
> On 04/24/2013 06:08 PM, Michael Stahn wrote:
>>
>> This kind of error doesn't seem to show up on the USB 2.0 interface. I
>> just configured the AP for WPA+TKIP but no change. Now the Adapter
>> won't connect anymore even I reload the module..pretty random error.
>> I'll try some other ideas in the next days...
>
>
> I found some problems today. With the attached patched, my device connects
> to WEP, WPA and WPA2 networks.
>
> Larry
>
>

2013-04-24 17:42:16

by Larry Finger

[permalink] [raw]
Subject: Re: Fwd: Realtek 8192CU not working

On 04/24/2013 12:27 PM, Michael Stahn wrote:
> okay now it gets a little awkward: un/reloading the driver seems to
> fix the authentication-problem (ip gets assigned), but no ping
> succeeds..
> http://bpaste.net/show/93913/
>
> 2013/4/24 Michael Stahn <[email protected]>:
>> I'm using a i686 Architecture on AMD E2-1800 APU with Radeon(tm) HD
>> Graphics AuthenticAMD GNU/Linux with linux 3.7.10. CONFIG_USB_DEBUG
>> was allready set. I've used an USB 3.0 port previously and now
>> rechecked everything with a USB2.0 port. The result is nearly the
>> same: first connection succeeds (ping response), doing a manual
>> reconnect to the AP leads to the same error. I've done several
>> ifconfig down/ups at the end with no change.
>> dmesg gives: http://bpaste.net/show/93912/

To be able to work on the error messages from ehci-hcd, it is likely that we
will need all the messages associated with the initialization of the hub. That
is the reason that I asked that you post the entire dmesg output, starting at
time 0.

What encryption are you using?

Larry



2013-04-24 23:08:17

by Michael Stahn

[permalink] [raw]
Subject: Re: Fwd: Realtek 8192CU not working

This kind of error doesn't seem to show up on the USB 2.0 interface. I
just configured the AP for WPA+TKIP but no change. Now the Adapter
won't connect anymore even I reload the module..pretty random error.
I'll try some other ideas in the next days...

2013/4/25 Larry Finger <[email protected]>:
> On 04/24/2013 05:24 PM, Michael Stahn wrote:
>>
>> I'm using WPA/PSK, attached is the whole kernel dump.
>>
>
> I don't see the "ehci_hcd 0000:00:16.2: detected XactErr len 0/15360 retry
> 1" problem in this dump.
>
> If you are just having trouble connecting, there is an unknown problem. The
> driver can connect with WPA2, but not WPA.
>
> Larry
>
>

2013-04-24 17:19:35

by Michael Stahn

[permalink] [raw]
Subject: Re: Fwd: Realtek 8192CU not working

I'm using a i686 Architecture on AMD E2-1800 APU with Radeon(tm) HD
Graphics AuthenticAMD GNU/Linux with linux 3.7.10. CONFIG_USB_DEBUG
was allready set. I've used an USB 3.0 port previously and now
rechecked everything with a USB2.0 port. The result is nearly the
same: first connection succeeds (ping response), doing a manual
reconnect to the AP leads to the same error. I've done several
ifconfig down/ups at the end with no change.
dmesg gives: http://bpaste.net/show/93912/

2013/4/24 Larry Finger <[email protected]>:
> On 04/24/2013 11:20 AM, Michael Stahn wrote:
>>
>> I've just recompiled the kernel and executed the following procedure:
>> modprobe rtl8192cu -> plugin in Wlan-Stick -> connect wlan via
>> Networkmanager (no connection was established, credentials are
>> correct) -> unplug Stick. Attachment contains the dmes-output.
>
>
> Please do not drop the Cc to the Linux wireless mailing list unless you are
> requested to send something of a sensitive nature. Always use "Reply to
> all".
>
> [ 448.211707] rtl8192cu: MAC auto ON okay!
> [ 448.248820] rtl8192cu: Tx queue select: 0x05
> [ 448.615206] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [ 464.990166] ehci_hcd 0000:00:16.2: detected XactErr len 0/15360 retry 1
> [ 464.990540] ehci_hcd 0000:00:16.2: detected XactErr len 0/15360 retry 2
> [ 464.990613] hub 3-0:1.0: state 7 ports 4 chg 0000 evt 0004
> [ 464.990642] ehci_hcd 0000:00:16.2: GetStatus port:2 status 001002 0 ACK
> POWER sig=se0 CSC
> [ 464.990661] hub 3-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
> [ 464.990672] usb 3-2: USB disconnect, device number 3
>
> That error is something in the USB hub driver. What is your architecture?
>
> To get a little more detail, please rebuild your kernel with
> CONFIG_USB_DEBUG set and post the full log on some paste site. I will likely
> need to have the help of the USB expert on this matter, but we need more
> details first.
>
> Larry
>

2013-04-25 23:08:55

by Larry Finger

[permalink] [raw]
Subject: Re: Fwd: Realtek 8192CU not working

On 04/24/2013 06:08 PM, Michael Stahn wrote:
> This kind of error doesn't seem to show up on the USB 2.0 interface. I
> just configured the AP for WPA+TKIP but no change. Now the Adapter
> won't connect anymore even I reload the module..pretty random error.
> I'll try some other ideas in the next days...

I found some problems today. With the attached patched, my device connects to
WEP, WPA and WPA2 networks.

Larry



Attachments:
rtl8192cu_fix_WPA_WEP (11.27 kB)

2013-04-24 14:49:39

by Larry Finger

[permalink] [raw]
Subject: Re: Fwd: Realtek 8192CU not working

On 04/24/2013 09:16 AM, Michael Stahn wrote:
> Hi,
>
> I just checked out the 3.7.10-Kernel driver for the wireless Adapter
> EW 7811Un 802.11n, ID 7392:7811 and it doesn't work: The driver gets
> loaded but some IRQ-errors show up. Using the original driver doesn't
> work either 1) driver needs patching for new kernel-API 2) Patched
> Driver gets loaded but USB directly suspends and the device seems to
> shut down permanently (ifconfig wlan0 up leads to error). I can't
> paste any traces now but perhaps these problems can be confirmed after
> all.

Without the error traces, there is little I can do.

Larry



2013-04-24 16:47:18

by Larry Finger

[permalink] [raw]
Subject: Re: Fwd: Realtek 8192CU not working

On 04/24/2013 11:20 AM, Michael Stahn wrote:
> I've just recompiled the kernel and executed the following procedure:
> modprobe rtl8192cu -> plugin in Wlan-Stick -> connect wlan via
> Networkmanager (no connection was established, credentials are
> correct) -> unplug Stick. Attachment contains the dmes-output.

Please do not drop the Cc to the Linux wireless mailing list unless you are
requested to send something of a sensitive nature. Always use "Reply to all".

[ 448.211707] rtl8192cu: MAC auto ON okay!
[ 448.248820] rtl8192cu: Tx queue select: 0x05
[ 448.615206] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 464.990166] ehci_hcd 0000:00:16.2: detected XactErr len 0/15360 retry 1
[ 464.990540] ehci_hcd 0000:00:16.2: detected XactErr len 0/15360 retry 2
[ 464.990613] hub 3-0:1.0: state 7 ports 4 chg 0000 evt 0004
[ 464.990642] ehci_hcd 0000:00:16.2: GetStatus port:2 status 001002 0 ACK
POWER sig=se0 CSC
[ 464.990661] hub 3-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
[ 464.990672] usb 3-2: USB disconnect, device number 3

That error is something in the USB hub driver. What is your architecture?

To get a little more detail, please rebuild your kernel with CONFIG_USB_DEBUG
set and post the full log on some paste site. I will likely need to have the
help of the USB expert on this matter, but we need more details first.

Larry


2013-04-24 23:18:30

by Larry Finger

[permalink] [raw]
Subject: Re: Fwd: Realtek 8192CU not working

On 04/24/2013 06:08 PM, Michael Stahn wrote:
> This kind of error doesn't seem to show up on the USB 2.0 interface. I
> just configured the AP for WPA+TKIP but no change. Now the Adapter
> won't connect anymore even I reload the module..pretty random error.
> I'll try some other ideas in the next days...

OK, the USB3.0 error is a different matter. You should report that on the USB
mailing list.

You need WPA2-AES/CCMP encryption for it to work. I'm looking into that problem now.

Larry



2013-04-24 17:33:34

by Michael Stahn

[permalink] [raw]
Subject: Re: Fwd: Realtek 8192CU not working

okay now it gets a little awkward: un/reloading the driver seems to
fix the authentication-problem (ip gets assigned), but no ping
succeeds..
http://bpaste.net/show/93913/

2013/4/24 Michael Stahn <[email protected]>:
> I'm using a i686 Architecture on AMD E2-1800 APU with Radeon(tm) HD
> Graphics AuthenticAMD GNU/Linux with linux 3.7.10. CONFIG_USB_DEBUG
> was allready set. I've used an USB 3.0 port previously and now
> rechecked everything with a USB2.0 port. The result is nearly the
> same: first connection succeeds (ping response), doing a manual
> reconnect to the AP leads to the same error. I've done several
> ifconfig down/ups at the end with no change.
> dmesg gives: http://bpaste.net/show/93912/
>
> 2013/4/24 Larry Finger <[email protected]>:
>> On 04/24/2013 11:20 AM, Michael Stahn wrote:
>>>
>>> I've just recompiled the kernel and executed the following procedure:
>>> modprobe rtl8192cu -> plugin in Wlan-Stick -> connect wlan via
>>> Networkmanager (no connection was established, credentials are
>>> correct) -> unplug Stick. Attachment contains the dmes-output.
>>
>>
>> Please do not drop the Cc to the Linux wireless mailing list unless you are
>> requested to send something of a sensitive nature. Always use "Reply to
>> all".
>>
>> [ 448.211707] rtl8192cu: MAC auto ON okay!
>> [ 448.248820] rtl8192cu: Tx queue select: 0x05
>> [ 448.615206] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
>> [ 464.990166] ehci_hcd 0000:00:16.2: detected XactErr len 0/15360 retry 1
>> [ 464.990540] ehci_hcd 0000:00:16.2: detected XactErr len 0/15360 retry 2
>> [ 464.990613] hub 3-0:1.0: state 7 ports 4 chg 0000 evt 0004
>> [ 464.990642] ehci_hcd 0000:00:16.2: GetStatus port:2 status 001002 0 ACK
>> POWER sig=se0 CSC
>> [ 464.990661] hub 3-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
>> [ 464.990672] usb 3-2: USB disconnect, device number 3
>>
>> That error is something in the USB hub driver. What is your architecture?
>>
>> To get a little more detail, please rebuild your kernel with
>> CONFIG_USB_DEBUG set and post the full log on some paste site. I will likely
>> need to have the help of the USB expert on this matter, but we need more
>> details first.
>>
>> Larry
>>