USB_INTERFACE_ID - Online Linux Manual PageSection : 9
Updated : June 2018
Source : Kernel Hackers Manual 2​.6​.
Note : Kernel Mode Gadget API

NAMEusb_interface_id − allocate an unused interface ID

SYNOPSISint usb_interface_id(struct usb_configuration * config, struct usb_function * function);

ARGUMENTSconfig configuration associated with the interface function function handling the interface

CONTEXTsingle threaded during gadget setup

DESCRIPTIONusb_interface_id is called from usb_function​.bind callbacks to allocate new interface IDs​. The function driver will then store that ID in interface, association, CDC union, and other descriptors​. It will also handle any control requests targetted at that interface, particularly changing its altsetting via set_alt​. There may also be class−specific or vendor−specific requests to handle​. All interface identifier should be allocated using this routine, to ensure that for example different functions don´t wrongly assign different meanings to the same identifier​. Note that since interface identifers are configuration−specific, functions used in more than one configuration (or more than once in a given configuration) need multiple versions of the relevant descriptors​. Returns the interface ID which was allocated; or −ENODEV if no more interface IDs can be allocated​.

AUTHORDavid Brownell <​dbrownell@users.sourceforge.net​> Author.

COPYRIGHT
0
Johanes Gumabo
Data Size   :   5,728 byte
man-usb_interface_id.9Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 256,268
Visitor ID   :     :  
Visitor IP   :   18.119.138.124   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.