Repository navigation
Conversation
…order The same board ships with either an iComm SV6115C or a Realtek RTL8188EUS (0bda:8179) USB Wi-Fi module. Build both drivers and pick one at boot from the enumerated USB vendor (wlandev gk7202v300-xm-rm1). To make room for the second driver, also exclude mac80211/mt7601u/tun: neither Wi-Fi driver uses mac80211 and the board has no VPN packages. Pan and tilt GPIO groups were swapped and both turned the wrong way; ptz_gpio is now verified on hardware. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PR Summary by QodoSupport RTL8188EUS RM1 boards and correct pan/tilt GPIOs
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
Code Review by Qodo
1. Upgrades leave pan and tilt reversed
|
| # | ||
| fw_setenv ptz_control gpio | ||
| fw_setenv ptz_gpio '13 15 14 12 55 54 53 52' | ||
| fw_setenv ptz_gpio '52 53 54 55 12 14 15 13' |
There was a problem hiding this comment.
1. Upgrades leave pan and tilt reversed 🐞 Bug ≡ Correctness
customizer.sh writes the corrected ptz_gpio value with fw_setenv, but the customizer does not rerun when an existing installation upgrades. Those cameras retain the previous mapping in their preserved bootloader environment, so the direction fix reaches fresh installations but not ordinary upgrades.
Agent Prompt
## Issue description
Existing installations preserve the old `ptz_gpio` environment value during upgrades, so changing the first-boot customizer alone does not correct their pan/tilt direction.
## Fix Focus Areas
- devices/gk7202v300_lite_xm-rm1/general/overlay/usr/share/openipc/customizer.sh[20-25]
## Recommended Fix
Add an upgrade-time or boot-time migration that replaces the previous `ptz_gpio` value with the corrected value. Match the old value before changing it so user-customized mappings remain intact.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Follow-up to #205.
RTL8188EUS variant. A second IPC-RM1-BLK7202V3-M43A-WIFI board came with a Realtek RTL8188EUS (
0bda:8179) instead of the iComm SV6115C. The profile now builds bothssv6x5xandrtl8188eus-openipc;wlandev gk7202v300-xm-rm1loads the driver that matches the enumerated USB vendor (8065→ ssv6x5x,0bda→ 8188eu).Space. To make room for the second driver (8188eu.ko is ~350 KB compressed),
mac80211,mt7601uandtunare excluded as well: neither Wi-Fi driver uses mac80211 and the board has no VPN packages. Rootfs is 4956 KB of 5120 KB.Pan/tilt. The pan and tilt GPIO groups were swapped and both axes turned the wrong way.
ptz_gpiois now52 53 54 55 12 14 15 13(pan first), checked on hardware for axis and direction.Tested on the RTL8188EUS board: after a reboot the image autoloads 8188eu and joins WPA2; majestic streams; pan and tilt move the correct way from the web UI. IR and audio still untested.
🤖 Generated with Claude Code