[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTinA6GTTjP=MsVcCqmCA1Tgh-6bHjA@mail.gmail.com>
Date: Mon, 25 Apr 2011 12:32:09 +0800
From: Jeff Chua <jeff.chua.linux@...il.com>
To: Larry Finger <Larry.Finger@...inger.net>
Cc: lkml <linux-kernel@...r.kernel.org>, wlanfae@...ltek.com
Subject: Re: r8712u cannot set essid
On Mon, Apr 25, 2011 at 11:23 AM, Larry Finger
<Larry.Finger@...inger.net> wrote:
> On 04/24/2011 09:16 PM, Jeff Chua wrote:
> The code requires the interface to be up before the essid can be set. If you
> do it with the iwconfig command, you will see an error message.
I did that. Setting ssid works fine with iwlagn on the same system.
# modprobe r8712u
r8712u: module is from the staging directory, the quality is unknown,
you have been warned.
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 = 90:61:0c:01:8f:b0
usbcore: registered new interface driver r8712u
# ifconfig wlan0 up
r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
r8712u: 1 RCR=0x153f00e
r8712u: 2 RCR=0x553f00e
# iwconfig wlan0 essid "123"
# iwconfig wlan0
wlan0 unassociated Nickname:"rtl_wifi"
Mode:Auto 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
> I'm not sure if this is a reasonable requirement before allowing the essid
> to be set. Any thoughts?
As long as it works, I don't mind. But it's not working. I've tried
all sorts of combination of "ifconfig up/down" + "iwconfig essid" but
still not working.
Here's more info if it helps.
# cat /proc/bus/usb/devices
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=07b8 ProdID=8188 Rev= 2.00
S: Manufacturer=Manufacturer Realtek
S: Product=RTL8188S WLAN Adapter
S: SerialNumber=00e04c000001
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=r8712u
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=0d(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
# grep /usr/src/linux/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
{RTL_USB_DEVICE(0x07b8, 0x8188, rtl92cu_hal_cfg)}, /*Abocom - Abocom*/
I also tried this ...
# modprobe rtl8192cu
# ifconfig wlan1 up # hangs here!
usbcore: registered new interface driver rtl8192cu
rtl8192cu:_rtl92cu_init_power_on():<0-0> Failed to polling
REG_APS_FSMCO[APFM_ONMAC] done!
rtl8192cu:_rtl92cu_init_mac():<0-0> Failed to init power on!
rtl8192cu:rtl92cu_hw_init():<0-0> init mac failed!
The device is really nice and small, and would really like to make it work.
Thanks,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists