Hello Marcel, > > > > When I tried to get a mobile phone connected to asterisk via > > > > bluetooth, the current git version of the linux bluetooth stack > > > > triggers a kernel bug: > > > > > > > > BUG: scheduling while atomic: swapper/0/0x10000100 > > > > > > > > This is triggered the moment when asterisk tries to pair the phone > > > > and leaves at least the BT subsystem in an unusable state. > > > > > > are you running Linus' tree or bluetooth-testing.git? If your are not > > > running bluetooth-testing.git, then please try that one since it > > > includes a fix for it. > > > > I'm running bluetooth-testing.git and pulled that tree just an hour ago. > > does the attached patch fixes your issue? > > Regards > > Marcel you are really fast ... and your patch actually fixed the problem. Thank you very much! Rests to mention a problem which could again be linked to the bluetooth stack, but also to the CSR dongle (which is blacklisted in btusb.c: 0x0a12:0001), to Asterisk's "chan_mobile" module or even to the Nokia 6280 V6.43 firmware. Should I better start another thread here? [Outbound GSM call via Asterisk and BT-adapter, wait until the other side hangs up] hci_scodata_packet: hci0 SCO packet for unknown connection handle 46 hci_scodata_packet: hci0 SCO packet for unknown connection handle 46 hci_scodata_packet: hci0 SCO packet for unknown connection handle 46 hci_scodata_packet: hci0 SCO packet for unknown connection handle 46 hci_scodata_packet: hci0 SCO packet for unknown connection handle 47 hci_scodata_packet: hci0 SCO packet for unknown connection handle 47 hci_scodata_packet: hci0 SCO packet for unknown connection handle 47 [Outbound GSM call via Asterisk and BT-adapter, hang up the IP phone up before the other side does so] btusb_isoc_complete: hci0 corrupted SCO packet hci_scodata_packet: hci0 SCO packet for unknown connection handle 0 hci_scodata_packet: hci0 SCO packet for unknown connection handle 0 hci_scodata_packet: hci0 SCO packet for unknown connection handle 0 hci_scodata_packet: hci0 SCO packet for unknown connection handle 0 hci_scodata_packet: hci0 SCO packet for unknown connection handle 0 [And Asterisk says: - Bluetooth Device Nokia has disconnected, reason (104)] Best Regards Hugo -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html