Repository navigation
Add the Insta360 Link 2 Pro (2e1a:4c06) as its own model - #4
Conversation
|
Thanks for checking this on a real Link 2 Pro. Detection plus This needs a rebase onto current Please don't map |
Follows the Link 2C shape: Model::Link2Pro with LINK2_PRO_PID = 0x4c06, name "Insta360 Link 2 Pro", serialised as "link2pro". It has a gimbal and speaks the Link 2 vendor protocol. Also adds 4c06 to the udev rule and a README row, plus unit tests for id, name, gimbal, protocol, is_tested and serde. is_tested() is true because it was checked on a real Link 2 Pro: devices, status, tracking on/off with readback, and pan/tilt moves read back at the set angles. The opt-in hardware suite (readonly + movement) passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0147kQSBSeXsP4bzATy45baX
b4dc442 to
a679e80
Compare
|
Thanks for the clear notes. Done:
|
nahime0
left a comment
There was a problem hiding this comment.
Requesting changes per my comment above: rebase onto current main (keeping Link 2C), and add Link 2 Pro as its own Model::Link2Pro variant rather than aliasing Model::Link2.
|
Thanks! I think this crossed with the update. Commit a679e80 (pushed 13:04 UTC, before this review) already does both:
Could you take another look when you have a moment? |
# Conflicts: # README.md
The Link 2 Pro reports USB id
2e1a:4c06, so linkctl did not find it. This adds it as its own model, following the Link 2C shape:Model::Link2ProwithLINK2_PRO_PID = 0x4c06, name "Insta360 Link 2 Pro", serialised as"link2pro". It is included inhas_gimbal()andsupports_link2_protocol(),4c06is added to the udev rule, and it has its own README row. Rebased onto currentmain; the Link 2C arm, tests and README row are untouched.Checked on a real Link 2 Pro (Arch, kernel 7.2.5):
linkctl deviceslists it as "Insta360 Link 2 Pro".linkctl statusreads pan, tilt, zoom, focus, white balance and tracking.linkctl tracking on/offswitch AI tracking, andstatusreads the new state back each time.pan 20andtilt 10moved the gimbal and read back as 20° and 10°.cargo test --features hardware-tests -- --ignoredpasses (5/5, readonly and movement).Because pan/tilt is now confirmed,
is_tested()returns true for the Pro. Unit tests cover id, name, gimbal, protocol,is_testedand serde.cargo fmt --checkandcargo clippy --all-targets --features hardware-tests -- -D warningsare clean.🤖 Generated with Claude Code
https://claude.ai/code/session_0147kQSBSeXsP4bzATy45baX