tomcom
06.07.13, 12:41
Hallo,
ich habe TL-WN821N WLAN-Dongles.
Diese werden leider mit höchst unterschiedlichen Chipsätzen ausgeliefert.
Gehofft habe ich auf die Variante mit Atheroschipsatz.
Leider kamen die Dongels mit Realtek 8291cu Chipsatz:
ubuntu$ lsusb
Bus 001 Device 002: ID 0bda:8178 Realtek Semiconductor Corp.
ubuntu$ lsmod|grep rtl
rtl8192cu 103297 0
rtl8192c_common 75767 1 rtl8192cu
rtlwifi 111202 1 rtl8192cu
mac80211 506816 4 rtl8192cu,rtl8192c_common,rtlwifi,iwlwifi
cfg80211 205544 3 rtlwifi,iwlwifi,mac80211
ubuntu$ modinfo rtl8192cu|head; modinfo rtl8192cu|tail
filename: /lib/modules/3.2.0-34-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko
firmware: rtlwifi/rtl8192cufw.bin
description: Realtek 8192C/8188C 802.11n USB wireless
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Ziv Huang <ziv_huang@realtek.com>
author: Georgia <georgia@realtek.com>
srcversion: 3AC5F1C20C472F39C6C2744
alias: usb:v7392p7822d*dc*dsc*dp*ic*isc*ip*
alias: usb:v20F4p624Dd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0BDAp8176d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0BDAp8170d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0BDAp018Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v0BDAp8191d*dc*dsc*dp*ic*isc*ip*
depends: rtlwifi,mac80211,rtl8192c-common
intree: Y
vermagic: 3.2.0-34-generic SMP mod_unload modversions
parm: swenc:Set to 1 for software crypto (default 0)
(bool)
parm: debug:Set debug level (0-5) (default 0) (int)
Unter Ubuntu funktionieren sie wunderbar, wie oben .
Aber ich will sie unter Archlinux-arm auf einem Raspberry Pi verwenden.
Während er unter Ubuntu rtl8291cu.ko, rtl8192c_common.ko und rtlwifi.ko verwendet, wird unter Archlnux 8291cu.ko genutzt.
Damit funktioniert der Stick leider nicht. (Testweise habe ich den Code mit der Version von der Realtek-Hompage und von https://aur.archlinux.org/packages/dkms-8192cu/ upgedatet)
Ich würde gerne rtl8291cu.ko für Archlinux (arm,raspi) bauen.
Ich finde es aber nicht per make menuconfig.
Beide Quellen befinden sich unter linux/drivers/net/wireless/.
Inhalt rtl8192cu/Kconfig (baut 8192cu.ko)
config RTL8192CU
tristate "Realtek 8192C USB WiFi"
depends on USB
---help---
Help message of RTL8192CU
Inhalt rtlwifi/Kconfig (baut rtl8192cu.ko, rtlwifi.ko, ...)
config RTLWIFI
tristate "Realtek wireless card support"
depends on MAC80211
select FW_LOADER
---help---
This is common code for RTL8192CE/RTL8192CU/RTL8192SE/RTL8723AE
drivers. This module does nothing by itself - the various front-end
drivers need to be enabled to support any desired devices.
If you choose to build as a module, it'll be called rtlwifi.
config RTLWIFI_DEBUG
bool "Debugging output for rtlwifi driver family"
depends on RTLWIFI
default y
---help---
To use the module option that sets the dynamic-debugging level for,
the front-end driver, this parameter must be "Y". For memory-limited
systems, choose "N". If in doubt, choose "Y".
config RTL8192CE
tristate "Realtek RTL8192CE/RTL8188CE Wireless Network Adapter"
depends on RTLWIFI && PCI
select RTL8192C_COMMON
---help---
This is the driver for Realtek RTL8192CE/RTL8188CE 802.11n PCIe
wireless network adapters.
If you choose to build it as a module, it will be called rtl8192ce
config RTL8192SE
tristate "Realtek RTL8192SE/RTL8191SE PCIe Wireless Network Adapter"
depends on RTLWIFI && PCI
---help---
This is the driver for Realtek RTL8192SE/RTL8191SE 802.11n PCIe
wireless network adapters.
If you choose to build it as a module, it will be called rtl8192se
config RTL8192DE
tristate "Realtek RTL8192DE/RTL8188DE PCIe Wireless Network Adapter"
depends on RTLWIFI && PCI
---help---
This is the driver for Realtek RTL8192DE/RTL8188DE 802.11n PCIe
wireless network adapters.
If you choose to build it as a module, it will be called rtl8192de
config RTL8723AE
tristate "Realtek RTL8723AE PCIe Wireless Network Adapter"
depends on RTLWIFI && PCI
---help---
This is the driver for Realtek RTL8723AE 802.11n PCIe
wireless network adapters.
If you choose to build it as a module, it will be called rtl8723ae
config RTL8192CU
tristate "Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter"
depends on RTLWIFI && USB
select RTL8192C_COMMON
---help---
This is the driver for Realtek RTL8192CU/RTL8188CU 802.11n USB
wireless network adapters.
If you choose to build it as a module, it will be called rtl8192cu
config RTL8192C_COMMON
tristate
depends on RTL8192CE || RTL8192CU
default m
Ich müsste irgendwie RTLWIFI, RTL8192CU und RTL8192C_COMMON per make menuconfig aktivieren können. Wie finde ich es heraus, wo es steht?
Dann heißt das config-Kommando für 8192cu.ko dummerweise auch RTL8192CU, also genauso wie bei rtl8192cu.ko.
Ich kenne mich nicht besonders mit dem Menuconfigsystem aus. Ich denke mir aber mal, dass man irgendwo einstellen kann: "nutze Ordner rtlwifi statt rtl8192cu.
Gruß Thomas
ich habe TL-WN821N WLAN-Dongles.
Diese werden leider mit höchst unterschiedlichen Chipsätzen ausgeliefert.
Gehofft habe ich auf die Variante mit Atheroschipsatz.
Leider kamen die Dongels mit Realtek 8291cu Chipsatz:
ubuntu$ lsusb
Bus 001 Device 002: ID 0bda:8178 Realtek Semiconductor Corp.
ubuntu$ lsmod|grep rtl
rtl8192cu 103297 0
rtl8192c_common 75767 1 rtl8192cu
rtlwifi 111202 1 rtl8192cu
mac80211 506816 4 rtl8192cu,rtl8192c_common,rtlwifi,iwlwifi
cfg80211 205544 3 rtlwifi,iwlwifi,mac80211
ubuntu$ modinfo rtl8192cu|head; modinfo rtl8192cu|tail
filename: /lib/modules/3.2.0-34-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko
firmware: rtlwifi/rtl8192cufw.bin
description: Realtek 8192C/8188C 802.11n USB wireless
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Ziv Huang <ziv_huang@realtek.com>
author: Georgia <georgia@realtek.com>
srcversion: 3AC5F1C20C472F39C6C2744
alias: usb:v7392p7822d*dc*dsc*dp*ic*isc*ip*
alias: usb:v20F4p624Dd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0BDAp8176d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0BDAp8170d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0BDAp018Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v0BDAp8191d*dc*dsc*dp*ic*isc*ip*
depends: rtlwifi,mac80211,rtl8192c-common
intree: Y
vermagic: 3.2.0-34-generic SMP mod_unload modversions
parm: swenc:Set to 1 for software crypto (default 0)
(bool)
parm: debug:Set debug level (0-5) (default 0) (int)
Unter Ubuntu funktionieren sie wunderbar, wie oben .
Aber ich will sie unter Archlinux-arm auf einem Raspberry Pi verwenden.
Während er unter Ubuntu rtl8291cu.ko, rtl8192c_common.ko und rtlwifi.ko verwendet, wird unter Archlnux 8291cu.ko genutzt.
Damit funktioniert der Stick leider nicht. (Testweise habe ich den Code mit der Version von der Realtek-Hompage und von https://aur.archlinux.org/packages/dkms-8192cu/ upgedatet)
Ich würde gerne rtl8291cu.ko für Archlinux (arm,raspi) bauen.
Ich finde es aber nicht per make menuconfig.
Beide Quellen befinden sich unter linux/drivers/net/wireless/.
Inhalt rtl8192cu/Kconfig (baut 8192cu.ko)
config RTL8192CU
tristate "Realtek 8192C USB WiFi"
depends on USB
---help---
Help message of RTL8192CU
Inhalt rtlwifi/Kconfig (baut rtl8192cu.ko, rtlwifi.ko, ...)
config RTLWIFI
tristate "Realtek wireless card support"
depends on MAC80211
select FW_LOADER
---help---
This is common code for RTL8192CE/RTL8192CU/RTL8192SE/RTL8723AE
drivers. This module does nothing by itself - the various front-end
drivers need to be enabled to support any desired devices.
If you choose to build as a module, it'll be called rtlwifi.
config RTLWIFI_DEBUG
bool "Debugging output for rtlwifi driver family"
depends on RTLWIFI
default y
---help---
To use the module option that sets the dynamic-debugging level for,
the front-end driver, this parameter must be "Y". For memory-limited
systems, choose "N". If in doubt, choose "Y".
config RTL8192CE
tristate "Realtek RTL8192CE/RTL8188CE Wireless Network Adapter"
depends on RTLWIFI && PCI
select RTL8192C_COMMON
---help---
This is the driver for Realtek RTL8192CE/RTL8188CE 802.11n PCIe
wireless network adapters.
If you choose to build it as a module, it will be called rtl8192ce
config RTL8192SE
tristate "Realtek RTL8192SE/RTL8191SE PCIe Wireless Network Adapter"
depends on RTLWIFI && PCI
---help---
This is the driver for Realtek RTL8192SE/RTL8191SE 802.11n PCIe
wireless network adapters.
If you choose to build it as a module, it will be called rtl8192se
config RTL8192DE
tristate "Realtek RTL8192DE/RTL8188DE PCIe Wireless Network Adapter"
depends on RTLWIFI && PCI
---help---
This is the driver for Realtek RTL8192DE/RTL8188DE 802.11n PCIe
wireless network adapters.
If you choose to build it as a module, it will be called rtl8192de
config RTL8723AE
tristate "Realtek RTL8723AE PCIe Wireless Network Adapter"
depends on RTLWIFI && PCI
---help---
This is the driver for Realtek RTL8723AE 802.11n PCIe
wireless network adapters.
If you choose to build it as a module, it will be called rtl8723ae
config RTL8192CU
tristate "Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter"
depends on RTLWIFI && USB
select RTL8192C_COMMON
---help---
This is the driver for Realtek RTL8192CU/RTL8188CU 802.11n USB
wireless network adapters.
If you choose to build it as a module, it will be called rtl8192cu
config RTL8192C_COMMON
tristate
depends on RTL8192CE || RTL8192CU
default m
Ich müsste irgendwie RTLWIFI, RTL8192CU und RTL8192C_COMMON per make menuconfig aktivieren können. Wie finde ich es heraus, wo es steht?
Dann heißt das config-Kommando für 8192cu.ko dummerweise auch RTL8192CU, also genauso wie bei rtl8192cu.ko.
Ich kenne mich nicht besonders mit dem Menuconfigsystem aus. Ich denke mir aber mal, dass man irgendwo einstellen kann: "nutze Ordner rtlwifi statt rtl8192cu.
Gruß Thomas