linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Regression] Bluetooth pairing does not work anymore in 2.6.39-rc3 (works in 2.6.38.3)
@ 2011-04-16 16:38 Gottfried Haider
  2011-04-16 17:01 ` Justin P. Mattock
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Gottfried Haider @ 2011-04-16 16:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-bluetooth

Hello,

I am having problems pairing bluetooth devices in 2.6.39. Scanning
works fine (hcitool scan), but when I try to pair a device using
"bluez-simple-agent hci0 $MAC", I receive the following error message:
"Creating device failed: org.bluez.Error.Failed: Input/output error"

The same command reliably works on a 2.6.38.3 kernel with pretty much
the same config.

According to lsusb, I have a Broadcom Bluetooth Controller with ID
0a5c:217f. I don't see anything related in either of the dmesgs.
My lspci output is here: http://sukzessiv.net/x120e/
Userspace is an up-to-date Ubuntu 11.04 beta (with bluez 4.91).

If there are any debugging steps that I could do or patches to try or
revert, let me know. Unfortunately I can't do a proper bisect since
the machine is a netbook type.

cheers,
gohai

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

* Re: [Regression] Bluetooth pairing does not work anymore in 2.6.39-rc3 (works in 2.6.38.3)
  2011-04-16 16:38 [Regression] Bluetooth pairing does not work anymore in 2.6.39-rc3 (works in 2.6.38.3) Gottfried Haider
@ 2011-04-16 17:01 ` Justin P. Mattock
  2011-04-16 22:43   ` Gottfried Haider
  2011-04-17 18:40 ` Maciej Rutecki
  2011-04-18 13:21 ` Pavel Machek
  2 siblings, 1 reply; 8+ messages in thread
From: Justin P. Mattock @ 2011-04-16 17:01 UTC (permalink / raw)
  To: Gottfried Haider; +Cc: linux-kernel, linux-bluetooth

On 04/16/2011 09:38 AM, Gottfried Haider wrote:
> Hello,
>
> I am having problems pairing bluetooth devices in 2.6.39. Scanning
> works fine (hcitool scan), but when I try to pair a device using
> "bluez-simple-agent hci0 $MAC", I receive the following error message:
> "Creating device failed: org.bluez.Error.Failed: Input/output error"
>
> The same command reliably works on a 2.6.38.3 kernel with pretty much
> the same config.
>
> According to lsusb, I have a Broadcom Bluetooth Controller with ID
> 0a5c:217f. I don't see anything related in either of the dmesgs.
> My lspci output is here: http://sukzessiv.net/x120e/
> Userspace is an up-to-date Ubuntu 11.04 beta (with bluez 4.91).
>
> If there are any debugging steps that I could do or patches to try or
> revert, let me know. Unfortunately I can't do a proper bisect since
> the machine is a netbook type.
>
> cheers,
> gohai
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

I'm wondering if you are hitting what I was hitting a few days ago.. the 
commit below got things working over here:
(not sure if this is in the stable yet)
http://git.kernel.org/?p=linux/kernel/git/padovan/bluetooth-next-2.6.git;a=commitdiff;h=b99faf1b798d6d0e33526fd2cef55a405c08ff09;hp=58b6e124aac64bebb2e9e1a136cbd21a5ab0485a

hope this helps,

Justin P. Mattock

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

* Re: [Regression] Bluetooth pairing does not work anymore in 2.6.39-rc3 (works in 2.6.38.3)
  2011-04-16 17:01 ` Justin P. Mattock
@ 2011-04-16 22:43   ` Gottfried Haider
  2011-04-16 23:35     ` Justin P. Mattock
  0 siblings, 1 reply; 8+ messages in thread
From: Gottfried Haider @ 2011-04-16 22:43 UTC (permalink / raw)
  To: Justin P. Mattock; +Cc: linux-kernel, linux-bluetooth

Hi Justin,

> I'm wondering if you are hitting what I was hitting a few days ago.. the
> commit below got things working over here:
> (not sure if this is in the stable yet)
> http://git.kernel.org/?p=linux/kernel/git/padovan/bluetooth-next-2.6.git;a=commitdiff;h=b99faf1b798d6d0e33526fd2cef55a405c08ff09;hp=58b6e124aac64bebb2e9e1a136cbd21a5ab0485a

I checked: I have this commit in -rc3, so it must be something else here.

greetings,

gohai

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

* Re: [Regression] Bluetooth pairing does not work anymore in 2.6.39-rc3 (works in 2.6.38.3)
  2011-04-16 22:43   ` Gottfried Haider
@ 2011-04-16 23:35     ` Justin P. Mattock
  2011-04-18  7:34       ` Gottfried Haider
  0 siblings, 1 reply; 8+ messages in thread
From: Justin P. Mattock @ 2011-04-16 23:35 UTC (permalink / raw)
  To: Gottfried Haider; +Cc: linux-kernel, linux-bluetooth

On 04/16/2011 03:43 PM, Gottfried Haider wrote:
> Hi Justin,
>
>> I'm wondering if you are hitting what I was hitting a few days ago.. the
>> commit below got things working over here:
>> (not sure if this is in the stable yet)
>> http://git.kernel.org/?p=linux/kernel/git/padovan/bluetooth-next-2.6.git;a=commitdiff;h=b99faf1b798d6d0e33526fd2cef55a405c08ff09;hp=58b6e124aac64bebb2e9e1a136cbd21a5ab0485a
>
> I checked: I have this commit in -rc3, so it must be something else here.
>
> greetings,
>
> gohai
>

hmm... seems to be working over here with the latest Mainline. one thing 
  I have notice though is the daemon is not starting during 
boot(systemd), manually starting bluetoothd gets me to connect.(system 
is fedora 15).

Justin P. Mattock

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

* Re: [Regression] Bluetooth pairing does not work anymore in 2.6.39-rc3 (works in 2.6.38.3)
  2011-04-16 16:38 [Regression] Bluetooth pairing does not work anymore in 2.6.39-rc3 (works in 2.6.38.3) Gottfried Haider
  2011-04-16 17:01 ` Justin P. Mattock
@ 2011-04-17 18:40 ` Maciej Rutecki
  2011-04-18 13:21 ` Pavel Machek
  2 siblings, 0 replies; 8+ messages in thread
From: Maciej Rutecki @ 2011-04-17 18:40 UTC (permalink / raw)
  To: Gottfried Haider; +Cc: linux-kernel, linux-bluetooth

I created a Bugzilla entry at 
https://bugzilla.kernel.org/show_bug.cgi?id=33482
for your bug report, please add your address to the CC list in there, thanks!

On sobota, 16 kwietnia 2011 o 18:38:59 Gottfried Haider wrote:
> Hello,
> 
> I am having problems pairing bluetooth devices in 2.6.39. Scanning
> works fine (hcitool scan), but when I try to pair a device using
> "bluez-simple-agent hci0 $MAC", I receive the following error message:
> "Creating device failed: org.bluez.Error.Failed: Input/output error"
> 
> The same command reliably works on a 2.6.38.3 kernel with pretty much
> the same config.
> 
> According to lsusb, I have a Broadcom Bluetooth Controller with ID
> 0a5c:217f. I don't see anything related in either of the dmesgs.
> My lspci output is here: http://sukzessiv.net/x120e/
> Userspace is an up-to-date Ubuntu 11.04 beta (with bluez 4.91).
> 
> If there are any debugging steps that I could do or patches to try or
> revert, let me know. Unfortunately I can't do a proper bisect since
> the machine is a netbook type.
> 
> cheers,
> gohai
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Maciej Rutecki
http://www.maciek.unixy.pl

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

* Re: [Regression] Bluetooth pairing does not work anymore in 2.6.39-rc3 (works in 2.6.38.3)
  2011-04-16 23:35     ` Justin P. Mattock
@ 2011-04-18  7:34       ` Gottfried Haider
  2011-04-18 15:47         ` Justin P. Mattock
  0 siblings, 1 reply; 8+ messages in thread
From: Gottfried Haider @ 2011-04-18  7:34 UTC (permalink / raw)
  To: Justin P. Mattock; +Cc: linux-kernel, linux-bluetooth, padovan

>> I checked: I have this commit in -rc3, so it must be something else here.
> hmm... seems to be working over here with the latest Mainline. one thing  I
> have notice though is the daemon is not starting during boot(systemd),
> manually starting bluetoothd gets me to connect.(system is fedora 15).

It was my fault after all:

I had based my kernel config on 2.6.39-rc2 from Ubuntu's
mainline-kernel PPA, and this doesn't have BT_L2CAP..

Case closed.


I am just wondering: is it possible to make BT_L2CAP (and SCO?)
default to yes when BT is compiled in or build as a module?

>From commit 6427451: "The L2CAP layer is needed by almost all
Bluetooth protocols and profiles. There isn't any real use case
without having L2CAP loaded." Yet when I am doing oldconfig from a
config that had L2CAP build as a module, I am getting these easily
overlooked lines:

L2CAP protocol support (BT_L2CAP) [N/y/?] (NEW)
SCO links support (BT_SCO) [N/y/?] (NEW)


cheers,
gohai

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

* Re: [Regression] Bluetooth pairing does not work anymore in 2.6.39-rc3 (works in 2.6.38.3)
  2011-04-16 16:38 [Regression] Bluetooth pairing does not work anymore in 2.6.39-rc3 (works in 2.6.38.3) Gottfried Haider
  2011-04-16 17:01 ` Justin P. Mattock
  2011-04-17 18:40 ` Maciej Rutecki
@ 2011-04-18 13:21 ` Pavel Machek
  2 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2011-04-18 13:21 UTC (permalink / raw)
  To: Gottfried Haider; +Cc: linux-kernel, linux-bluetooth

Hi!

> I am having problems pairing bluetooth devices in 2.6.39. Scanning
> works fine (hcitool scan), but when I try to pair a device using
> "bluez-simple-agent hci0 $MAC", I receive the following error message:
> "Creating device failed: org.bluez.Error.Failed: Input/output error"
> 
> The same command reliably works on a 2.6.38.3 kernel with pretty much
> the same config.
> 
> According to lsusb, I have a Broadcom Bluetooth Controller with ID
> 0a5c:217f. I don't see anything related in either of the dmesgs.
> My lspci output is here: http://sukzessiv.net/x120e/
> Userspace is an up-to-date Ubuntu 11.04 beta (with bluez 4.91).
> 
> If there are any debugging steps that I could do or patches to try or
> revert, let me know. Unfortunately I can't do a proper bisect since
> the machine is a netbook type.

I guess strace of the pairing attempt would be helpful.

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: [Regression] Bluetooth pairing does not work anymore in 2.6.39-rc3 (works in 2.6.38.3)
  2011-04-18  7:34       ` Gottfried Haider
@ 2011-04-18 15:47         ` Justin P. Mattock
  0 siblings, 0 replies; 8+ messages in thread
From: Justin P. Mattock @ 2011-04-18 15:47 UTC (permalink / raw)
  To: Gottfried Haider; +Cc: linux-kernel, linux-bluetooth, padovan

On 04/18/2011 12:34 AM, Gottfried Haider wrote:
>>> I checked: I have this commit in -rc3, so it must be something else here.
>> hmm... seems to be working over here with the latest Mainline. one thing  I
>> have notice though is the daemon is not starting during boot(systemd),
>> manually starting bluetoothd gets me to connect.(system is fedora 15).
>
> It was my fault after all:
>
> I had based my kernel config on 2.6.39-rc2 from Ubuntu's
> mainline-kernel PPA, and this doesn't have BT_L2CAP..
>
> Case closed.
>

thats alright...(your human!!!)

>
> I am just wondering: is it possible to make BT_L2CAP (and SCO?)
> default to yes when BT is compiled in or build as a module?

tweaking the kconfig can do this.

>
>> From commit 6427451: "The L2CAP layer is needed by almost all
> Bluetooth protocols and profiles. There isn't any real use case
> without having L2CAP loaded." Yet when I am doing oldconfig from a
> config that had L2CAP build as a module, I am getting these easily
> overlooked lines:
>
> L2CAP protocol support (BT_L2CAP) [N/y/?] (NEW)
> SCO links support (BT_SCO) [N/y/?] (NEW)
>
>
> cheers,
> gohai
>

Justin P. Mattock

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

end of thread, other threads:[~2011-04-18 15:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-16 16:38 [Regression] Bluetooth pairing does not work anymore in 2.6.39-rc3 (works in 2.6.38.3) Gottfried Haider
2011-04-16 17:01 ` Justin P. Mattock
2011-04-16 22:43   ` Gottfried Haider
2011-04-16 23:35     ` Justin P. Mattock
2011-04-18  7:34       ` Gottfried Haider
2011-04-18 15:47         ` Justin P. Mattock
2011-04-17 18:40 ` Maciej Rutecki
2011-04-18 13:21 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).