Hi, >>> No, i don't see that (Set-Config request with a config value of 0) >> >> Well, then I don't know where the problem is, but obviously the problem >> occurred before the gadget driver was involved. Either the host sent a >> wrong packet, or more likely the UDC received the packet incorrectly. > > Yes, UDC driver has bug. After modifying it, it can receive Set-Config > request with a config value of 0. However, the "device descriptor test > - addressed state" still fails. > > Please see the attached log. The Set-Config request with a config > value of 0 is the second last USB request sent from the host. The last > USB request is Get-Config, which still returns config value of 1. In gadget driver, do_set_config(), if new_config is 0, the new_config is not processed. So config value of zero will never be saved by gadget driver. Isn't it? Thanks, victor -- 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