有没有办法检查非工作的计算机硬件,如鼠标键盘。 [英] is there a way for me to check nonworking computer hardwares such as mouse keyboard.

查看:82
本文介绍了有没有办法检查非工作的计算机硬件,如鼠标键盘。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法让我检查非工作的计算机硬件,如鼠标键盘。

is there a way for me to check nonworking computer hardwares such as mouse keyboard.

推荐答案

不是真的。为了完成大多数值得的测试,您需要直接访问硬件。这是你在Windows中无法获得的,因为HAL(硬件抽象层)从应用程序代码中删除了对硬件的访问,简化了应用程序。



如果你想要在硬件上运行测试,您需要编写特定于每个设备中的硬件芯片组的测试。大多数情况下,除了工作的基本信息之外,您不会从芯片组中获取大量数据。当东西不起作用时,芯片组通常不会返回很多数据。





诊断工具是锻炼者。它们通常将数据提供给设备,并期望在设备工作时返回一些已知数据。您从诊断中获得的问题代码通常是一些代码,这意味着这个特定的练习失败以及它是如何失败的,例如我将这些数据写入其中并且错误的数据又回来了。你几乎从来没有看到这是为什么失败,因为硬件通常不支持这种行为。
Not really. In order to do most tests that would be worth anything, you'd need direct access to the hardware. This is something you don't get in Windows as the HAL (Hardware Abstraction Layer) removes access to the hardware from your application code, simplifying your application.

If you wanted to run tests on the hardware, you'd need to write tests specific for the hardware chipsets in each device. Most of the time, you're not going to get much data back from the chipsets beyond basic information on it working. Chipsets are normally not designed to return much data when stuff doesn't work.


Diagnostic tools are exercisers. They normally feed data to a device and expect some known data to come back when then device is working. The problem codes you get back from the diagnostics are usually some code that means "this particular exercise failed" and how it failed, like "I wrote this data to it and the wrong data came back". You just about never see "this is WHY is failed" because the hardware normally doesn't support such behavior.


这篇关于有没有办法检查非工作的计算机硬件,如鼠标键盘。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆