Re: gadget hid change transfer packet size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Alan" == Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> writes:

Hi,

 >> 1.) To increase the packet size I still need to change the
 >> configuration descriptor but I cant find the file/location where I
 >> can change this. Which file contains the configuration descriptor
 >> for gadget hid?

 Alan> No file contains the configuration descriptor; it is constructed
 Alan> on-the-fly.  The various interface and endpoint descriptors are defined 
 Alan> in f_hid.c.

 Alan> But why do you need to change the config descriptor?  It doesn't 
 Alan> contain any endpoint sizes.

Indeed. You instead need to set report_length to something else than 8
in your struct hidg_func_descriptor in your platform data.

-- 
Bye, Peter Korsgaard
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux