Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 2 FirstFirst 1 2
Results 26 to 39 of 39

Thread: Teensyduino USB Joystick no-data driver problem/workaround

  1. #26
    Senior Member
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    9,251
    just add this line:

    Code:
    	// add extra zero to work around OS-X CDC-ACM driver bug
            num -= 10000;
    	if (num < 10000000) num = num * 10;

  2. #27
    Fantastic!

    I was able to reproduce the problem by loading my old registry and fix it with your simple solution.

    I guess I will just load my in-house serial number in the red value each time I program. Definitely something I can live with.

    Thanks guys for all your help.

  3. #28
    Quote Originally Posted by edemers View Post
    Fantastic!

    I was able to reproduce the problem by loading my old registry and fix it with your simple solution.

    I guess I will just load my in-house serial number in the red value each time I program. Definitely something I can live with.

    Thanks guys for all your help.
    What?! Progress? That's awesome! Kudos to Frank B for jumping in and knowing the right stuff!

    Annoyingly, it still doesn't identify the root cause though, unfortunately.

    @edemers
    Would you mind having a look at the USB entries for example with Nirsoft's USBDeview, and see if it lists separate records for each different serial number? That would add some useful insight, at least for me.

    Graham

  4. #29
    Port_#0003.Hub_#0001 USB Input Device HID (Human Interface Device) No Yes No No 000B6F62 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0478 1.03 03 00 00 MSI 6&883e5e2&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0478\000B6F62 Removable, UniqueID, SurpriseRemovalOK
    Port_#0003.Hub_#0001 USB Input Device HID (Human Interface Device) No Yes No No 000B6F63 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0478 1.03 03 00 00 MSI 6&1b3d9687&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0478\000B6F63 Removable, UniqueID, SurpriseRemovalOK
    Port_#0005.Hub_#0001 USB Input Device HID (Human Interface Device) No Yes No No 000B8451 05-02-2021 8:15:54 PM 05-02-2021 7:10:20 PM 16c0 0478 1.03 03 00 00 MSI 6&24e9fbc3&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) 1.10 USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0478\000B8451 Removable, UniqueID, SurpriseRemovalOK
    Port_#0003.Hub_#0001 USB Input Device HID (Human Interface Device) No Yes No No 000B8453 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0478 1.03 03 00 00 MSI 6&ec29306&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0478\000B8453 Removable, UniqueID, SurpriseRemovalOK
    Port_#0003.Hub_#0001 USB Input Device HID (Human Interface Device) No Yes No No 000BF065 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0478 1.03 03 00 00 MSI 6&32547ae3&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0478\000BF065 Removable, UniqueID, SurpriseRemovalOK
    0000.0014.0000.004.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0486 2.76 03 00 00 MSI 7&f1827d6&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0486&MI_00\6&34a96bc&0&0000 SurpriseRemovalOK
    0000.0014.0000.005.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0486 2.76 03 00 00 MSI 7&10bcdec7&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0486&MI_00\6&8305b30&0&0000 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0486 2.76 03 00 00 MSI 7&dbe2d36&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0486&MI_00\6&c441764&0&0000 SurpriseRemovalOK
    0000.0014.0000.004.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0486 2.76 03 00 00 MSI 7&22484414&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0486&MI_01\6&34a96bc&0&0001 SurpriseRemovalOK
    0000.0014.0000.005.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0486 2.76 03 00 00 MSI 7&23ecfb05&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0486&MI_01\6&8305b30&0&0001 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0486 2.76 03 00 00 MSI 7&20ee4974&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0486&MI_01\6&c441764&0&0001 SurpriseRemovalOK
    Port_#0003.Hub_#0001 USB Composite Device Unknown No Yes No No 7494100 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0486 2.76 00 00 00 MSI 6&c441764&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0486\7494100 Removable, UniqueID, SurpriseRemovalOK
    Port_#0004.Hub_#0001 USB Composite Device Unknown No Yes No No 7494110 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0486 2.76 00 00 00 MSI 6&34a96bc&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0486\7494110 Removable, UniqueID, SurpriseRemovalOK
    Port_#0005.Hub_#0001 USB Composite Device Unknown No Yes No No 7547690 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0486 2.76 00 00 00 MSI 6&8305b30&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0486\7547690 Removable, UniqueID, SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Serial Device Communication No Yes No No COM5 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0487 2.76 02 02 01 MSI usbser @usbser.inf,%UsbSerial.DriverDesc%;Microsoft USB Serial Driver usbser.sys Microsoft USB Serial Device (COM5) USB Serial Device 10.0.18362.1 UsbSerial_Install usbser.inf USB\VID_16C0&PID_0487&MI_00\6&19701c96&0&0000 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Serial Device Communication No Yes No No COM3 05-02-2021 7:12:26 PM 05-02-2021 7:10:20 PM 16c0 0487 2.76 02 02 01 MSI usbser @usbser.inf,%UsbSerial.DriverDesc%;Microsoft USB Serial Driver usbser.sys Microsoft USB Serial Device (COM3) USB Serial Device 10.0.18362.1 UsbSerial_Install usbser.inf USB\VID_16C0&PID_0487&MI_00\6&2ea7b5ce&0&0000 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Serial Device Communication No Yes No No COM4 05-02-2021 12:13:27 PM 05-02-2021 12:13:27 PM 16c0 0487 2.76 02 02 01 MSI usbser @usbser.inf,%UsbSerial.DriverDesc%;Microsoft USB Serial Driver usbser.sys Microsoft USB Serial Device (COM4) USB Serial Device 10.0.18362.1 UsbSerial_Install usbser.inf USB\VID_16C0&PID_0487&MI_00\6&2ea7b5ce&1&0000 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Serial Device Communication No Yes No No COM10 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0487 2.76 02 02 01 MSI usbser @usbser.inf,%UsbSerial.DriverDesc%;Microsoft USB Serial Driver usbser.sys Microsoft USB Serial Device (COM10) USB Serial Device 10.0.18362.1 UsbSerial_Install usbser.inf USB\VID_16C0&PID_0487&MI_00\6&338d7a42&0&0000 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Serial Device Communication No Yes No No COM21 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0487 2.76 02 02 01 MSI usbser @usbser.inf,%UsbSerial.DriverDesc%;Microsoft USB Serial Driver usbser.sys Microsoft USB Serial Device (COM21) USB Serial Device 10.0.18362.1 UsbSerial_Install usbser.inf USB\VID_16C0&PID_0487&MI_00\6&35d603e3&0&0000 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Serial Device Communication No Yes No No COM4 05-02-2021 7:42:58 PM 05-02-2021 7:42:49 PM 16c0 0487 2.76 02 02 01 MSI usbser @usbser.inf,%UsbSerial.DriverDesc%;Microsoft USB Serial Driver usbser.sys Microsoft USB Serial Device (COM4) USB Serial Device 10.0.18362.1 UsbSerial_Install usbser.inf USB\VID_16C0&PID_0487&MI_00\6&36853c80&0&0000 SurpriseRemovalOK
    0000.0014.0000.005.000.000.000.000.000 USB Serial Device Communication Yes Yes No No COM11 05-02-2021 8:17:10 PM 05-02-2021 7:44:35 PM 16c0 0487 2.76 02 02 01 MSI usbser @usbser.inf,%UsbSerial.DriverDesc%;Microsoft USB Serial Driver usbser.sys Microsoft USB Serial Device (COM11) USB Serial Device 10.0.18362.1 UsbSerial_Install usbser.inf USB\VID_16C0&PID_0487&MI_00\6&3b113cb3&0&0000 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Serial Device Communication No Yes No No COM9 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0487 2.76 02 02 01 MSI usbser @usbser.inf,%UsbSerial.DriverDesc%;Microsoft USB Serial Driver usbser.sys Microsoft USB Serial Device (COM9) USB Serial Device 10.0.18362.1 UsbSerial_Install usbser.inf USB\VID_16C0&PID_0487&MI_00\6&a137989&0&0000 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 01 01 MSI 7&23e5e1e&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_02\6&19701c96&0&0002 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:12:26 PM 05-02-2021 7:12:26 PM 16c0 0487 2.76 03 01 01 MSI 7&18031e90&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_02\6&2ea7b5ce&0&0002 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 12:13:26 PM 05-02-2021 12:13:26 PM 16c0 0487 2.76 03 01 01 MSI 7&32075c20&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_02\6&2ea7b5ce&1&0002 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 01 01 MSI 7&1bedf16a&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_02\6&338d7a42&0&0002 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 01 01 MSI 7&3517ca30&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_02\6&35d603e3&0&0002 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:42:58 PM 05-02-2021 7:42:58 PM 16c0 0487 2.76 03 01 01 MSI 7&28b73403&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_02\6&36853c80&0&0002 SurpriseRemovalOK
    0000.0014.0000.005.000.000.000.000.000 USB Input Device HID (Human Interface Device) Yes Yes No No 05-02-2021 8:17:10 PM 05-02-2021 8:17:10 PM 16c0 0487 2.76 03 01 01 MSI 7&14c0f2f9&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_02\6&3b113cb3&0&0002 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 01 01 MSI 7&24da3fd9&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_02\6&a137989&0&0002 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 00 00 MSI 7&26159be0&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_03\6&19701c96&0&0003 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:12:26 PM 05-02-2021 7:12:26 PM 16c0 0487 2.76 03 00 00 MSI 7&3f924b&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_03\6&2ea7b5ce&0&0003 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 12:13:26 PM 05-02-2021 12:13:26 PM 16c0 0487 2.76 03 00 00 MSI 7&e301e5e&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_03\6&2ea7b5ce&1&0003 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 00 00 MSI 7&42a6525&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_03\6&338d7a42&0&0003 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 00 00 MSI 7&2fdb6400&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_03\6&35d603e3&0&0003 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:42:58 PM 05-02-2021 7:42:58 PM 16c0 0487 2.76 03 00 00 MSI 7&4dff641&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_03\6&36853c80&0&0003 SurpriseRemovalOK
    0000.0014.0000.005.000.000.000.000.000 USB Input Device HID (Human Interface Device) Yes Yes No No 05-02-2021 8:17:10 PM 05-02-2021 8:17:10 PM 16c0 0487 2.76 03 00 00 MSI 7&2c847f3e&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_03\6&3b113cb3&0&0003 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 00 00 MSI 7&380a5c17&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_03\6&a137989&0&0003 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 00 00 MSI 7&e520f9b&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_04\6&19701c96&0&0004 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:12:26 PM 05-02-2021 7:12:26 PM 16c0 0487 2.76 03 00 00 MSI 7&2416d00d&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_04\6&2ea7b5ce&0&0004 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 12:13:26 PM 05-02-2021 12:13:26 PM 16c0 0487 2.76 03 00 00 MSI 7&25f3aaa3&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_04\6&2ea7b5ce&1&0004 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 00 00 MSI 7&2801a2e7&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_04\6&338d7a42&0&0004 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 00 00 MSI 7&c04263e&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_04\6&35d603e3&0&0004 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:42:58 PM 05-02-2021 7:42:58 PM 16c0 0487 2.76 03 00 00 MSI 7&1ca38286&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_04\6&36853c80&0&0004 SurpriseRemovalOK
    0000.0014.0000.005.000.000.000.000.000 USB Input Device HID (Human Interface Device) Yes Yes No No 05-02-2021 8:17:10 PM 05-02-2021 8:17:10 PM 16c0 0487 2.76 03 00 00 MSI 7&8ad417c&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_04\6&3b113cb3&0&0004 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 00 00 MSI 7&1f52996&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_04\6&a137989&0&0004 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 00 00 MSI 7&32294d5d&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_05\6&19701c96&0&0005 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:12:26 PM 05-02-2021 7:12:26 PM 16c0 0487 2.76 03 00 00 MSI 7&541941c&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_05\6&2ea7b5ce&0&0005 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 12:13:26 PM 05-02-2021 12:13:26 PM 16c0 0487 2.76 03 00 00 MSI 7&21c6ce1&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_05\6&2ea7b5ce&1&0005 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 00 00 MSI 7&156c142&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_05\6&338d7a42&0&0005 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 00 00 MSI 7&23c7b283&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_05\6&35d603e3&0&0005 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:42:58 PM 05-02-2021 7:42:58 PM 16c0 0487 2.76 03 00 00 MSI 7&733bb3c&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_05\6&36853c80&0&0005 SurpriseRemovalOK
    0000.0014.0000.005.000.000.000.000.000 USB Input Device HID (Human Interface Device) Yes Yes No No 05-02-2021 8:17:10 PM 05-02-2021 8:17:10 PM 16c0 0487 2.76 03 00 00 MSI 7&1b29fc46&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_05\6&3b113cb3&0&0005 SurpriseRemovalOK
    0000.0014.0000.003.000.000.000.000.000 USB Input Device HID (Human Interface Device) No Yes No No 05-02-2021 7:10:21 PM 05-02-2021 7:10:21 PM 16c0 0487 2.76 03 00 00 MSI 7&2a5fd75f&0 HidUsb @input.inf,%HID.SvcDesc%;Microsoft HID Class Driver hidusb.sys (Standard system devices) USB Input Device 10.0.18362.175 HID_Inst.NT input.inf USB\VID_16C0&PID_0487&MI_05\6&a137989&0&0005 SurpriseRemovalOK
    Delta ROV HCU USB Composite Device Unknown Yes Yes No No 7447680 05-02-2021 8:17:10 PM 05-02-2021 7:44:35 PM 16c0 0487 2.76 00 00 00 MSI 6&3b113cb3&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) 100 mA 1.10 USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0487\7447680 Removable, UniqueID, SurpriseRemovalOK
    Port_#0003.Hub_#0001 USB Composite Device Unknown No Yes No No 7494100 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0487 2.76 00 00 00 MSI 6&a137989&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0487\7494100 Removable, UniqueID, SurpriseRemovalOK
    Port_#0003.Hub_#0001 USB Composite Device Unknown No Yes No No 7494110 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0487 2.76 00 00 00 MSI 6&338d7a42&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0487\7494110 Removable, UniqueID, SurpriseRemovalOK
    Port_#0003.Hub_#0001 USB Composite Device Unknown No Yes No No 7537690 05-02-2021 7:42:58 PM 05-02-2021 7:42:49 PM 16c0 0487 2.76 00 00 00 MSI 6&36853c80&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0487\7537690 Removable, UniqueID, SurpriseRemovalOK
    Port_#0003.Hub_#0001 USB Composite Device Unknown No Yes No No 7547690 05-02-2021 7:12:26 PM 05-02-2021 7:10:20 PM 16c0 0487 2.76 00 00 00 MSI 6&2ea7b5ce&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0487\7547690 Removable, UniqueID, SurpriseRemovalOK
    Port_#0003.Hub_#0001 USB Composite Device Unknown No Yes No No 7547710 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0487 2.76 00 00 00 MSI 6&19701c96&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0487\7547710 Removable, UniqueID, SurpriseRemovalOK
    Port_#0003.Hub_#0001 USB Composite Device Unknown No Yes No No 7824370 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0487 2.76 00 00 00 MSI 6&35d603e3&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0487\7824370 Removable, UniqueID, SurpriseRemovalOK

  5. #30
    the above are all the VID_16C0 instance.

    This one is the joystick that has the new serial number: 7447680

    Delta ROV HCU USB Composite Device Unknown Yes Yes No No 7447680 05-02-2021 8:17:10 PM 05-02-2021 7:44:35 PM 16c0 0487 2.76 00 00 00 MSI 6&3b113cb3&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) 100 mA 1.10 USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0487\7447680 Removable, UniqueID, SurpriseRemovalOK

  6. #31
    Deleted Frank's code to go back to dead joy.cpl

    The serial number is now 7547690

    AND there is another inactive instance of the same serial number so I think this pretty much confirms it...

    Port_#0005.Hub_#0001 USB Composite Device Unknown No Yes No No 7547690 05-02-2021 7:10:21 PM 05-02-2021 7:10:20 PM 16c0 0486 2.76 00 00 00 MSI 6&8305b30&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0486\7547690 Removable, UniqueID, SurpriseRemovalOK
    Delta ROV HCU USB Composite Device Unknown Yes Yes No No 7547690 05-02-2021 8:21:34 PM 05-02-2021 7:10:20 PM 16c0 0487 2.76 00 00 00 MSI 6&2ea7b5ce&0 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft USB Generic Parent Driver usbccgp.sys (Standard USB Host Controller) 100 mA 1.10 USB Composite Device 10.0.18362.1110 Composite.Dev.NT usb.inf USB\VID_16C0&PID_0487\7547690 Removable, UniqueID, SurpriseRemovalOK

  7. #32
    Hi edemers,

    The objective was to correlate a working or non working state of affairs with which blahblah.sys Windows picked for that joystick.

    It's a bit hard to tell from the info you posted, because I can't tell in which case the joystick was working.

    At any rate, previously I had come to the conclusion that "working" corresponds to Windows picking hidusb.sys for that particular Teensy joystick, and picking mouhid.sys for non-working. But that was back on Windows 7.

    In your data, I see that hidusb.sys appears for some records, and usbccgp.sys for others, but it's not clear to me whether the former corresponds to working, and the latter to not working.

  8. #33
    Hi Graham,

    ok I will have a look for this tomorrow. Its getting pretty late out here

    Cheers,
    Etienne

  9. #34
    Hello Graham,

    Both working and none-working joystick setup use the drive filename usbccgp.sys

    I opened each items in Regedit which may provide more information.

    This one is the active joystick that is not working because it has the same SN as another inactive instance
    Click image for larger version. 

Name:	bad active instance.jpg 
Views:	42 
Size:	80.5 KB 
ID:	23611

    This one is the other instance sharing the same serial number which is not active
    Click image for larger version. 

Name:	bad same serial number inactive.jpg 
Views:	31 
Size:	82.4 KB 
ID:	23612

    This one is the active joystick with a different serial number which is working well
    Click image for larger version. 

Name:	good unique serial number.jpg 
Views:	30 
Size:	80.3 KB 
ID:	23613

    Let me know if you need anything else.

    Now that I can reproduce the problem at will its easy to provide you with info.

    Cheers,
    Etienne

  10. #35
    Hi Frank,

    I ended up getting rid of all the code and inputting my own 8 digit serial number.

    Thanks again for your help.
    E.

  11. #36
    @Etienne

    > Now that I can reproduce the problem at will its easy to provide you with info.

    What are the steps that reliably reproduce the problem?

    > Both working and none-working joystick setup use the drive filename usbccgp.sys

    I think that may just be the generic driver that comes into play for composite USB devices, which then loads other driver(s) for the individual features.

    As you noted, in the registry, the entries corresponding to the misbehaving serial number 7547690 appear under both VID_16C0&PID_0486, and also VID_16C0&PID_0487. Whereas the successful serial number is 18590831, and appears only under VID_16C0&PID_0487.

    Looking at
    C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3\us b_desc.h where these items are defined:
    PRODUCT_ID (PID) 0x0486 is for RAWHID
    PRODUCT_ID 0x0487 is for Serial/Keyboard/Mouse/Joystick

    So this raises the questions:

    -- Did 18590831 succeed because it has only the one entry?
    -- Or did 7547690 fail because it reported to Windows that it had product Id 0486? And does it always report PID_0486?
    -- Or did it do that just once, and then on later plug-ins, Windows for some reason uses the 0486 entry regardless of whether the Teensy reports 0487 or 0486?

    A possible test:

    When you next encounter a joystick that doesn't work:
    1. Unplug the joystick
    2. Look in the registry to see if it also has these two entries
    3. Delete that serial number's key under VID_16C0&PID_0486. So that leaves it with only the key under VID_16C0&PID_0487.
    4. Plug in the joystick and see if it now works.
    5. Inspect the registry again to see where that serial number has entries.

    I am hoping this tells us at least something. But we don't actually know that it's this area of the saved settings that's causing the trouble. The multiple entries might be unrelated to the issue.

  12. #37
    Senior Member
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    9,251
    Glad to see it's working.

  13. #38
    Junior Member
    Join Date
    Jul 2021
    Posts
    1
    Hi All,
    So I have exactly the same issue. I started playing with the Teensy Joystick Basic code with my joystick and at first the joystick was recognised under the Game Controller setup application in Windows. All good. Then later after playing with the code suddenly the joystick and the buttons were not recognised apart from in the first screen it decides that the Keyboard/Mouse/Joystick is OK but when you check the settings you do not see any inputs from the joystick or buttons and cannot access Calibration.
    So at this point I'm thinking I have to follow the work around and delete the VID_16C0. However someone mentioned that Google Earth can work with a joystick so I thought lets just see if the joysticks recognised by google. Fire up Google Earth in a browser and guess what, Joysticks working fine.
    So now my question is how is Google Earth in a browser recognising the joystick but Windows 10 is not??
    Really hoping we can get to the bottom of all this soon.

  14. #39
    Senior Member
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    9,251
    The solution is above. It's a windows driver/registry problem. I've provided a patch for teensyduino that provides a new serial number.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •