You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, latest firmware is now 3.2.27. Also the USB driver has been udpated. Can you test again?
You could also try adding:
dwc_otg.microframe_schedule=1
to cmdline.txt.
Right, this does work partially on my brand-less dongle. The timeout issue now appears randomly. While I was able to pair one device once now the timeout issue is back. Not sure what it depends on.
Also, I tried to use a different bluetooth dongle (Belkin mini) and with this one nothing works at all..
I believe we really need kernel-3.3/3.4 in here... any timeframes for this?
the issue with kernel 3.1.x and 3.2.x that is mentioned in the initial comment is to do with broken bluetooth dongles; this is ones that have issues with providing features lists (extfeatures).
the above issue was also resolved in kernels >3.3; so I tried to incorporate kernel 3.5.4 bluetooth system into RPi kernel and this did not resolve my problem either
the timeout issue I had was appearing randomly on a different occasions so nothing to do really with initiation
@gregd72002
Glad it's working. Are both microframe_schedule and speed required?
(in latest firmware microframe_schedule is actually on by default, but can be disabled with =0)
Activity
popcornmix commentedon Aug 20, 2012
Well, latest firmware is now 3.2.27. Also the USB driver has been udpated. Can you test again?
You could also try adding:
dwc_otg.microframe_schedule=1
to cmdline.txt.
gregd72002 commentedon Aug 24, 2012
I'm facing the same issue. Just tested it with the latest kernel:
Linux raspberrypi 3.2.27+ #60 PREEMPT Thu Aug 23 15:33:51 BST 2012 armv6l GNU/Linux
And the issues is still there.
It looks like we need kernel 3.3 to fix it (based on the archlinux bug report)
or the following patches:
http://article.gmane.org/gmane.linux.bluez.kernel/19950/
http://article.gmane.org/gmane.linux.bluez.kernel/19951/
popcornmix commentedon Aug 24, 2012
@gregd72002
Have you tried applying the patches? Does it fix it?
gregd72002 commentedon Aug 24, 2012
No, I have not. I do not have the environment just now to compile it.
gregd72002 commentedon Aug 25, 2012
Tried it overnight and it works! However the patches do no apply cleanly.. Will try to issue a diff in a moment
gregd72002 commentedon Aug 25, 2012
This is a consolidated patch that fixes the issue in the current kernel sources.
I also tested it myself by issuing some scan commands and all seems to be fine!
gregd72002 commentedon Aug 25, 2012
Right, this does work partially on my brand-less dongle. The timeout issue now appears randomly. While I was able to pair one device once now the timeout issue is back. Not sure what it depends on.
Also, I tried to use a different bluetooth dongle (Belkin mini) and with this one nothing works at all..
I believe we really need kernel-3.3/3.4 in here... any timeframes for this?
gregd72002 commentedon Aug 27, 2012
Did some debugging:
and one more run of the same case but it fails in a different stage?
So, what does it tell us? What is the next step?
Diaoul commentedon Aug 27, 2012
@gregd72002: I am interested in how you did to enable that much logging, how did you achieve this?
gregd72002 commentedon Aug 27, 2012
Dialoul: you need to compile kernel with CONFIG_DYNAMIC_DEBUG option (http://www.mjmwired.net/kernel/Documentation/dynamic-debug-howto.txt)
then once using the new kernel mount debugfs:
and activate debug for items you interested in (refer to dynamic-debug-howto.txt for more info)):
Then load the module you interested in and view the debug in 'dmesg'
gregd72002 commentedon Aug 28, 2012
All my investigations are leading to an issue with USB subsystem and not bluetooth subsystem...
Cross referencing to a possible root cause: #19
raspberrypi/firmware#19
gregd72002 commentedon Aug 28, 2012
Good progress!! Resolved!!
As thought - nothing to do with bluetooth subsystem.
Modify your cmdline.txt to have:
my full cmdline.txt looks like:
and everything works now as expected!
Just to share my findings:
popcornmix commentedon Aug 28, 2012
@gregd72002
Glad it's working. Are both microframe_schedule and speed required?
(in latest firmware microframe_schedule is actually on by default, but can be disabled with =0)
gregd72002 commentedon Aug 28, 2012
@popcornmix
I just tried it and yes, indeed one just need 'speed' option, microframe_schedule is not required based on my last hour testing
ratherDashing commentedon Aug 28, 2012
dwc_otg.speed=1
my guess is that this pushes thing back to USB 1.1 speed. I have a USB hard drive also attached to the system so that would be an issue with me.
Is that the case?
55 remaining items
usb: dwc2: Fix HCD resume
usb: dwc2: Fix HCD port connection race
usb: dwc2: Fix HCD resume
usb: dwc2: Fix HCD port connection race
usb: dwc2: Fix HCD resume
usb: dwc2: Fix HCD port connection race
riscv: move memblock_allow_resize() after linear mapping is ready
drm/amd/display: Fix warning caused by an attempt to configure a non-…
mm/hugetlb: fix kernel NULL pointer dereference when migrating hugetl…
media: imx-jpeg: Ensure power suppliers be suspended before detach them
tpm: add bufsiz parameter in the .send callback
smb: client: make use of smbdirect_socket.statistics
null_blk: register configfs subsystem after creating default devices
null_blk: register configfs subsystem after creating default devices
null_blk: register configfs subsystem after creating default devices