Skip to content
Snippets Groups Projects

main/postmarketos-mkinitfs: fix USB idVendor/idProduct values for ConfigFS

Merged Imported Administrator requested to merge usb-id-configfs into master

ConfigFS expects idVendor and idProduct values to be prefixed with 0x.

Without this change, google-crosshatch shows as a device with 0:0 as the idVendor/idProduct in lsusb:

Bus 001 Device 004: ID 0000:0000

This confuses VirtualBox: it has trouble detaching this device from a virtual machine, so one must manually use ifconfig to bring down the old USB network connection before reattaching.

With this change, the idVendor/idProduct is correct:

Bus 001 Device 004: ID 18d1:d001 Google Inc.

This issue also seems to affect other devices with ConfigFS, such as the Nexus 5: note that the Nexus 5 also shows up as 0000:0000.

https://matrix.to/#/!clcCCNrLZYwdfNqkkR:disroot.org/$15487159511194991apGpy:matrix.org

Edited by Administrator

Merge request reports

Merged by AdministratorAdministrator 6 years ago (Feb 5, 2019 9:09am UTC)

Loading

Pipeline #195775 passed

Pipeline passed for 2a4d30e5 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading