My HDK goes into LPM after being active for a few hours and is not recognized anymore by adb unless I manually power cycle it to reboot. There is no software solution I found to remotely reboot the board. I notice that the reboot is actually disabling LPM, which is probably the required power mode.
Is there a way to stop the auto switching to LPM after a few hours of use? Launching a bg process didnt help and the board still went out of reach. Basically, the bcdDevice value changes.
[3997038.970112] usb 6-1: USB disconnect, device number 4
[3997040.080525] usb 6-1: new SuperSpeed USB device number 5 using xhci_hcd
[3997040.101687] usb 6-1: LPM exit latency is zeroed, disabling LPM. ---> I need to be able to do this step manually
[3997040.106140] usb 6-1: New USB device found, idVendor=05c6, idProduct=901d, bcdDevice= 5.15
[3997040.106149] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[3997040.106153] usb 6-1: Product: KALAMAP-HDK_CID:0437_SN:00CA2B6E (working configuration)
[3997040.106156] usb 6-1: Manufacturer: QUALCOMM
[3997040.106159] usb 6-1: SerialNumber: 2e4a1af1
[4000790.577903] usb 6-1: USB disconnect, device number 5
[4000804.700331] usb 6-1: new SuperSpeed USB device number 6 using xhci_hcd
[4000804.728602] usb 6-1: New USB device found, idVendor=05c6, idProduct=901d, bcdDevice= 0.00
[4000804.728611] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[4000804.728615] usb 6-1: Product: QUSB_BULK_CID:0437_SN:00CA2B6E (adb cannot detect the board anymore)
[4000804.728618] usb 6-1: Manufacturer: Qualcomm CDMA Technologies MSM
[4000804.728621] usb 6-1: SerialNumber: 2e4a1af1
I cannot run any long benchmarks on the Snapdragon 8 Gen HDK due to this as it needs a physical plugging out and plugging in to reboot and return to the normal power mode. Also tried disabling autosuspend on usb-6.1 where the board is connected, couldn't keep the board alive for adb shell.
Any help is much appreciated.