Forums - Disable LPM manually on Snapdragon 8 Gen 2 HDK?

1 post / 0 new
Disable LPM manually on Snapdragon 8 Gen 2 HDK?
shambhavi.balam...
Join Date: 6 Nov 23
Posts: 2
Posted: Wed, 2024-06-12 01:40

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. 

 

 

  • Up1
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.