2017-03-29 12:51:35

by walter strametz

[permalink] [raw]
Subject: compile driver for rtl8192su

Hi - I try to get my D-Link N300 running and compiled the sources on
github (chunkeey - rtl8192su). Other trials also failed, because the
driver-source is not compatible with the (newer) kernel.

See more information in the enclosed textfile .

Can you help me?

Thx, Walter


Attachments:
compileerror.txt (4.27 kB)

2017-03-29 16:33:30

by poma

[permalink] [raw]
Subject: Re: compile driver for rtl8192su

On 29.03.2017 14:51, walter strametz wrote:
> Hi - I try to get my D-Link N300 running and compiled the sources on
> github (chunkeey - rtl8192su). Other trials also failed, because the
> driver-source is not compatible with the (newer) kernel.
>
> See more information in the enclosed textfile .
>
> Can you help me?
>
> Thx, Walter
>

>From the aforementioned attachment - compileerror.txt
[...]
walter@thinkpad ~/rtl8192su $ lsusb
Bus 002 Device 004: ID 2001:3319 D-Link Corp.
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0a5c:217f Broadcom Corp. BCM2045B (BDC-2.1)
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[...]

= Bus 002 Device 004: ID 2001:3319 D-Link Corp. =


Support - DWA-131 - Revision E
http://www.dlink.com/uk/en/support/product/dwa-131-wireless-n-nano-usb-adapter?revision=deu_reve#downloads
Drivers
ftp://ftp.dlink.eu/Products/dwa/dwa-131/driver_software/DWA-131_drv_revE_5-03_eu_multi_20161215.zip

$ unzip DWA-131_drv_revE_5-03_eu_multi_20161215.zip
$ unzip 20161124_DWA-131E_V5.04b03.zip

$ dos2unix < 20161124_DWA-131E_V5.04b03/Drivers/WinXPx86_Win2K/Dnetrtwlanu_XP.inf | grep 2001.*3319
%DLink_131E.DeviceDesc% = RTL8192eu.ndi, USB\VID_2001&PID_3319

........................................

D-Link DWA-131 (N300, USB, WiFi Adapter)
http://www.linux-hardware-guide.com/2013-11-16-d-link-dwa-131-n300-usb-wifi-adapter
...
Version E1: 2001:3319
A new version of the DWA-131 was identified with USB ID 2001:3319
Bus 001 Device 003: ID 2001:3319 D-Link Corp
and seems to be based on the Realtek RTL8192eu chipset.
...

http://support.dlink.com.au/download/download.aspx?product=DWA-131
Drivers
ftp://files.dlink.com.au/products/DWA-131/REV_E/Drivers/DWA-131_Linux_driver_v4.3.1.1.zip

$ unzip DWA-131_Linux_driver_v4.3.1.1.zip
$ tar xf 20140812_rtl8192EU_linux_v4.3.1.1_11320.tar.gz

$ grep 2001.*3319 20140812_rtl8192EU_linux_v4.3.1.1_11320/os_dep/linux/usb_intf.c
{USB_DEVICE(0x2001, 0x3319),.driver_info = RTL8192E}, /* D-Link - DWA-131 */

...............................................

Drivers for the rtl8192eu chipset for wireless adapters (D-Link DWA-131 rev E1 included!)
https://github.com/Mange/rtl8192eu-linux-driver

$ git clone https://github.com/Mange/rtl8192eu-linux-driver.git
$ cd rtl8192eu-linux-driver/
$ make
$ modinfo 8192eu.ko | grep 2001.3319
alias: usb:v2001p3319d*dc*dsc*dp*ic*isc*ip*in*

2017-03-29 19:52:18

by walter strametz

[permalink] [raw]
Subject: Re: compile driver for rtl8192su

Hi Poma and Christian,

I thank you so much - this mail is sent from my newly established
wireless connection - works like a charm!!!

Many many thanks to you!

Walter

2017-03-29 18:33 GMT+02:00 poma <[email protected]>:
> On 29.03.2017 14:51, walter strametz wrote:
>> Hi - I try to get my D-Link N300 running and compiled the sources on
>> github (chunkeey - rtl8192su). Other trials also failed, because the
>> driver-source is not compatible with the (newer) kernel.
>>
>> See more information in the enclosed textfile .
>>
>> Can you help me?
>>
>> Thx, Walter
>>
>
> From the aforementioned attachment - compileerror.txt
> [...]
> walter@thinkpad ~/rtl8192su $ lsusb
> Bus 002 Device 004: ID 2001:3319 D-Link Corp.
> Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 001 Device 003: ID 0a5c:217f Broadcom Corp. BCM2045B (BDC-2.1)
> Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> [...]
>
> = Bus 002 Device 004: ID 2001:3319 D-Link Corp. =
>
>
> Support - DWA-131 - Revision E
> http://www.dlink.com/uk/en/support/product/dwa-131-wireless-n-nano-usb-adapter?revision=deu_reve#downloads
> Drivers
> ftp://ftp.dlink.eu/Products/dwa/dwa-131/driver_software/DWA-131_drv_revE_5-03_eu_multi_20161215.zip
>
> $ unzip DWA-131_drv_revE_5-03_eu_multi_20161215.zip
> $ unzip 20161124_DWA-131E_V5.04b03.zip
>
> $ dos2unix < 20161124_DWA-131E_V5.04b03/Drivers/WinXPx86_Win2K/Dnetrtwlanu_XP.inf | grep 2001.*3319
> %DLink_131E.DeviceDesc% = RTL8192eu.ndi, USB\VID_2001&PID_3319
>
> ........................................
>
> D-Link DWA-131 (N300, USB, WiFi Adapter)
> http://www.linux-hardware-guide.com/2013-11-16-d-link-dwa-131-n300-usb-wifi-adapter
> ...
> Version E1: 2001:3319
> A new version of the DWA-131 was identified with USB ID 2001:3319
> Bus 001 Device 003: ID 2001:3319 D-Link Corp
> and seems to be based on the Realtek RTL8192eu chipset.
> ...
>
> http://support.dlink.com.au/download/download.aspx?product=DWA-131
> Drivers
> ftp://files.dlink.com.au/products/DWA-131/REV_E/Drivers/DWA-131_Linux_driver_v4.3.1.1.zip
>
> $ unzip DWA-131_Linux_driver_v4.3.1.1.zip
> $ tar xf 20140812_rtl8192EU_linux_v4.3.1.1_11320.tar.gz
>
> $ grep 2001.*3319 20140812_rtl8192EU_linux_v4.3.1.1_11320/os_dep/linux/usb_intf.c
> {USB_DEVICE(0x2001, 0x3319),.driver_info = RTL8192E}, /* D-Link - DWA-131 */
>
> ...............................................
>
> Drivers for the rtl8192eu chipset for wireless adapters (D-Link DWA-131 rev E1 included!)
> https://github.com/Mange/rtl8192eu-linux-driver
>
> $ git clone https://github.com/Mange/rtl8192eu-linux-driver.git
> $ cd rtl8192eu-linux-driver/
> $ make
> $ modinfo 8192eu.ko | grep 2001.3319
> alias: usb:v2001p3319d*dc*dsc*dp*ic*isc*ip*in*
>

2017-03-29 16:26:46

by Christian Lamparter

[permalink] [raw]
Subject: Re: compile driver for rtl8192su

Hello,

On Wednesday, March 29, 2017 2:51:13 PM CEST walter strametz wrote:
> I try to get my D-Link N300 running and compiled the sources on
> github (chunkeey - rtl8192su). Other trials also failed, because the
> driver-source is not compatible with the (newer) kernel.
the 4.4.y kernel is too old.

Only kernels built from the latest wireless-testing.git are compatible.
If you want to know more about wireless-testing.git then visit the
wireless wiki's Git-Guide:
<https://wireless.wiki.kernel.org/en/developers/Documentation/git-guide>

Regards,
Christian