new package: add package 'RTL8192CU", this should fix #601, this should fix #793, this should fix #1020, this should fix #103

7
This commit is contained in:
Christian Schubert 2012-07-30 12:24:18 +02:00 committed by Stephan Raue
parent 10e600737b
commit 2b7fd7bb0f
27 changed files with 158 additions and 23 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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