Marc Brooks
a9bb8d2894
chore/fix-usb-default - Fix the base usb configuration
...
In reviewing the config.go settings for idProduct and bcdDevice are not formatted correctly. All examples on GitHub have 0x0104 and 0x0100 respectively. The idProduct value gets overwritten with valid values when you change the configuration (because they are correct in the options), but until you do the USB initialization will not be correct.
2025-06-17 11:19:47 -05:00
Aveline
a0f6d01465
fix(usbgadget): do not panic if a change isn't found ( #481 )
...
* fix(usbgadget): do not panic if a change isn't found
* chore(usbgadget): rebind usb after updating config
2025-05-20 00:34:32 +02:00
Aveline
eeb103adf9
fix: configFS might not be mounted if the directory exists ( #479 )
2025-05-19 23:59:02 +02:00
Aveline
7a9fb7cbb1
chore(usbgadget): update usbgadget config only when needed ( #474 )
2025-05-19 21:48:43 +02:00
Aveline
63c2272c45
feat(usb_mass_storage): mount as disk ( #333 )
...
* feat(usb_mass_storage): mount as disk
* chore: try to set initial virtual media state from sysfs
* chore(usb-mass-storage): fix inquiry_string
2025-05-12 19:07:27 +02:00
Siyuan Miao
4c37f7e079
refactor: use structured logging
2025-04-11 00:43:46 +02:00
Siyuan Miao
f3c49b853d
fix(usb_mass_storage): should use path instead of configPath
2025-03-19 17:43:19 +01:00
Siyuan Miao
d1948adca8
refactor(usb): move usbconfig to a seperated package
2025-03-10 14:02:52 +01:00