On Sat, 7 Nov 2009 00:52:13 -0800, Shivdas Gujare <shivdas.tech@xxxxxxxxx> wrote: > cd3ed680 2839510826 S Bi:1:007:1 -115 1024 < > > What does the "1024" indicates in above line, since there is no any > actual data/callbacks with "1024" bytes data?? It's the requested length. But there's nothing wrong with returning less. > cd3edf00 2839630507 C Ii:1:007:2 0:512 10 = a1200000 00000200 0300 > cd3edf00 2839630519 S Ii:1:007:2 -115:512 16 < > What does "16" indicates from above line.. since 10 from "10 =" in > callback indicates that its a "notify_serial_state" > request with 8 byte request + 2 byte data, but it doesn't actually > matches to "16" from submission. Again, it's ok to return less, in this case 10 (decimal). > cd3edf00 2839694507 C Ii:1:007:2 0:512 10 = a1200000 00000200 0200 > cd3edf00 2839694526 S Ii:1:007:2 -115:512 16 < > > How does urb->interval "512 from above line" relates with > "ept->interval" from endpoint descriptor? I think drivers are supposed to copy the value from the endpoint, unless they know for sure that ROM is bad and the value is incorrect. -- Pete -- 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