linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [BUG] bluetooth doesn't work from 2.6.39-rc1+ to 2.6.39-rc3+
       [not found] <BANLkTi=Ei91GRcL2oP0G16LDy7mpLoDEGQ@mail.gmail.com>
@ 2011-04-19  7:46 ` Dave Young
  2011-04-19 15:34   ` Hui Zhu
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Young @ 2011-04-19  7:46 UTC (permalink / raw)
  To: Hui Zhu; +Cc: linux-kernel, Bluettooth Linux

On Tue, Apr 19, 2011 at 10:53 AM, Hui Zhu <teawater@gmail.com> wrote:
> Cannot connect to any outside devices through bluetooth.
>
> And I think this is not a bug of low level driver.  Because both my
> laptop and a usb bluetooth card cannot work.

Hi, please explain the "cannot work" in detail,
Firstly check dmesg and hciconfig to see if there's anything wrong.

-- 
Regards
dave

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

* Re: [BUG] bluetooth doesn't work from 2.6.39-rc1+ to 2.6.39-rc3+
  2011-04-19  7:46 ` [BUG] bluetooth doesn't work from 2.6.39-rc1+ to 2.6.39-rc3+ Dave Young
@ 2011-04-19 15:34   ` Hui Zhu
  2011-04-24 13:52     ` Ed Tomlinson
  0 siblings, 1 reply; 7+ messages in thread
From: Hui Zhu @ 2011-04-19 15:34 UTC (permalink / raw)
  To: Dave Young; +Cc: linux-kernel, Bluettooth Linux

Do you part is OK?

I think it will be very easy to reproduce.

Thanks,
Hui

On Tue, Apr 19, 2011 at 15:46, Dave Young <hidave.darkstar@gmail.com> wrote:
> On Tue, Apr 19, 2011 at 10:53 AM, Hui Zhu <teawater@gmail.com> wrote:
>> Cannot connect to any outside devices through bluetooth.
>>
>> And I think this is not a bug of low level driver.  Because both my
>> laptop and a usb bluetooth card cannot work.
>
> Hi, please explain the "cannot work" in detail,
> Firstly check dmesg and hciconfig to see if there's anything wrong.
>
> --
> Regards
> dave
>

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

* Re: [BUG] bluetooth doesn't work from 2.6.39-rc1+ to 2.6.39-rc3+
  2011-04-19 15:34   ` Hui Zhu
@ 2011-04-24 13:52     ` Ed Tomlinson
  2011-04-26 16:13       ` Gustavo F. Padovan
  2011-04-27  2:55       ` Dave Young
  0 siblings, 2 replies; 7+ messages in thread
From: Ed Tomlinson @ 2011-04-24 13:52 UTC (permalink / raw)
  To: Hui Zhu; +Cc: Dave Young, linux-kernel, Bluettooth Linux

On Tuesday 19 April 2011 11:34:30 Hui Zhu wrote:
> Do you part is OK?
> 
> I think it will be very easy to reproduce.
> 
> Thanks,
> Hui
> 
> On Tue, Apr 19, 2011 at 15:46, Dave Young <hidave.darkstar@gmail.com> wrote:
> > On Tue, Apr 19, 2011 at 10:53 AM, Hui Zhu <teawater@gmail.com> wrote:
> >> Cannot connect to any outside devices through bluetooth.
> >>
> >> And I think this is not a bug of low level driver.  Because both my
> >> laptop and a usb bluetooth card cannot work.
> >
> > Hi, please explain the "cannot work" in detail,
> > Firstly check dmesg and hciconfig to see if there's anything wrong.

I am also seeing problems with bluetooth in .39-rc4+

[54511.033258] usb 2-4.4: USB disconnect, device number 5
[54513.920060] usb 2-4.3: new full speed USB device number 6 using ehci_hcd
[54514.063057] usb 2-4.3: New USB device found, idVendor=0a12, idProduct=0001
[54514.070281] usb 2-4.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
grover ~ # hciconfig -a
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:0A:3A:55:07:5A  ACL MTU: 192:8  SCO MTU: 64:8
        DOWN 
        RX bytes:718 acl:0 sco:0 events:25 errors:0
        TX bytes:108 acl:0 sco:0 commands:24 errors:0
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: CONFIG_BT_HCIBTUSB=m
        Link mode: SLAVE ACCEPT 

grover ~ # hciconfig hci0 up
Can't init device hci0: Invalid argument (22)

The same error happens If I just try a hciconfig hci0 up after boot (without replugging the adaptor).

CONFIG_BT_HCIBTSDIO=m
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
# CONFIG_BT_HCIUART_ATH3K is not set
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBPA10X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIVHCI=m

and bluez-4.91 is installed

Ideas?
Ed Tomlinson

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

* Re: [BUG] bluetooth doesn't work from 2.6.39-rc1+ to 2.6.39-rc3+
  2011-04-24 13:52     ` Ed Tomlinson
@ 2011-04-26 16:13       ` Gustavo F. Padovan
  2011-04-27 10:57         ` Ed Tomlinson
  2011-04-27  2:55       ` Dave Young
  1 sibling, 1 reply; 7+ messages in thread
From: Gustavo F. Padovan @ 2011-04-26 16:13 UTC (permalink / raw)
  To: Ed Tomlinson; +Cc: Hui Zhu, Dave Young, linux-kernel, Bluettooth Linux

* Ed Tomlinson <edt@aei.ca> [2011-04-24 09:52:14 -0400]:

> On Tuesday 19 April 2011 11:34:30 Hui Zhu wrote:
> > Do you part is OK?
> > 
> > I think it will be very easy to reproduce.
> > 
> > Thanks,
> > Hui
> > 
> > On Tue, Apr 19, 2011 at 15:46, Dave Young <hidave.darkstar@gmail.com> wrote:
> > > On Tue, Apr 19, 2011 at 10:53 AM, Hui Zhu <teawater@gmail.com> wrote:
> > >> Cannot connect to any outside devices through bluetooth.
> > >>
> > >> And I think this is not a bug of low level driver.  Because both my
> > >> laptop and a usb bluetooth card cannot work.
> > >
> > > Hi, please explain the "cannot work" in detail,
> > > Firstly check dmesg and hciconfig to see if there's anything wrong.
> 
> I am also seeing problems with bluetooth in .39-rc4+
> 
> [54511.033258] usb 2-4.4: USB disconnect, device number 5
> [54513.920060] usb 2-4.3: new full speed USB device number 6 using ehci_hcd
> [54514.063057] usb 2-4.3: New USB device found, idVendor=0a12, idProduct=0001
> [54514.070281] usb 2-4.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> grover ~ # hciconfig -a
> hci0:   Type: BR/EDR  Bus: USB
>         BD Address: 00:0A:3A:55:07:5A  ACL MTU: 192:8  SCO MTU: 64:8
>         DOWN 
>         RX bytes:718 acl:0 sco:0 events:25 errors:0
>         TX bytes:108 acl:0 sco:0 commands:24 errors:0
>         Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
>         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
>         Link policy: CONFIG_BT_HCIBTUSB=m
>         Link mode: SLAVE ACCEPT 
> 
> grover ~ # hciconfig hci0 up
> Can't init device hci0: Invalid argument (22)

does dmesg show something? I'm using a -rc kernel and bluetooth is working to
me.

-- 
Gustavo F. Padovan
http://profusion.mobi

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

* Re: [BUG] bluetooth doesn't work from 2.6.39-rc1+ to 2.6.39-rc3+
  2011-04-24 13:52     ` Ed Tomlinson
  2011-04-26 16:13       ` Gustavo F. Padovan
@ 2011-04-27  2:55       ` Dave Young
  2011-04-27 11:00         ` Ed Tomlinson
  1 sibling, 1 reply; 7+ messages in thread
From: Dave Young @ 2011-04-27  2:55 UTC (permalink / raw)
  To: Ed Tomlinson; +Cc: Hui Zhu, linux-kernel, Bluettooth Linux

On Sun, Apr 24, 2011 at 9:52 PM, Ed Tomlinson <edt@aei.ca> wrote:
> On Tuesday 19 April 2011 11:34:30 Hui Zhu wrote:
>> Do you part is OK?
>>
>> I think it will be very easy to reproduce.
>>
>> Thanks,
>> Hui
>>
>> On Tue, Apr 19, 2011 at 15:46, Dave Young <hidave.darkstar@gmail.com> wrote:
>> > On Tue, Apr 19, 2011 at 10:53 AM, Hui Zhu <teawater@gmail.com> wrote:
>> >> Cannot connect to any outside devices through bluetooth.
>> >>
>> >> And I think this is not a bug of low level driver.  Because both my
>> >> laptop and a usb bluetooth card cannot work.
>> >
>> > Hi, please explain the "cannot work" in detail,
>> > Firstly check dmesg and hciconfig to see if there's anything wrong.
>
> I am also seeing problems with bluetooth in .39-rc4+
>
> [54511.033258] usb 2-4.4: USB disconnect, device number 5
> [54513.920060] usb 2-4.3: new full speed USB device number 6 using ehci_hcd
> [54514.063057] usb 2-4.3: New USB device found, idVendor=0a12, idProduct=0001
> [54514.070281] usb 2-4.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> grover ~ # hciconfig -a
> hci0:   Type: BR/EDR  Bus: USB
>        BD Address: 00:0A:3A:55:07:5A  ACL MTU: 192:8  SCO MTU: 64:8
>        DOWN
>        RX bytes:718 acl:0 sco:0 events:25 errors:0
>        TX bytes:108 acl:0 sco:0 commands:24 errors:0
>        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
>        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
>        Link policy: CONFIG_BT_HCIBTUSB=m
>        Link mode: SLAVE ACCEPT
>
> grover ~ # hciconfig hci0 up
> Can't init device hci0: Invalid argument (22)
>
> The same error happens If I just try a hciconfig hci0 up after boot (without replugging the adaptor).

I did not see your problem, my usb dongle usbid is 0a12:0001 as well,
maybe bisect is the way to go.

>
> CONFIG_BT_HCIBTSDIO=m
> CONFIG_BT_HCIUART=m
> CONFIG_BT_HCIUART_H4=y
> CONFIG_BT_HCIUART_BCSP=y
> # CONFIG_BT_HCIUART_ATH3K is not set
> CONFIG_BT_HCIUART_LL=y
> CONFIG_BT_HCIBCM203X=m
> CONFIG_BT_HCIBPA10X=m
> CONFIG_BT_HCIBFUSB=m
> CONFIG_BT_HCIVHCI=m
>
> and bluez-4.91 is installed
>
> Ideas?
> Ed Tomlinson
>



-- 
Regards
dave

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

* Re: [BUG] bluetooth doesn't work from 2.6.39-rc1+ to 2.6.39-rc3+
  2011-04-26 16:13       ` Gustavo F. Padovan
@ 2011-04-27 10:57         ` Ed Tomlinson
  0 siblings, 0 replies; 7+ messages in thread
From: Ed Tomlinson @ 2011-04-27 10:57 UTC (permalink / raw)
  To: Gustavo F. Padovan; +Cc: Hui Zhu, Dave Young, linux-kernel, Bluettooth Linux

On Tuesday 26 April 2011 12:13:30 Gustavo F. Padovan wrote:
> * Ed Tomlinson <edt@aei.ca> [2011-04-24 09:52:14 -0400]:
> 
> > On Tuesday 19 April 2011 11:34:30 Hui Zhu wrote:
> > > Do you part is OK?
> > > 
> > > I think it will be very easy to reproduce.
> > > 
> > > Thanks,
> > > Hui
> > > 
> > > On Tue, Apr 19, 2011 at 15:46, Dave Young <hidave.darkstar@gmail.com> wrote:
> > > > On Tue, Apr 19, 2011 at 10:53 AM, Hui Zhu <teawater@gmail.com> wrote:
> > > >> Cannot connect to any outside devices through bluetooth.
> > > >>
> > > >> And I think this is not a bug of low level driver.  Because both my
> > > >> laptop and a usb bluetooth card cannot work.
> > > >
> > > > Hi, please explain the "cannot work" in detail,
> > > > Firstly check dmesg and hciconfig to see if there's anything wrong.
> > 
> > I am also seeing problems with bluetooth in .39-rc4+
> > 
> > [54511.033258] usb 2-4.4: USB disconnect, device number 5
> > [54513.920060] usb 2-4.3: new full speed USB device number 6 using ehci_hcd
> > [54514.063057] usb 2-4.3: New USB device found, idVendor=0a12, idProduct=0001
> > [54514.070281] usb 2-4.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> > grover ~ # hciconfig -a
> > hci0:   Type: BR/EDR  Bus: USB
> >         BD Address: 00:0A:3A:55:07:5A  ACL MTU: 192:8  SCO MTU: 64:8
> >         DOWN 
> >         RX bytes:718 acl:0 sco:0 events:25 errors:0
> >         TX bytes:108 acl:0 sco:0 commands:24 errors:0
> >         Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
> >         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
> >         Link policy: CONFIG_BT_HCIBTUSB=m
> >         Link mode: SLAVE ACCEPT 
> > 
> > grover ~ # hciconfig hci0 up
> > Can't init device hci0: Invalid argument (22)
> 
> does dmesg show something? I'm using a -rc kernel and bluetooth is working to
> me.

What dmesg shows is included above.  The tell tail for this bug is the error 22 from
user space.  I see nothing on the kernel side.

Ed

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

* Re: [BUG] bluetooth doesn't work from 2.6.39-rc1+ to 2.6.39-rc3+
  2011-04-27  2:55       ` Dave Young
@ 2011-04-27 11:00         ` Ed Tomlinson
  0 siblings, 0 replies; 7+ messages in thread
From: Ed Tomlinson @ 2011-04-27 11:00 UTC (permalink / raw)
  To: Dave Young; +Cc: Hui Zhu, linux-kernel, Bluettooth Linux

On Tuesday 26 April 2011 22:55:22 Dave Young wrote:
> On Sun, Apr 24, 2011 at 9:52 PM, Ed Tomlinson <edt@aei.ca> wrote:
> > On Tuesday 19 April 2011 11:34:30 Hui Zhu wrote:
> >> Do you part is OK?
> >>
> >> I think it will be very easy to reproduce.
> >>
> >> Thanks,
> >> Hui
> >>
> >> On Tue, Apr 19, 2011 at 15:46, Dave Young <hidave.darkstar@gmail.com> wrote:
> >> > On Tue, Apr 19, 2011 at 10:53 AM, Hui Zhu <teawater@gmail.com> wrote:
> >> >> Cannot connect to any outside devices through bluetooth.
> >> >>
> >> >> And I think this is not a bug of low level driver.  Because both my
> >> >> laptop and a usb bluetooth card cannot work.
> >> >
> >> > Hi, please explain the "cannot work" in detail,
> >> > Firstly check dmesg and hciconfig to see if there's anything wrong.
> >
> > I am also seeing problems with bluetooth in .39-rc4+
> >
> > [54511.033258] usb 2-4.4: USB disconnect, device number 5
> > [54513.920060] usb 2-4.3: new full speed USB device number 6 using ehci_hcd
> > [54514.063057] usb 2-4.3: New USB device found, idVendor=0a12, idProduct=0001
> > [54514.070281] usb 2-4.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> > grover ~ # hciconfig -a
> > hci0:   Type: BR/EDR  Bus: USB
> >        BD Address: 00:0A:3A:55:07:5A  ACL MTU: 192:8  SCO MTU: 64:8
> >        DOWN
> >        RX bytes:718 acl:0 sco:0 events:25 errors:0
> >        TX bytes:108 acl:0 sco:0 commands:24 errors:0
> >        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
> >        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
> >        Link policy: CONFIG_BT_HCIBTUSB=m
> >        Link mode: SLAVE ACCEPT
> >
> > grover ~ # hciconfig hci0 up
> > Can't init device hci0: Invalid argument (22)
> >
> > The same error happens If I just try a hciconfig hci0 up after boot (without replugging the adaptor).
> 
> I did not see your problem, my usb dongle usbid is 0a12:0001 as well,
> maybe bisect is the way to go.

I can try but this bug was introduced during the .38 to rc1 window.  I've not had much luck
bisecting through pre rc1...

Is there any good way to trace what is giving the 'Invalid argument 22'?  

Ed
 
> >
> > CONFIG_BT_HCIBTSDIO=m
> > CONFIG_BT_HCIUART=m
> > CONFIG_BT_HCIUART_H4=y
> > CONFIG_BT_HCIUART_BCSP=y
> > # CONFIG_BT_HCIUART_ATH3K is not set
> > CONFIG_BT_HCIUART_LL=y
> > CONFIG_BT_HCIBCM203X=m
> > CONFIG_BT_HCIBPA10X=m
> > CONFIG_BT_HCIBFUSB=m
> > CONFIG_BT_HCIVHCI=m
> >
> > and bluez-4.91 is installed
> >
> > Ideas?
> > Ed Tomlinson
> >
> 
> 
> 
> 

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

end of thread, other threads:[~2011-04-27 11:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <BANLkTi=Ei91GRcL2oP0G16LDy7mpLoDEGQ@mail.gmail.com>
2011-04-19  7:46 ` [BUG] bluetooth doesn't work from 2.6.39-rc1+ to 2.6.39-rc3+ Dave Young
2011-04-19 15:34   ` Hui Zhu
2011-04-24 13:52     ` Ed Tomlinson
2011-04-26 16:13       ` Gustavo F. Padovan
2011-04-27 10:57         ` Ed Tomlinson
2011-04-27  2:55       ` Dave Young
2011-04-27 11:00         ` Ed Tomlinson

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