Skip to content

fix(usb): identify the UF2 drive as Meshtastic - #95

Merged
jamesarich merged 2 commits into
masterfrom
fix/scsi-vendor
Oct 28, 2026
Merged

jamesarich merged 2 commits into
masterfrom
fix/scsi-vendor

Conversation

@jamesarich

@jamesarich jamesarich commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Checklist

  • PR title specifically describes the change
  • tools/build_all.py (or CI's board matrix) passes

Description of Change

The UF2 drive still identified itself as Adafruit / nRF UF2 in its SCSI inquiry, so hosts listed a Meshtastic bootloader as an Adafruit device. It now reports vendor Mesh and product Meshtastic UF2; the vendor field holds 8 characters, so the full name goes in the 16-character product field. Nothing reads these fields: android and apple identify the drive from INFO_UF2.TXT, and no tool or udev rule in the workspace matches on them. Volume label, INFO_UF2.TXT and USB descriptors are unchanged.

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 27 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d7f68c34-e5e5-4c2b-a235-51532cbfdaa5
Commits

Reviewing files that changed from the base of the PR and between fb9b95c and 82b6b9c.

Files selected for processing: 2
  • changelog.md
  • src/usb/msc_uf2.c

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 83b15ccc-398a-44c2-a9e5-a645f0b2d92c
Commits

Reviewing files that changed from the base of the PR and between 2749564 and fb9b95c.

Files selected for processing: 2
  • changelog.md
  • src/usb/msc_uf2.c

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

The USB MSC inquiry response now reports Meshtast instead of Adafruit as the vendor ID. The changelog records this update and notes that the volume label, INFO_UF2.TXT, and USB descriptors remain unchanged.

Changes: UF2 inquiry vendor ID

Layer / File(s) Summary
Update inquiry vendor ID
src/usb/msc_uf2.c, changelog.md
The inquiry vendor ID changes from Adafruit to Meshtast. The changelog records the change and notes that the volume label, INFO_UF2.TXT, and USB descriptors are unchanged.

Priority: Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Suggested reviewers: hathach

Merge Risk: Minimal · previous review fb9b9

The UF2 vendor-name update is narrowly scoped and ready to merge.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the main change: the UF2 drive now identifies as Meshtastic through its USB SCSI vendor field.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit checks the UF2 drive,
And sees “Meshtast” shine alive.
The inquiry name has changed its place,
The other labels keep their space.
The changelog notes the name anew,
Then hops along beneath the moon.

Comment @coderabbitai help to get the list of available commands.

@jamesarich
jamesarich added this pull request to the merge queue Oct 28, 2026
Merged via the queue into master with commit 81684d5 Oct 28, 2026
26 checks passed
@jamesarich
jamesarich deleted the fix/scsi-vendor branch October 28, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant