public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Bluetooth oddity
@ 2004-01-30 11:32 Anders Karlsson
  2004-01-30 13:33 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Anders Karlsson @ 2004-01-30 11:32 UTC (permalink / raw)
  To: LKML

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

Hi list,

Out of curiosity, has anyone else noticed something odd with Bluetooth
in 2.6.x kernels? On my Thinkpad X31 I can switch it on/off with Fn+F5.
Switching it on is no problem, but switching it off causes solid hang of
the Thinkpad. Only SysRq+b works.

It is not the whole world, but a little irritating. Also, I use
Bluetooth to hot-sync my Tungsten T|3. Same problem occurs on the 4th -
6th sync, solid hang of the Thinkpad. No debug output yet, if any
Bluetooth developers are interested to have this fixed, I am game to
help debug this.

Regards,

-- 
Anders Karlsson <anders@trudheim.com>
Trudheim Technology Limited

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: Bluetooth oddity
  2004-01-30 11:32 Bluetooth oddity Anders Karlsson
@ 2004-01-30 13:33 ` Marcel Holtmann
  2004-01-30 14:00   ` Anders Karlsson
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-01-30 13:33 UTC (permalink / raw)
  To: Anders Karlsson; +Cc: LKML

Hi Anders,

> Out of curiosity, has anyone else noticed something odd with Bluetooth
> in 2.6.x kernels? On my Thinkpad X31 I can switch it on/off with Fn+F5.
> Switching it on is no problem, but switching it off causes solid hang of
> the Thinkpad. Only SysRq+b works.

I assume that you have enabled the SCO support of the HCI USB driver.
The unlink of ISOC URB's fails on UHCI host controllers and actually I
don't know why. So disable the SCO support of the HCI USB driver and you
can switch on and off your Bluetooth device as often as you like.

What is your USB host controller chipset? Do you see an oops?

> It is not the whole world, but a little irritating. Also, I use
> Bluetooth to hot-sync my Tungsten T|3. Same problem occurs on the 4th -
> 6th sync, solid hang of the Thinkpad. No debug output yet, if any
> Bluetooth developers are interested to have this fixed, I am game to
> help debug this.

This was a bug in the RFCOMM layer that has been already fixed. Why
don't you say what 2.6 kernel do you use? Try the latest 2.6.2-rc2 or
2.6.1-mh3 and this will go away.

Regards

Marcel



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

* Re: Bluetooth oddity
  2004-01-30 13:33 ` Marcel Holtmann
@ 2004-01-30 14:00   ` Anders Karlsson
  2004-01-30 14:25     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Anders Karlsson @ 2004-01-30 14:00 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: LKML

[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]

On Fri, 2004-01-30 at 13:33, Marcel Holtmann wrote:
> Hi Anders,

Hello Marcel,

> I assume that you have enabled the SCO support of the HCI USB driver.
> The unlink of ISOC URB's fails on UHCI host controllers and actually I
> don't know why. So disable the SCO support of the HCI USB driver and you
> can switch on and off your Bluetooth device as often as you like.

I just checked, and I did have the SCO support switched on. Shows that
the name can not be trusted... ;-)

> What is your USB host controller chipset? Do you see an oops?

No oops, rebuilding the kernel with serial support built in so I can
attach serial console. After that I should be able to capture any
information required.

> This was a bug in the RFCOMM layer that has been already fixed. Why
> don't you say what 2.6 kernel do you use? Try the latest 2.6.2-rc2 or
> 2.6.1-mh3 and this will go away.

I am currently using 2.6.1 proper, but saw it in 2.6.0 and a couple of
half-way houses between 2.6.0 and 2.6.1.

I will give 2.6.2-rc2 a try over the weekend.

Regards,

-- 
Anders Karlsson <anders@trudheim.com>
Trudheim Technology Limited

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: Bluetooth oddity
  2004-01-30 14:00   ` Anders Karlsson
@ 2004-01-30 14:25     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-01-30 14:25 UTC (permalink / raw)
  To: Anders Karlsson; +Cc: LKML

Hi Anders,

> > I assume that you have enabled the SCO support of the HCI USB driver.
> > The unlink of ISOC URB's fails on UHCI host controllers and actually I
> > don't know why. So disable the SCO support of the HCI USB driver and you
> > can switch on and off your Bluetooth device as often as you like.
> 
> I just checked, and I did have the SCO support switched on. Shows that
> the name can not be trusted... ;-)

the CONFIG_BT_SCO option is not problematic, you can leave this on. But
for now you must disable CONFIG_BT_HCIUSB_SCO if you have an UHCI host
controller.

> > What is your USB host controller chipset? Do you see an oops?
> 
> No oops, rebuilding the kernel with serial support built in so I can
> attach serial console. After that I should be able to capture any
> information required.

Apply patch-2.6.1-mh3 and rebuild your kernel. This patch only updates
your Bluetooth subsystem. To not run into problems with your modules
undiff the change to the Makefile EXTRAVERSION before calling make.

> > This was a bug in the RFCOMM layer that has been already fixed. Why
> > don't you say what 2.6 kernel do you use? Try the latest 2.6.2-rc2 or
> > 2.6.1-mh3 and this will go away.
> 
> I am currently using 2.6.1 proper, but saw it in 2.6.0 and a couple of
> half-way houses between 2.6.0 and 2.6.1.

I know, but our big resync with 2.6 was first in 2.6.2-rc1. And this bug
only occurred on incoming RFCOMM connections.

Regards

Marcel



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

end of thread, other threads:[~2004-01-30 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-30 11:32 Bluetooth oddity Anders Karlsson
2004-01-30 13:33 ` Marcel Holtmann
2004-01-30 14:00   ` Anders Karlsson
2004-01-30 14:25     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox