--- DSDT-Device-CAM7.txt.dsl 2023-04-03 01:06:31.624764109 +0100 +++ DSDT-Device-CAM8.txt.dsl 2023-04-03 01:06:40.466764295 +0100 @@ -1,11 +1,11 @@ - Device (CAM7) + Device (CAM8) { Name (_ADR, Zero) // _ADR: Address Name (_HID, "OVTI2680") // _HID: Hardware ID Name (_CID, "OVTI2680") // _CID: Compatible ID Name (_SUB, "INTL0000") // _SUB: Subsystem ID Name (_DDN, "OV2680") // _DDN: DOS Device Name - Name (_UID, One) // _UID: Unique ID + Name (_UID, 0x02) // _UID: Unique ID Name (_DEP, Package (0x02) // _DEP: Dependencies { I2C5, @@ -15,25 +15,25 @@ { P28P, P18P, - CLK1 + CLK0 }) Name (PLDB, Package (0x01) { Buffer (0x14) { /* 0000 */ 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ........ - /* 0008 */ 0x61, 0x0C, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, // a....... + /* 0008 */ 0x69, 0x0C, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, // i....... /* 0010 */ 0xFF, 0xFF, 0xFF, 0xFF // .... } }) Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { - Return (PLDB) /* \_SB_.I2C1.CAM7.PLDB */ + Return (PLDB) /* \_SB_.I2C2.CAM8.PLDB */ } Method (_STA, 0, NotSerialized) // _STA: Status { - If ((FCAS == 0x06)) + If ((RCAS == 0x06)) { Return (0x0F) } @@ -49,28 +49,28 @@ "\\_SB.GPO1", 0x00, ResourceConsumer, , ) { // Pin list - 0x0012 + 0x0011 } GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly, "\\_SB.GPO1", 0x00, ResourceConsumer, , ) { // Pin list - 0x0016 + 0x0015 } - I2cSerialBusV2 (0x0010, ControllerInitiated, 0x00061A80, - AddressingMode7Bit, "\\_SB.I2C1", + I2cSerialBusV2 (0x0036, ControllerInitiated, 0x00061A80, + AddressingMode7Bit, "\\_SB.I2C2", 0x00, ResourceConsumer, , Exclusive, ) I2cSerialBusV2 (0x000C, ControllerInitiated, 0x00061A80, - AddressingMode7Bit, "\\_SB.I2C1", + AddressingMode7Bit, "\\_SB.I2C2", 0x00, ResourceConsumer, , Exclusive, ) I2cSerialBusV2 (0x0054, ControllerInitiated, 0x00061A80, - AddressingMode7Bit, "\\_SB.I2C1", + AddressingMode7Bit, "\\_SB.I2C2", 0x00, ResourceConsumer, , Exclusive, ) }) - Return (SBUF) /* \_SB_.I2C1.CAM7._CRS.SBUF */ + Return (SBUF) /* \_SB_.I2C2.CAM8._CRS.SBUF */ } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method @@ -102,7 +102,7 @@ If ((Arg0 == ToUUID ("ea3b7bd8-e09b-4239-ad6e-ed525f3f26ab") /* Unknown UUID */)) { - Return (Zero) + Return (One) } If ((Arg0 == ToUUID ("b65ac492-9e30-4d60-b5b2-f497c790d9cf") /* Unknown UUID */)) @@ -139,17 +139,17 @@ If ((Arg2 == 0x02)) { - Return (0x01001000) + Return (0x02003600) } If ((Arg2 == 0x03)) { - Return (0x01000C01) + Return (0x02000C01) } If ((Arg2 == 0x04)) { - Return (0x01005402) + Return (0x02005402) } } @@ -162,17 +162,16 @@ If ((Arg2 == 0x02)) { - Return (0x01001200) + Return (0x01001100) } If ((Arg2 == 0x03)) { - Return (0x01001601) + Return (0x01001501) } } Return (Zero) } } - }