Re: [new release] Affix-1_00pre2 --- Bluetooth Protocol Stack. + newdrivers for Anycom and 3COM

Dmitry Kasatkin
2002-06-03T10:54:05Z

[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]

Hi,

Small patch. Otherwise PCMCIA will not work (modules went to invalid
place).

br, Dmitry

Kasatkin Dmitry (NRC/Helsinki) wrote:

>Hi All,
>
>Find new Affix release Affix-1_00pre2 on http://affix.sourceforge.net
>It has improved UART, USB and extra drivers.
>Anycom cards supported
>
>Version 1.0pre2 [31.05.2002]
>- [new] new drivers for *bluecard* cards (Anycom) and 3COM cards
>- [new] cross-compiling support (ARM, PowerPC,...)
>- [new] *open_uart* accept speed (no need to call stty)
>- [fix] affix_uart support Xircom cards
>- [changes] libbt*.so libs moved to libaffix*.so
>- [fix] now can be compiled on kernels <= 2.4.6
>
>
>Profiles supported:
>- Service Discovery.
>- Serial Port.
>- LAN Access.
>- Dialup Networking.
>- OBEX Object Push.
>- OBEX File Transfer.
>- PAN.
>
>
>GUI environment A.F.E - Affix Frontend Environment available for use.
>http://affix.sourceforge.net/afe
>
>Link can be found on Affix WEB site in *Links* section.
>
>br, Dmitry
>+358 50 4836365
>
>
>

--
Dmitry Kasatkin
Nokia Research Center / Helsinki
Mobile: +358 50 4836365
E-Mail: dmitry.kasatkin@nokia.com

[-- Attachment #2: Affix-1_00pre2.patch --]
[-- Type: text/plain, Size: 3798 bytes --]

diff -Naur Affix-1_00pre2/Configure affix/Configure
--- Affix-1_00pre2/Configure Sat Jun 1 03:07:45 2002
+++ affix/Configure Mon Jun 3 13:48:41 2002
@@ -19,7 +19,7 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
-# $Id: Configure,v 2.48 2002/06/01 00:07:45 kds Exp $
+# $Id: Configure,v 2.50 2002/06/03 10:48:41 kds Exp $
#
# Configuration script (adopted from PCMCIA package)
#
@@ -403,19 +403,12 @@

if [ "$CONFIG_MODVERSIONS" = "y" ] ; then
- if [ $CONF_SRC != 1 ] ; then
MODVER="$LINUX/include/linux/$MODVER"
if [ ! -r "$MODVER" ] ; then
echo "$MODVER does not exist!"
echo " To fix, run 'make dep' in $LINUX."
fail
fi
- else
- # use running kernel
- mv $MODVER include/affix
- ln -sf ../../../include/affix/$MODVER ./kernel/include/linux/$MODVER
- MODVER="$BTDIR/kernel/include/linux/$MODVER"
- fi
else
rm -f $MODVER
fi
@@ -474,6 +467,34 @@
CPPFLAGS_KERNEL="$CPPFLAGS_KERNEL -D__KERNEL__ -DMODULE $MFLAG"
LDFLAGS="${CROSS_LDFLAGS:-}"

+#=======================================================================
+
+# How should the startup scripts be configured?
+
+if [ "$PREFIX" = "" ] ; then
+ if [ -d /sbin/init.d -o -d /etc/rc.d/init.d -o -d /etc/init.d ] ; then
+ echo "It looks like you have a System V init file setup."
+ SYSV_INIT=y
+ if [ -d /sbin/init.d ] ; then
+ RC_DIR=/sbin/init.d
+ elif [ -d /etc/rc.d/init.d ] ; then
+ RC_DIR=/etc/rc.d
+ else
+ RC_DIR=/etc
+ fi
+ else
+ echo "It looks like you have a BSD-ish init file setup."
+ SYSV_INIT=
+ fi
+else
+ ask_bool "System V init script layout" SYSV_INIT
+ if [ "$SYSV_INIT" = "y" ] ; then
+ ask_str "Top-level directory for RC scripts" RC_DIR
+ fi
+fi
+
+echo ""
+

#=======================================================================

@@ -503,42 +524,12 @@
write_str_ne $x
done
for x in CROSS_COMPILE CROSS_CPPFLAGS CROSS_LDFLAGS \
- BTDIR LINUX PREFIX PROGDIR LIBDIR RCDIR ARCH HOST_ARCH \
+ BTDIR LINUX PREFIX PROGDIR MODDIR LIBDIR RCDIR ARCH HOST_ARCH SYSV_INIT RC_DIR \
CPPFLAGS_KERNEL CPPFLAGS CFLAGS LDFLAGS CPPFLAGS_GLIB LDFLAGS_GLIB \
CPPFLAGS_OBEX LDFLAGS_OBEX; do
write_str_cfg $x
done
write_nl
-
-#=======================================================================
-
-# How should the startup scripts be configured?
-
-if [ "$PREFIX" = "" ] ; then
- if [ -d /sbin/init.d -o -d /etc/rc.d/init.d -o -d /etc/init.d ] ; then
- echo "It looks like you have a System V init file setup."
- SYSV_INIT=y
- if [ -d /sbin/init.d ] ; then
- RC_DIR=/sbin/init.d
- elif [ -d /etc/rc.d/init.d ] ; then
- RC_DIR=/etc/rc.d
- else
- RC_DIR=/etc
- fi
- else
- echo "It looks like you have a BSD-ish init file setup."
- SYSV_INIT=
- fi
- write_bool SYSV_INIT
- if [ "$SYSV_INIT" = "y" ] ; then write_str_cfg RC_DIR ; fi
-else
- ask_bool "System V init script layout" SYSV_INIT
- if [ "$SYSV_INIT" = "y" ] ; then
- ask_str "Top-level directory for RC scripts" RC_DIR
- fi
-fi
-
-echo ""

#=======================================================================

diff -Naur Affix-1_00pre2/etc/Makefile affix/etc/Makefile
--- Affix-1_00pre2/etc/Makefile Fri May 31 01:44:35 2002
+++ affix/etc/Makefile Mon Jun 3 13:34:36 2002
@@ -18,7 +18,7 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
-# $Id: Makefile,v 1.25 2002/05/30 22:44:35 kds Exp $
+# $Id: Makefile,v 1.26 2002/06/03 10:34:36 kds Exp $
#
# Makefile for installing scripts
#
@@ -50,7 +50,7 @@
install -m 0755 -d $(PREFIX)/etc/ppp/ip-down.d
install -m 0555 ./affix/masq-down $(PREFIX)/etc/ppp/ip-down.d

- if [ -d /etc/modutils ] ; then \
+ @if [ -d /etc/modutils ] ; then \
install -m 0644 ./modutils /etc/modutils/affix; \
update-modules; \
fi