Add invocations for SMO
This commit is contained in:
@@ -444,7 +444,9 @@ If libcamera IDs prove insufficient in practice, selector policies can gain
|
|||||||
1. **Hot-unplug** — on camera removal, fail all attached `lcameraBuff` producers
|
1. **Hot-unplug** — on camera removal, fail all attached `lcameraBuff` producers
|
||||||
and drop the session, or attempt re-enumeration by stored `lcamera-id:`?
|
and drop the session, or attempt re-enumeration by stored `lcamera-id:`?
|
||||||
2. **IPA packaging** — document per-platform `apt install` requirements in the
|
2. **IPA packaging** — document per-platform `apt install` requirements in the
|
||||||
main README when `lcameraBuff` lands (RPi needs `libcamera-ipa`).
|
main README when `lcameraBuff` lands (RPi needs `libcamera-ipa`). See also
|
||||||
|
`scripts/dell_laptop_salmanoff_args.inc.sh` for the current dell-laptop
|
||||||
|
`./salmanoff` invocation.
|
||||||
|
|
||||||
Stream format, frame timing, and libcamera callback threading are owned by
|
Stream format, frame timing, and libcamera callback threading are owned by
|
||||||
`lcameraBuff`, not `lcameraDev`.
|
`lcameraBuff`, not `lcameraDev`.
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
# Canonical ./salmanoff arguments for devices/bodies/dell-laptop.daps (win0, avia0,
|
||||||
|
# elp_4k_usb_cam). Source from other scripts or run from the CMake build directory:
|
||||||
|
#
|
||||||
|
# . scripts/dell_laptop_salmanoff_args.inc.sh
|
||||||
|
# ./salmanoff "${DELL_LAPTOP_SALMANOFF_ARGS[@]}"
|
||||||
|
#
|
||||||
|
# Rebuild merged DAP specs after editing .dapss files:
|
||||||
|
# cmake --build . --target body_dell_laptop -j$(nproc)
|
||||||
|
#
|
||||||
|
# Example (same flags, explicit form):
|
||||||
|
# ./salmanoff \
|
||||||
|
# -p commonLibs/livoxProto1/ \
|
||||||
|
# -p stimBuffApis/lcameraBuff/ \
|
||||||
|
# -p commonLibs/xcbXorg/ \
|
||||||
|
# -p commonLibs/lcameraDev/ \
|
||||||
|
# -p stimBuffApis/xcbWindow/ \
|
||||||
|
# -p stimBuffApis/livoxGen1/ \
|
||||||
|
# -p comparatorLibs/core/ \
|
||||||
|
# -a liblcameraBuff.so \
|
||||||
|
# -a libxcbWindow.so \
|
||||||
|
# -a liblivoxGen1.so \
|
||||||
|
# -c libcomparatorCore.so \
|
||||||
|
# -d devices/bodies/dell-laptop.daps
|
||||||
|
|
||||||
|
DELL_LAPTOP_SALMANOFF_ARGS=(
|
||||||
|
-p commonLibs/livoxProto1/
|
||||||
|
-p stimBuffApis/lcameraBuff/
|
||||||
|
-p commonLibs/xcbXorg/
|
||||||
|
-p commonLibs/lcameraDev/
|
||||||
|
-p stimBuffApis/xcbWindow/
|
||||||
|
-p stimBuffApis/livoxGen1/
|
||||||
|
-p comparatorLibs/core/
|
||||||
|
-a liblcameraBuff.so
|
||||||
|
-a libxcbWindow.so
|
||||||
|
-a liblivoxGen1.so
|
||||||
|
-c libcomparatorCore.so
|
||||||
|
-d devices/bodies/dell-laptop.daps
|
||||||
|
)
|
||||||
@@ -36,6 +36,7 @@ fi
|
|||||||
# Paths - all relative to working directory
|
# Paths - all relative to working directory
|
||||||
SALMANOFF_BINARY="$WORKING_DIR/salmanoff"
|
SALMANOFF_BINARY="$WORKING_DIR/salmanoff"
|
||||||
GDB_SCRIPT="$SCRIPT_DIR/gdb_heisenbug.gdb"
|
GDB_SCRIPT="$SCRIPT_DIR/gdb_heisenbug.gdb"
|
||||||
|
DELL_LAPTOP_ARGS_INC="$SCRIPT_DIR/../dell_laptop_salmanoff_args.inc.sh"
|
||||||
|
|
||||||
# Check if binary exists
|
# Check if binary exists
|
||||||
if [ ! -f "$SALMANOFF_BINARY" ]; then
|
if [ ! -f "$SALMANOFF_BINARY" ]; then
|
||||||
@@ -50,16 +51,14 @@ if [ ! -f "$GDB_SCRIPT" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Command line arguments for salmanoff
|
if [ ! -f "$DELL_LAPTOP_ARGS_INC" ]; then
|
||||||
SALMANOFF_ARGS=(
|
echo "Error: dell-laptop salmanoff args not found at $DELL_LAPTOP_ARGS_INC" >&2
|
||||||
-p commonLibs/livoxProto1/
|
exit 1
|
||||||
-p commonLibs/xcbXorg/
|
fi
|
||||||
-p stimBuffApis/xcbWindow/
|
|
||||||
-p stimBuffApis/livoxGen1/
|
# shellcheck source=../dell_laptop_salmanoff_args.inc.sh
|
||||||
-a libxcbWindow.so
|
. "$DELL_LAPTOP_ARGS_INC"
|
||||||
-a liblivoxGen1.so
|
SALMANOFF_ARGS=( "${DELL_LAPTOP_SALMANOFF_ARGS[@]}" )
|
||||||
-d devices/bodies/dell-laptop.daps
|
|
||||||
)
|
|
||||||
|
|
||||||
echo "=== UdpCommandDemuxer Heisenbug Reproduction Script ==="
|
echo "=== UdpCommandDemuxer Heisenbug Reproduction Script ==="
|
||||||
echo "Working Directory: $WORKING_DIR"
|
echo "Working Directory: $WORKING_DIR"
|
||||||
|
|||||||
Reference in New Issue
Block a user