* compile driver for rtl8192su
@ 2017-03-29 12:51 walter strametz
2017-03-29 16:26 ` Christian Lamparter
2017-03-29 16:33 ` poma
0 siblings, 2 replies; 4+ messages in thread
From: walter strametz @ 2017-03-29 12:51 UTC (permalink / raw)
To: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
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
[-- Attachment #2: compileerror.txt --]
[-- Type: text/plain, Size: 4374 bytes --]
Hi - I try to get my D-Link N300 running and compiled:
gthub.com/chunkeey/rtl8192su
walter@thinkpad ~/rtl8192su $ make
make -C /lib/modules/4.4.0-70-generic/build M=/home/walter/rtl8192su/rtlwifi CONFIG_RTL_CARDS=y CONFIG_RTLWIFI=m CONFIG_RTLWIFI_DEBUG=y CONFIG_RTLWIFI_DEBUGFS=y CONFIG_RTLWIFI_USB=m CONFIG_RTLWIFI_PCI=m CONFIG_RTL8192SU=m CONFIG_RTL8192SE=m CONFIG_RTL8192S_COMMON=m CONFIG_RTL8192CU=n CONFIG_RTL8192DE=n CONFIG_RTL8192CE=n CONFIG_RTL8192C_COMMON=n CONFIG_RTL8723AE=n CONFIG_RTL8188EE=n EXTRA_CFLAGS="-DDEBUG -DCONFIG_RTLWIFI_DEBUGFS=m"
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-70-generic'
CC [M] /home/walter/rtl8192su/rtlwifi/base.o
In file included from /home/walter/rtl8192su/rtlwifi/base.c:26:0:
/home/walter/rtl8192su/rtlwifi/wifi.h:1363:40: error: ‘NUM_NL80211_BANDS’ undeclared here (not in a function)
struct ieee80211_supported_band bands[NUM_NL80211_BANDS];
^
/home/walter/rtl8192su/rtlwifi/base.c: In function ‘rtlwifi_rate_mapping’:
/home/walter/rtl8192su/rtlwifi/base.c:961:25: warning: comparison between ‘enum nl80211_band’ and ‘enum ieee80211_band’ [-Wenum-compare]
if (NL80211_BAND_2GHZ == hw->conf.chandef.chan->band) {
^
scripts/Makefile.build:258: recipe for target '/home/walter/rtl8192su/rtlwifi/base.o' failed
make[2]: *** [/home/walter/rtl8192su/rtlwifi/base.o] Error 1
Makefile:1420: recipe for target '_module_/home/walter/rtl8192su/rtlwifi' failed
make[1]: *** [_module_/home/walter/rtl8192su/rtlwifi] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-70-generic'
Makefile:22: recipe for target 'all' failed
make: *** [all] Error 2
walter@thinkpad ~/rtl8192su $
Here is some info about my environment:
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
walter@thinkpad ~/rtl8192su $ inxi -Fx
System: Host: thinkpad Kernel: 4.4.0-70-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.0.7 (Gtk 3.18.9-1ubuntu3.2)
Distro: Linux Mint 18 Sarah
Machine: System: LENOVO (portable) product: 3249CTO v: ThinkPad X201
Mobo: LENOVO model: 3249CTO
Bios: LENOVO v: 6QET61WW (1.31 ) date: 10/26/2010
CPU: Dual core Intel Core i7 M 620 (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10639
clock speeds: max: 2667 MHz 1: 1199 MHz 2: 1199 MHz 3: 2133 MHz
4: 1333 MHz
Graphics: Card: Intel Core Processor Integrated Graphics Controller
bus-ID: 00:02.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1280x800@60.00hz
GLX Renderer: Mesa DRI Intel Ironlake Mobile
GLX Version: 2.1 Mesa 12.0.6 Direct Rendering: Yes
Audio: Card Intel 5 Series/3400 Series High Definition Audio
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.4.0-70-generic
Network: Card-1: Intel 82577LM Gigabit Network Connection
driver: e1000e v: 3.2.6-k port: 1820 bus-ID: 00:19.0
IF: enp0s25 state: up speed: 1000 Mbps duplex: full
mac: f0:de:f1:3a:5e:7d
Card-2: Intel Centrino Wireless-N 1000 [Condor Peak]
driver: iwlwifi bus-ID: 02:00.0
IF: wlp2s0 state: up mac: 8c:a9:82:10:b2:2c
Drives: HDD Total Size: 250.1GB (81.6% used)
ID-1: /dev/sda model: Samsung_SSD_850 size: 250.1GB temp: 0C
Partition: ID-1: / size: 222G used: 183G (87%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 8.37GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 52.0C mobo: 0.0C
Fan Speeds (in rpm): cpu: 3276
Info: Processes: 200 Uptime: 9 min Memory: 1777.9/7779.5MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.421) inxi: 2.2.35
can you help me?
Thx, Walter
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile driver for rtl8192su
2017-03-29 12:51 compile driver for rtl8192su walter strametz
@ 2017-03-29 16:26 ` Christian Lamparter
2017-03-29 16:33 ` poma
1 sibling, 0 replies; 4+ messages in thread
From: Christian Lamparter @ 2017-03-29 16:26 UTC (permalink / raw)
To: walter; +Cc: linux-wireless
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile driver for rtl8192su
2017-03-29 12:51 compile driver for rtl8192su walter strametz
2017-03-29 16:26 ` Christian Lamparter
@ 2017-03-29 16:33 ` poma
2017-03-29 19:51 ` walter strametz
1 sibling, 1 reply; 4+ messages in thread
From: poma @ 2017-03-29 16:33 UTC (permalink / raw)
To: walter, linux-wireless
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*
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile driver for rtl8192su
2017-03-29 16:33 ` poma
@ 2017-03-29 19:51 ` walter strametz
0 siblings, 0 replies; 4+ messages in thread
From: walter strametz @ 2017-03-29 19:51 UTC (permalink / raw)
To: poma; +Cc: linux-wireless
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 <pomidorabelisima@gmail.com>:
> 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*
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-29 19:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-29 12:51 compile driver for rtl8192su walter strametz
2017-03-29 16:26 ` Christian Lamparter
2017-03-29 16:33 ` poma
2017-03-29 19:51 ` walter strametz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox