Search Linux Wireless

compile driver for rtl8192su

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux