Shouldn't the devices with CDC in other configurations in the table be autodetected in device_open?
Unfortunately not. At the point Service_USB_Attach arrives (which calls net_check_device()
which calls backend->open()
) USBDriver has put the device back into its default configuration (1), so the device descriptors after the struct in r2 are the wrong ones to match on for the situation where the CDC-ECM interface is on another configuration. For those devices the configuration needs changing, then on the 2nd go the descriptors match and device_open()
picks that up.
Shouldn't the devices with CDC in other configurations in the table be autodetected in device_open?
Also device_open won't detect cdc devices in a 'miscellaneous' device (0xEF)
For anyone curious who may not have realised, there is a build of this available here:
https://www.riscosopen.org/binaries/test_EtherUSB_30-Sep-2023.zip
ROOL (1f23b0f9) at 23 Aug 20:58
Rewrite rules for AutoSense disc install
RiscOS/BuildSys!62 will change how top-level phony rules are overridden.
In this component, the install
and standalone
targets are redefined
after CModule
is included, so they will be affected. Rewrite the rules so
that they will continue to work the same (at least for native builds) both
before and after BuildSys is updated.
!NoChange
ROOL (1f23b0f9) at 23 Aug 20:58
Rewrite rules for AutoSense disc install
RiscOS/BuildSys!62 will change how top-level phony rules are overridden.
In this component, the install
and standalone
targets are redefined
after CModule
is included, so they will be affected. Rewrite the rules so
that they will continue to work the same (at least for native builds) both
before and after BuildSys is updated.
!NoChange
CDC Ethernet support has not really implemented until now. There was USB class recognition but no handling of data transfer. Tested with
CDC Ethernet support has not really implemented until now. There was USB class recognition but no handling of data transfer. Tested with
CDC Ethernet support has not really implemented until now. There was USB class recognition but no handling of data transfer. Tested with