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