All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Problem with bluetooth device Broadcom Corp. BCM20702A0
@ 2015-03-30 16:03 Freek de Kruijf
  0 siblings, 0 replies; 3+ messages in thread
From: Freek de Kruijf @ 2015-03-30 16:03 UTC (permalink / raw
  To: linux-bluetooth

Hello all,

I have a Bluetooth dongle in a Raspberry Pi which identifies itself via lsusb 
as: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0

This device is used in a Rapberry Pi and uses bluez-5.23-1.2

After some days working OK. It suddenly does not work anymore. A command 
"hcitool scan" hangs and produces only lines showing "scanning...". It even 
blocks and hangs the system. Putting "timeout -k 10s 1m" in front of that 
command makes the system to continue. The command "hciconfig hci0 down" seems 
to work. At least the device status is down. However "hciconfig hci0 up" does 
not bring the device up. I tried "modprobe -f btusb" and after that "hciconfig 
hci0 up" and the device status became up and the device did work again.

Any suggestion?

-- 
fr.gr.

Freek de Kruijf


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

* Re: Problem with bluetooth device Broadcom Corp. BCM20702A0
       [not found] <CAJx1FMM4Bvb0cmk+WNr3nM4DsbF+SMp8QYwqq7Vs5Wu7yKLEtg@mail.gmail.com>
@ 2015-03-31 10:23 ` Freek de Kruijf
  2015-04-05 15:37 ` Freek de Kruijf
  1 sibling, 0 replies; 3+ messages in thread
From: Freek de Kruijf @ 2015-03-31 10:23 UTC (permalink / raw
  To: linux-bluetooth

Op dinsdag 31 maart 2015 15:54:42 schreef Chanyeol, Park:
> Hi
> Could you share btmon log?

Thanks for your answer. I would be glad to do that, however "btmon -h" is not 
really helpful and I could not find more information on how to monitor the 
device.

> 
> Thanks
> Chanyeol

-- 
fr.gr.

Freek de Kruijf


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

* Re: Problem with bluetooth device Broadcom Corp. BCM20702A0
       [not found] <CAJx1FMM4Bvb0cmk+WNr3nM4DsbF+SMp8QYwqq7Vs5Wu7yKLEtg@mail.gmail.com>
  2015-03-31 10:23 ` Problem with bluetooth device Broadcom Corp. BCM20702A0 Freek de Kruijf
@ 2015-04-05 15:37 ` Freek de Kruijf
  1 sibling, 0 replies; 3+ messages in thread
From: Freek de Kruijf @ 2015-04-05 15:37 UTC (permalink / raw
  To: Chanyeol,Park, linux-bluetooth

Op dinsdag 31 maart 2015 15:54:42 schreef Chanyeol, Park:
> Hi
> 
> 2015. 3. 31. 오전 1:11에 "Freek de Kruijf" <f.de.kruijf@gmail.com>님이 작성:
> > Hello all,
> > 
> > I have a Bluetooth dongle in a Raspberry Pi which identifies itself via
> 
> lsusb
> 
> > as: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
> > 
> > This device is used in a Rapberry Pi and uses bluez-5.23-1.2
> > 
> > After some days working OK. It suddenly does not work anymore. A command
> > "hcitool scan" hangs and produces only lines showing "scanning...". It
> 
> even
> 
> > blocks and hangs the system. Putting "timeout -k 10s 1m" in front of that
> > command makes the system to continue. The command "hciconfig hci0 down"
> 
> seems
> 
> > to work. At least the device status is down. However "hciconfig hci0 up"
> 
> does
> 
> > not bring the device up. I tried "modprobe -f btusb" and after that
> 
> "hciconfig
> 
> > hci0 up" and the device status became up and the device did work again.
> > 
> > Any suggestion?
> 
> Could you share btmon log?

I don't know how to use btmon log?
 
> > --
> > fr.gr.
> > 
> > Freek de Kruijf
> Thanks
> Chanyeol

In dmesg I found:
[36631.721870] Bluetooth: RFCOMM TTY layer initialized
[36631.722003] Bluetooth: RFCOMM socket layer initialized
[36631.722109] Bluetooth: RFCOMM ver 1.11
[40230.966288] Bluetooth: hci0 ACL packet for unknown connection handle 21
[40272.479748] Bluetooth: hci0 command 0x0408 tx timeout

and the last one repeated quite a lot until I do:
modprobe -r btusb
modprobe -i btusb
hciconfig hci0 up

After which things went OK again.


-- 
fr.gr.

Freek de Kruijf


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

end of thread, other threads:[~2015-04-05 15:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAJx1FMM4Bvb0cmk+WNr3nM4DsbF+SMp8QYwqq7Vs5Wu7yKLEtg@mail.gmail.com>
2015-03-31 10:23 ` Problem with bluetooth device Broadcom Corp. BCM20702A0 Freek de Kruijf
2015-04-05 15:37 ` Freek de Kruijf
2015-03-30 16:03 Freek de Kruijf

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.