On Tue, 21 Apr 2009, Matt Reimer wrote: > Is it legal for a host to request a string descriptor with langid 0? It is allowed only if the device lists ID 0 among its supported languages. According to http://www.usb.org/developers/docs/: And system software should never request a LANGID not defined in the LANGID code array (string index = 0) presented by a device. > In trying to get Android's adb to work I discovered that the adb > daemon on the host was doing such a thing, and the adb gadget driver > wasn't returning a string descriptor because of course it didn't have > any strings matching langid 0. Patching the adb daemon to specify > 0x0409 instead of 0 works, as does the following patch to composite.c > to only do the language check if langid is non-zero. > > Which is the correct fix? Changing the daemon. 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