3322 views|2 replies

75

Posts

0

Resources
The OP

About the problem of mutual interference between two HID devices [Copy link]


A HID wireless mouse and a HID device I made. When the wireless mouse is connected to the computer, it does not work if I then plug in my device, but my device can be seen in the device manager. It works fine when I plug in my device first, and then plug in the wireless mouse. By adding a pop-up box in my program, I found that when I check the wireless mouse, I can read its V_ID and P_ID, but not my V_ID and P_ID. This is the information read by USBVIEW: My device: Device Descriptor: bcdUSB: 0x0101 bDeviceClass: 0x00 bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x08 (8) idVendor: 0x52FF idProduct: 0x5217 bcdDevice: 0x0200 iManufacturer: 0x01 iProduct: 0x02 iSerialNumber: 0x00 bNumConfigurations: 0x01 ConnectionStatus: DeviceConnected Current Config Value: 0x01 Device Bus Speed: Low Device Address: 0x02 Open Pipes: 1 Endpoint Descriptor: bEndpointAddress: 0x81 Transfer Type: Interrupt wMaxPacketSize: 0x0008 (8) bInterval: 0xFF Wireless mouse information: Device Descriptor: bcdUSB: 0x0101 bDeviceClass: 0x00 bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x08 (8) idVendor: 0x52FF idProduct: 0x5217 bcdDevice: 0x0200 iManufacturer: 0x01 iProduct: 0x02 iSerialNumber: 0x00 bNumConfigurations: 0x01 ConnectionStatus: DeviceConnected Current Config Value: 0x01 Device Bus Speed: Low Device Address: 0x02 Open Pipes: 1 Endpoint Descriptor: bEndpointAddress: 0x81 Transfer Type: Interrupt wMaxPacketSize: 0x0008 (8) bInterval: 0xFF I hope you can help me find the problem. Thank you very much.
This post is from Embedded System

Latest reply

The VID/PID of the two devices are different. I use SetupDiEnumDeviceInterfaces(info, NULL, &HidGuid, instance, &ifdata) to enumerate devices, but I can only get the VID/PID of the wireless mouse, but not the VID/PID of my device. When I plug my device in later, I also get the VID/PID of the wireless mouse, but not the VID/PID of my device. When I plug my device in alone, I can get my VID/PID.  Details Published on 2008-7-4 09:37

66

Posts

0

Resources
2
The VID/PID are the same, and there will be a conflict when opening the device using the SymbolicLink name as a parameter.
This post is from Embedded System

79

Posts

0

Resources
3
The VID/PID of the two devices are different. I use SetupDiEnumDeviceInterfaces(info, NULL, &HidGuid, instance, &ifdata) to enumerate devices, but I can only get the VID/PID of the wireless mouse, but not the VID/PID of my device. When I plug my device in later, I also get the VID/PID of the wireless mouse, but not the VID/PID of my device. When I plug my device in alone, I can get my VID/PID.
This post is from Embedded System

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

    EEWorld
    subscription
    account

    EEWorld
    service
    account

    Automotive
    development
    circle

    Robot
    development
    community

    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list