2015-05-16 19:52:51

by Alberto Mardegan

[permalink] [raw]
Subject: tp-link tl-wn8200nd and rtlwifi_new drivers

Hi all!
I unfortunately purchased a Tp-Link TL-WN8200ND USB wireless adapter,
which is not working in Linux (there are several reports of this in this
ML already, so I won't bother you with another one).

I wanted to test the new rtlwifi_new drivers from
https://github.com/lwfinger/rtlwifi_new
to see if by any chance they could help having this device running. I
built then and installed them (in Ubuntu 14.04), but I don't know how to
make sure that the kernel is using the new drivers and not the old ones.
Is there some hint in the syslog which could tell me whether I'm now
using the new or the old drivers (for the record, it still doesn't work)?

Ciao,
Alberto


2015-05-16 20:46:03

by Alberto Mardegan

[permalink] [raw]
Subject: Re: tp-link tl-wn8200nd and rtlwifi_new drivers

On 05/16/2015 11:04 PM, Larry Finger wrote:
> Please list the USB ID for your device as shown by lsusb.

Bus 001 Device 004: ID 2357:0100

Here's the first few lines of syslog when I insert the device:

May 16 23:39:31 fujino kernel: [ 526.925753] usb 1-1.2: new high-speed
USB device number 4 using ehci-pci
May 16 23:39:31 fujino kernel: [ 527.019903] usb 1-1.2: New USB device
found, idVendor=2357, idProduct=0100
May 16 23:39:31 fujino kernel: [ 527.019910] usb 1-1.2: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
May 16 23:39:31 fujino kernel: [ 527.019915] usb 1-1.2: Product:
802.11n WLAN Adapter
May 16 23:39:31 fujino kernel: [ 527.019918] usb 1-1.2: Manufacturer:
Realtek
May 16 23:39:31 fujino kernel: [ 527.019921] usb 1-1.2: SerialNumber:
00e04c000001
May 16 23:39:31 fujino kernel: [ 527.023349] rtl8192cu: Chip version 0x11
May 16 23:39:31 fujino kernel: [ 527.113013] rtl8192cu: MAC address:
c4:6e:1f:17:0d:f8
May 16 23:39:31 fujino kernel: [ 527.113023] rtl8192cu: Board Type 0
May 16 23:39:31 fujino kernel: [ 527.113250] rtl_usb: rx_max_size
15360, rx_urb_num 8, in_ep 1
May 16 23:39:31 fujino kernel: [ 527.113295] rtl8192cu: Loading
firmware rtlwifi/rtl8192cufw_TMSC.bin
May 16 23:39:31 fujino kernel: [ 527.113733] ieee80211 phy2: Selected
rate control algorithm 'rtl_rc'
May 16 23:39:31 fujino kernel: [ 527.114712] rtlwifi: wireless switch is on

I found this old conversation where you were helping another user having
the same device:

http://www.spinics.net/lists/linux-wireless/msg109223.html

Did you get the device you ordered from e-bay? I wonder if they are all
the same, or if there are hardware variants which are working out of the
box.

Ciao,
Alberto

2015-05-16 20:04:57

by Larry Finger

[permalink] [raw]
Subject: Re: tp-link tl-wn8200nd and rtlwifi_new drivers

On 05/16/2015 02:52 PM, Alberto Mardegan wrote:
> Hi all!
> I unfortunately purchased a Tp-Link TL-WN8200ND USB wireless adapter, which
> is not working in Linux (there are several reports of this in this ML already,
> so I won't bother you with another one).
>
> I wanted to test the new rtlwifi_new drivers from
> https://github.com/lwfinger/rtlwifi_new
> to see if by any chance they could help having this device running. I built then
> and installed them (in Ubuntu 14.04), but I don't know how to make sure that the
> kernel is using the new drivers and not the old ones.
> Is there some hint in the syslog which could tell me whether I'm now using the
> new or the old drivers (for the record, it still doesn't work)?

Please list the USB ID for your device as shown by lsusb.

If you did the 'sudo make install' step without error, then these drivers are
loaded. All but one of the drivers in rtlwifi_new are for PCI devices, but you
have a USB model. Thus only driver rtl8192cu might be used by your device.

Larry