Linux wireless drivers development
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: "Mylène Josserand" <mylene.josserand@bootlin.com>,
	linux-wireless@vger.kernel.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: rtl8188eu: link is not ready error on lm816
Date: Sat, 5 May 2018 16:11:13 -0500	[thread overview]
Message-ID: <f40ea748-d53f-9cd5-18f9-e713c86865bb@lwfinger.net> (raw)
In-Reply-To: <20180504212057.2edaa658@dell-desktop.home>

On 05/04/2018 02:20 PM, Mylène Josserand wrote:
> Hello everyone,
> 
> I am currently testing a USB Wifi dongle LM816 [1] on a custom platform
> based on an IMX6.
> 
> My configuration:
> 	kernel from mainline: v4.14
> 	driver: staging R8188EU
> 	firmware: rtl8188eu from linux-firmware, last commit
> 	a3a26af24e29c818ef9b5661856018e21a5c49fb
> 
> When I tried to set the wlan interface up, it says that "link is not
> ready" and that's all. Because of that, it fails to scan available
> networks.
> 
> Here are commands used and their output:
> 
> # dmesg
> [...]
> [   14.690152] r8188eu: module is from the staging directory, the
> quality is unknown, you have been warned.
> [   14.703105] Chip Version
> Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
> [...]
> 
> # lsusb
> Bus 002 Device 004: ID 0bda:8179  <-- LM816
> Bus 002 Device 003: ID 0424:9e00
> Bus 002 Device 002: ID 0424:2517
> Bus 002 Device 001: ID 1d6b:0002
> Bus 001 Device 001: ID 1d6b:0002
> 
> # lsmod
> Module                  Size  Used by    Tainted: G
> dw_hdmi_ahb_audio      16384  0
> r8188eu               401408  0
> coda                   61440  0
> imx_vdoa               16384  1 coda
> v4l2_mem2mem           24576  1 coda
> videobuf2_vmalloc      16384  1 coda
> evbug                  16384  0
> 
> # ifconfig wlan0 up
> [  447.639524] MAC Address = 5c:f3:70:3d:5c:71
> [  447.653636] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> #
> #
> # iw wlan0 scan
> command failed: No such device (-19)
> 
> 
> Does anyone already have this issue with this dongle?
> If it is not the case, what is your setup? Which firmware? Which driver?
> Any help will be very appreciated.
> 
> Thanks in advance,
> Best regards,
> 
> [1]:
> https://www.lm-technologies.com/product/wifi-usb-nano-adapter-150mbps-lm816/

I am running kernel 4.17.0-rc3 under openSUSE Tumbleweed KDE on a Toshiba 
laptop, and controlling networks with NetworkManager. When I plug my dongle in, 
the device connects automatically. The firmware I am using has the following md5sum:

aaef52a47852e599cbff63a3e7f96a94  /lib/firmware/rtlwifi/rtl8188eufw.bin

My dongle shows the following with lsusb:
ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter

Mine shows as an A-cut:
Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0)

Yours is a D-cut, but I would not expect any difference from that. The only 
place that information is used is in the log entry shown above.

If you want to try a different driver, there is one at
http://github.com/lwfinger/rtl8188eu.git

Larry

  reply	other threads:[~2018-05-05 21:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-04 19:20 rtl8188eu: link is not ready error on lm816 Mylène Josserand
2018-05-05 21:11 ` Larry Finger [this message]
2018-05-14  6:55   ` Mylène Josserand
2018-05-15  7:42     ` Mylène Josserand
2018-05-15 14:48       ` 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=f40ea748-d53f-9cd5-18f9-e713c86865bb@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mylene.josserand@bootlin.com \
    --cc=thomas.petazzoni@bootlin.com \
    /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