From: alupu@verizon.net
To: linux-wireless@vger.kernel.org
Subject: Re: r8712u staging in kernel 3.2.9
Date: Tue, 06 Mar 2012 19:44:18 -0600 (CST) [thread overview]
Message-ID: <27428618.2937387.1331084658879.JavaMail.root@vznit170116> (raw)
[-- Attachment #1: Type: text/plain, Size: 3085 bytes --]
> On 03/06/12, Larry Finger wrote:
>> On 03/05/2012 08:22 PM, Alex wrote:
>>> On 03/05/2012, Larry Finger wrote:
>>>> On 03/05/2012 11:07 AM, Alex wrote:
>>>> System: (B)LFS i686-pc-linux-gnu, 3.2.9
>>>> Rosewill Wireless Adapter: RNX-N180UBE
>>>> I compiled (as part of kernel 3.2.9) the r8712u module.
>>>> Comes up OK but cannot take an essid nor a key.
>>> There are a couple of bugs in 3.2.6+.
>>> I don't think they have been fixed by 3.2.9.
>>> Check dmesg for a "Badfw size" message.
>>> If you see that, the two attached patches will fix that.
>> Hi Larry,
>> Thank you for the patches.
>> Unfortunately, no cigar: <same problem>
> I tested your iwconfig statement using kernel 3.3-rc5. It worked.
> Then I downloaded a fresh copy of 3.2.9 and built it. It also worked.
> I have no idea what is wrong on your system, but it appears not to be
> the kernel, but something in your user-space tools.
> My tests were done with openSUSE 12.1.
Hi Larry,
I re-installed "wireless-tools.29" (just in case).
Same problems as before (doesn't take essid, nor key), i.e.,
the module doesn't work here.
FWIW, I'll be attaching highlights of the latest tests.
I don't know why on your system (openSUSE) the module/tools work
while on mine (BLFS) they don't.
As opposed to "distributions", a BLFS is a system not installed but
built "by hand", so the owner feels they have more control and know
what's under the hood better.
See: <www.linuxfromscratch.org>
My subject system has been working just fine for years now:
ASUS P5E-VM HDMI, Intel E8400, 3.0 GHz, 4 GB, G35/ICH9R, SATA
REFERENCES - so we can compare notes:
[~]$ uname -a
Linux AlexLFS 3.2.9 #1 SMP Mon Mar 5 20:16:46 EST 2012 i686 i686 i386
GNU/Linux
wireless_tools.29.tar.gz
md5sum: e06c222e186f7cc013fd272d023710cb
Unprivileged: make
Privileged: make PREFIX=/usr INSTALL_MAN=/usr/share/man install
[~]$ iwconfig --version
iwconfig Wireless-Tools version 29
Compatible with Wireless Extension v11 to v22.
Kernel Currently compiled with Wireless Extension v22.
wlan0 Recommend Wireless Extension v16 or later,
Currently compiled with Wireless Extension v22.
[~]$ ls -ogtr /usr/sbin
...
-rwxr-xr-x 1 12386 2012-03-06 17:26 iwspy
-rwxr-xr-x 1 13122 2012-03-06 17:26 iwpriv
-rwxr-xr-x 1 29122 2012-03-06 17:26 iwlist
-rwxr-xr-x 1 11863 2012-03-06 17:26 iwgetid
-rwxr-xr-x 1 16105 2012-03-06 17:26 iwevent
-rwxr-xr-x 1 23263 2012-03-06 17:26 iwconfig
-rwxr-xr-x 1 26473 2012-03-06 17:26 ifrename
[~]$ ls -ogtr /usr/lib
...
-rwxr-xr-x 1 27702 2012-03-06 17:26 libiw.so.29
lrwxrwxrwx 1 11 2012-03-06 17:26 libiw.so -> libiw.so.29
[~]$ modinfo r8712u
filename: /lib/modules/3.2.9/kernel/drivers/staging/rtl8712/r8712u.ko
firmware: rtlwifi/rtl8712u.bin
author: Larry Finger
description: rtl871x wireless lan driver
license: GPL
alias: ...
depends: usbcore
staging: Y
intree: Y
vermagic: 3.2.9 SMP mod_unload CORE2
parm: ...
[~]$ ls -l /lib/firmware/rtlwifi
-rw-r--r-- 1 alex users 129304 2012-03-04 15:42 rtl8712u.bin
Thank you for your help. We'll make it work sooner or later.
-- Alex
[-- Attachment #2: rtl8712_3.1.txt --]
[-- Type: text/plain, Size: 4284 bytes --]
usb 2-6: new high-speed USB device number 3 using ehci_hcd
r8712u: DriverVersion: v7_0.20100831
r8712u: register rtl8712_netdev_ops to netdev_ops
r8712u: USB_SPEED_HIGH with 4 endpoints
r8712u: Boot from EFUSE: Autoload OK
r8712u: CustomerID = 0x0000
r8712u: MAC Address from efuse = 00:1a:ef:25:2d:f9
r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
------
[~]$ ifconfig wlan0 up
r8712u: 1 RCR=0x153f00e
r8712u: 2 RCR=0x553f00e
ADDRCONF(NETDEV_UP): wlan0: link is not ready
------
[~]$ ls -og /proc/net/wireless
-r--r--r-- 1 0 2012-03-06 18:02 /proc/net/wireless
[~]$ cat /proc/net/wireless
Inter-| sta-| Quality | Discarded packets | Missed |
WE face | tus | link level noise | nwid crypt frag retry misc | beacon
| 22 wlan0: 0000 0. 0. 0. 0 0 0 0 0
0
------
[~]$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:1A:EF:25:2D:F9
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
------
[~]$ iwconfig wlan0 essid "Alex" ; echo $?
0
[~]$ iwconfig wlan0
wlan0 unassociated Nickname:"rtl_wifi"
Mode:Managed Access Point: Not-Associated Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
------
[~]$ iwconfig wlan0 essid Alex ; echo $?
0
[~]$ iwconfig wlan0
wlan0 unassociated Nickname:"rtl_wifi"
Mode:Managed Access Point: Not-Associated Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
------
[~]$ iwconfig wlan0 key restricted 123456789ABCDEF123456789AB ; echo $?
r8712u: r8711_wx_set_enc: IW_ENCODE_RESTRICTED
0
------
[~]$ ifconfig wlan0 down
[~]$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[~]$ iwconfig wlan0 key restricted 123456789ABCDEF123456789AB ; echo $?
r8712u: r8711_wx_set_enc: IW_ENCODE_RESTRICTED
0
[~]$ iwconfig wlan0
wlan0 unassociated Nickname:"rtl_wifi"
Mode:Managed Access Point: Not-Associated Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
------
[~]$ iwconfig wlan0 essid Alex ; echo $?
0
[~]$ iwconfig wlan0
wlan0 unassociated Nickname:"rtl_wifi"
Mode:Managed Access Point: Not-Associated Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
------
[~]$ iwconfig wlan0 key 123456789ABCDEF123456789AB ; echo $?
0
[~]$ iwconfig wlan0
wlan0 unassociated Nickname:"rtl_wifi"
Mode:Managed Access Point: Not-Associated Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
------
[~]$ usb 2-6: USB disconnect, device number 3
next reply other threads:[~2012-03-07 1:44 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-07 1:44 alupu [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-03-13 4:13 r8712u staging in kernel 3.2.9 alupu
2012-03-12 23:02 alupu
2012-03-13 0:54 ` Larry Finger
2012-03-12 1:46 alupu
2012-03-12 2:54 ` Larry Finger
2012-03-11 22:36 alupu
2012-03-12 0:19 ` Larry Finger
2012-03-11 19:57 alupu
2012-03-11 19:57 alupu
2012-03-10 18:10 alupu
2012-03-11 4:23 ` Larry Finger
2012-03-10 4:53 alupu
2012-03-09 19:06 alupu
2012-03-10 2:17 ` Larry Finger
2012-03-07 5:31 alupu
2012-03-07 16:15 ` Larry Finger
[not found] <31991817.2926129.1331079358141.JavaMail.root@vznit170116>
2012-03-07 3:22 ` Larry Finger
2012-03-06 2:22 alupu
2012-03-06 20:21 ` Larry Finger
2012-03-05 17:07 alupu
2012-03-05 19:10 ` Larry Finger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27428618.2937387.1331084658879.JavaMail.root@vznit170116 \
--to=alupu@verizon.net \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).