I just read the following:
On Tuesday, October 11, 2016 at 11:02:15 PM UTC-4, RobertCNelson wrote:
Hi David,
...
Does this mean that the 4.9 kernel doesn't have official support for the Beaglebone Black (am335x?)...
I'm wondering if that is why I'm having problems with the configs usb_f_hid.ko gadget driver. I tracked
down, I think, what the problem might be, but I'm not exactly sure how to fix it. When looking for an
"in" endpoint, the hid driver has several (the fs, hs, and ss endpoints), but I'm not sure that the
usb_gadget_ep_match_desc
function actually matches any of the endpoints and I think it ends up returning a null endpoint
descriptor which is then dereferenced by "alloc_ep_req" in the hidg_bind process. I'm not exactly sure why it wouldn't
get a descriptor, but there are several ways that the above function can return 0 instead of 1 (meaning
it didn't match). I'm in the process of tracking this down, but maybe there is something I need in the
kernel that isn't supported/provided anymore for am335x?
Sorry to pick on you again to ask these questions (I asked you about the HID driver in another thread),
but you seem to be the most knowledgeable about ti/linux/beaglebone support in general. If I knew where
else to direct these questions, I'd direct them there.