All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] hci_usb + uhci vs. usb-uhci
@ 2003-09-12 21:51 Jean Tourrilhes
  2003-09-12 22:32 ` [Bluez-devel] " Johannes Erdfelt
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Tourrilhes @ 2003-09-12 21:51 UTC (permalink / raw)
  To: Max Krasnyansky, Marcel Holtmann, BlueZ mailing list,
	linux-usb-devel

	Hi,

	I just spent some time tracking a problem with hci_usb (BlueZ
USB driver) and uhci. This happens on 2 different PCs with different
hardware and 2.4.X kernels, I describe one here.

UHCI Hardware :
	00:07.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01)
BlueTooth hardware :
	HCI Ver: 1.1 (0x1) HCI Rev: 0x1bb LMP Ver: 1.1 (0x1) LMP Subver: 0x1bb
	Manufacturer: Cambridge Silicon Radio (10)
Kernel : 2.4.22 UP

	What happens :
	Start BNEP session (i.e. TCP/IP over BT). Start intensive TCP
app (web download, netperf, X-Window). After a few seconds, on the
transmitter the hardware just stops :
--------------------------------------------------------
< ACL data: handle 0x0029 flags 0x01 dlen 192
< ACL data: handle 0x0029 flags 0x01 dlen 192
< ACL data: handle 0x0029 flags 0x01 dlen 192
< ACL data: handle 0x0029 flags 0x01 dlen 192
< ACL data: handle 0x0029 flags 0x01 dlen 192
--------------------------------------------------------
	The "Number of Completed Packets" event never comes back. I
have to physically unplug the USB dongle to recover. I could not see
any error messages in the log, except after a few seconds some BNEP
and ACL timeouts (which are expected).

	I initially though that it was a BlueTooth problem. However,
I've never seen it happening with my OHCI hardware on SMP (which is
what I normally use). And, if I replace uhci.o with usb-uhci.o on the
same hardware, the problem goes away completely.
	So, there is definitely something about uhci.o...

	Have fun...

	Jean

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

* Re: [Bluez-devel] [BUG] hci_usb + uhci vs. usb-uhci
  2003-09-12 21:51 [BUG] hci_usb + uhci vs. usb-uhci Jean Tourrilhes
@ 2003-09-12 22:32 ` Johannes Erdfelt
  2003-09-15 16:20   ` Jean Tourrilhes
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Erdfelt @ 2003-09-12 22:32 UTC (permalink / raw)
  To: jt; +Cc: Max Krasnyansky, Marcel Holtmann, BlueZ mailing list,
	linux-usb-devel

On Fri, Sep 12, 2003, Jean Tourrilhes <jt@bougret.hpl.hp.com> wrote:
> 	I just spent some time tracking a problem with hci_usb (BlueZ
> USB driver) and uhci. This happens on 2 different PCs with different
> hardware and 2.4.X kernels, I describe one here.
> 
> UHCI Hardware :
> 	00:07.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01)
> BlueTooth hardware :
> 	HCI Ver: 1.1 (0x1) HCI Rev: 0x1bb LMP Ver: 1.1 (0x1) LMP Subver: 0x1bb
> 	Manufacturer: Cambridge Silicon Radio (10)
> Kernel : 2.4.22 UP
> 
> 	What happens :
> 	Start BNEP session (i.e. TCP/IP over BT). Start intensive TCP
> app (web download, netperf, X-Window). After a few seconds, on the
> transmitter the hardware just stops :
> --------------------------------------------------------
> < ACL data: handle 0x0029 flags 0x01 dlen 192
> < ACL data: handle 0x0029 flags 0x01 dlen 192
> < ACL data: handle 0x0029 flags 0x01 dlen 192
> < ACL data: handle 0x0029 flags 0x01 dlen 192
> < ACL data: handle 0x0029 flags 0x01 dlen 192
> --------------------------------------------------------
> 	The "Number of Completed Packets" event never comes back. I
> have to physically unplug the USB dongle to recover. I could not see
> any error messages in the log, except after a few seconds some BNEP
> and ACL timeouts (which are expected).
> 
> 	I initially though that it was a BlueTooth problem. However,
> I've never seen it happening with my OHCI hardware on SMP (which is
> what I normally use). And, if I replace uhci.o with usb-uhci.o on the
> same hardware, the problem goes away completely.
> 	So, there is definitely something about uhci.o...

Did you enable zero packet when you compiled the BT driver?

JE

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

* Re: [Bluez-devel] [BUG] hci_usb + uhci vs. usb-uhci
  2003-09-12 22:32 ` [Bluez-devel] " Johannes Erdfelt
@ 2003-09-15 16:20   ` Jean Tourrilhes
  0 siblings, 0 replies; 3+ messages in thread
From: Jean Tourrilhes @ 2003-09-15 16:20 UTC (permalink / raw)
  To: Johannes Erdfelt
  Cc: Max Krasnyansky, Marcel Holtmann, BlueZ mailing list,
	linux-usb-devel

On Fri, Sep 12, 2003 at 06:32:51PM -0400, Johannes Erdfelt wrote:
> On Fri, Sep 12, 2003, Jean Tourrilhes <jt@bougret.hpl.hp.com> wrote:
> > 	I just spent some time tracking a problem with hci_usb (BlueZ
> > USB driver) and uhci. This happens on 2 different PCs with different
> > hardware and 2.4.X kernels, I describe one here.
> > 
> > UHCI Hardware :
> > 	00:07.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01)
> > BlueTooth hardware :
> > 	HCI Ver: 1.1 (0x1) HCI Rev: 0x1bb LMP Ver: 1.1 (0x1) LMP Subver: 0x1bb
> > 	Manufacturer: Cambridge Silicon Radio (10)
> > Kernel : 2.4.22 UP
> > 
> > 	What happens :
> > 	Start BNEP session (i.e. TCP/IP over BT). Start intensive TCP
> > app (web download, netperf, X-Window). After a few seconds, on the
> > transmitter the hardware just stops :
> > --------------------------------------------------------
> > < ACL data: handle 0x0029 flags 0x01 dlen 192
> > < ACL data: handle 0x0029 flags 0x01 dlen 192
> > < ACL data: handle 0x0029 flags 0x01 dlen 192
> > < ACL data: handle 0x0029 flags 0x01 dlen 192
> > < ACL data: handle 0x0029 flags 0x01 dlen 192
> > --------------------------------------------------------
> > 	The "Number of Completed Packets" event never comes back. I
> > have to physically unplug the USB dongle to recover. I could not see
> > any error messages in the log, except after a few seconds some BNEP
> > and ACL timeouts (which are expected).
> > 
> > 	I initially though that it was a BlueTooth problem. However,
> > I've never seen it happening with my OHCI hardware on SMP (which is
> > what I normally use). And, if I replace uhci.o with usb-uhci.o on the
> > same hardware, the problem goes away completely.
> > 	So, there is definitely something about uhci.o...
> 
> Did you enable zero packet when you compiled the BT driver?
> 
> JE

	Nope. The compilation of hci_usb was exactly the same for uhci
and for usb-uhci/ohci.

	Jean

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

end of thread, other threads:[~2003-09-15 16:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-12 21:51 [BUG] hci_usb + uhci vs. usb-uhci Jean Tourrilhes
2003-09-12 22:32 ` [Bluez-devel] " Johannes Erdfelt
2003-09-15 16:20   ` Jean Tourrilhes

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.