Commit Graph

18 Commits

Author SHA1 Message Date
Marc Brooks af4d1915b1 chore/ Fix go lint error (#683) 2025-09-26 08:21:18 +00:00
rmschooley d4cbf0cbad Remove Out Endpoint Descriptors from Absolute Mouse and Relative Mouse (#542)
* Update hid_mouse_absolute.go

Added attribute to remove unnecessary out endpoint.

* Update hid_mouse_relative.go

Added attribute to remove unnecessary out endpoint.

* Update hid_keyboard.go

Added attribute to explicitly keep currently needed out endpoint and to make listed attributes consistent across the keyboard and mouse devices.

---------

Co-authored-by: Aveline <352441+ym@users.noreply.github.com>
2025-09-26 08:21:18 +00:00
Marc Brooks be2c2bbed3 chore: fix the base usb configuration (#610)
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-09-26 08:21:18 +00:00
Aveline d0e66021c3 chore: typo 'supression' should be 'suppression' (#671) 2025-09-26 08:21:18 +00:00
Aveline 660473aea2 fix(usbgadget): add lock for logWithSupression (#653) 2025-09-26 08:21:18 +00:00
Aveline 409d66f681 feat(usbgadget): suppress duplicate error logs (#630). 2025-09-26 08:21:18 +00:00
ronskvm f87a74e23a chore(hid): change absolute mouse usb interface descriptor's subclass field to zero
Changed absolute mouse usb interface descriptor's subclass field to zero.
2025-09-26 08:21:18 +00:00
Aveline 44e361f7a3 feat: sync keyboard led status (#502) 2025-09-26 08:21:17 +00:00
Aveline 93be974e93 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-09-26 08:21:17 +00:00
Aveline 77507bb831 fix: configFS might not be mounted if the directory exists (#479) 2025-09-26 08:21:17 +00:00
Aveline f5642870f7 fix: unit test not returning error when test fails
* fix: unit test not returning error when test fails

* chore: add unit test to smoketest.yml

* fix: make linter happy
2025-09-26 08:21:17 +00:00
Aveline a942cd02a8 chore(usbgadget): update usbgadget config only when needed (#474) 2025-09-26 08:21:17 +00:00
rmschooley 482462dc9b Improve/Simplify Mouse Wheel Scroll Behavior (#470)
* Improve/Simplify Mouse Wheel Scroll Behavior

* Update hid_mouse_absolute.go

Attempt to fix line reported as improperly formatted by lint.

* Update utils.go

Removed abs() function since lint states it is no longer used.
2025-09-26 08:21:17 +00:00
Aveline 38a28ee534 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-09-26 08:21:17 +00:00
John 34450e9366 fix: absolute mouse scroll (#434)
Co-authored-by: wup-one <wup@deepspace.game>
2025-09-26 08:21:17 +00:00
Siyuan Miao 6c6ce4e5cb refactor: use structured logging 2025-09-26 08:21:17 +00: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