2002-01-24 13:33:10

by Dmitry Kasatkin

[permalink] [raw]
Subject: New Affix Release: Affix-0_9pre10

Hello,

Find new affix release Affix-0_9pre10 on
http://affix.sourceforge.net

- additional locks added
- Added Master Slave switch
btctl connectrole [master|slave]
- added timeout for HCI commands (for buggy devices)
- fixed action on receiving DM packet
- added kpatch-2.4.17
- fixed btsrv to be compiled w/o SDP
- added *debmod* & *debapp* rules to compile Debian packages
- !!! added additional installation notes


br, Dmitry

--
Dmitry Kasatkin
Nokia Research Center / Helsinki
Mobile: +358 50 4836365
E-Mail: [email protected]


NB. Now I am Dmitry Kasatkin instead of Dmitri Kassatkine


2002-02-01 15:13:52

by Dmitry Kasatkin

[permalink] [raw]
Subject: New Affix Release: Affix-0_9

Hi,

Find new affix release Affix-0_9pre10 on
http://affix.sourceforge.net

Version 0.9 [01.02.2002]

!!! NOTES
Do not patch the kernel with this version.
Patch will be available soon

- btctl shows all available devices in the system
btctl -i bt0
"-i" this options is used to handle certain devices
- btuarto changed by btuart.o & btuart_cs.o
btctl open_uart /dev/ttyS0
btctl close_uart /dev/ttyS0
commands are use to open Bluetooth adapters having UART interface
- Added HCI socket (internally used only now)
BTPROTO_HCI
- Added some object locks
- Added btsdp_browse
Use
btsdp_browse <bda | local>
to browse SDP server data base


br, Dmitry

--
Dmitry Kasatkin
Nokia Research Center / Helsinki
Mobile: +358 50 4836365
E-Mail: [email protected]



2002-02-04 08:43:43

by Dmitry Kasatkin

[permalink] [raw]
Subject: Re: New Affix Release: Affix-0_9

diff -ur Affix-0_9/kernel/btcore/af_hci.c affix/kernel/btcore/af_hci.c
--- Affix-0_9/kernel/btcore/af_hci.c Fri Feb 1 14:56:59 2002
+++ affix/kernel/btcore/af_hci.c Mon Feb 4 09:46:07 2002
@@ -19,7 +19,7 @@
*/

/*
- $Id: af_hci.c,v 2.15 2002/02/01 12:56:59 kds Exp $
+ $Id: af_hci.c,v 2.17 2002/02/04 07:46:07 kds Exp $

AF_AFFIX - HCI Protocol Address family for socket interface

@@ -499,6 +499,7 @@
}

hsk->hci = hci;
+ hsk->evl->hci = hci;

DBFEXIT;
return err;
diff -ur Affix-0_9/kernel/btcore/l2cap.c affix/kernel/btcore/l2cap.c
--- Affix-0_9/kernel/btcore/l2cap.c Fri Feb 1 16:16:26 2002
+++ affix/kernel/btcore/l2cap.c Mon Feb 4 09:50:40 2002
@@ -19,7 +19,7 @@
*/

/*
- $Id: l2cap.c,v 2.38 2002/02/01 14:16:26 kds Exp $
+ $Id: l2cap.c,v 2.40 2002/02/04 07:50:40 kds Exp $

Link Layer Control and Adaptation Protocol

@@ -1248,6 +1248,8 @@
if( !hcc_linkup(ch->con) )
return 0;

+ ch->hdrlen = con->hdrlen + L2CAP_HDR_LEN;
+
if( STATE(ch) == CHN_CLOSED ) {
ENTERSTATE(ch, CHN_W4_L2CAP_CRSP);
l2cap_connect_req(ch->con, get_id(ch), ch->psm, ch->lcid);
@@ -1364,7 +1366,7 @@
err = -ENOTCONN;
goto exit;
}
-
+ DBPRT(DBXMITE, "Headroom is: %d\n", skb_headroom(skb));
send_data(ch, skb);

exit:
diff -ur Affix-0_9/kernel/btcore/rfcomm.c affix/kernel/btcore/rfcomm.c
--- Affix-0_9/kernel/btcore/rfcomm.c Fri Jan 25 15:17:13 2002
+++ affix/kernel/btcore/rfcomm.c Mon Feb 4 10:33:22 2002
@@ -19,7 +19,7 @@
*/

/*
- $Id: rfcomm.c,v 2.53 2002/01/25 13:17:13 kds Exp $
+ $Id: rfcomm.c,v 2.54 2002/02/04 08:33:22 kds Exp $

RFCOMM - RFCOMM protocol for Bluetooth

@@ -330,6 +330,8 @@
if( !rfcomm_connected(sn) )
return 0;

+ con->hdrlen = sn->hdrlen + LONG_HDR_SIZE + 1;
+
if( STATE(con) == RFCON_CLOSED ) {
ENTERSTATE(con, RFCON_W4_CONRSP);
con->dlci |= (!sn->initiator & 0x01); /* set session bit */
@@ -610,6 +612,8 @@
while( con && IS_DEAD(con) )
con = BTL_NEXT(con);
if( con ) {
+ con->hdrlen = sn->hdrlen + LONG_HDR_SIZE + 1;
+
/* FIXME: check state here */
con->credit_based = 1;
con->pops->control_ind(con, TYPE_REQUEST, NULL);/* FIXME: ?? */
@@ -620,6 +624,8 @@
rfcomm_con *next;
btl_for_each_next(con, sn->cons, next)
if( status == 0 ) {
+ con->hdrlen = sn->hdrlen + LONG_HDR_SIZE + 1;
+
if( STATE(con) == RFCON_CLOSED ) {
ENTERSTATE(con, RFCON_W4_CONRSP);
con->dlci |= (!sn->initiator & 0x01);/* session bit */
diff -ur Affix-0_9/kernel/include/affix/rfcomm.h affix/kernel/include/affix/rfcomm.h
--- Affix-0_9/kernel/include/affix/rfcomm.h Fri Jan 25 16:25:58 2002
+++ affix/kernel/include/affix/rfcomm.h Mon Feb 4 10:33:22 2002
@@ -19,7 +19,7 @@
*/

/*
- $Id: rfcomm.h,v 1.21 2002/01/25 14:25:58 kds Exp $
+ $Id: rfcomm.h,v 1.24 2002/02/04 08:33:22 kds Exp $

RFCOMM - RFCOMM protocol for Bluetooth

@@ -169,10 +169,10 @@
u8 value[0];
}__PACK__ mcc_frame;

-typedef struct cmd_msg {
+typedef struct cmd_frame {
short_frame short_pkt;
mcc_frame mcc_pkt;
-}__PACK__ cmd_msg;
+}__PACK__ cmd_frame;


/* Multiplexer Control Channel Commands */
@@ -720,7 +720,7 @@
extern inline struct sk_buff *rfcomm_alloc_cmd_skb(rfcomm_sn *sn, int cmdlen)
{
struct sk_buff *skb;
- int hdrlen = sn->hdrlen + sizeof(cmd_msg);
+ int hdrlen = sn->hdrlen + sizeof(cmd_frame);

if( cmdlen+sizeof(mcc_frame) > SHORT_PAYLOAD_SIZE )
hdrlen++;


Attachments:
patch-Affix-0_9fix1 (3.33 kB)

2002-02-07 14:22:16

by Dmitry Kasatkin

[permalink] [raw]
Subject: New Affix Release: Affix-0_91 -> PAN support

Hi,

Find new affix release Affix-0_91 on
http://affix.sourceforge.net

Version 0.91 [07.02.2002]
- added /etc/modutuls/affix to automate modules load
- RFCOMM moved to separated module
- added PAN profile
- modules names changes -->> check README (modify /etc/pcmcia/config)

br, Dmitry

--
Dmitry Kasatkin
Nokia Research Center / Helsinki
Mobile: +358 50 4836365
E-Mail: [email protected]



2002-02-07 14:24:05

by Dmitry Kasatkin

[permalink] [raw]
Subject: Re: New Affix Release: Affix-0_91 -> PAN support

HI,


Kernel paches works as well

br, Dmitry

Dmitry Kasatkin wrote:

> Hi,
>
> Find new affix release Affix-0_91 on
> http://affix.sourceforge.net
>
> Version 0.91 [07.02.2002]
> - added /etc/modutuls/affix to automate modules load
> - RFCOMM moved to separated module
> - added PAN profile
> - modules names changes -->> check README (modify /etc/pcmcia/config)
>
> br, Dmitry
>


--
Dmitry Kasatkin
Nokia Research Center / Helsinki
Mobile: +358 50 4836365
E-Mail: [email protected]



2002-02-15 15:15:52

by Dmitry Kasatkin

[permalink] [raw]
Subject: New Affix Release: Affix-0_92

Hi,

Find new affix release Affix-0_92 on
http://affix.sourceforge.net

Version 0.92 [15.02.2002]
- UART protocol fixed
setup proper uart parameters to make uart working
example:
stty -F /dev/ttyS0 -crtscts ispeed 57600 ospeed 57600
btctl open_uart /dev/ttyS0

Tested with Philips Truebaby module.

br, Dmitry

--
Dmitry Kasatkin
Nokia Research Center / Helsinki
Mobile: +358 50 4836365
E-Mail: [email protected]



2002-02-22 15:35:49

by Dmitry Kasatkin

[permalink] [raw]
Subject: New Affix Release: Affix-0_93

Hi all,

Find new affix release Affix-0_93 on
http://affix.sourceforge.net

Version 0.93 [22.02.2002]
- [fix] extern inline replaced by static inline
prevent un-optimized compilation problem
- [new] usb driver support any bluetooth deivices
- [fix] btsdp_browse connection establishment
- [new] L2CAP socket can be connected through any Bluetooth adapter
sockaddr_l2cap {
... old fields..
BD_ADDR local;
}
set *local* to Bluetooth address of the adapter to connect through.
or BDADDR_ANY
- [fix] hci devices are removing well on *btctl close_uart *
- [fix] added locks for l2cap objects
- [fix] compilation problem for older kernel (2.4.7 at least) - headers ...



Br, Dmitry

--
Dmitry Kasatkin
Nokia Research Center / Helsinki
Mobile: +358 50 4836365
E-Mail: [email protected]



2002-03-01 11:53:31

by Dmitry Kasatkin

[permalink] [raw]
Subject: New Affix Release: Affix-0_94

Hi all,

Find new affix release Affix-0_94 on
http://affix.sourceforge.net


Version 0.94 [01.03.2002]
- [changes] /etc/bluetooth -> /etc/affix
- [changes] scripts names in /etc/pcmcia
needs to update /etc/pcmcia/config
consult README
- [new] commands: addpin (sinonym for pincode), rmpin, unbond, pkt_type



br, Dmitry

--
Dmitry Kasatkin
Nokia Research Center / Helsinki
Mobile: +358 50 4836365
E-Mail: [email protected]



2002-03-07 14:34:47

by Dmitry Kasatkin

[permalink] [raw]
Subject: New Affix Release: Affix-0_95 --- Bluetooth Protocol Stack

Hi All.


Find new affix release Affix-0_94 on
http://affix.sourceforge.net

Version 0.95 [07.03.2002]
- [fix] changes in /etc/pcmcia/config file
device "affix_uart" to device "affix_uart_cs"
bind "affix_uart" to bind "affix_uart_cs"
PCMCIA does not work correctly in previouse case
- [new] btctl prints features suported by the module (Audio,...)
- [fix] SDP stuff has been fixed to be compiled with C compiler
- [fix] extra locks added to l2cap and rfcomm modules
- [fix] module counters fixed



br, Dmitry

--
Dmitry Kasatkin
Nokia Research Center / Helsinki
Mobile: +358 50 4836365
E-Mail: [email protected]



2002-03-15 15:19:13

by Dmitry Kasatkin

[permalink] [raw]
Subject: New Affix Release: Affix-0_96 --- Bluetooth Protocol Stack. GUI available now.

Hi All.

Find new affix release Affix-0_96 on http://affix.sourceforge.net
This version has stability improvement.

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.


Version 0.96 [15.03.2002]
- [new] added field *local* to sockaddr_rfcomm to connect through
certain Bluetooth adapter
sockaddr_rfcomm {
... old fields..
BD_ADDR local;
}
set *local* to Bluetooth address of the adapter to connect through.
or BDADDR_ANY
- [new] SDP server works based on MTU
- [fix] SDP Continuation mecahnism - problems on client side.
Did not work at all. (e.g. with Ericsson phone)
- [new] btctl prints Affix version



br, Dmitry

--
Dmitry Kasatkin
Nokia Research Center / Helsinki
Mobile: +358 50 4836365
E-Mail: [email protected]



2002-03-28 23:02:43

by Dmitry Kasatkin

[permalink] [raw]
Subject: New Affix Release: Affix-0_97 --- Bluetooth Protocol Stack. OBEX and GUI available now.

Hi All.

Find new affix release Affix-0_97 on http://affix.sourceforge.net
*with OBEX client *

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.

Version 0.97 [28.03.2002]
- [new] added OBEX File Transfer support (ls, put, get) commands
- [new] added "browse" command to btctl for service browsing
- [new] added "search" command to btctl for service searching
It works well with Windows Stack from DigiAnswer.
Windows stack does not use PublicBrowseGroup
- [new] server channel for *connect* and OBEX commands is extracted from
SDP server
to disable this behavior use "-s" or "--nosdp" options
- [fix] OBEX server fixed. it works now.
- [new] kernel 2.4.18 fixed
- [fix] device registration/unregistration in PAN



br, Dmitry

--
Dmitry Kasatkin
Nokia Research Center / Helsinki
Mobile: +358 50 4836365
E-Mail: [email protected]



2002-04-05 22:25:01

by Dmitry Kasatkin

[permalink] [raw]
Subject: New Affix Release: Affix-0_98 --- Bluetooth Protocol Stack. OBEX and GUI available now.

Hi All.

Find new affix release Affix-0_98 on http://affix.sourceforge.net
*with OBEX client *

Now it's possible to send pictures to the Mobile Phone.

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.


Version 0.98 [05.04.2002]
- [new] added *push* command for pushing objects.
E.g. I pushed background pictures for Ericsson T68 phone
(picture should be in GIF format for Ericsson phone).
btctl push 00:80:37:ee:38:9f test1.gif
- [fix] added service type to connect to to *btctl connect* command
btctl connect <bda> SERial|LAN|DUP
check *btctl -h*
- [fix] SDP service search and attribute request can be done on the same
L2CAP connection
- [fix] some OBEX fixes


br, Dmitry

2002-04-14 14:46:13

by Dmitry Kasatkin

[permalink] [raw]
Subject: [new release] Affix-0_99 --- Bluetooth Protocol Stack. OBEX and GUI available now.

Hi All.

Find new Affix release Affix-0_99 on http://affix.sourceforge.net

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.


CHANGES.

Version 0.99 [14.04.2002]
- [fix/changes] some SDP parts re-written.
- [changes] sockaddr_{hci,l2cap,rfcomm} repleaced by *sockaddr_affix*
!NOTE: it requires to recompile and reinstall whole affix
- [new] *btctl* has now *prompt* (ftp) command - interactive shell &
File Transfer Console (OBEX).
- [new] OBEX client now full featured (in ftp mode).
commands: open, close, put, get, push, rm, cd, mkdir
- [new] Linux kernel 2.5.x supported (not well tested)
- [new] added new info to README (usage examples, commands explanation).


br, Dmitry



2002-06-03 10:54:05

by Dmitry Kasatkin

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

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


Attachments:
Affix-1_00pre2.patch (3.71 kB)

2002-06-03 12:22:18

by Dmitry Kasatkin

[permalink] [raw]
Subject: [recall] for patch

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/README affix/README
--- Affix-1_00pre2/README Sat Jun 1 04:07:57 2002
+++ affix/README Mon Jun 3 15:17:57 2002
@@ -213,7 +213,11 @@
6) Update system configuration.

- For PCMCIA Bluetooth devices:
- For Nokia Connectivity Card the following lines should added to
+ Affix installer copies configuration files from etc/pcmcia to
+ /etc/pcmcia for all supported PCMCIA devices. Check if your PCMCIA
+ configuration read those files automaticaly.
+ Otherwise you need add some configuration options manually, e.g.
+ for Nokia DTL-1/DTL-4 the following lines should added to
the /etc/pcmcia/config file:
a) to the device driver definitions
device "affix_uart_cs"
@@ -222,6 +226,8 @@
card "Nokia Mobile Phones DTL-1"
manfid 0x0124, 0x1000
bind "affix_uart_cs"
+
+ ->> Please check etc/pcmcia of all available options.

- For USB Bluetooth devices:
Install the hot-plug package if automatic loading of the "affix_usb.o"
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
diff -Naur Affix-1_00pre2/kernel/Makefile affix/kernel/Makefile
--- Affix-1_00pre2/kernel/Makefile Fri May 31 18:23:29 2002
+++ affix/kernel/Makefile Mon Jun 3 14:57:38 2002
@@ -18,7 +18,7 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
-# $Id: Makefile,v 2.32 2002/05/31 15:23:29 kds Exp $
+# $Id: Makefile,v 2.33 2002/06/03 11:57:38 kds Exp $
#
# Makefile for compiling core module of the bluetooth stack
#
@@ -73,7 +73,7 @@
DMODULE = affix.o

all: subdirs $(MODULE)
- echo $(DIRS)
+# echo $(DIRS)

subdirs:
@set -e; for d in $(DIRS); do $(MAKE) -C $$d all; done
diff -Naur Affix-1_00pre2/kernel/btcore/hci_mgr.c affix/kernel/btcore/hci_mgr.c
--- Affix-1_00pre2/kernel/btcore/hci_mgr.c Fri May 31 18:23:29 2002
+++ affix/kernel/btcore/hci_mgr.c Mon Jun 3 14:57:38 2002
@@ -19,7 +19,7 @@
*/

/*
- $Id: hci_mgr.c,v 2.58 2002/05/31 15:23:29 kds Exp $
+ $Id: hci_mgr.c,v 2.59 2002/06/03 11:57:38 kds Exp $

HCI Manager

@@ -600,7 +600,6 @@
btl_head_init(&btdevs);

#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 7)
- down(&exit_sema);
/* start thread here */
pid = kernel_thread(mgr_thread, NULL, 0);
#else
@@ -627,9 +626,6 @@
{
DBFENTER;

-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 7)
- down(&exit_sema);
-#endif
if( pid != -1 ) {
kill_proc(pid, SIGTERM, 1);
down(&exit_sema);
diff -Naur Affix-1_00pre2/kernel/include/affix/bluez.h affix/kernel/include/affix/bluez.h
--- Affix-1_00pre2/kernel/include/affix/bluez.h Fri May 31 18:23:29 2002
+++ affix/kernel/include/affix/bluez.h Mon Jun 3 15:17:57 2002
@@ -173,6 +173,8 @@
return 0;

netif_stop_queue(hdev->dev);
+ tasklet_kill(&hdev->tx_task);
+ skb_queue_purge(&hdev->txq);
err = hdev->close(hdev);

return err;


Attachments:
Affix-1_00pre2.patch.1 (6.41 kB)

2002-06-06 13:20:59

by Dmitry Kasatkin

[permalink] [raw]
Subject: [new release] Affix-1_00pre3 --- The most powerfull Bluetooth Protocol Stack.

Hi All,

Find new Affix release Affix-1_00pre3 on http://affix.sourceforge.net
It has improved UART, USB and extra drivers.

Anycom, 3COM, Xircom works now.
Socket CF works

Version 1.0pre3 [06.06.2002]
- [fix] l2cap state machine
- [new] *btctl* now remembers found devices - device cache.
*btctl list* - to see the list
*btctl flush* - to forget it
*btctl connect <id> ...
actually id can be provided instead bda in every command.
- [new] any driver from BlueZ can be compiled in Affix.
Just include <affix/bluez.h> instead <net/bluetooth/*.h>
- [fix] work on kernels < 2.4.7
- [fix] Socket CF card works now perfectly.
(Socket changed device id to new one - it caused the problem)
- [new] Affix install pcmcia config file *.conf to /etc/pcmcia
so that they are read automaticaly - no needs to change
/etc/pcmcia/config
- [new] new features for *btctl open_uart*:
*btctl open_uart <device> <speed>
- [fix] Xircom card works now.
- [new] obex-server can work with different root-folders (AFE support)
- [new] btsdp starts automatically (SDPInit(SDP_SVC_PROVIDER)).
so btsdp starts when btsrv does.
- [new] *btctl* andestand mnemonics for dev classes and shows it.


Affix works on platforms (tested):
- i386.
- ARM (e.g. Compaq iPac).
- PowerPC (e.g. iMac).

Affix currently supports the following Bluetooth Profiles:
- General Access Profie
- Service Discovery Profile
- Serial Port Profile
- DialUp Networking Profile
- LAN Access Profile
- OBEX Object Push Profile
- OBEX File Transfer Profile
- PAN Profile



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
Nokia Research
+358 50 4836365


2002-06-14 22:58:19

by Dmitry Kasatkin

[permalink] [raw]
Subject: [new release - stable] Affix-1_00pre4 --- The most powerfull Bluetooth Protocol Stack.

Hi All,

Find new Affix release Affix-1_00pre4 on http://affix.sourceforge.net
This is stable version.
See News Section.

Version 1.0pre4 [15.06.2002]
- [fix] rfcomm fixed. freeze happened in some situation.
- [fix] affix_rfcomm.o module use counter could have negative value
- [fix] btctl cache support fixed. it works
- [fix] some other fixes stability fixes


Affix works on platforms (tested):
- i386.
- ARM (e.g. Compaq iPac).
- PowerPC (e.g. iMac).

Affix currently supports the following Bluetooth Profiles:
- General Access Profie
- Service Discovery Profile
- Serial Port Profile
- DialUp Networking Profile
- LAN Access Profile
- OBEX Object Push Profile
- OBEX File Transfer Profile
- PAN Profile



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
Nokia Research
+358 50 4836365