diff --git a/packages/linux-drivers/RTL8192CU/build b/packages/linux-drivers/RTL8192CU/build new file mode 100755 index 0000000000..01f32f652f --- /dev/null +++ b/packages/linux-drivers/RTL8192CU/build @@ -0,0 +1,26 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +cd $PKG_BUILD + LDFLAGS="" make V=1 -C $(kernel_path) M=$(pwd) modules diff --git a/packages/linux-drivers/RTL8192CU/install b/packages/linux-drivers/RTL8192CU/install new file mode 100755 index 0000000000..32a8771ffe --- /dev/null +++ b/packages/linux-drivers/RTL8192CU/install @@ -0,0 +1,28 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +VER=`ls $BUILD/linux*/modules/lib/modules` + +mkdir -p $INSTALL/lib/modules/$VER/RTL8188CU + cp $PKG_BUILD/*.ko $INSTALL/lib/modules/$VER/RTL8188CU diff --git a/packages/linux-drivers/RTL8192CU/meta b/packages/linux-drivers/RTL8192CU/meta new file mode 100644 index 0000000000..1e3b7415ad --- /dev/null +++ b/packages/linux-drivers/RTL8192CU/meta @@ -0,0 +1,36 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="RTL8192CU" +PKG_VERSION="v3.4.3_4369.20120622" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PFid=48&Level=5&Conn=4&ProdID=274&DownTypeID=3&GetDown=false&Downloads=true" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain linux" +PKG_PRIORITY="optional" +PKG_SECTION="driver" +PKG_SHORTDESC="Realtek RTL81xxCU Linux 3.x driver" +PKG_LONGDESC="Realtek RTL81xxCU Linux 3.x driver" +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no" diff --git a/packages/linux-drivers/RTL8192CU/need_unpack b/packages/linux-drivers/RTL8192CU/need_unpack new file mode 100755 index 0000000000..ed70b61127 --- /dev/null +++ b/packages/linux-drivers/RTL8192CU/need_unpack @@ -0,0 +1,32 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +STAMP=$STAMPS/$1/unpack + +test $PKG_DIR/config/linux.$TARGET_ARCH.conf -nt $STAMP -o \ + $PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf -nt $STAMP -o \ + $PKG_DIR/url -nt $STAMP -o \ + $PKG_DIR/meta -nt $STAMP && rm -f $STAMP + +exit 0 diff --git a/packages/linux-drivers/RTL8192CU/patches/RTL8192CU-v3.4.3_4369.20120622-add_more_products.patch b/packages/linux-drivers/RTL8192CU/patches/RTL8192CU-v3.4.3_4369.20120622-add_more_products.patch new file mode 100644 index 0000000000..fe833296a1 --- /dev/null +++ b/packages/linux-drivers/RTL8192CU/patches/RTL8192CU-v3.4.3_4369.20120622-add_more_products.patch @@ -0,0 +1,13 @@ +diff -Naur RTL8192CU-v3.4.3_4369.20120622/os_dep/linux/usb_intf.c RTL8192CU-v3.4.3_4369.20120622.patch/os_dep/linux/usb_intf.c +--- RTL8192CU-v3.4.3_4369.20120622/os_dep/linux/usb_intf.c 2012-06-22 16:59:51.000000000 +0200 ++++ RTL8192CU-v3.4.3_4369.20120622.patch/os_dep/linux/usb_intf.c 2012-08-08 08:13:59.755932307 +0200 +@@ -99,7 +99,9 @@ + {USB_DEVICE(0x2019, 0xED17)},//PCI - Edimax + {USB_DEVICE(0x0DF6, 0x0052)},//Sitecom - Edimax + {USB_DEVICE(0x7392, 0x7811)},//Edimax - Edimax ++ {USB_DEVICE(0x07B8, 0x8188)},//Abocom - Abocom + {USB_DEVICE(0x07B8, 0x8189)},//Abocom - Abocom ++ {USB_DEVICE(0x0846, 0x9041)},//NetGear WNA1000M + {USB_DEVICE(0x0EB0, 0x9071)},//NO Brand - Etop + {USB_DEVICE(0x06F8, 0xE033)},//Hercules - Edimax + {USB_DEVICE(0x103C, 0x1629)},//HP - Lite-On ,8188CUS Slim Combo diff --git a/projects/ATV/linux/linux.i386.conf b/projects/ATV/linux/linux.i386.conf index 580201d918..5624ca59ae 100644 --- a/projects/ATV/linux/linux.i386.conf +++ b/projects/ATV/linux/linux.i386.conf @@ -1198,7 +1198,7 @@ CONFIG_RT2X00_LIB_LEDS=y CONFIG_RTL8192CE=m CONFIG_RTL8192SE=m CONFIG_RTL8192DE=m -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/ATV/options b/projects/ATV/options index 1b9dccb9fb..902d829084 100755 --- a/projects/ATV/options +++ b/projects/ATV/options @@ -171,7 +171,7 @@ # asix-ax887xx: Asix AX887xx USB LAN Driver # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" - ADDITIONAL_DRIVERS="asix-ax887xx bcm_sta" + ADDITIONAL_DRIVERS="asix-ax887xx bcm_sta RTL8192CU" if [ "$PVR" = yes ]; then ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver vtuner-driver" fi diff --git a/projects/Fusion/linux/linux.i386.conf b/projects/Fusion/linux/linux.i386.conf index 4aadbc5776..673baa9ba5 100644 --- a/projects/Fusion/linux/linux.i386.conf +++ b/projects/Fusion/linux/linux.i386.conf @@ -1296,7 +1296,7 @@ CONFIG_RT2X00_LIB_LEDS=y CONFIG_RTL8192CE=m CONFIG_RTL8192SE=m CONFIG_RTL8192DE=m -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/Fusion/linux/linux.x86_64.conf b/projects/Fusion/linux/linux.x86_64.conf index da7ce3cff4..a3df41ceb1 100644 --- a/projects/Fusion/linux/linux.x86_64.conf +++ b/projects/Fusion/linux/linux.x86_64.conf @@ -1251,7 +1251,7 @@ CONFIG_RT2X00_LIB_LEDS=y CONFIG_RTL8192CE=m CONFIG_RTL8192SE=m CONFIG_RTL8192DE=m -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/Fusion/options b/projects/Fusion/options index 58b2e9811f..c165249efa 100755 --- a/projects/Fusion/options +++ b/projects/Fusion/options @@ -170,7 +170,7 @@ # asix-ax887xx: Asix AX887xx USB LAN Driver # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" - ADDITIONAL_DRIVERS="asix-ax887xx" + ADDITIONAL_DRIVERS="asix-ax887xx RTL8192CU" if [ "$PVR" = yes ]; then ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver vtuner-driver" fi diff --git a/projects/Generic/linux/linux.i386.conf b/projects/Generic/linux/linux.i386.conf index 1b4527c3de..5a0c1d0cf8 100644 --- a/projects/Generic/linux/linux.i386.conf +++ b/projects/Generic/linux/linux.i386.conf @@ -1375,7 +1375,7 @@ CONFIG_RT2X00_LIB_LEDS=y CONFIG_RTL8192CE=m CONFIG_RTL8192SE=m CONFIG_RTL8192DE=m -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/Generic/options b/projects/Generic/options index 43f09276e3..046a379b72 100755 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -170,7 +170,7 @@ # asix-ax887xx: Asix AX887xx USB LAN Driver # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" - ADDITIONAL_DRIVERS="asix-ax887xx bcm_sta" + ADDITIONAL_DRIVERS="asix-ax887xx bcm_sta RTL8192CU" if [ "$PVR" = yes ]; then ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver vtuner-driver" fi @@ -275,7 +275,7 @@ # build and install CEC adapter support (yes / no) CEC_SUPPORT="yes" - + # build and install iSCSI support - iscsistart (yes / no) ISCSI_SUPPORT="yes" diff --git a/projects/Generic_OSS/linux/linux.i386.conf b/projects/Generic_OSS/linux/linux.i386.conf index ce869a69b2..7a75b1fff0 100644 --- a/projects/Generic_OSS/linux/linux.i386.conf +++ b/projects/Generic_OSS/linux/linux.i386.conf @@ -1373,7 +1373,7 @@ CONFIG_RT2X00_LIB_LEDS=y CONFIG_RTL8192CE=m CONFIG_RTL8192SE=m CONFIG_RTL8192DE=m -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/Generic_OSS/options b/projects/Generic_OSS/options index 765b2f700a..980ac1dc13 100755 --- a/projects/Generic_OSS/options +++ b/projects/Generic_OSS/options @@ -170,7 +170,7 @@ # asix-ax887xx: Asix AX887xx USB LAN Driver # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" - ADDITIONAL_DRIVERS="asix-ax887xx" + ADDITIONAL_DRIVERS="asix-ax887xx RTL8192CU" if [ "$PVR" = yes ]; then ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver vtuner-driver" fi diff --git a/projects/ION/linux/linux.i386.conf b/projects/ION/linux/linux.i386.conf index efbc21774a..567275e661 100644 --- a/projects/ION/linux/linux.i386.conf +++ b/projects/ION/linux/linux.i386.conf @@ -1287,7 +1287,7 @@ CONFIG_RT2X00_LIB_LEDS=y CONFIG_RTL8192CE=m CONFIG_RTL8192SE=m CONFIG_RTL8192DE=m -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/ION/linux/linux.x86_64.conf b/projects/ION/linux/linux.x86_64.conf index e39dca4ac1..ade50deb83 100644 --- a/projects/ION/linux/linux.x86_64.conf +++ b/projects/ION/linux/linux.x86_64.conf @@ -1230,7 +1230,7 @@ CONFIG_RT2X00_LIB_LEDS=y CONFIG_RTL8192CE=m CONFIG_RTL8192SE=m CONFIG_RTL8192DE=m -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/ION/options b/projects/ION/options index 5b25faa918..8e6e1e90cc 100755 --- a/projects/ION/options +++ b/projects/ION/options @@ -170,7 +170,7 @@ # asix-ax887xx: Asix AX887xx USB LAN Driver # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" - ADDITIONAL_DRIVERS="asix-ax887xx" + ADDITIONAL_DRIVERS="asix-ax887xx RTL8192CU" if [ "$PVR" = yes ]; then ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver vtuner-driver" fi diff --git a/projects/Intel/linux/linux.i386.conf b/projects/Intel/linux/linux.i386.conf index ee4004456c..4ed658a07b 100644 --- a/projects/Intel/linux/linux.i386.conf +++ b/projects/Intel/linux/linux.i386.conf @@ -1325,7 +1325,7 @@ CONFIG_RT2X00_LIB_LEDS=y CONFIG_RTL8192CE=m CONFIG_RTL8192SE=m CONFIG_RTL8192DE=m -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/Intel/linux/linux.x86_64.conf b/projects/Intel/linux/linux.x86_64.conf index 77f940e866..b7e1a2ac4b 100644 --- a/projects/Intel/linux/linux.x86_64.conf +++ b/projects/Intel/linux/linux.x86_64.conf @@ -1269,7 +1269,7 @@ CONFIG_RT2X00_LIB_LEDS=y CONFIG_RTL8192CE=m CONFIG_RTL8192SE=m CONFIG_RTL8192DE=m -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/Intel/options b/projects/Intel/options index 668c97e813..5d02edc296 100755 --- a/projects/Intel/options +++ b/projects/Intel/options @@ -170,7 +170,7 @@ # asix-ax887xx: Asix AX887xx USB LAN Driver # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" - ADDITIONAL_DRIVERS="asix-ax887xx" + ADDITIONAL_DRIVERS="asix-ax887xx RTL8192CU" if [ "$PVR" = yes ]; then ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver vtuner-driver" fi diff --git a/projects/RPi/linux/linux.arm.conf b/projects/RPi/linux/linux.arm.conf index 6551e34bb4..efd3f03c80 100644 --- a/projects/RPi/linux/linux.arm.conf +++ b/projects/RPi/linux/linux.arm.conf @@ -768,7 +768,7 @@ CONFIG_RT2X00_LIB_FIRMWARE=y CONFIG_RT2X00_LIB_CRYPTO=y CONFIG_RT2X00_LIB_LEDS=y # CONFIG_RT2X00_DEBUG is not set -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/RPi/options b/projects/RPi/options index a2e61ff63c..6e773bfced 100755 --- a/projects/RPi/options +++ b/projects/RPi/options @@ -172,7 +172,7 @@ # asix-ax887xx: Asix AX887xx USB LAN Driver # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" - ADDITIONAL_DRIVERS="" + ADDITIONAL_DRIVERS="asix-ax887xx RTL8192CU" if [ "$PVR" = yes ]; then ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver vtuner-driver" fi diff --git a/projects/Ultra/linux/linux.x86_64.conf b/projects/Ultra/linux/linux.x86_64.conf index f6b0d9f2e8..0288397e13 100644 --- a/projects/Ultra/linux/linux.x86_64.conf +++ b/projects/Ultra/linux/linux.x86_64.conf @@ -1171,7 +1171,7 @@ CONFIG_RT2X00_LIB_LEDS=y # CONFIG_RTL8192CE is not set # CONFIG_RTL8192SE is not set # CONFIG_RTL8192DE is not set -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/Ultra/options b/projects/Ultra/options index dd27a40b95..a864ae3a57 100755 --- a/projects/Ultra/options +++ b/projects/Ultra/options @@ -170,7 +170,7 @@ # asix-ax887xx: Asix AX887xx USB LAN Driver # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" - ADDITIONAL_DRIVERS="asix-ax887xx" + ADDITIONAL_DRIVERS="asix-ax887xx RTL8192CU" if [ "$PVR" = yes ]; then ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver vtuner-driver" fi diff --git a/projects/Virtual/linux/linux.i386.conf b/projects/Virtual/linux/linux.i386.conf index a5d09ad8c4..bf0893f2c9 100644 --- a/projects/Virtual/linux/linux.i386.conf +++ b/projects/Virtual/linux/linux.i386.conf @@ -1331,7 +1331,7 @@ CONFIG_RT2X00_LIB_LEDS=y CONFIG_RTL8192CE=m CONFIG_RTL8192SE=m CONFIG_RTL8192DE=m -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/Virtual/linux/linux.x86_64.conf b/projects/Virtual/linux/linux.x86_64.conf index 20792220f3..d335aabd2e 100644 --- a/projects/Virtual/linux/linux.x86_64.conf +++ b/projects/Virtual/linux/linux.x86_64.conf @@ -1274,7 +1274,7 @@ CONFIG_RT2X00_LIB_LEDS=y CONFIG_RTL8192CE=m CONFIG_RTL8192SE=m CONFIG_RTL8192DE=m -CONFIG_RTL8192CU=m +# CONFIG_RTL8192CU is not set CONFIG_RTLWIFI=m CONFIG_RTL8192C_COMMON=m # CONFIG_WL1251 is not set diff --git a/projects/Virtual/options b/projects/Virtual/options index cd1a45b09b..9632db3146 100755 --- a/projects/Virtual/options +++ b/projects/Virtual/options @@ -166,7 +166,7 @@ # vboxguest: Oracle VM VirtualBox Guest Additions / Graphics Card # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035 vboxguest" - ADDITIONAL_DRIVERS="asix-ax887xx vboxguest" + ADDITIONAL_DRIVERS="asix-ax887xx RTL8192CU vboxguest" if [ "$PVR" = yes ]; then ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver vtuner-driver" fi