A method for automatically updating drivers of all external plug-in card devices of a linux system
A device-driven, automatic update technology, applied in the direction of program control design, program loading/starting, software deployment, etc., can solve the problem of manpower increase, achieve a high degree of automation, save test time and manpower, and have strong practicability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] Such as figure 1 As shown, a method for automatically updating all external card device drivers in the linux system of the present invention, it first extracts system information and updates the system driver version library, then judges whether the current driver version is the latest, and finally determines the current model and os version And perform a driver update. Further, the system information is extracted through a shell script, the system driver version library is established using the python language, and whether the current driver version is the latest is judged using the python language, and the driver version is determined using a shell script to determine the current model and os version and upgrade.
[0065] Further, the method includes the following specific steps:
[0066] 1) Detect current external card information and driver module information. Such as figure 2 As shown, the step 1) includes the following specific steps:
[0067] 11) Obtain the...
Embodiment 2
[0102] Such as Image 6 As shown, another method for automatically updating all external card device drivers of the linux system provided by the present invention requires system driver version library design and driver package installation package storage structure design before updating the external card device drivers. Said method comprises the following steps:
[0103] 1) Write an automatic installation shell script for each driver;
[0104] 2) Scan the external card device and detect the driver module;
[0105] 3) Obtain the current driver version and the latest driver version;
[0106] 4) If the current driver version is lower than the latest driver version, select the latest driver from the system driver version library and install it automatically, otherwise go directly to the next step;
[0107] 5) If the detection of all external card devices is completed, then enter the next step, otherwise go to step 2) and continue to detect other external card devices;
[010...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


