All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [Bluez-devel] [PATCH] tcsendbreak and flow control on hciattach(csrchip)
@ 2004-10-11 12:04 Rognlien Dag Kristian
  2004-10-11 12:30 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Rognlien Dag Kristian @ 2004-10-11 12:04 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List


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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [Bluez-devel] [PATCH] tcsendbreak and flow control on hciattach(csrchip)
  2004-10-11 12:04 [Bluez-devel] [PATCH] tcsendbreak and flow control on hciattach(csrchip) Rognlien Dag Kristian
@ 2004-10-11 12:30 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-10-11 12:30 UTC (permalink / raw)
  To: Rognlien Dag Kristian; +Cc: BlueZ Mailing List

Hi Dag,

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

please use "diff -u".

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-11 12:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-11 12:04 [Bluez-devel] [PATCH] tcsendbreak and flow control on hciattach(csrchip) Rognlien Dag Kristian
2004-10-11 12:30 ` Marcel Holtmann

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.