Am Freitag 04 Juli 2008 00:08:49 schrieb Oliver Neukum: > Mutual exclusion is a very good idea. And telling input devices that > they are open is also a good idea. But this will be difficult, as open() > will almost certainly wish to do as memory allocations can trigger > an autoresume. Sorry, it is late. Again, in clear language. You will face a deadlock problem, as open can call into resume, due to a) usb_autopm_get_interface() b) any memory allocation that triggers autoresumption of another interface of the same device Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html