On Wed, 11 Feb 2009, Bin Wang wrote: > Now time, I am confused by the usb_control_msg() function. The device > can work right after I call usb_control_msg() with the right arguments > but the fuction just return -EPIPE. > > I want to check what happed in usb core and ehci driver. The run-time > dev_dbg infomation would be great help. So how can I get them? > > I'll appreciate any reply! Turn on CONFIG_USB_DEBUG in your kernel's configuration. Alan Stern -- 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