Hello Alice,
On Mon, Aug 05, 2024 at 11:15:54AM +0200, alice.domage@gapfruit.com wrote:
Dear Genodians,
I am currently working on a USB driver. I am wondering if in the `Usb::Interface::Alt_setting` constructor, the parameters `iface.index().number` and `iface.index().alt_setting` are inverted?
According to the `Usb::Device::Urb` constructor, the interface index seems to come second.
If I invert those parameters, the correct interface is selected. Otherwise, the request fails.
you are perfectly right. The `Alt_setting` utility used those values in inverted order. It probably did not striked us before, because it is not widely used, but only by the USB block driver, where most devices just have a combination of (0,0). Thank you for reporting it. I've opened an issue:
https://github.com/genodelabs/genode/issues/5315
Best regards Stefan
Best,
Alice
users mailing list -- users@lists.genode.org To unsubscribe send an email to users-leave@lists.genode.org Archived at https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/mes...