Hi Oliver, > this patch against vanilla 2.6.27-rc4 implements full autosuspend for > btusb. It should allow the HCI to be suspended during periods of inactivity > while retaining full service if the device supports USB remote wakeup. actually we do have two cases. An inactive device can be woken up by an HCI Connection Request coming via the interrupt endpoint or if we have a send_frame callback via the Bluetooth stack itself. What do we do if a device does not support remote wakeup? > Please test and/or comment on the code. > It works for me with a few glitches but still needs to be a bit polished. Please explain the tx_in_flight stuff to me. It looks unneeded since we anchor all TX URBs anyway. So can we just leave the ISOC interface stuff out of it and try to get the case right where we have control and interrupt URBs only and maybe bulk URBs in case we an ACL link up. This reminds me that we should extend the notify() callback to inform about sniff and active state changes. Since in theory when a connection goes into sniff mode, we could suspend it. Regards Marcel -- 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