国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 應用 > 系統(tǒng)工具 > 正文

使用命令行安裝驅動程序的方法

2020-07-10 20:42:40
字體:
來源:轉載
供稿:網(wǎng)友
看了一下Celluar Emulator的內容,除了應用程序,還需要安裝一個虛擬硬件的驅動,名為XPVCOM。安裝完畢后,會出現(xiàn)一個XPVCOM port。這個虛擬硬件將接受Device Emulator的AT指令,模仿手機的相應功能。

    很簡單,安裝這個虛擬硬件的驅動即可。查找驅動然后定位到xpvcom.inf。問題在于我想把這些工作打包,全部自動執(zhí)行,不用點來點去。想起了以前解決OSD的ACPI問題時用的工具,devcon。

    DEVCON是設備管理器的命令行版本,可以查看其幫助:

C:/Users/hhu/Desktop/WME/Drivers>devcon /?
Device Console Help:
devcon [-r] [-m://<machine>] <command> [<arg>...]
-r if specified will reboot machine after command is complete, if needed.
<machine> is name of target machine.
<command> is command to perform (see below).
<arg>... is one or more arguments if required by command.
For help on a specific command, type: devcon help <command>
classfilter          Allows modification of class filters.
classes              List all device setup classes.
disable              Disable devices that match the specific hardware or instanc
e ID.
driverfiles          List driver files installed for devices.
drivernodes          Lists all the driver nodes of devices.
enable               Enable devices that match the specific hardware or instance
ID.
find                 Find devices that match the specific hardware or instance I
D.
findall              Find devices including those that are not present.
help                 Display this information.
hwids                Lists hardware ID's of devices.
install              Manually install a device.
listclass            List all devices for a setup class.
reboot               Reboot local machine.
remove               Remove devices that match the specific hardware or instance
ID.
rescan               Scan for new hardware.
resources            Lists hardware resources of devices.
restart              Restart devices that match the specific hardware or instanc
e ID.
sethwid              Modify Hardware ID's of listed root-enumerated devices.
stack                Lists expected driver stack of devices.
status               List running status of devices.
update               Manually update a device.
updateni             Manually update a device (non interactive).

    為了安裝這個虛擬硬件,只需要運行以下命令行:

devcon install xpvcom.inf "root/XPVCOM"
devcon rescan

    你要問“root/XPVCOM”設備描述符哪里來的?打開inf文件就能看到

……

[Standard]
;
;

%XPVCOM.DeviceDesc%=XPVCOM_Device, root/XPVCOM
……

    命令行安裝一個驅動,就這么簡單。

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 博野县| 尚义县| 凌源市| 丹棱县| 娄烦县| 凤凰县| 资中县| 蕲春县| 洛川县| 临朐县| 延寿县| 吉安市| 大冶市| 麟游县| 温宿县| 彭阳县| 大田县| 黑龙江省| 长治县| 油尖旺区| 亚东县| 竹山县| 吴堡县| 双流县| 西华县| 高雄县| 汉川市| 西吉县| 伊金霍洛旗| 苍溪县| 桃园县| 辉南县| 新沂市| 枣阳市| 七台河市| 海伦市| 会宁县| 邵阳市| 高碑店市| 清远市| 湘潭县|