On 12/7/2010 10:12 AM, Greg KH wrote: >>> > > Please don't, this is NOT the way to get errors from the kernel back out >>> > > to userspace, because, as you have noted, this is not how any other >>> > > subsystem does it. >>> > > >> > Thanks for your feedback. Is there any other way kernel can send errors >> > to user space asynchronously? is /dev/ interface acceptable? > Andi Kleen was working on a unified error reporting system for the > kernel for things like this and other subsystems. Try working with him > on this as it sounds like it would be what you need. Thanks for your inputs. I have looked at Andi Kleen's "Unified error reporting -- A worthy goal?" But it talks mostly about platform errors. I will work with him and find out if we can use his approach for notifying OTG errors to user space. -- Sent by a consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html