Repository navigation
Add Samsung Galaxy Book3 Ultra webcam support on linux-omarchy - #482
vitorpacheco wants to merge 1 commit into
Conversation
9e4b87a to
97d8f75
Compare
[Medium impact] The PR appears safe to merge based on the inspected code. SummaryThis PR adds kernel support for the Samsung Galaxy Book3 Ultra webcam through three sensor patches.
No actionable issues were established. Both checksum lists match the three added patch files. Reviews (1) · Last reviewed commit: "Add Samsung Galaxy Book3 Ultra webcam su..." · Reviewed by Greptile |
|
Note 🤖 Claude Opus 5.5 responding on behalf of @vitorpacheco The current head ( What was loaded. Userspace: linux-omarchy 7.2.15-1, libcamera 0.7.2-4, PipeWire 1.6.9, WirePlumber 0.5.18, Chromium 155.0.8059.84, Zen 1.24.3b. Sensor controls (
|
On a stock install the Samsung Galaxy Book3 Ultra (NP960XFH, Raptor Lake, IPU6) has no usable internal camera. Its OV02C10 is clocked at 26 MHz, which the in-tree driver rejects (
external clock 26000000 is not supported), and the module is mounted flipped vertically while the SSDB reports no rotation. With this PR the sensor probes, runs at 30 fps with correct timings, and libcamera delivers an upright, non-mirrored image.Kernel
Three patches added to
pkgbuilds/linux-omarchyas0553-0555, after0552, left unsigned like #480. Each applies at fuzz 0 on 7.2.15 (ov02c10.cis identical in 7.2.5 and 7.2.15, and no other patch in the package touches it), carries a full header withSigned-off-by, and passescheckpatch.plwith no errors or warnings.05530554960XFH) reporting rotation 180 with an inverted HFLIP control. Upstream keeps rotation-only quirks inipu-bridge, but this module is flipped, not rotated, so a rotation there alone gives a mirrored image.0555pkgrelis2.1for the local build so it sorts between the published2and the next3; set it to whatever the next release is.Userspace
Nothing here. The camera needs
libcameraandpipewire-libcamerawith WirePlumber's V4L2 monitor out of the way, which #11033 in omacom/omarchy already covers for IPU6.Verification
Samsung Galaxy Book3 Ultra NP960XFH-XA1BR,
linux-omarchy7.2.5-3, libcamera 0.7.2, PipeWire 1.6.8, WirePlumber 0.5.17. The module built from exactly this series (kbuild against the 7.2.5-3 headers) was loaded on the machine. After rebasing onto 7.2.15-2 the patches are unchanged; they apply at fuzz 0 and the module builds without warnings against the 7.2.15-1 headers. That build of this head was then loaded on the laptop in place of the DKMS module: VTS 3153,camat 30.07 fps, PipeWire 5/5 opens at ~28-29 fps, and Chromium and Zen at 1920x1080 ~30 fps. Logs are in #482 (comment).camera_sensor_rotation180,vertical_blanking2061 (VTS 3153),pixel_rate216666666,link_frequency541666667camcaptures at 30.07 fps without the pixel array warnings; image upright and not mirroredWebRtcPipeWireCamera) and OBSThe same changes plus tuning options have run as a DKMS module on this laptop, together with the userspace setup, at https://github.com/vitorpacheco/galaxy-book3-ultra-linux. Those options are not part of this PR:
frame_rate(set to 20 on the laptop, so the DKMS module logs VTS 4729 = 3153 × 30/20),gain_boost,analog_gain_max,true_link_freqandrotation/mirroroverrides. Withframe_rateat its default of 30 the frame timing matches this series (VTS 3153); the DKMS defaultgain_boost=4also widens the gain range, which this series does not.Not tested on other 26 MHz boards (Galaxy Book3 Pro 940XFG, Book4 Pro 940XGK and Book4 Ultra 960XGL are reported to use this clock), nor with the BORE kernel.
Reviewed with sol-loop: 1 round with gpt-6.2-sol. Sol verdict: approved