patjak / facetimehd

Reverse engineered Linux driver for the FacetimeHD (Broadcom 1570) PCIe webcam
GNU General Public License v2.0
1.36k stars 161 forks source link

Fedora error: "There was an error playing video from the webcam" #200

Open miguelmota opened 4 years ago

miguelmota commented 4 years ago

Hi, followed instructions as explained in installation wiki but when I run the cheese program I get "There was an error playing video from the webcam"

I'm on Fedora 31

Any help is appreciated. Thanks

GiovanniGrieco commented 4 years ago

Here I am on Fedora 31 with Kernel 5.5.11, MacBook Pro 13" Early 2015. Same issue: Cheese prints out an error, Microsoft Teams shows black screen, but mplayer and Google Chrome work nominally.

Any hint on how we can debug such problem? dmesg doesn't seem to print out anything suspicious.

facetimehd output
[  128.708968] facetimehd: loading out-of-tree module taints kernel.
[  128.709029] facetimehd: module verification failed: signature and/or required key missing - tainting kernel
[  128.709575] facetimehd 0000:02:00.0: Found FaceTime HD camera with device id: 1570
[  128.709713] facetimehd 0000:02:00.0: Setting 64bit DMA mask
[  128.714742] facetimehd 0000:02:00.0: S2 PCIe link init succeeded
[  128.714769] facetimehd 0000:02:00.0: Refclk: 25MHz (0xa)
[  128.724781] facetimehd 0000:02:00.0: PLL reset finished
[  128.724782] facetimehd 0000:02:00.0: Waiting for S2 PLL to lock at 450 MHz
[  128.724794] facetimehd 0000:02:00.0: S2 PLL is locked after 10 us
[  128.734800] facetimehd 0000:02:00.0: S2 PLL is in bypass mode
[  128.754836] facetimehd 0000:02:00.0: DDR40 PHY PLL locked on safe settings
[  128.754849] facetimehd 0000:02:00.0: STRAP valid
[  128.754850] facetimehd 0000:02:00.0: Configuring DDR PLLs for 450 MHz
[  128.754857] facetimehd 0000:02:00.0: DDR40 PLL is locked after 0 us
[  128.754866] facetimehd 0000:02:00.0: First DDR40 VDL calibration completed after 2 us
[  128.754876] facetimehd 0000:02:00.0: Second DDR40 VDL calibration completed after 2 us
[  128.754876] facetimehd 0000:02:00.0: Using step size 159
[  128.754881] facetimehd 0000:02:00.0: VDL set to: coarse=0x10008, fine=0x1011c
[  128.754885] facetimehd 0000:02:00.0: Virtual VTT enabled
[  128.775402] facetimehd 0000:02:00.0: S2 DRAM memory address: 0x22159559
[  128.775416] facetimehd 0000:02:00.0: Rewrite DDR mode registers succeeded
[  128.775610] facetimehd 0000:02:00.0: Full memory verification succeeded! (0)
[  128.893170] facetimehd 0000:02:00.0: Loaded firmware, size: 1392kb
[  129.039678] facetimehd 0000:02:00.0: ISP woke up after 0ms
[  129.039683] facetimehd 0000:02:00.0: Number of IPC channels: 7, queue size: 44865
[  129.039686] facetimehd 0000:02:00.0: Firmware requested heap size: 3072kb
[  129.049700] facetimehd 0000:02:00.0: ISP second int after 0ms
[  129.049702] facetimehd 0000:02:00.0: Channel description table at 00800000
[  129.059949] facetimehd 0000:02:00.0: magic value: 00000000 after 0 ms
[  129.059950] facetimehd 0000:02:00.0: Enabling interrupts
[ 1524.160524] facetimehd 0000:02:00.0: fthd_hw_deinit
[ 1530.084704] facetimehd 0000:02:00.0: Found FaceTime HD camera with device id: 1570
[ 1530.084842] facetimehd 0000:02:00.0: Setting 64bit DMA mask
[ 1530.089894] facetimehd 0000:02:00.0: S2 PCIe link init succeeded
[ 1530.089921] facetimehd 0000:02:00.0: Refclk: 25MHz (0xa)
[ 1530.099932] facetimehd 0000:02:00.0: PLL reset finished
[ 1530.099934] facetimehd 0000:02:00.0: Waiting for S2 PLL to lock at 450 MHz
[ 1530.099946] facetimehd 0000:02:00.0: S2 PLL is locked after 10 us
[ 1530.109952] facetimehd 0000:02:00.0: S2 PLL is in bypass mode
[ 1530.129993] facetimehd 0000:02:00.0: DDR40 PHY PLL locked on safe settings
[ 1530.130009] facetimehd 0000:02:00.0: STRAP valid
[ 1530.130011] facetimehd 0000:02:00.0: Configuring DDR PLLs for 450 MHz
[ 1530.130019] facetimehd 0000:02:00.0: DDR40 PLL is locked after 0 us
[ 1530.130029] facetimehd 0000:02:00.0: First DDR40 VDL calibration completed after 2 us
[ 1530.130040] facetimehd 0000:02:00.0: Second DDR40 VDL calibration completed after 2 us
[ 1530.130041] facetimehd 0000:02:00.0: Using step size 159
[ 1530.130046] facetimehd 0000:02:00.0: VDL set to: coarse=0x10008, fine=0x1011c
[ 1530.130051] facetimehd 0000:02:00.0: Virtual VTT enabled
[ 1530.150575] facetimehd 0000:02:00.0: S2 DRAM memory address: 0x22159559
[ 1530.150588] facetimehd 0000:02:00.0: Rewrite DDR mode registers succeeded
[ 1530.150791] facetimehd 0000:02:00.0: Full memory verification succeeded! (0)
[ 1530.265562] facetimehd 0000:02:00.0: Loaded firmware, size: 1392kb
[ 1530.417974] facetimehd 0000:02:00.0: ISP woke up after 0ms
[ 1530.417980] facetimehd 0000:02:00.0: Number of IPC channels: 7, queue size: 44865
[ 1530.417996] facetimehd 0000:02:00.0: Firmware requested heap size: 3072kb
[ 1530.428016] facetimehd 0000:02:00.0: ISP second int after 0ms
[ 1530.428019] facetimehd 0000:02:00.0: Channel description table at 00800000
[ 1530.438427] facetimehd 0000:02:00.0: magic value: 00000000 after 0 ms
[ 1530.438430] facetimehd 0000:02:00.0: Enabling interrupts
FWMSG output
[  129.060120] FWMSG: 
[  129.060152] FWMSG: - APOLLO-ISP-APPLE ------------------------------------------------------------
[  129.060161] FWMSG: 
[  129.060175] FWMSG:   Restart count : 0
[  129.060261] FWMSG:   Platform : mode = TARGET, ID = 0x00000000, HW = 00020018.00000000
[  129.060278] FWMSG:   System Clock : 200000000 Hz
[  129.060297] FWMSG:   Processor mode : SUPERVISOR
[  129.060317] FWMSG:   Cache architecture type : SEPARATE
[  129.060333] FWMSG:   Cache type : WRITEBACK
[  129.060350] FWMSG:   Data Cache Line : 32 [0x20]
[  129.060368] FWMSG:   Boot arguments entries : 2
[  129.060413] FWMSG:     0000: 0x00000000 0x00000000
[  129.060440] FWMSG:   Physical memory base : 0x00000000 [TLB base 0x00160000]
[  129.060461] FWMSG:   Main memory :   base : 0x00000000
[  129.060516] FWMSG:                   size : 8388608 [0x00800000] [8.0 MB]
[  129.060545] FWMSG:   Extra heap :    base : 0x2080b000 [phy = 0x0080b000]
[  129.060574] FWMSG:                   size : 3145728 [0x00300000] [3.0 MB]
[  129.060599] FWMSG:   Shared window : base : 0x00800000 [static wiring]
[  129.060665] FWMSG:                   size : 125829120 [0x07800000] [120.0 MB]
[  129.060685] FWMSG:   Shared memory : base : 0x00800000
[  129.060739] FWMSG:                   size : 260046848 [0x0f800000] [248.0 MB]
[  129.060816] FWMSG:   TEXT : 1421992 [0x15b2a8] - text 667256, cstring  38749, const 715528
[  129.060849] FWMSG:   DATA : 8076 [0x1f8c] - data 0, bss 460, common 1452, noinit 6144
[  129.060896] FWMSG:   Heap free space : 10002626 [0x0098a0c2]
[  129.060919] FWMSG:   Heap allocated space : 94656 [0x000171c0]
[  129.060948] FWMSG:   Disclaimer : Copyright (c) APPLE Inc. All Rights Reserved.
[  129.060966] FWMSG:   Application : adc [release]
[  129.060987] FWMSG:   Linked on : Jul 25 2015 - 08:48:55
[  129.061007] FWMSG:   Release : S2ISP-01.43.00
[  129.061023] FWMSG:   H4ISPAPPLE : 11536
[  129.061056] FWMSG:   H4ISPCD : 4081
[  129.061071] FWMSG:   ffw : 4143
[  129.061117] FWMSG:   Tool-chain : iPhone OS - 7.0.3 [clang/clang++]
[  129.061127] FWMSG: 
[  129.061162] FWMSG: -------------------------------------------------------------------------------
[  129.061172] FWMSG: 
[  129.134327] FWMSG: [ISP] CMD = 0x0004 [CISP_CMD_PRINT_ENABLE]
[  129.134450] FWMSG: [ISP] CMD = 0x0003 [CISP_CMD_CONFIG_GET]
[  129.134587] FWMSG: [ISP] CH = 0 CMD = 0x010d [CISP_CMD_CH_INFO_GET]
[  129.137350] FWMSG: [ISP] CH = 0 CMD = 0x0111 [CISP_CMD_CH_SET_FILE_LOAD]
[ 1524.149269] FWMSG: [ISP] CMD = 0x0001 [CISP_CMD_STOP]
[ 1530.438559] FWMSG: 
[ 1530.438619] FWMSG: - APOLLO-ISP-APPLE ------------------------------------------------------------
[ 1530.438628] FWMSG: 
[ 1530.438653] FWMSG:   Restart count : 0
[ 1530.438683] FWMSG:   Platform : mode = TARGET, ID = 0x00000000, HW = 00020018.00000000
[ 1530.438724] FWMSG:   System Clock : 200000000 Hz
[ 1530.438742] FWMSG:   Processor mode : SUPERVISOR
[ 1530.438762] FWMSG:   Cache architecture type : SEPARATE
[ 1530.438778] FWMSG:   Cache type : WRITEBACK
[ 1530.438797] FWMSG:   Data Cache Line : 32 [0x20]
[ 1530.438815] FWMSG:   Boot arguments entries : 2
[ 1530.438867] FWMSG:     0000: 0x00000000 0x00000000
[ 1530.438892] FWMSG:   Physical memory base : 0x00000000 [TLB base 0x00160000]
[ 1530.438911] FWMSG:   Main memory :   base : 0x00000000
[ 1530.438971] FWMSG:                   size : 8388608 [0x00800000] [8.0 MB]
[ 1530.438998] FWMSG:   Extra heap :    base : 0x2080b000 [phy = 0x0080b000]
[ 1530.439025] FWMSG:                   size : 3145728 [0x00300000] [3.0 MB]
[ 1530.439069] FWMSG:   Shared window : base : 0x00800000 [static wiring]
[ 1530.439122] FWMSG:                   size : 125829120 [0x07800000] [120.0 MB]
[ 1530.439142] FWMSG:   Shared memory : base : 0x00800000
[ 1530.439196] FWMSG:                   size : 260046848 [0x0f800000] [248.0 MB]
[ 1530.439271] FWMSG:   TEXT : 1421992 [0x15b2a8] - text 667256, cstring  38749, const 715528
[ 1530.439324] FWMSG:   DATA : 8076 [0x1f8c] - data 0, bss 460, common 1452, noinit 6144
[ 1530.439347] FWMSG:   Heap free space : 10002626 [0x0098a0c2]
[ 1530.439389] FWMSG:   Heap allocated space : 94656 [0x000171c0]
[ 1530.439416] FWMSG:   Disclaimer : Copyright (c) APPLE Inc. All Rights Reserved.
[ 1530.439434] FWMSG:   Application : adc [release]
[ 1530.439455] FWMSG:   Linked on : Jul 25 2015 - 08:48:55
[ 1530.439473] FWMSG:   Release : S2ISP-01.43.00
[ 1530.439488] FWMSG:   H4ISPAPPLE : 11536
[ 1530.439503] FWMSG:   H4ISPCD : 4081
[ 1530.439516] FWMSG:   ffw : 4143
[ 1530.439573] FWMSG:   Tool-chain : iPhone OS - 7.0.3 [clang/clang++]
[ 1530.439582] FWMSG: 
[ 1530.439614] FWMSG: -------------------------------------------------------------------------------
[ 1530.439624] FWMSG: 
[ 1530.512971] FWMSG: [ISP] CMD = 0x0004 [CISP_CMD_PRINT_ENABLE]
[ 1530.513219] FWMSG: [ISP] CMD = 0x0003 [CISP_CMD_CONFIG_GET]
[ 1530.513457] FWMSG: [ISP] CH = 0 CMD = 0x010d [CISP_CMD_CH_INFO_GET]
[ 1530.515469] FWMSG: [ISP] CH = 0 CMD = 0x0111 [CISP_CMD_CH_SET_FILE_LOAD]
[ 2055.083011] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2055.083099] FWMSG: [DSC] CH = 0   Camera current config Get [0] 
[ 2055.083251] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2055.083324] FWMSG: [DSC] CH = 0   Camera current config Get [1] 
[ 2055.083462] FWMSG: [ISP] CH = 0 CMD = 0x0107 [CISP_CMD_CH_CAMERA_CONFIG_SELECT]
[ 2055.085045] FWMSG: [DSC] CH = 0   Camera set to config -> 0 
[ 2055.085180] FWMSG: [ISP] CH = 0 CMD = 0x0801 [CISP_CMD_CH_CROP_SET]
[ 2055.085327] FWMSG: [DSC] CH = 0   CROP -> [160, 0][960, 720] within [0, 0][1280, 720]
[ 2055.085454] FWMSG: [ISP] CH = 0 CMD = 0x0b01 [CISP_CMD_CH_OUTPUT_CONFIG_SET]
[ 2055.085789] FWMSG: [DSC] CH = 0   New Output config -> format = 1, range 0, size = 640x480
[ 2055.085917] FWMSG: [ISP] CH = 0 CMD = 0x010e [CISP_CMD_CH_BUFFER_RECYCLE_MODE_SET]
[ 2055.085947] FWMSG: [DSC] CH = 0   Dynamic Buffers Recycling Mode Set [EMPTY ONLY] 
[ 2055.086065] FWMSG: [ISP] CH = 0 CMD = 0x010f [CISP_CMD_CH_BUFFER_RECYCLE_START]
[ 2055.086270] FWMSG: [ISP] CH = 0 CMD = 0x8206 [CISP_CMD_APPLE_CH_AE_METERING_MODE_SET]
[ 2055.086294] FWMSG: [DSC] CH = 0   AE Metering Mode Set [3] 
[ 2055.086410] FWMSG: [ISP] CH = 0 CMD = 0x0c00 [CISP_CMD_CH_DRC_START]
[ 2055.086862] FWMSG: [ISP] CH = 0 CMD = 0xc300 [CISP_CMD_APPLE_CH_TONE_CURVE_ADAPTATION_START]
[ 2055.086970] FWMSG: [ISP] CH = 0 CMD = 0x0218 [CISP_CMD_CH_AE_SPEED_SET]
[ 2055.087026] FWMSG: [DSC] CH = 0   AE Speed Set [60] 
[ 2055.087183] FWMSG: [ISP] CH = 0 CMD = 0x021a [CISP_CMD_CH_AE_STABILITY_SET]
[ 2055.087205] FWMSG: [DSC] CH = 0   AE Stability Set [75] 
[ 2055.087330] FWMSG: [ISP] CH = 0 CMD = 0x0229 [CISP_CMD_CH_AE_STABILITY_TO_STABLE_SET]
[ 2055.087352] FWMSG: [DSC] CH = 0   AE Stability Set [8] 
[ 2055.087466] FWMSG: [ISP] CH = 0 CMD = 0x0115 [CISP_CMD_CH_SIF_PIXEL_FORMAT_SET]
[ 2055.087986] FWMSG: [ISP] CH = 0 CMD = 0x0124 [CISP_CMD_CH_CAMERA_ERR_HANDLE_CONFIG]
[ 2055.089090] FWMSG: [ISP] CH = 0 CMD = 0x0d05 [CISP_CMD_CH_FACE_DETECTION_ENABLE]
[ 2055.089313] FWMSG: [ISP] CH = 0 CMD = 0x0d00 [CISP_CMD_CH_FACE_DETECTION_START]
[ 2055.089528] FWMSG: [ISP] CH = 0 CMD = 0x0208 [CISP_CMD_CH_AE_FRAME_RATE_MAX_SET]
[ 2055.089685] FWMSG: [DSC] CH = 0   AE Frame Rate Max Set [10240] 
[ 2055.089909] FWMSG: [ISP] CH = 0 CMD = 0x020a [CISP_CMD_CH_AE_FRAME_RATE_MIN_SET]
[ 2055.090023] FWMSG: [DSC] CH = 0   AE Frame Rate Min Set [10240] 
[ 2055.090155] FWMSG: [ISP] CH = 0 CMD = 0xc100 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_START]
[ 2055.090396] FWMSG: [ISP] CH = 0 CMD = 0xc102 [CISP_CMD_APPLE_CH_MOTION_HISTORY_START]
[ 2055.090821] FWMSG: [ISP] CH = 0 CMD = 0xc113 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_ENABLE]
[ 2055.090941] FWMSG: [ISP] CH = 0 CMD = 0x8106 [CISP_CMD_APPLE_CH_STREAMING_MODE_SET]
[ 2055.090961] FWMSG: [DSC] CH = 0   Streaming Mode Set [0]
[ 2055.091077] FWMSG: [ISP] CH = 0 CMD = 0x0b02 [CISP_CMD_CH_SCALER_BRIGHTNESS_SET]
[ 2055.091214] FWMSG: [ISP] CH = 0 CMD = 0x0b03 [CISP_CMD_CH_SCALER_CONTRAST_SET]
[ 2055.091318] FWMSG: [ISP] CH = 0 CMD = 0x0100 [CISP_CMD_CH_START]
[ 2068.665655] FWMSG: [ISP] CH = 0 CMD = 0x0101 [CISP_CMD_CH_STOP]
[ 2068.730608] FWMSG: [ISP] CH = 0 CMD = 0x0104 [CISP_CMD_CH_BUFFER_RETURN]
[ 2068.731304] FWMSG: [ISP] CH = 0 CMD = 0x0d01 [CISP_CMD_CH_FACE_DETECTION_STOP]
[ 2068.731495] FWMSG: [ISP] CH = 0 CMD = 0x0d04 [CISP_CMD_CH_FACE_DETECTION_DISABLE]
[ 2068.731671] FWMSG: [ISP] CH = 0 CMD = 0xc114 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_DISABLE]
[ 2068.731812] FWMSG: [ISP] CH = 0 CMD = 0xc103 [CISP_CMD_APPLE_CH_MOTION_HISTORY_STOP]
[ 2068.731936] FWMSG: [ISP] CH = 0 CMD = 0xc101 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_STOP]
[ 2127.996567] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2127.996653] FWMSG: [DSC] CH = 0   Camera current config Get [0] 
[ 2127.996835] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2127.996908] FWMSG: [DSC] CH = 0   Camera current config Get [1] 
[ 2127.997044] FWMSG: [ISP] CH = 0 CMD = 0x0107 [CISP_CMD_CH_CAMERA_CONFIG_SELECT]
[ 2127.998710] FWMSG: [DSC] CH = 0   Camera set to config -> 0 
[ 2127.998842] FWMSG: [ISP] CH = 0 CMD = 0x0801 [CISP_CMD_CH_CROP_SET]
[ 2127.998992] FWMSG: [DSC] CH = 0   CROP -> [160, 0][960, 720] within [0, 0][1280, 720]
[ 2127.999117] FWMSG: [ISP] CH = 0 CMD = 0x0b01 [CISP_CMD_CH_OUTPUT_CONFIG_SET]
[ 2127.999248] FWMSG: [DSC] CH = 0   New Output config -> format = 1, range 0, size = 640x480
[ 2127.999371] FWMSG: [ISP] CH = 0 CMD = 0x010e [CISP_CMD_CH_BUFFER_RECYCLE_MODE_SET]
[ 2127.999398] FWMSG: [DSC] CH = 0   Dynamic Buffers Recycling Mode Set [EMPTY ONLY] 
[ 2127.999510] FWMSG: [ISP] CH = 0 CMD = 0x010f [CISP_CMD_CH_BUFFER_RECYCLE_START]
[ 2127.999708] FWMSG: [ISP] CH = 0 CMD = 0x8206 [CISP_CMD_APPLE_CH_AE_METERING_MODE_SET]
[ 2127.999756] FWMSG: [DSC] CH = 0   AE Metering Mode Set [3] 
[ 2127.999873] FWMSG: [ISP] CH = 0 CMD = 0x0c00 [CISP_CMD_CH_DRC_START]
[ 2128.000027] FWMSG: [ISP] CH = 0 CMD = 0xc300 [CISP_CMD_APPLE_CH_TONE_CURVE_ADAPTATION_START]
[ 2128.000167] FWMSG: [ISP] CH = 0 CMD = 0x0218 [CISP_CMD_CH_AE_SPEED_SET]
[ 2128.000217] FWMSG: [DSC] CH = 0   AE Speed Set [60] 
[ 2128.000332] FWMSG: [ISP] CH = 0 CMD = 0x021a [CISP_CMD_CH_AE_STABILITY_SET]
[ 2128.000379] FWMSG: [DSC] CH = 0   AE Stability Set [75] 
[ 2128.000501] FWMSG: [ISP] CH = 0 CMD = 0x0229 [CISP_CMD_CH_AE_STABILITY_TO_STABLE_SET]
[ 2128.000522] FWMSG: [DSC] CH = 0   AE Stability Set [8] 
[ 2128.000635] FWMSG: [ISP] CH = 0 CMD = 0x0115 [CISP_CMD_CH_SIF_PIXEL_FORMAT_SET]
[ 2128.000946] FWMSG: [ISP] CH = 0 CMD = 0x0124 [CISP_CMD_CH_CAMERA_ERR_HANDLE_CONFIG]
[ 2128.001065] FWMSG: [ISP] CH = 0 CMD = 0x0d05 [CISP_CMD_CH_FACE_DETECTION_ENABLE]
[ 2128.001266] FWMSG: [ISP] CH = 0 CMD = 0x0d00 [CISP_CMD_CH_FACE_DETECTION_START]
[ 2128.001470] FWMSG: [ISP] CH = 0 CMD = 0x0208 [CISP_CMD_CH_AE_FRAME_RATE_MAX_SET]
[ 2128.001631] FWMSG: [DSC] CH = 0   AE Frame Rate Max Set [10240] 
[ 2128.001759] FWMSG: [ISP] CH = 0 CMD = 0x020a [CISP_CMD_CH_AE_FRAME_RATE_MIN_SET]
[ 2128.001866] FWMSG: [DSC] CH = 0   AE Frame Rate Min Set [10240] 
[ 2128.001998] FWMSG: [ISP] CH = 0 CMD = 0xc100 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_START]
[ 2128.002240] FWMSG: [ISP] CH = 0 CMD = 0xc102 [CISP_CMD_APPLE_CH_MOTION_HISTORY_START]
[ 2128.002464] FWMSG: [ISP] CH = 0 CMD = 0xc113 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_ENABLE]
[ 2128.002581] FWMSG: [ISP] CH = 0 CMD = 0x8106 [CISP_CMD_APPLE_CH_STREAMING_MODE_SET]
[ 2128.002601] FWMSG: [DSC] CH = 0   Streaming Mode Set [0]
[ 2128.002727] FWMSG: [ISP] CH = 0 CMD = 0x0b02 [CISP_CMD_CH_SCALER_BRIGHTNESS_SET]
[ 2128.002878] FWMSG: [ISP] CH = 0 CMD = 0x0b03 [CISP_CMD_CH_SCALER_CONTRAST_SET]
[ 2128.002993] FWMSG: [ISP] CH = 0 CMD = 0x0100 [CISP_CMD_CH_START]
[ 2154.820242] FWMSG: [ISP] CH = 0 CMD = 0x0101 [CISP_CMD_CH_STOP]
[ 2154.886328] FWMSG: [ISP] CH = 0 CMD = 0x0104 [CISP_CMD_CH_BUFFER_RETURN]
[ 2154.887112] FWMSG: [ISP] CH = 0 CMD = 0x0d01 [CISP_CMD_CH_FACE_DETECTION_STOP]
[ 2154.887351] FWMSG: [ISP] CH = 0 CMD = 0x0d04 [CISP_CMD_CH_FACE_DETECTION_DISABLE]
[ 2154.887539] FWMSG: [ISP] CH = 0 CMD = 0xc114 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_DISABLE]
[ 2154.887802] FWMSG: [ISP] CH = 0 CMD = 0xc103 [CISP_CMD_APPLE_CH_MOTION_HISTORY_STOP]
[ 2154.887981] FWMSG: [ISP] CH = 0 CMD = 0xc101 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_STOP]
[ 2357.533761] FWMSG: [ISP] CH = 0 CMD = 0x0301 [CISP_CMD_CH_AWB_STOP]
[ 2357.534100] FWMSG: [ISP] CH = 0 CMD = 0x0300 [CISP_CMD_CH_AWB_START]
[ 2357.535409] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2357.535498] FWMSG: [DSC] CH = 0   Camera current config Get [0] 
[ 2357.535638] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2357.535891] FWMSG: [DSC] CH = 0   Camera current config Get [1] 
[ 2357.536162] FWMSG: [ISP] CH = 0 CMD = 0x0107 [CISP_CMD_CH_CAMERA_CONFIG_SELECT]
[ 2357.537805] FWMSG: [DSC] CH = 0   Camera set to config -> 0 
[ 2357.537953] FWMSG: [ISP] CH = 0 CMD = 0x0801 [CISP_CMD_CH_CROP_SET]
[ 2357.538105] FWMSG: [DSC] CH = 0   CROP -> [160, 0][960, 720] within [0, 0][1280, 720]
[ 2357.538236] FWMSG: [ISP] CH = 0 CMD = 0x0b01 [CISP_CMD_CH_OUTPUT_CONFIG_SET]
[ 2357.538369] FWMSG: [DSC] CH = 0   New Output config -> format = 1, range 0, size = 640x480
[ 2357.538493] FWMSG: [ISP] CH = 0 CMD = 0x010e [CISP_CMD_CH_BUFFER_RECYCLE_MODE_SET]
[ 2357.538520] FWMSG: [DSC] CH = 0   Dynamic Buffers Recycling Mode Set [EMPTY ONLY] 
[ 2357.538641] FWMSG: [ISP] CH = 0 CMD = 0x010f [CISP_CMD_CH_BUFFER_RECYCLE_START]
[ 2357.539407] FWMSG: [ISP] CH = 0 CMD = 0x8206 [CISP_CMD_APPLE_CH_AE_METERING_MODE_SET]
[ 2357.539429] FWMSG: [DSC] CH = 0   AE Metering Mode Set [3] 
[ 2357.539550] FWMSG: [ISP] CH = 0 CMD = 0x0c00 [CISP_CMD_CH_DRC_START]
[ 2357.540071] FWMSG: [ISP] CH = 0 CMD = 0xc300 [CISP_CMD_APPLE_CH_TONE_CURVE_ADAPTATION_START]
[ 2357.540219] FWMSG: [ISP] CH = 0 CMD = 0x0218 [CISP_CMD_CH_AE_SPEED_SET]
[ 2357.540271] FWMSG: [DSC] CH = 0   AE Speed Set [60] 
[ 2357.540380] FWMSG: [ISP] CH = 0 CMD = 0x021a [CISP_CMD_CH_AE_STABILITY_SET]
[ 2357.540426] FWMSG: [DSC] CH = 0   AE Stability Set [75] 
[ 2357.540560] FWMSG: [ISP] CH = 0 CMD = 0x0229 [CISP_CMD_CH_AE_STABILITY_TO_STABLE_SET]
[ 2357.540581] FWMSG: [DSC] CH = 0   AE Stability Set [8] 
[ 2357.540712] FWMSG: [ISP] CH = 0 CMD = 0x0115 [CISP_CMD_CH_SIF_PIXEL_FORMAT_SET]
[ 2357.540830] FWMSG: [ISP] CH = 0 CMD = 0x0124 [CISP_CMD_CH_CAMERA_ERR_HANDLE_CONFIG]
[ 2357.540959] FWMSG: [ISP] CH = 0 CMD = 0x0d05 [CISP_CMD_CH_FACE_DETECTION_ENABLE]
[ 2357.550996] FWMSG: [ISP] CH = 0 CMD = 0x0d00 [CISP_CMD_CH_FACE_DETECTION_START]
[ 2357.551212] FWMSG: [ISP] CH = 0 CMD = 0x0208 [CISP_CMD_CH_AE_FRAME_RATE_MAX_SET]
[ 2357.551368] FWMSG: [DSC] CH = 0   AE Frame Rate Max Set [8448] 
[ 2357.551479] FWMSG: [ISP] CH = 0 CMD = 0x020a [CISP_CMD_CH_AE_FRAME_RATE_MIN_SET]
[ 2357.551587] FWMSG: [DSC] CH = 0   AE Frame Rate Min Set [8448] 
[ 2357.551723] FWMSG: [ISP] CH = 0 CMD = 0xc100 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_START]
[ 2357.551969] FWMSG: [ISP] CH = 0 CMD = 0xc102 [CISP_CMD_APPLE_CH_MOTION_HISTORY_START]
[ 2357.552189] FWMSG: [ISP] CH = 0 CMD = 0xc113 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_ENABLE]
[ 2357.552309] FWMSG: [ISP] CH = 0 CMD = 0x8106 [CISP_CMD_APPLE_CH_STREAMING_MODE_SET]
[ 2357.552330] FWMSG: [DSC] CH = 0   Streaming Mode Set [0]
[ 2357.552464] FWMSG: [ISP] CH = 0 CMD = 0x0b02 [CISP_CMD_CH_SCALER_BRIGHTNESS_SET]
[ 2357.552602] FWMSG: [ISP] CH = 0 CMD = 0x0b03 [CISP_CMD_CH_SCALER_CONTRAST_SET]
[ 2357.552728] FWMSG: [ISP] CH = 0 CMD = 0x0100 [CISP_CMD_CH_START]
[ 2360.746928] FWMSG: [ISP] CH = 0 CMD = 0x0101 [CISP_CMD_CH_STOP]
[ 2360.812597] FWMSG: [ISP] CH = 0 CMD = 0x0104 [CISP_CMD_CH_BUFFER_RETURN]
[ 2360.813296] FWMSG: [ISP] CH = 0 CMD = 0x0d01 [CISP_CMD_CH_FACE_DETECTION_STOP]
[ 2360.813495] FWMSG: [ISP] CH = 0 CMD = 0x0d04 [CISP_CMD_CH_FACE_DETECTION_DISABLE]
[ 2360.814221] FWMSG: [ISP] CH = 0 CMD = 0xc114 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_DISABLE]
[ 2360.814376] FWMSG: [ISP] CH = 0 CMD = 0xc103 [CISP_CMD_APPLE_CH_MOTION_HISTORY_STOP]
[ 2360.814497] FWMSG: [ISP] CH = 0 CMD = 0xc101 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_STOP]
[ 2360.822882] FWMSG: [ISP] CH = 0 CMD = 0x0301 [CISP_CMD_CH_AWB_STOP]
[ 2360.823005] FWMSG: [ISP] CH = 0 CMD = 0x0300 [CISP_CMD_CH_AWB_START]
[ 2360.826377] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2360.826461] FWMSG: [DSC] CH = 0   Camera current config Get [0] 
[ 2360.826681] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2360.826704] FWMSG: [DSC] CH = 0   Camera current config Get [1] 
[ 2360.826895] FWMSG: [ISP] CH = 0 CMD = 0x0107 [CISP_CMD_CH_CAMERA_CONFIG_SELECT]
[ 2360.828562] FWMSG: [DSC] CH = 0   Camera set to config -> 0 
[ 2360.828751] FWMSG: [ISP] CH = 0 CMD = 0x0801 [CISP_CMD_CH_CROP_SET]
[ 2360.828827] FWMSG: [DSC] CH = 0   CROP -> [0, 0][1280, 720] within [0, 0][1280, 720]
[ 2360.828994] FWMSG: [ISP] CH = 0 CMD = 0x0b01 [CISP_CMD_CH_OUTPUT_CONFIG_SET]
[ 2360.829116] FWMSG: [DSC] CH = 0   New Output config -> format = 1, range 0, size = 1280x720
[ 2360.829318] FWMSG: [ISP] CH = 0 CMD = 0x010e [CISP_CMD_CH_BUFFER_RECYCLE_MODE_SET]
[ 2360.829350] FWMSG: [DSC] CH = 0   Dynamic Buffers Recycling Mode Set [EMPTY ONLY] 
[ 2360.830806] FWMSG: [ISP] CH = 0 CMD = 0x010f [CISP_CMD_CH_BUFFER_RECYCLE_START]
[ 2360.831236] FWMSG: [ISP] CH = 0 CMD = 0x8206 [CISP_CMD_APPLE_CH_AE_METERING_MODE_SET]
[ 2360.831262] FWMSG: [DSC] CH = 0   AE Metering Mode Set [3] 
[ 2360.832630] FWMSG: [ISP] CH = 0 CMD = 0x0c00 [CISP_CMD_CH_DRC_START]
[ 2360.834022] FWMSG: [ISP] CH = 0 CMD = 0xc300 [CISP_CMD_APPLE_CH_TONE_CURVE_ADAPTATION_START]
[ 2360.834697] FWMSG: [ISP] CH = 0 CMD = 0x0218 [CISP_CMD_CH_AE_SPEED_SET]
[ 2360.834718] FWMSG: [DSC] CH = 0   AE Speed Set [60] 
[ 2360.837878] FWMSG: [ISP] CH = 0 CMD = 0x021a [CISP_CMD_CH_AE_STABILITY_SET]
[ 2360.837901] FWMSG: [DSC] CH = 0   AE Stability Set [75] 
[ 2360.838144] FWMSG: [ISP] CH = 0 CMD = 0x0229 [CISP_CMD_CH_AE_STABILITY_TO_STABLE_SET]
[ 2360.838165] FWMSG: [DSC] CH = 0   AE Stability Set [8] 
[ 2360.838290] FWMSG: [ISP] CH = 0 CMD = 0x0115 [CISP_CMD_CH_SIF_PIXEL_FORMAT_SET]
[ 2360.838548] FWMSG: [ISP] CH = 0 CMD = 0x0124 [CISP_CMD_CH_CAMERA_ERR_HANDLE_CONFIG]
[ 2360.839100] FWMSG: [ISP] CH = 0 CMD = 0x0d05 [CISP_CMD_CH_FACE_DETECTION_ENABLE]
[ 2360.839396] FWMSG: [ISP] CH = 0 CMD = 0x0d00 [CISP_CMD_CH_FACE_DETECTION_START]
[ 2360.839828] FWMSG: [ISP] CH = 0 CMD = 0x0208 [CISP_CMD_CH_AE_FRAME_RATE_MAX_SET]
[ 2360.839852] FWMSG: [DSC] CH = 0   AE Frame Rate Max Set [8448] 
[ 2360.839985] FWMSG: [ISP] CH = 0 CMD = 0x020a [CISP_CMD_CH_AE_FRAME_RATE_MIN_SET]
[ 2360.840091] FWMSG: [DSC] CH = 0   AE Frame Rate Min Set [8448] 
[ 2360.840224] FWMSG: [ISP] CH = 0 CMD = 0xc100 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_START]
[ 2360.840482] FWMSG: [ISP] CH = 0 CMD = 0xc102 [CISP_CMD_APPLE_CH_MOTION_HISTORY_START]
[ 2360.841122] FWMSG: [ISP] CH = 0 CMD = 0xc113 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_ENABLE]
[ 2360.841253] FWMSG: [ISP] CH = 0 CMD = 0x8106 [CISP_CMD_APPLE_CH_STREAMING_MODE_SET]
[ 2360.841275] FWMSG: [DSC] CH = 0   Streaming Mode Set [0]
[ 2360.841397] FWMSG: [ISP] CH = 0 CMD = 0x0b02 [CISP_CMD_CH_SCALER_BRIGHTNESS_SET]
[ 2360.841559] FWMSG: [ISP] CH = 0 CMD = 0x0b03 [CISP_CMD_CH_SCALER_CONTRAST_SET]
[ 2360.842140] FWMSG: [ISP] CH = 0 CMD = 0x0100 [CISP_CMD_CH_START]
[ 2361.935026] FWMSG: [ISP] CH = 0 CMD = 0x0101 [CISP_CMD_CH_STOP]
[ 2362.022059] FWMSG: [ISP] CH = 0 CMD = 0x0104 [CISP_CMD_CH_BUFFER_RETURN]
[ 2362.022828] FWMSG: [ISP] CH = 0 CMD = 0x0d01 [CISP_CMD_CH_FACE_DETECTION_STOP]
[ 2362.023047] FWMSG: [ISP] CH = 0 CMD = 0x0d04 [CISP_CMD_CH_FACE_DETECTION_DISABLE]
[ 2362.023338] FWMSG: [ISP] CH = 0 CMD = 0xc114 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_DISABLE]
[ 2362.023507] FWMSG: [ISP] CH = 0 CMD = 0xc103 [CISP_CMD_APPLE_CH_MOTION_HISTORY_STOP]
[ 2362.023654] FWMSG: [ISP] CH = 0 CMD = 0xc101 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_STOP]
[ 2362.030990] FWMSG: [ISP] CH = 0 CMD = 0x0301 [CISP_CMD_CH_AWB_STOP]
[ 2362.031124] FWMSG: [ISP] CH = 0 CMD = 0x0300 [CISP_CMD_CH_AWB_START]
[ 2362.035093] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2362.035180] FWMSG: [DSC] CH = 0   Camera current config Get [0] 
[ 2362.035332] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2362.035394] FWMSG: [DSC] CH = 0   Camera current config Get [1] 
[ 2362.035531] FWMSG: [ISP] CH = 0 CMD = 0x0107 [CISP_CMD_CH_CAMERA_CONFIG_SELECT]
[ 2362.037226] FWMSG: [DSC] CH = 0   Camera set to config -> 0 
[ 2362.037395] FWMSG: [ISP] CH = 0 CMD = 0x0801 [CISP_CMD_CH_CROP_SET]
[ 2362.037468] FWMSG: [DSC] CH = 0   CROP -> [0, 0][1280, 720] within [0, 0][1280, 720]
[ 2362.037610] FWMSG: [ISP] CH = 0 CMD = 0x0b01 [CISP_CMD_CH_OUTPUT_CONFIG_SET]
[ 2362.037743] FWMSG: [DSC] CH = 0   New Output config -> format = 1, range 0, size = 1280x720
[ 2362.037864] FWMSG: [ISP] CH = 0 CMD = 0x010e [CISP_CMD_CH_BUFFER_RECYCLE_MODE_SET]
[ 2362.037892] FWMSG: [DSC] CH = 0   Dynamic Buffers Recycling Mode Set [EMPTY ONLY] 
[ 2362.038014] FWMSG: [ISP] CH = 0 CMD = 0x010f [CISP_CMD_CH_BUFFER_RECYCLE_START]
[ 2362.038218] FWMSG: [ISP] CH = 0 CMD = 0x8206 [CISP_CMD_APPLE_CH_AE_METERING_MODE_SET]
[ 2362.038270] FWMSG: [DSC] CH = 0   AE Metering Mode Set [3] 
[ 2362.038389] FWMSG: [ISP] CH = 0 CMD = 0x0c00 [CISP_CMD_CH_DRC_START]
[ 2362.038561] FWMSG: [ISP] CH = 0 CMD = 0xc300 [CISP_CMD_APPLE_CH_TONE_CURVE_ADAPTATION_START]
[ 2362.038688] FWMSG: [ISP] CH = 0 CMD = 0x0218 [CISP_CMD_CH_AE_SPEED_SET]
[ 2362.038739] FWMSG: [DSC] CH = 0   AE Speed Set [60] 
[ 2362.038850] FWMSG: [ISP] CH = 0 CMD = 0x021a [CISP_CMD_CH_AE_STABILITY_SET]
[ 2362.038897] FWMSG: [DSC] CH = 0   AE Stability Set [75] 
[ 2362.039014] FWMSG: [ISP] CH = 0 CMD = 0x0229 [CISP_CMD_CH_AE_STABILITY_TO_STABLE_SET]
[ 2362.039034] FWMSG: [DSC] CH = 0   AE Stability Set [8] 
[ 2362.039156] FWMSG: [ISP] CH = 0 CMD = 0x0115 [CISP_CMD_CH_SIF_PIXEL_FORMAT_SET]
[ 2362.039354] FWMSG: [ISP] CH = 0 CMD = 0x0124 [CISP_CMD_CH_CAMERA_ERR_HANDLE_CONFIG]
[ 2362.039470] FWMSG: [ISP] CH = 0 CMD = 0x0d05 [CISP_CMD_CH_FACE_DETECTION_ENABLE]
[ 2362.039701] FWMSG: [ISP] CH = 0 CMD = 0x0d00 [CISP_CMD_CH_FACE_DETECTION_START]
[ 2362.039897] FWMSG: [ISP] CH = 0 CMD = 0x0208 [CISP_CMD_CH_AE_FRAME_RATE_MAX_SET]
[ 2362.040054] FWMSG: [DSC] CH = 0   AE Frame Rate Max Set [8448] 
[ 2362.040165] FWMSG: [ISP] CH = 0 CMD = 0x020a [CISP_CMD_CH_AE_FRAME_RATE_MIN_SET]
[ 2362.040270] FWMSG: [DSC] CH = 0   AE Frame Rate Min Set [8448] 
[ 2362.044348] FWMSG: [ISP] CH = 0 CMD = 0xc100 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_START]
[ 2362.048010] FWMSG: [ISP] CH = 0 CMD = 0xc102 [CISP_CMD_APPLE_CH_MOTION_HISTORY_START]
[ 2362.049495] FWMSG: [ISP] CH = 0 CMD = 0xc113 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_ENABLE]
[ 2362.049954] FWMSG: [ISP] CH = 0 CMD = 0x8106 [CISP_CMD_APPLE_CH_STREAMING_MODE_SET]
[ 2362.049975] FWMSG: [DSC] CH = 0   Streaming Mode Set [0]
[ 2362.050103] FWMSG: [ISP] CH = 0 CMD = 0x0b02 [CISP_CMD_CH_SCALER_BRIGHTNESS_SET]
[ 2362.052532] FWMSG: [ISP] CH = 0 CMD = 0x0b03 [CISP_CMD_CH_SCALER_CONTRAST_SET]
[ 2362.052849] FWMSG: [ISP] CH = 0 CMD = 0x0100 [CISP_CMD_CH_START]
[ 2373.489561] FWMSG: [ISP] CH = 0 CMD = 0x0101 [CISP_CMD_CH_STOP]
[ 2373.553611] FWMSG: [ISP] CH = 0 CMD = 0x0104 [CISP_CMD_CH_BUFFER_RETURN]
[ 2373.554415] FWMSG: [ISP] CH = 0 CMD = 0x0d01 [CISP_CMD_CH_FACE_DETECTION_STOP]
[ 2373.554635] FWMSG: [ISP] CH = 0 CMD = 0x0d04 [CISP_CMD_CH_FACE_DETECTION_DISABLE]
[ 2373.554885] FWMSG: [ISP] CH = 0 CMD = 0xc114 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_DISABLE]
[ 2373.555084] FWMSG: [ISP] CH = 0 CMD = 0xc103 [CISP_CMD_APPLE_CH_MOTION_HISTORY_STOP]
[ 2373.555256] FWMSG: [ISP] CH = 0 CMD = 0xc101 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_STOP]
[ 2449.303465] FWMSG: [ISP] CH = 0 CMD = 0x0301 [CISP_CMD_CH_AWB_STOP]
[ 2449.303587] FWMSG: [ISP] CH = 0 CMD = 0x0300 [CISP_CMD_CH_AWB_START]
[ 2449.306258] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2449.306337] FWMSG: [DSC] CH = 0   Camera current config Get [0] 
[ 2449.308262] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2449.308314] FWMSG: [DSC] CH = 0   Camera current config Get [1] 
[ 2449.308522] FWMSG: [ISP] CH = 0 CMD = 0x0107 [CISP_CMD_CH_CAMERA_CONFIG_SELECT]
[ 2449.310125] FWMSG: [DSC] CH = 0   Camera set to config -> 0 
[ 2449.310275] FWMSG: [ISP] CH = 0 CMD = 0x0801 [CISP_CMD_CH_CROP_SET]
[ 2449.310427] FWMSG: [DSC] CH = 0   CROP -> [160, 0][960, 720] within [0, 0][1280, 720]
[ 2449.310561] FWMSG: [ISP] CH = 0 CMD = 0x0b01 [CISP_CMD_CH_OUTPUT_CONFIG_SET]
[ 2449.310695] FWMSG: [DSC] CH = 0   New Output config -> format = 1, range 0, size = 640x480
[ 2449.310834] FWMSG: [ISP] CH = 0 CMD = 0x010e [CISP_CMD_CH_BUFFER_RECYCLE_MODE_SET]
[ 2449.310863] FWMSG: [DSC] CH = 0   Dynamic Buffers Recycling Mode Set [EMPTY ONLY] 
[ 2449.310984] FWMSG: [ISP] CH = 0 CMD = 0x010f [CISP_CMD_CH_BUFFER_RECYCLE_START]
[ 2449.311196] FWMSG: [ISP] CH = 0 CMD = 0x8206 [CISP_CMD_APPLE_CH_AE_METERING_MODE_SET]
[ 2449.311220] FWMSG: [DSC] CH = 0   AE Metering Mode Set [3] 
[ 2449.311348] FWMSG: [ISP] CH = 0 CMD = 0x0c00 [CISP_CMD_CH_DRC_START]
[ 2449.313031] FWMSG: [ISP] CH = 0 CMD = 0xc300 [CISP_CMD_APPLE_CH_TONE_CURVE_ADAPTATION_START]
[ 2449.313681] FWMSG: [ISP] CH = 0 CMD = 0x0218 [CISP_CMD_CH_AE_SPEED_SET]
[ 2449.313726] FWMSG: [DSC] CH = 0   AE Speed Set [60] 
[ 2449.313835] FWMSG: [ISP] CH = 0 CMD = 0x021a [CISP_CMD_CH_AE_STABILITY_SET]
[ 2449.313885] FWMSG: [DSC] CH = 0   AE Stability Set [75] 
[ 2449.314003] FWMSG: [ISP] CH = 0 CMD = 0x0229 [CISP_CMD_CH_AE_STABILITY_TO_STABLE_SET]
[ 2449.314036] FWMSG: [DSC] CH = 0   AE Stability Set [8] 
[ 2449.314149] FWMSG: [ISP] CH = 0 CMD = 0x0115 [CISP_CMD_CH_SIF_PIXEL_FORMAT_SET]
[ 2449.314421] FWMSG: [ISP] CH = 0 CMD = 0x0124 [CISP_CMD_CH_CAMERA_ERR_HANDLE_CONFIG]
[ 2449.314546] FWMSG: [ISP] CH = 0 CMD = 0x0d05 [CISP_CMD_CH_FACE_DETECTION_ENABLE]
[ 2449.314736] FWMSG: [ISP] CH = 0 CMD = 0x0d00 [CISP_CMD_CH_FACE_DETECTION_START]
[ 2449.314947] FWMSG: [ISP] CH = 0 CMD = 0x0208 [CISP_CMD_CH_AE_FRAME_RATE_MAX_SET]
[ 2449.315150] FWMSG: [DSC] CH = 0   AE Frame Rate Max Set [8448] 
[ 2449.315255] FWMSG: [ISP] CH = 0 CMD = 0x020a [CISP_CMD_CH_AE_FRAME_RATE_MIN_SET]
[ 2449.315359] FWMSG: [DSC] CH = 0   AE Frame Rate Min Set [8448] 
[ 2449.315486] FWMSG: [ISP] CH = 0 CMD = 0xc100 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_START]
[ 2449.315738] FWMSG: [ISP] CH = 0 CMD = 0xc102 [CISP_CMD_APPLE_CH_MOTION_HISTORY_START]
[ 2449.315972] FWMSG: [ISP] CH = 0 CMD = 0xc113 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_ENABLE]
[ 2449.316094] FWMSG: [ISP] CH = 0 CMD = 0x8106 [CISP_CMD_APPLE_CH_STREAMING_MODE_SET]
[ 2449.316115] FWMSG: [DSC] CH = 0   Streaming Mode Set [0]
[ 2449.316530] FWMSG: [ISP] CH = 0 CMD = 0x0b02 [CISP_CMD_CH_SCALER_BRIGHTNESS_SET]
[ 2449.316670] FWMSG: [ISP] CH = 0 CMD = 0x0b03 [CISP_CMD_CH_SCALER_CONTRAST_SET]
[ 2449.317068] FWMSG: [ISP] CH = 0 CMD = 0x0100 [CISP_CMD_CH_START]
[ 2452.443981] FWMSG: [ISP] CH = 0 CMD = 0x0101 [CISP_CMD_CH_STOP]
[ 2452.510074] FWMSG: [ISP] CH = 0 CMD = 0x0104 [CISP_CMD_CH_BUFFER_RETURN]
[ 2452.510785] FWMSG: [ISP] CH = 0 CMD = 0x0d01 [CISP_CMD_CH_FACE_DETECTION_STOP]
[ 2452.510989] FWMSG: [ISP] CH = 0 CMD = 0x0d04 [CISP_CMD_CH_FACE_DETECTION_DISABLE]
[ 2452.511458] FWMSG: [ISP] CH = 0 CMD = 0xc114 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_DISABLE]
[ 2452.511606] FWMSG: [ISP] CH = 0 CMD = 0xc103 [CISP_CMD_APPLE_CH_MOTION_HISTORY_STOP]
[ 2452.511750] FWMSG: [ISP] CH = 0 CMD = 0xc101 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_STOP]
[ 2452.517522] FWMSG: [ISP] CH = 0 CMD = 0x0301 [CISP_CMD_CH_AWB_STOP]
[ 2452.517662] FWMSG: [ISP] CH = 0 CMD = 0x0300 [CISP_CMD_CH_AWB_START]
[ 2452.521312] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2452.521394] FWMSG: [DSC] CH = 0   Camera current config Get [0] 
[ 2452.521593] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2452.521668] FWMSG: [DSC] CH = 0   Camera current config Get [1] 
[ 2452.521806] FWMSG: [ISP] CH = 0 CMD = 0x0107 [CISP_CMD_CH_CAMERA_CONFIG_SELECT]
[ 2452.523462] FWMSG: [DSC] CH = 0   Camera set to config -> 0 
[ 2452.523676] FWMSG: [ISP] CH = 0 CMD = 0x0801 [CISP_CMD_CH_CROP_SET]
[ 2452.523746] FWMSG: [DSC] CH = 0   CROP -> [0, 0][1280, 720] within [0, 0][1280, 720]
[ 2452.523954] FWMSG: [ISP] CH = 0 CMD = 0x0b01 [CISP_CMD_CH_OUTPUT_CONFIG_SET]
[ 2452.524042] FWMSG: [DSC] CH = 0   New Output config -> format = 1, range 0, size = 1280x720
[ 2452.525297] FWMSG: [ISP] CH = 0 CMD = 0x010e [CISP_CMD_CH_BUFFER_RECYCLE_MODE_SET]
[ 2452.525327] FWMSG: [DSC] CH = 0   Dynamic Buffers Recycling Mode Set [EMPTY ONLY] 
[ 2452.525486] FWMSG: [ISP] CH = 0 CMD = 0x010f [CISP_CMD_CH_BUFFER_RECYCLE_START]
[ 2452.525742] FWMSG: [ISP] CH = 0 CMD = 0x8206 [CISP_CMD_APPLE_CH_AE_METERING_MODE_SET]
[ 2452.525766] FWMSG: [DSC] CH = 0   AE Metering Mode Set [3] 
[ 2452.525964] FWMSG: [ISP] CH = 0 CMD = 0x0c00 [CISP_CMD_CH_DRC_START]
[ 2452.527155] FWMSG: [ISP] CH = 0 CMD = 0xc300 [CISP_CMD_APPLE_CH_TONE_CURVE_ADAPTATION_START]
[ 2452.528208] FWMSG: [ISP] CH = 0 CMD = 0x0218 [CISP_CMD_CH_AE_SPEED_SET]
[ 2452.528232] FWMSG: [DSC] CH = 0   AE Speed Set [60] 
[ 2452.528934] FWMSG: [ISP] CH = 0 CMD = 0x021a [CISP_CMD_CH_AE_STABILITY_SET]
[ 2452.528958] FWMSG: [DSC] CH = 0   AE Stability Set [75] 
[ 2452.529471] FWMSG: [ISP] CH = 0 CMD = 0x0229 [CISP_CMD_CH_AE_STABILITY_TO_STABLE_SET]
[ 2452.529495] FWMSG: [DSC] CH = 0   AE Stability Set [8] 
[ 2452.529639] FWMSG: [ISP] CH = 0 CMD = 0x0115 [CISP_CMD_CH_SIF_PIXEL_FORMAT_SET]
[ 2452.529771] FWMSG: [ISP] CH = 0 CMD = 0x0124 [CISP_CMD_CH_CAMERA_ERR_HANDLE_CONFIG]
[ 2452.529927] FWMSG: [ISP] CH = 0 CMD = 0x0d05 [CISP_CMD_CH_FACE_DETECTION_ENABLE]
[ 2452.530507] FWMSG: [ISP] CH = 0 CMD = 0x0d00 [CISP_CMD_CH_FACE_DETECTION_START]
[ 2452.530697] FWMSG: [ISP] CH = 0 CMD = 0x0208 [CISP_CMD_CH_AE_FRAME_RATE_MAX_SET]
[ 2452.530856] FWMSG: [DSC] CH = 0   AE Frame Rate Max Set [8448] 
[ 2452.531096] FWMSG: [ISP] CH = 0 CMD = 0x020a [CISP_CMD_CH_AE_FRAME_RATE_MIN_SET]
[ 2452.531206] FWMSG: [DSC] CH = 0   AE Frame Rate Min Set [8448] 
[ 2452.531338] FWMSG: [ISP] CH = 0 CMD = 0xc100 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_START]
[ 2452.531602] FWMSG: [ISP] CH = 0 CMD = 0xc102 [CISP_CMD_APPLE_CH_MOTION_HISTORY_START]
[ 2452.531825] FWMSG: [ISP] CH = 0 CMD = 0xc113 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_ENABLE]
[ 2452.531954] FWMSG: [ISP] CH = 0 CMD = 0x8106 [CISP_CMD_APPLE_CH_STREAMING_MODE_SET]
[ 2452.531975] FWMSG: [DSC] CH = 0   Streaming Mode Set [0]
[ 2452.532098] FWMSG: [ISP] CH = 0 CMD = 0x0b02 [CISP_CMD_CH_SCALER_BRIGHTNESS_SET]
[ 2452.532244] FWMSG: [ISP] CH = 0 CMD = 0x0b03 [CISP_CMD_CH_SCALER_CONTRAST_SET]
[ 2452.532355] FWMSG: [ISP] CH = 0 CMD = 0x0100 [CISP_CMD_CH_START]
[ 2453.628197] FWMSG: [ISP] CH = 0 CMD = 0x0101 [CISP_CMD_CH_STOP]
[ 2453.710198] FWMSG: [ISP] CH = 0 CMD = 0x0104 [CISP_CMD_CH_BUFFER_RETURN]
[ 2453.710933] FWMSG: [ISP] CH = 0 CMD = 0x0d01 [CISP_CMD_CH_FACE_DETECTION_STOP]
[ 2453.711163] FWMSG: [ISP] CH = 0 CMD = 0x0d04 [CISP_CMD_CH_FACE_DETECTION_DISABLE]
[ 2453.711361] FWMSG: [ISP] CH = 0 CMD = 0xc114 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_DISABLE]
[ 2453.711500] FWMSG: [ISP] CH = 0 CMD = 0xc103 [CISP_CMD_APPLE_CH_MOTION_HISTORY_STOP]
[ 2453.711631] FWMSG: [ISP] CH = 0 CMD = 0xc101 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_STOP]
[ 2453.718028] FWMSG: [ISP] CH = 0 CMD = 0x0301 [CISP_CMD_CH_AWB_STOP]
[ 2453.718153] FWMSG: [ISP] CH = 0 CMD = 0x0300 [CISP_CMD_CH_AWB_START]
[ 2453.721897] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2453.722029] FWMSG: [DSC] CH = 0   Camera current config Get [0] 
[ 2453.722193] FWMSG: [ISP] CH = 0 CMD = 0x0106 [CISP_CMD_CH_CAMERA_CONFIG_GET]
[ 2453.722274] FWMSG: [DSC] CH = 0   Camera current config Get [1] 
[ 2453.722406] FWMSG: [ISP] CH = 0 CMD = 0x0107 [CISP_CMD_CH_CAMERA_CONFIG_SELECT]
[ 2453.724096] FWMSG: [DSC] CH = 0   Camera set to config -> 0 
[ 2453.724267] FWMSG: [ISP] CH = 0 CMD = 0x0801 [CISP_CMD_CH_CROP_SET]
[ 2453.724296] FWMSG: [DSC] CH = 0   CROP -> [0, 0][1280, 720] within [0, 0][1280, 720]
[ 2453.724450] FWMSG: [ISP] CH = 0 CMD = 0x0b01 [CISP_CMD_CH_OUTPUT_CONFIG_SET]
[ 2453.724613] FWMSG: [DSC] CH = 0   New Output config -> format = 1, range 0, size = 1280x720
[ 2453.724727] FWMSG: [ISP] CH = 0 CMD = 0x010e [CISP_CMD_CH_BUFFER_RECYCLE_MODE_SET]
[ 2453.724755] FWMSG: [DSC] CH = 0   Dynamic Buffers Recycling Mode Set [EMPTY ONLY] 
[ 2453.724877] FWMSG: [ISP] CH = 0 CMD = 0x010f [CISP_CMD_CH_BUFFER_RECYCLE_START]
[ 2453.725061] FWMSG: [ISP] CH = 0 CMD = 0x8206 [CISP_CMD_APPLE_CH_AE_METERING_MODE_SET]
[ 2453.725109] FWMSG: [DSC] CH = 0   AE Metering Mode Set [3] 
[ 2453.725219] FWMSG: [ISP] CH = 0 CMD = 0x0c00 [CISP_CMD_CH_DRC_START]
[ 2453.725410] FWMSG: [ISP] CH = 0 CMD = 0xc300 [CISP_CMD_APPLE_CH_TONE_CURVE_ADAPTATION_START]
[ 2453.725523] FWMSG: [ISP] CH = 0 CMD = 0x0218 [CISP_CMD_CH_AE_SPEED_SET]
[ 2453.725573] FWMSG: [DSC] CH = 0   AE Speed Set [60] 
[ 2453.725682] FWMSG: [ISP] CH = 0 CMD = 0x021a [CISP_CMD_CH_AE_STABILITY_SET]
[ 2453.725729] FWMSG: [DSC] CH = 0   AE Stability Set [75] 
[ 2453.725843] FWMSG: [ISP] CH = 0 CMD = 0x0229 [CISP_CMD_CH_AE_STABILITY_TO_STABLE_SET]
[ 2453.725883] FWMSG: [DSC] CH = 0   AE Stability Set [8] 
[ 2453.726005] FWMSG: [ISP] CH = 0 CMD = 0x0115 [CISP_CMD_CH_SIF_PIXEL_FORMAT_SET]
[ 2453.726129] FWMSG: [ISP] CH = 0 CMD = 0x0124 [CISP_CMD_CH_CAMERA_ERR_HANDLE_CONFIG]
[ 2453.726245] FWMSG: [ISP] CH = 0 CMD = 0x0d05 [CISP_CMD_CH_FACE_DETECTION_ENABLE]
[ 2453.726441] FWMSG: [ISP] CH = 0 CMD = 0x0d00 [CISP_CMD_CH_FACE_DETECTION_START]
[ 2453.726652] FWMSG: [ISP] CH = 0 CMD = 0x0208 [CISP_CMD_CH_AE_FRAME_RATE_MAX_SET]
[ 2453.726807] FWMSG: [DSC] CH = 0   AE Frame Rate Max Set [8448] 
[ 2453.726920] FWMSG: [ISP] CH = 0 CMD = 0x020a [CISP_CMD_CH_AE_FRAME_RATE_MIN_SET]
[ 2453.727025] FWMSG: [DSC] CH = 0   AE Frame Rate Min Set [8448] 
[ 2453.727153] FWMSG: [ISP] CH = 0 CMD = 0xc100 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_START]
[ 2453.727385] FWMSG: [ISP] CH = 0 CMD = 0xc102 [CISP_CMD_APPLE_CH_MOTION_HISTORY_START]
[ 2453.727594] FWMSG: [ISP] CH = 0 CMD = 0xc113 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_ENABLE]
[ 2453.727712] FWMSG: [ISP] CH = 0 CMD = 0x8106 [CISP_CMD_APPLE_CH_STREAMING_MODE_SET]
[ 2453.727732] FWMSG: [DSC] CH = 0   Streaming Mode Set [0]
[ 2453.727854] FWMSG: [ISP] CH = 0 CMD = 0x0b02 [CISP_CMD_CH_SCALER_BRIGHTNESS_SET]
[ 2453.727995] FWMSG: [ISP] CH = 0 CMD = 0x0b03 [CISP_CMD_CH_SCALER_CONTRAST_SET]
[ 2453.728096] FWMSG: [ISP] CH = 0 CMD = 0x0100 [CISP_CMD_CH_START]
[ 2465.464695] FWMSG: [ISP] CH = 0 CMD = 0x0101 [CISP_CMD_CH_STOP]
[ 2465.530210] FWMSG: [ISP] CH = 0 CMD = 0x0104 [CISP_CMD_CH_BUFFER_RETURN]
[ 2465.530935] FWMSG: [ISP] CH = 0 CMD = 0x0d01 [CISP_CMD_CH_FACE_DETECTION_STOP]
[ 2465.531133] FWMSG: [ISP] CH = 0 CMD = 0x0d04 [CISP_CMD_CH_FACE_DETECTION_DISABLE]
[ 2465.531317] FWMSG: [ISP] CH = 0 CMD = 0xc114 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_DISABLE]
[ 2465.531533] FWMSG: [ISP] CH = 0 CMD = 0xc103 [CISP_CMD_APPLE_CH_MOTION_HISTORY_STOP]
[ 2465.531703] FWMSG: [ISP] CH = 0 CMD = 0xc101 [CISP_CMD_APPLE_CH_TEMPORAL_FILTER_STOP]
kmzby commented 4 years ago

Exactly the same as @GiovanniGrieco reports: Manjaro, 5.4.28-1-MANJARO, MBP 13" Early 2015 (12.1). Camera works just fine in Blink-based browsers, mplayer and V4L Test Bench. However, Teams, VLC, Viber and Kamoso only show a black screen. VLC stderr: Invalid PCR value in ES_OUT_SET_(GROUP_)PCR !

toger5 commented 4 years ago

Dont knwo if that is of any help but I have the same issue. also fedora 31. Mbp early 2015

gianlucapettinello commented 4 years ago

Same here

toger5 commented 4 years ago

This issue only happend to me on cheese app. I updated to fedora 32 and cheese 3.34. Now it works fine. So this is most probably not an issue with bcwc_pcie but with cheese which is fixed now.

keplersj commented 4 years ago

I'm experiencing this issue on Manjaro as well. Gnome Cheese and Blink-based browsers are able to get video from the camera, while Microsoft Teams (AUR and Flatpak) aren't. It seems strange strange to me given the Teams app is just an Electron application.

Please let me know what is needed to debug this issue and how we can fix it.

kmzby commented 3 years ago

Same reported in https://github.com/patjak/bcwc_pcie/issues/198