-
|
Why does a host enumeration of a new device (enum_new_device()) get the manufacturer, product and serial number strings but then it does nothing with them? Am I missing something? It seems we would make them part of the device structure. Or, at least have some callback where my app can save them. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
They were only added to get some picky devices to work correctly. #3007 There seems to be a trend in creating 'universal' devices that use heuristics to try determine the host they are connected to (window, linux, game consoles etc) then behave differently and this causes grief in the embedded world as we are forced to try emulate behaviour of windows for example. I assume they are not stored in the device struct because they just use up memory/ram. If you wish to get the string descriptor the user application can just request them again. A callback could be useful though during enumeration to allow the user to save them. |
Beta Was this translation helpful? Give feedback.
They were only added to get some picky devices to work correctly. #3007
There seems to be a trend in creating 'universal' devices that use heuristics to try determine the host they are connected to (window, linux, game consoles etc) then behave differently and this causes grief in the embedded world as we are forced to try emulate behaviour of windows for example.
I assume they are not stored in the device struct because they just use up memory/ram. If you wish to get the string descriptor the user application can just request them again. A callback could be useful though during enumeration to allow the user to save them.