Recent Posts

Pages: 1 ... 8 9 [10]
91
USB / Re: What is my USB Device Subclass ?
« Last post by Jan Axelson on November 14, 2019, 10:37:00 am »
Interface Association Descriptor, the class is specified in the interface descriptors.

https://www.usb.org/defined-class-codes#anchor_BaseClassEFh

https://www.usb.org/sites/default/files/iadclasscode_r10.pdf
92
USB / What is my USB Device Subclass ?
« Last post by jani12 on November 14, 2019, 10:20:38 am »
Attached device descriptor was captured from USB View tool running on windows computer.  USB device is a Rifle Scope.

I looked up Device Subclass and Device Protocol in 'USB Complete: The Developer's Guide' Book, Table 4-3 but I'm unclear as to what is Subclass and protocol of my device.

Please see attached filename descriptor.PNG which was retrieved from my device by USB View Tool.  Also attached filename device_class.PNG contains part of Table 4-3.

What do following Two mean:
bDeviceSubClass:  0x02
bDeviceProtocol:    0x01

93
USB / Re: A question about extra bytes in MS OS 1.0 descriptor
« Last post by Jan Axelson on November 08, 2019, 06:16:04 pm »
The Microsoft documentation is correct. Thanks for pointing it out.
94
USB / A question about extra bytes in MS OS 1.0 descriptor
« Last post by Walter Smoo on November 08, 2019, 03:00:03 pm »
I am very grateful for the USB help given here by Jan Axelson.

My question is about the Microsoft OS 1.0 String Descriptors. There is a disparity between the Microsoft specification, and the Axelson posted file "ms_os_10_descriptors.c.  Specifically, there are two extra bytes in the Axelson file, that are not in the Microsoft spec. For convenience, I here highlight them in red. Axelson may well be correct, (and the Microsoft spec merely a misprint), but I am seeking clarification on this point. Thank you for your help.

From the posted file "ms_os_10_descriptors.c"



// Microsoft Extended Compat ID OS feature descriptor

UCHAR ms_extended_compat_id_os_feature_descriptor[0x2a] =
{

0x2a, 0x00, 0x00, 0x00,   // Descriptor size (42 bytes)
0x00, 0x01,                // Descriptor version number (1.00)
0x04, 0x00,                // Extended Compat ID OS descriptor identifier
0x01, 0x00,                 // Number of custom property sections that follow
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                        // Reserved

0x00,                        //   bInterfaceNumber of the WinUSB interface
0x01,                      //   Reserved, set to 0x01
0x57, 0x49, 0x4E, 0x55, 0x53, 0x42, 0x00, 0x00,            // WINUSB ID
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,   // Secondary ID
0x00, 0x00, 0x00, 0x00, 0x00, 0x00                               // Reserved
95
USB / Re: A point in the right direction please, odd USB/FPS issue.
« Last post by Jan Axelson on November 05, 2019, 06:25:15 pm »
Wonderful! Thanks for reporting back.
96
USB / Re: A point in the right direction please, odd USB/FPS issue.
« Last post by almstsobur on November 05, 2019, 04:22:11 pm »
Take a look at this discussion if you haven't seen it:

https://steamcommunity.com/app/389730/discussions/0/1291817837636637944/

Jan, I appreciate the reply and I had not seen that thread before. Although, it did not directly resolve my issue, I believe this is exactly what I needed. For the first time ever; I can have that USB cable in and get a normal frame rate, though the wheel is not seen properly within the game. However, this tells me almost directly where the problem lies and I can certainly work with this. Thank You very much.
97
USB / Re: A point in the right direction please, odd USB/FPS issue.
« Last post by Jan Axelson on November 04, 2019, 08:30:07 pm »
Take a look at this discussion if you haven't seen it:

https://steamcommunity.com/app/389730/discussions/0/1291817837636637944/
98
USB / A point in the right direction please, odd USB/FPS issue.
« Last post by almstsobur on November 04, 2019, 02:27:48 pm »
  I am hoping someone with a lot more expertise than mself about USB and Windows 10 can maybe point me in the direction I should looking to resolve an issue with a Direct Drive Force Feedback wheel and Microsoft racing titles. In this particular situation I am talking about Forza Horizon 4 and Forza Motorsports 7. I do not have this issue with any other racing simulation titles, just these two, the only two I own that come from the Microsoft store and are published by companies that Microsoft owns.

     The issue is a huge frame per second hit as soon as I plug in the direct drive wheel. In testing I can be using the keyboard or gamepad and be racing along at 85-100FPS, while in game I plug in the USB plug for the DD wheel and instantly lose 40-50% FPS, it will drop immediately to 48-58 FPS. This is repeatable, like clockwork. I do not get a CPU usage spike or anything else that seems out of the ordinary, these particular games use very little of the full capability of my Ryzen 3800X processor. Another thing of note, my motherboard has 2 different USB chipsets on it and I bought a PCI-E add on USB 3.1 card for testing and interestingly enough found differences in the impact based on what USB port I use. One of the onboard USB chipsets will have a 60% FPS hit, the other 50% and the add-on card has the least impact at maybe ~40%. I have tried driver updates, logging performance, different cables, you name it. I have tried everything I am capable of to try to fix this over the past few months. This issue is also not machine specific, a completely different computer of mine acts the same way and other users have reported the same issue with the particular wheel and these particular titles.
 
     If anyone can just tell me what types of things could cause this, I donít mind doing the research and testing, I am just at a loss as to what I should be looking for at this point. As far as I can tell; the DD wheel controller board is based on NXP LPC1768 Cortex M3 with a AN11018 USB interface. Any assistance in what might cause such an issue, or how to troubleshoot this would be greatly appreciated.

Thank You
100
USB / Re: USB VCOM host
« Last post by ADB on October 24, 2019, 04:28:54 am »
Thanks. Working with microcontroller manufacturer on this....

Alan
Pages: 1 ... 8 9 [10]