PS4 gamepad will connect then disconnect consistently when running JP 4.5.1 on a Nano 4GB

Hi @bluecamel , thanks for sharing this. Do you mean your ps4 gamepad can work after you remove the patch of this?

https://nv-tegra.nvidia.com/gitweb/?p=linux-4.9.git;a=blobdiff;f=net/bluetooth/hci_conn.c;h=fe4fb0c1fa618d7499eb5e993589ca92038674b9;hp=cc061495f6535264870e00dd4177478b290eee13;hb=0e7ef70f54add9edc9753e35ea38bd5c814d99d0;hpb=86b84162380c2a499f44c4bd76e6dac154a413b8

Yes. It fixes the issue where it disconnects immediately after connecting (after the nano is rebooted).

Hello,
I struggle with exactly the same issue. Could you please provide more information of how to fix this? Do I need to comment it out and how to build afterwards?

BR Patrick

Hello,

This requires to download the kernel source, remove above lines and then rebuild the kernel.

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html#wwpID0E06C0HA

@WayneWWW,

Will this correction be incorporated in the upcoming JP 4.6 release?

Yes, it will.

2 Likes

I am on Jetson xavier NX, which is the kernel source i should download ?
which lines should I remove from where? @WayneWWW

Just flash with sdkmanager 4.6.1 and by default it will include this patch.

I am on jetpack 4.5.1 and is it okay to upgrade it to 4.6.1?
I have got many files running currently.

Then download the kernel source from here.

https://developer.nvidia.com/jetpack-sdk-451-archive

Follow my previous instructions to build the kernel.

And open that git website and search the file in your kernel source.

sorry, is kernel source the very same sd card image(jetpack 4.5.1)? @WayneWWW

No, they are different things. Kernel means the linux kernel image.

SD card image is a image that includes the file system, kernel image and kernel dtb.

After building the kernel, put it and replace the /boot/Image on your board, reboot, and new kernel will take effect.

If this is new to you, then I have to warn you that replacing kernel will have chance to break the system and let it not able to boot.

If you don’t want to do such stuff, you can also use apt update/upgrade to do the system upgrade. Our OTA package will let your system upgrades to jp4.6.1.

I am kinda new to this, you mean just sudo apt update & sudo apt upgrade will patch it for me?

No, it is not “patch it for you”. It will upgrade the whole system to jetpack4.6.1. Kernel is just one of the components that gets update.

Please refer to the document.
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/updating_jetson_and_host.html#wwpID0E0AL0HA

Thank you, this fixed my issue.

1 Like