locked
HID ClassのGUIDが変更になった? RRS feed

  • 質問

  • Windowsがデバイスを識別するためのGUIDが複数存在します。

    私は、HID Classのデバイスドライバをインストールするために、

    Human Interface Devices (HID)
    Class = HIDClass
    ClassGuid = {745a17a0-74d3-11d0-b6fe-00a0c90f57da}This class includes interactive input devices that are operated by the system-supplied HID class driver. This includes USB devices that comply with the USB HID Standard and non-USB devices that use a HID minidriver. For more information, see HIDClass Device Setup Class. (See also the Keyboard or Mouse classes later in this list.)

    を使用していましたが、上記GUIDではなく、{4D1E55B2-F16F-11CF-88CB-001111000030}を使用しないとインストール出来なくなりました。

    マイクロソフト社がGUIDを変更したという情報があれば教えていただきたいです。

    よろしくお願いいたします。

    2018年5月11日 8:28

回答

  • HID Class の GUID が変更されることなど、あり得ません。
    (そんなことをされたら、世界中で大混乱です。)

    Microsoft が定義している Device Setup Class の詳細に関しては、下記サイトで情報公開されています。
    -------------------------------------
    System-Defined Device Setup Classes Available to Vendors
    https://docs.microsoft.com/en-us/windows-hardware/drivers/install/system-defined-device-setup-classes-available-to-vendors

    Human Interface Devices (HID)
    Class = HIDClass
    ClassGuid = {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
    This class includes interactive input devices that are operated by the system-supplied HID class driver.
    This includes USB devices that comply with the USB HID Standard and non-USB devices that use a HID minidriver.
    For more information, see HIDClass Device Setup Class.
    (See also the Keyboard or Mouse classes later in this list.)
    -------------------------------------

    で、GUID {4D1E55B2-F16F-11CF-88CB-001111000030} については、下記サイトに情報があります。
    -------------------------------------
    GUID_DEVINTERFACE_HID
    https://docs.microsoft.com/en-us/windows-hardware/drivers/install/guid-devinterface-hid
    -------------------------------------

    つまり、{4D1E55B2-F16F-11CF-88CB-001111000030} は "Device Interface Class" であり、"Device Setup Class" とは全くの別物。
    根本的な認識に間違いがあるんだと思います。
    (自分で inf ファイルを改ざんしているのなら論外。)

    2018年5月14日 0:52

すべての返信

  • HID Class の GUID が変更されることなど、あり得ません。
    (そんなことをされたら、世界中で大混乱です。)

    Microsoft が定義している Device Setup Class の詳細に関しては、下記サイトで情報公開されています。
    -------------------------------------
    System-Defined Device Setup Classes Available to Vendors
    https://docs.microsoft.com/en-us/windows-hardware/drivers/install/system-defined-device-setup-classes-available-to-vendors

    Human Interface Devices (HID)
    Class = HIDClass
    ClassGuid = {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
    This class includes interactive input devices that are operated by the system-supplied HID class driver.
    This includes USB devices that comply with the USB HID Standard and non-USB devices that use a HID minidriver.
    For more information, see HIDClass Device Setup Class.
    (See also the Keyboard or Mouse classes later in this list.)
    -------------------------------------

    で、GUID {4D1E55B2-F16F-11CF-88CB-001111000030} については、下記サイトに情報があります。
    -------------------------------------
    GUID_DEVINTERFACE_HID
    https://docs.microsoft.com/en-us/windows-hardware/drivers/install/guid-devinterface-hid
    -------------------------------------

    つまり、{4D1E55B2-F16F-11CF-88CB-001111000030} は "Device Interface Class" であり、"Device Setup Class" とは全くの別物。
    根本的な認識に間違いがあるんだと思います。
    (自分で inf ファイルを改ざんしているのなら論外。)

    2018年5月14日 0:52
  • お世話になっております。

    ご回答ありがとうございました。

    GUIDに関しては、、"Device Setup Class" と"Device Interface Class"の差異を分かっておりませんでした。

    インストール出来ない問題に関しては、ClassGuidでなく、Classが誤っていることが原因でした。

    従来はClass=HIDと記載していましたが、正しくはClass=HIDClassでした。

    Classを変更することでインストール可能になりました。

    Classが「HID」から「HIDClass」に変更になったか、「HIDClass」でないと受け付けなくなかったかは分かりませんが、

    2018/05/08付の以下サイトで「HIDClass」であることが記載されていました。

    https://docs.microsoft.com/en-us/windows-hardware/drivers/install/system-defined-device-setup-classes-available-to-vendors

    2018年5月16日 3:22