Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update usb_host driver for PC #4416

Closed
skalk opened this issue Feb 9, 2022 · 0 comments
Closed

Update usb_host driver for PC #4416

skalk opened this issue Feb 9, 2022 · 0 comments
Labels

Comments

@skalk
Copy link
Member

skalk commented Feb 9, 2022

To support more modern PCs we have to update the usb_host driver, which is based on Linux kernel 4.16.3, and which still uses the legacy lx_kit/lx_emul, by using the re-newed lx_kit/lx_emul approach, see issue #4411.

skalk pushed a commit to skalk/genode that referenced this issue Feb 9, 2022
skalk pushed a commit to skalk/genode that referenced this issue Feb 10, 2022
skalk added a commit to skalk/genode that referenced this issue Feb 10, 2022
To make room for the re-newed usb_host_drv basing on Linux 5.14 and
the re-newed lx_kit/lx_emul we have to move the depot recipe and
consistently name the old drivers with a legacy_ prefix.

Ref genodelabs#4416
skalk pushed a commit to skalk/genode that referenced this issue Feb 10, 2022
nfeske pushed a commit that referenced this issue Feb 11, 2022
To make room for the re-newed usb_host_drv basing on Linux 5.14 and
the re-newed lx_kit/lx_emul we have to move the depot recipe and
consistently name the old drivers with a legacy_ prefix.

Ref #4416
skalk added a commit to skalk/genode that referenced this issue Feb 11, 2022
This commit contains:

* Minimal Linux kernel target: pc_linux
* Library to generate a Linux build directory, config, generated headers
* API depot package

The actual work was provided by Josef Soentgen.

Ref genodelabs#4416
skalk added a commit to skalk/genode that referenced this issue Feb 11, 2022
Original commit by Josef Soentgen.

Ref genodelabs#4416
nfeske pushed a commit that referenced this issue Feb 11, 2022
This commit contains:

* Minimal Linux kernel target: pc_linux
* Library to generate a Linux build directory, config, generated headers
* API depot package

The actual work was provided by Josef Soentgen.

Ref #4416
skalk added a commit to skalk/genode that referenced this issue Feb 11, 2022
Original commit by Josef Soentgen.

Ref genodelabs#4416
nfeske pushed a commit that referenced this issue Feb 11, 2022
Original commit by Josef Soentgen.

Ref #4416
skalk added a commit to genodelabs/genode-rpi that referenced this issue Feb 11, 2022
nfeske added a commit to genodelabs/genode-world that referenced this issue Feb 14, 2022
nfeske pushed a commit that referenced this issue Feb 15, 2022
To make room for the re-newed usb_host_drv basing on Linux 5.14 and
the re-newed lx_kit/lx_emul we have to move the depot recipe and
consistently name the old drivers with a legacy_ prefix.

Ref #4416
nfeske pushed a commit that referenced this issue Feb 15, 2022
This commit contains:

* Minimal Linux kernel target: pc_linux
* Library to generate a Linux build directory, config, generated headers
* API depot package

The actual work was provided by Josef Soentgen.

Ref #4416
nfeske pushed a commit that referenced this issue Feb 15, 2022
Original commit by Josef Soentgen.

Ref #4416
nfeske added a commit to genodelabs/genode-world that referenced this issue Feb 15, 2022
skalk added a commit to skalk/genode that referenced this issue Feb 16, 2022
Adds a function to the USB part of the Genode's C API, to enable
usb_host drivers to acknowledge USB request in client's packet buffer
although they are not assigned to an USB device. The requests are
marked with a "no device" error.

This commit fixes a regression originally solved in genodelabs#4149

Ref genodelabs#4416
skalk added a commit to skalk/genode that referenced this issue Feb 16, 2022
The new usb_host driver for PC by default needs more RAM quota in contrast
to the old one. To minor warnings and repeated attempts to open a USB
session from a client, this commit increases the default RAM quota by one
page.

Ref genodelabs#4416
skalk added a commit to skalk/genode that referenced this issue Feb 16, 2022
To stay consistent with the configuration of the legacy usb_host_drv
and other components as well, do not report USB devices by default,
but when the following XML node is set within the component's
configuration:

  <report devices="yes"/>

Ref genodelabs#4416
skalk added a commit to skalk/genode that referenced this issue Feb 16, 2022
* Switch from the legacy usb_host driver to the new PC version
  in recipes and automated tests
* Update documentation snippets
* Remove outdated, unused usb_rndis run-script

Fix genodelabs#4416
skalk added a commit to skalk/genode that referenced this issue Feb 16, 2022
Adds a function to the USB part of the Genode's C API, to enable
usb_host drivers to acknowledge USB request in client's packet buffer
although they are not assigned to an USB device. The requests are
marked with a "no device" error.

This commit fixes a regression originally solved in genodelabs#4149

Ref genodelabs#4416
skalk added a commit to skalk/genode that referenced this issue Feb 16, 2022
The new usb_host driver for PC by default needs more RAM quota in contrast
to the old one. To minor warnings and repeated attempts to open a USB
session from a client, this commit increases the default RAM quota by one
page.

Ref genodelabs#4416
skalk added a commit to skalk/genode that referenced this issue Feb 16, 2022
To stay consistent with the configuration of the legacy usb_host_drv
and other components as well, do not report USB devices by default,
but when the following XML node is set within the component's
configuration:

  <report devices="yes"/>

Ref genodelabs#4416
skalk added a commit to skalk/genode that referenced this issue Feb 16, 2022
* Switch from the legacy usb_host driver to the new PC version
  in recipes and automated tests
* Update documentation snippets
* Remove outdated, unused usb_rndis run-script

Fix genodelabs#4416
@skalk skalk added the fixed label Feb 16, 2022
skalk added a commit to skalk/genode that referenced this issue Feb 17, 2022
Adds a function to the USB part of the Genode's C API, to enable
usb_host drivers to acknowledge USB request in client's packet buffer
although they are not assigned to an USB device. The requests are
marked with a "no device" error.

This commit fixes a regression originally solved in genodelabs#4149

Ref genodelabs#4416
skalk added a commit to skalk/genode that referenced this issue Feb 17, 2022
The new usb_host driver for PC by default needs more RAM quota in contrast
to the old one. To minor warnings and repeated attempts to open a USB
session from a client, this commit increases the default RAM quota by one
page.

Ref genodelabs#4416
skalk added a commit to skalk/genode that referenced this issue Feb 17, 2022
To stay consistent with the configuration of the legacy usb_host_drv
and other components as well, do not report USB devices by default,
but when the following XML node is set within the component's
configuration:

  <report devices="yes"/>

Ref genodelabs#4416
skalk added a commit to skalk/genode that referenced this issue Feb 17, 2022
* Switch from the legacy usb_host driver to the new PC version
  in recipes and automated tests
* Update documentation snippets
* Remove outdated, unused usb_rndis run-script

Fix genodelabs#4416
skalk added a commit to genodelabs/genode-imx that referenced this issue Feb 17, 2022
* Handle requests of sessions not associated with any device
* Provide a report xml-node within the configuration if the devices
  report is needed

Ref genodelabs/genode#4416
skalk added a commit to skalk/genode that referenced this issue Feb 21, 2022
skalk added a commit to skalk/genode that referenced this issue Feb 21, 2022
Do not only report devices, but the current configuration of the driver too,
as long as the `report` node in the configuration states it.

Ref genodelabs#4416
nfeske pushed a commit that referenced this issue Feb 21, 2022
Adds a function to the USB part of the Genode's C API, to enable
usb_host drivers to acknowledge USB request in client's packet buffer
although they are not assigned to an USB device. The requests are
marked with a "no device" error.

This commit fixes a regression originally solved in #4149

Ref #4416
nfeske pushed a commit that referenced this issue Feb 21, 2022
The new usb_host driver for PC by default needs more RAM quota in contrast
to the old one. To minor warnings and repeated attempts to open a USB
session from a client, this commit increases the default RAM quota by one
page.

Ref #4416
nfeske pushed a commit that referenced this issue Feb 21, 2022
To stay consistent with the configuration of the legacy usb_host_drv
and other components as well, do not report USB devices by default,
but when the following XML node is set within the component's
configuration:

  <report devices="yes"/>

Ref #4416
nfeske pushed a commit that referenced this issue Feb 21, 2022
Do not only report devices, but the current configuration of the driver too,
as long as the `report` node in the configuration states it.

Ref #4416
alex-ab added a commit to alex-ab/genode that referenced this issue Mar 31, 2022
The new ported linux drivers multiple times trigger this assignment,
whereby exactly one time is sufficient.

Issue genodelabs#4416
Issue genodelabs#4450
Issue genodelabs#4455
chelmuth pushed a commit that referenced this issue Mar 31, 2022
The new ported linux drivers multiple times trigger this assignment,
whereby exactly one time is sufficient.

Issue #4416
Issue #4450
Issue #4455
chelmuth pushed a commit that referenced this issue Apr 12, 2022
The new ported linux drivers multiple times trigger this assignment,
whereby exactly one time is sufficient.

Issue #4416
Issue #4450
Issue #4455
chelmuth pushed a commit that referenced this issue Apr 13, 2022
The new ported linux drivers multiple times trigger this assignment,
whereby exactly one time is sufficient.

Issue #4416
Issue #4450
Issue #4455
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant