USB network card identification configuration method
A configuration method and network card technology, which are applied to program control devices, program loading/starting, etc., can solve problems such as complex processes, and achieve the effects of simplifying processes, reducing numbers, and saving code.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] The present invention is further illustrated below by means of examples, but the present invention is not limited to the scope of the examples.
[0039] In this embodiment, at first, the get_usb_card_info function is called in the main function of the Linux system to obtain the USB device information before the USB device is converted.
[0040] Then obtain the default device information of the USB device before conversion, that is, obtain all system default USB device information from the / proc / bus / usb / devices file system of the Linux system, and find out the useful parameter information of the USB 3G network card device , and the device information of the USB 3G network card is saved in the system file.
[0041] Finally, add the code to read the vendorID and prodID of the USB 3G network card in the usb_mode_switch function, obtain the device information of the USB 3G network card again, and record the model of the USB 3G network card device.
[0042]Specifically, in t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

