All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rognlien Dag Kristian" <Dag.K.Rognlien@sintef.no>
To: "Marcel Holtmann" <marcel@holtmann.org>
Cc: "BlueZ Mailing List" <bluez-devel@lists.sourceforge.net>
Subject: RE: [Bluez-devel] [PATCH] tcsendbreak and flow control on hciattach(csrchip)
Date: Mon, 11 Oct 2004 14:04:02 +0200	[thread overview]
Message-ID: <39417DF3286A66428FA558987839F44F152D9B@SINTEFXCH01.sintef.no> (raw)


Hello,

This solves the problem for me, but I do not know if it is needed for
other Bluetooth chips or other hardware platforms:

This patch is against 2.9, but I believe it would be the same for 2.10.

Regards,
Dag K. W. Rognlien

*** bluez-utils-2.9/tools/hciattach.c	2004-07-25 19:09:23.000000000
+0200
--- bluez-utils-2.9-ij/tools/hciattach.c	2004-10-11
13:45:26.670694392 +0200
***************
*** 899,906 ****
 =20
  	tcflush(fd, TCIOFLUSH);
 =20
! 	if (send_break)
  		tcsendbreak(fd, 0);
 =20
  	if (u->init && u->init(fd, u, &ti) < 0)
  		return -1;
--- 899,908 ----
 =20
  	tcflush(fd, TCIOFLUSH);
 =20
! 	if (send_break){
  		tcsendbreak(fd, 0);
+ 		usleep(500000);
+ 	}
 =20
  	if (u->init && u->init(fd, u, &ti) < 0)
  		return -1;

             reply	other threads:[~2004-10-11 12:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-11 12:04 Rognlien Dag Kristian [this message]
2004-10-11 12:30 ` [Bluez-devel] [PATCH] tcsendbreak and flow control on hciattach(csrchip) Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39417DF3286A66428FA558987839F44F152D9B@SINTEFXCH01.sintef.no \
    --to=dag.k.rognlien@sintef.no \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=marcel@holtmann.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.