Repository navigation
ak3918av100x: add Baseus P1 Pro (S0TV022132) - #282
Draft
echoechoechoechoechoechoechoecho wants to merge 4 commits into
Draft
echoechoechoechoechoechoechoecho wants to merge 4 commits into
echoechoechoechoechoechoechoecho wants to merge 4 commits into
Conversation
Baseus P1 Pro, the AK3918AV100X pan/tilt camera: SmartSens SC5336 on 2-lane MIPI, AIC8800D80 USB Wi-Fi, 8 MB NOR, microSD, two GPIO steppers, IR-cut, IR LEDs, red and blue LEDs, reset button. Everything common is upstream, so the profile only names it: - the kernel: the generic AV100X config with the board's device tree (OpenIPC/linux#345, ak3918av100x-baseus-s0tv022132) and gpio-leds; - the sensor: sensor_sc5336.ko built from source by anyka-opensdk-ak3918av100 (OpenIPC/firmware#3007), so no vendor module is shipped; the ISP tuning is the stock firmware's, unmodified (sha256 13b66407...); - Wi-Fi: aic8800-openipc with its D80 chip variant, powered up on GPIO 98 by the board's /etc/wireless/usb profile; - pan/tilt: gpiostep (pins in /etc/modules, in the stock motor driver's half-step order) driven by majestic-af, travel from the stock driver's limits in /etc/gpiostep.conf; - the reset button (GPIO 3) through reset-button and gpio.conf; - day/night on the ISP gain (no light sensor on the board), IR-cut on 4/8, IR LEDs on 70, seeded by customizer.sh. Needs OpenIPC/linux#345 (the device tree), OpenIPC/firmware#3007 (anyka-opensdk-ak3918av100) and OpenIPC/firmware#3003 (aic8800-openipc's chip variants). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Turn audio on for the SoC codec, as the stock firmware runs it: 8 kHz, G.711 (the SDK delivers 256-sample frames, which Opus cannot frame at 8 kHz), the speaker enabled, and its amplifier on GPIO 37 driven by majestic, since ak_pcm never switches it. Needs ak_efuse loaded before ak_pcm (OpenIPC/firmware anyka-osdrv-ak3918av100), which starts the codec's VCM2 reference, and a majestic with the AV100 audio path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The P1 Pro is reached only over Wi-Fi: with no SSID in the environment (a new camera, or after the credentials are cleared) it has no network at all, and the serial console is inside the case. quirc-openipc's S97qrscan then reads a Wi-Fi QR code shown to the camera. The image grows by 192 KiB, to 7104 of 7616 KiB. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ult codec majestic now takes 40 ms frames from the SDK (OpenIPC/majestic#394), so Opus encodes, and AAC is back in the image. Checked on the camera with the nightly majestic: G.711, Opus and AAC from the microphone, speaker playback, volume controls, and a clean stop with audio running. The profile no longer pins G.711. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
echoechoechoechoechoechoechoecho
force-pushed
the
baseus-s0tv022132
branch
from
November 29, 2026 20:43
b126ceb to
ca870e6
Compare
This was referenced Nov 29, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Baseus P1 Pro (S0TV022132): AK3918AV100X, SmartSens SC5336 on 2-lane MIPI, AIC8800D80 USB Wi-Fi, 8 MB NOR, microSD, two GPIO steppers, IR-cut, IR LEDs, red and blue LEDs, reset button.
Depends on:
anyka-opensdk-ak3918av100, the SC5336 driver from source;aic8800-openipc's chip variants (BR2_PACKAGE_AIC8800_OPENIPC_D80), which install the firmware the driver loads.Draft until they are merged: CI builds against firmware master.
Replaces my earlier #272 (closed): the same camera and device name, with the sensor driver built from source and the device tree and Wi-Fi firmware upstream, so the profile ships no vendor kernel module and no kernel patch.
The profile itself: the generic AV100X kernel config plus a fragment selecting the DTB and
CONFIG_LEDS_GPIO; the Wi-Fi profile powering the AIC8800 on GPIO 98 (high 1 s, then low, as the stock init script); gpiostep pins in the stock motor driver's half-step order with travel from its limits (3822/854 half-steps); day/night on the ISP gain (no light sensor on the board), IR-cut on 4/8, IR LEDs on 70; the other sensors' modules and tunings excluded.Hardware status (camera, image built from these branches):
Audio: microphone and speaker through majestic's AV100 audio path and the SDK libraries and
ak_efusefirmware now ships (OpenIPC/majestic#394, OpenIPC/firmware#2994); the profile setsaudio.speakerPin 37, sinceak_pcmnever drives the amplifier.Wi-Fi setup: with no SSID set, quirc-openipc's QR scanner brings the camera onto Wi-Fi; there is no Ethernet port to fall back to. The image is 7104 of 7616 KiB; it leaves out the three files of #3003's D80 set this chip never loads (excludes list), without which it would be 7680.
At the lowest WebUI speeds the head grinds: majestic-af stretches the micro-step delay to up to 12.5 ms, and these 28BYJ-48 steppers run smoothly only up to about 3 ms per half-step (the stock driver's fixed 3.125 ms; checked with
gpiostep-ctlat 3, 6 and 12 ms on both axes). Medium and high speeds are smooth.The ISP tuning file (
/etc/sensor/isp_sc5336_mipi_2lane_av100_15fps_YuTong.conf) is the stock firmware's (Baseus/GIEC), unmodified; the SC5336 needs it for its register init sequence and image tuning, and no other is available.🤖 Generated with Claude Code