pmaports/main/postmarketos-mkinitfs
Zhuowei Zhang 2a4d30e52a
main/postmarketos-mkinitfs: fix USB idVendor/idProduct values for ConfigFS (!190)
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:

https://matrix.to/#/!clcCCNrLZYwdfNqkkR:disroot.org/$15487159511194991apGpy:matrix.org
2019-02-05 10:07:21 +01:00
..
APKBUILD main/postmarketos-mkinitfs: fix USB idVendor/idProduct values for ConfigFS (!190) 2019-02-05 10:07:21 +01:00
init.sh.in main/pmos-mkinitfs: wait for rootfs, framebuffer 2018-11-27 07:47:11 +01:00
init_functions.sh main/postmarketos-mkinitfs: fix USB idVendor/idProduct values for ConfigFS (!190) 2019-02-05 10:07:21 +01:00
mkinitfs.sh main/postmarketos-mkinitfs: aarch64 uboot initrd (!141) 2019-01-28 20:45:18 +01:00
postmarketos-mkinitfs.trigger mkinitfs: Fail on missing depends / better usability in general (#1133) 2018-01-31 19:39:09 +00:00