openrazer / openrazer

Open source driver and user-space daemon to control Razer lighting and other features on GNU/Linux
https://openrazer.github.io
GNU General Public License v2.0
3.66k stars 531 forks source link

Compiling OpenRazer kernel modules on Nvidia Jetson Nano Ubuntu 18.04 #1735

Closed sh1sh1n11 closed 2 years ago

sh1sh1n11 commented 2 years ago

Distribution

NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

uname -a output

Linux ubuntu 4.9.253-tegra #1 SMP PREEMPT Sun Jan 16 03:46:29 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

Issue

I am using Nvidia Jetson Nano B01 4GB soc arm64 (aarch64) board. Also, I currently run the 4.9.253-tegra kernel.

When I try to install the 'openrazer-driver-dkms' package it gives me the following output.

sudo apt-get install openrazer-driver-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  dkms linux-headers-4.15.0-166 linux-headers-4.15.0-166-generic linux-headers-generic
Suggested packages:
  menu
The following NEW packages will be installed:
  dkms linux-headers-4.15.0-166 linux-headers-4.15.0-166-generic linux-headers-generic openrazer-driver-dkms
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.0 MB of archives.
After this operation, 86.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 dkms all 2.3-3ubuntu9.7 [68.1 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 linux-headers-4.15.0-166 all 4.15.0-166.174 [10.9 
MB]
Get:3 http://ppa.launchpad.net/openrazer/stable/ubuntu bionic/main arm64 openrazer-driver-dkms all 3.2.0~ubuntu18.04.1 
[59.9 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 linux-headers-4.15.0-166-generic arm64 4.15.0-166.
174 [882 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 linux-headers-generic arm64 4.15.0.166.155 [2,464 
B]
Fetched 12.0 MB in 4s (2,799 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package dkms.
(Reading database ... 128311 files and directories currently installed.)
Preparing to unpack .../dkms_2.3-3ubuntu9.7_all.deb ...
Unpacking dkms (2.3-3ubuntu9.7) ...
Selecting previously unselected package linux-headers-4.15.0-166.
Preparing to unpack .../linux-headers-4.15.0-166_4.15.0-166.174_all.deb ...
Unpacking linux-headers-4.15.0-166 (4.15.0-166.174) ...
Selecting previously unselected package linux-headers-4.15.0-166-generic.
Preparing to unpack .../linux-headers-4.15.0-166-generic_4.15.0-166.174_arm64.deb ...
Unpacking linux-headers-4.15.0-166-generic (4.15.0-166.174) ...
Selecting previously unselected package linux-headers-generic.
Preparing to unpack .../linux-headers-generic_4.15.0.166.155_arm64.deb ...
Unpacking linux-headers-generic (4.15.0.166.155) ...
Selecting previously unselected package openrazer-driver-dkms.
Preparing to unpack .../openrazer-driver-dkms_3.2.0~ubuntu18.04.1_all.deb ...
Unpacking openrazer-driver-dkms (3.2.0~ubuntu18.04.1) ...
Setting up linux-headers-4.15.0-166 (4.15.0-166.174) ...
Setting up dkms (2.3-3ubuntu9.7) ...
Setting up linux-headers-4.15.0-166-generic (4.15.0-166.174) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 4.15.0-166-generic
   ...done.
Setting up linux-headers-generic (4.15.0.166.155) ...
Setting up openrazer-driver-dkms (3.2.0~ubuntu18.04.1) ...
Loading new openrazer-driver-3.2.0 DKMS files...
It is likely that 4.9.253-tegra belongs to a chroot's host
Building for 4.15.0-166-generic and 4.9.253-tegra
Building initial module for 4.15.0-166-generic
Done.

razerkbd:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.15.0-166-generic/updates/dkms/

razermouse.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.15.0-166-generic/updates/dkms/

razerkraken.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.15.0-166-generic/updates/dkms/

razeraccessory.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.15.0-166-generic/updates/dkms/
depmod...

DKMS: install completed.
Building initial module for 4.9.253-tegra
ERROR (dkms apport): kernel package linux-headers-4.9.253-tegra is not supported
Error! Bad return status for module build on kernel: 4.9.253-tegra (aarch64)
Consult /var/lib/dkms/openrazer-driver/3.2.0/build/make.log for more information.

ADD YOUR USER TO THE PLUGDEV GROUP: 'sudo gpasswd -a $USER plugdev'
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

Output of make.log

(The make.log file sitting in the /var/lib/dkms/openrazer-driver/3.2.0/build/ folder.)

DKMS make.log for openrazer-driver-3.2.0 for kernel 4.9.253-tegra (aarch64)
Sun Jan 16 06:33:04 UTC 2022
-e
::^[[32m Compiling OpenRazer kernel modules^[[0m
========================================
make -C /lib/modules/4.9.253-tegra/build M=/var/lib/dkms/openrazer-driver/3.2.0/build/driver modules
make[1]: Entering directory '/usr/src/linux-headers-4.9.253-tegra-ubuntu18.04_aarch64/kernel-4.9'
  CC [M]  /var/lib/dkms/openrazer-driver/3.2.0/build/driver/razerkbd_driver.o
/var/lib/dkms/openrazer-driver/3.2.0/build/driver/razerkbd_driver.c: In function ‘razer_attr_read_get_serial’:
/var/lib/dkms/openrazer-driver/3.2.0/build/driver/razerkbd_driver.c:1186:9: warning: argument 2 null where non-null exp
ected [-Wnonnull]
         strncpy(&serial_string[0], dmi_get_system_info(DMI_PRODUCT_SERIAL), 50);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./arch/arm64/include/asm/processor.h:37:0,
                 from ./arch/arm64/include/asm/spinlock.h:21,
                 from ./include/linux/spinlock.h:87,
                 from ./include/linux/mmzone.h:7,
                 from ./include/linux/gfp.h:5,
                 from ./include/linux/slab.h:14,
                 from /var/lib/dkms/openrazer-driver/3.2.0/build/driver/razerkbd_driver.c:22:
./include/linux/string.h:24:15: note: in a call to function ‘strncpy’ declared here
 extern char * strncpy(char *,const char *, __kernel_size_t);
               ^~~~~~~
  CC [M]  /var/lib/dkms/openrazer-driver/3.2.0/build/driver/razercommon.o
  CC [M]  /var/lib/dkms/openrazer-driver/3.2.0/build/driver/razerchromacommon.o
  LD [M]  /var/lib/dkms/openrazer-driver/3.2.0/build/driver/razerkbd.o
  CC [M]  /var/lib/dkms/openrazer-driver/3.2.0/build/driver/razermouse_driver.o
  LD [M]  /var/lib/dkms/openrazer-driver/3.2.0/build/driver/razermouse.o
  CC [M]  /var/lib/dkms/openrazer-driver/3.2.0/build/driver/razerkraken_driver.o
  LD [M]  /var/lib/dkms/openrazer-driver/3.2.0/build/driver/razerkraken.o
  CC [M]  /var/lib/dkms/openrazer-driver/3.2.0/build/driver/razeraccessory_driver.o
/var/lib/dkms/openrazer-driver/3.2.0/build/driver/razeraccessory_driver.c:2110:6: error: ‘struct hid_driver’ has no mem
ber named ‘match’
     .match = razer_accessory_match,
      ^~~~~
/var/lib/dkms/openrazer-driver/3.2.0/build/driver/razeraccessory_driver.c:2110:14: error: initialization from incompati
ble pointer type [-Werror=incompatible-pointer-types]
     .match = razer_accessory_match,
              ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/openrazer-driver/3.2.0/build/driver/razeraccessory_driver.c:2110:14: note: (near initialization for ‘raze
r_accessory_driver.dyn_list.next’)
/var/lib/dkms/openrazer-driver/3.2.0/build/driver/razeraccessory_driver.c:2107:51: warning: missing braces around initi
alizer [-Wmissing-braces]
 static struct hid_driver razer_accessory_driver = {
                                                   ^
/var/lib/dkms/openrazer-driver/3.2.0/build/driver/razeraccessory_driver.c:2110:14:
     .match = razer_accessory_match,
              {                    }
cc1: some warnings being treated as errors
scripts/Makefile.build:335: recipe for target '/var/lib/dkms/openrazer-driver/3.2.0/build/driver/razeraccessory_driver.
o' failed
make[2]: *** [/var/lib/dkms/openrazer-driver/3.2.0/build/driver/razeraccessory_driver.o] Error 1
Makefile:1656: recipe for target '_module_/var/lib/dkms/openrazer-driver/3.2.0/build/driver' failed
make[1]: *** [_module_/var/lib/dkms/openrazer-driver/3.2.0/build/driver] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.9.253-tegra-ubuntu18.04_aarch64/kernel-4.9'
Makefile:39: recipe for target 'driver' failed
make: *** [driver] Error 2

Output of lsusb | grep 1532

Bus 001 Device 007: ID 1532:0257 Razer USA, Ltd 
Bus 001 Device 006: ID 1532:0084 Razer USA, Ltd

sudo journalctl -b | grep -i razer_mount output

sudo journalctl -b | grep -i razer_mount
Jan 16 07:45:57 ubuntu razer_mount[3445]: Driver razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3444]: Driver razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3446]: Driver razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3447]: Device_ID 1-2.3.4:1.1
Jan 16 07:45:57 ubuntu razer_mount[3449]: Device_ID 1-2.3.4:1.2
Jan 16 07:45:57 ubuntu razer_mount[3448]: Device_ID 1-2.3.4:1.3
Jan 16 07:45:57 ubuntu razer_mount[3450]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3451]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3452]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu systemd-udevd[2669]: Process 'razer_mount razerkbd 1-2.3.4:1.3' failed with exit code 1.
Jan 16 07:45:57 ubuntu systemd-udevd[2667]: Process 'razer_mount razerkbd 1-2.3.4:1.1' failed with exit code 1.
Jan 16 07:45:57 ubuntu systemd-udevd[2668]: Process 'razer_mount razerkbd 1-2.3.4:1.2' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3459]: Driver razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3460]: Driver razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3464]: Driver razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3467]: Device_ID 0003:1532:0257.0009
Jan 16 07:45:57 ubuntu razer_mount[3466]: Device_ID 0003:1532:0257.0008
Jan 16 07:45:57 ubuntu razer_mount[3468]: Device_ID 0003:1532:0257.000A
Jan 16 07:45:57 ubuntu razer_mount[3469]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3471]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3470]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu systemd-udevd[2669]: Process 'razer_mount razerkbd 0003:1532:0257.000A' failed with exit code 1.
Jan 16 07:45:57 ubuntu systemd-udevd[2672]: Process 'razer_mount razerkbd 0003:1532:0257.0008' failed with exit code 1.
Jan 16 07:45:57 ubuntu systemd-udevd[2668]: Process 'razer_mount razerkbd 0003:1532:0257.0009' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3552]: Driver razermouse
Jan 16 07:45:57 ubuntu razer_mount[3551]: Driver razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3555]: Device_ID 1-2.3.3
Jan 16 07:45:57 ubuntu razer_mount[3557]: Device_ID 1-2.3.4
Jan 16 07:45:57 ubuntu razer_mount[3563]: Modprobing razermouse
Jan 16 07:45:57 ubuntu razer_mount[3564]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu systemd-udevd[2673]: Process 'razer_mount razerkbd 1-2.3.4' failed with exit code 1.
Jan 16 07:45:57 ubuntu systemd-udevd[2674]: Process 'razer_mount razermouse 1-2.3.3' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3583]: Driver razermouse
Jan 16 07:45:57 ubuntu razer_mount[3581]: Driver razermouse
Jan 16 07:45:57 ubuntu razer_mount[3582]: Driver razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3584]: Driver razermouse
Jan 16 07:45:57 ubuntu razer_mount[3587]: Device_ID 1-2.3.3:1.1
Jan 16 07:45:57 ubuntu razer_mount[3589]: Device_ID 1-2.3.4:1.0
Jan 16 07:45:57 ubuntu razer_mount[3588]: Device_ID 1-2.3.3:1.2
Jan 16 07:45:57 ubuntu razer_mount[3585]: Driver razermouse
Jan 16 07:45:57 ubuntu razer_mount[3599]: Driver razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3594]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3591]: Device_ID 1-2.3.3:1.0
Jan 16 07:45:57 ubuntu razer_mount[3592]: Modprobing razermouse
Jan 16 07:45:57 ubuntu systemd-udevd[2673]: Process 'razer_mount razerkbd 1-2.3.4:1.0' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3605]: Device_ID 1-2.3.4:1.1
Jan 16 07:45:57 ubuntu razer_mount[3601]: Device_ID 1-2.3.3:1.3
Jan 16 07:45:57 ubuntu razer_mount[3607]: Modprobing razermouse
Jan 16 07:45:57 ubuntu razer_mount[3597]: Modprobing razermouse
Jan 16 07:45:57 ubuntu systemd-udevd[2671]: Process 'razer_mount razermouse 1-2.3.3:1.1' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3613]: Modprobing razermouse
Jan 16 07:45:57 ubuntu razer_mount[3611]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3603]: Driver razerkbd
Jan 16 07:45:57 ubuntu systemd-udevd[2674]: Process 'razer_mount razermouse 1-2.3.3:1.2' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3600]: Driver razerkbd
Jan 16 07:45:57 ubuntu systemd-udevd[2661]: Process 'razer_mount razerkbd 1-2.3.4:1.1' failed with exit code 1.
Jan 16 07:45:57 ubuntu systemd-udevd[2667]: Process 'razer_mount razermouse 1-2.3.3:1.3' failed with exit code 1.
Jan 16 07:45:57 ubuntu systemd-udevd[2668]: Process 'razer_mount razermouse 1-2.3.3:1.0' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3622]: Device_ID 1-2.3.4:1.3
Jan 16 07:45:57 ubuntu razer_mount[3627]: Driver razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3629]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3628]: Driver razermouse
Jan 16 07:45:57 ubuntu razer_mount[3617]: Device_ID 1-2.3.4:1.2
Jan 16 07:45:57 ubuntu razer_mount[3619]: Driver razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3630]: Device_ID 0003:1532:0257.0008
Jan 16 07:45:57 ubuntu razer_mount[3632]: Driver razermouse
Jan 16 07:45:57 ubuntu razer_mount[3635]: Device_ID 0003:1532:0257.0007
Jan 16 07:45:57 ubuntu razer_mount[3634]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3636]: Device_ID 0003:1532:0084.0006
Jan 16 07:45:57 ubuntu systemd-udevd[2677]: Process 'razer_mount razerkbd 1-2.3.4:1.3' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3646]: Modprobing razermouse
Jan 16 07:45:57 ubuntu razer_mount[3637]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3639]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu systemd-udevd[2661]: Process 'razer_mount razerkbd 0003:1532:0257.0008' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3651]: Driver razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3652]: Device_ID 0003:1532:0257.000A
Jan 16 07:45:57 ubuntu systemd-udevd[2673]: Process 'razer_mount razerkbd 0003:1532:0257.0007' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3640]: Device_ID 0003:1532:0084.0005
Jan 16 07:45:57 ubuntu razer_mount[3638]: Driver razermouse
Jan 16 07:45:57 ubuntu razer_mount[3643]: Driver razermouse
Jan 16 07:45:57 ubuntu systemd-udevd[2675]: Process 'razer_mount razerkbd 1-2.3.4:1.2' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3653]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3654]: Modprobing razermouse
Jan 16 07:45:57 ubuntu razer_mount[3655]: Device_ID 0003:1532:0084.0004
Jan 16 07:45:57 ubuntu razer_mount[3656]: Device_ID 0003:1532:0084.0003
Jan 16 07:45:57 ubuntu systemd-udevd[2677]: Process 'razer_mount razerkbd 0003:1532:0257.000A' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3662]: Driver razerkbd
Jan 16 07:45:57 ubuntu systemd-udevd[2674]: Process 'razer_mount razermouse 0003:1532:0084.0005' failed with exit code 1.
Jan 16 07:45:57 ubuntu razer_mount[3669]: Device_ID 0003:1532:0257.0009
Jan 16 07:45:57 ubuntu razer_mount[3671]: Modprobing razerkbd
Jan 16 07:45:57 ubuntu razer_mount[3667]: Modprobing razermouse
Jan 16 07:45:57 ubuntu razer_mount[3666]: Modprobing razermouse
Jan 16 07:45:57 ubuntu systemd-udevd[2667]: Process 'razer_mount razermouse 0003:1532:0084.0006' failed with exit code 1.
Jan 16 07:45:57 ubuntu systemd-udevd[2668]: Process 'razer_mount razermouse 0003:1532:0084.0003' failed with exit code 1.
Jan 16 07:45:57 ubuntu systemd-udevd[2673]: Process 'razer_mount razerkbd 0003:1532:0257.0009' failed with exit code 1.
Jan 16 07:45:57 ubuntu systemd-udevd[2671]: Process 'razer_mount razermouse 0003:1532:0084.0004' failed with exit code 1.

sudo dkms status

openrazer-driver, 3.2.0, 4.15.0-166-generic, aarch64: installed

dmesg output

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.253-tegra (ubuntu@ubuntu) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12) ) #1 SMP PREEMPT Sun Jan 16 03:46:29 UTC 2022
[    0.000000] Boot CPU: AArch64 Processor [411fd071]
[    0.000000] OF: fdt:memory scan node memory@80000000, reg size 32,
[    0.000000] OF: fdt: - 80000000 ,  7ee00000
[    0.000000] OF: fdt: - 100000000 ,  7f200000
[    0.000000] Found tegra_fbmem: 00800000@92ca9000
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000070006000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] OF: reserved mem: initialized node vpr-carveout, compatible id nvidia,vpr-carveout
[    0.000000] OF: reserved mem: initialized node iram-carveout, compatible id nvidia,iram-carveout
[    0.000000] OF: reserved mem: initialized node ramoops_carveout, compatible id nvidia,ramoops
[    0.000000] cma: Reserved 64 MiB at 0x00000000fac00000
[    0.000000] On node 0 totalpages: 1039872
[    0.000000]   DMA zone: 8192 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 519168 pages, LIFO batch:31
[    0.000000]   Normal zone: 8136 pages used for memmap
[    0.000000]   Normal zone: 520704 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 24 pages/cpu s57624 r8192 d32488 u98304
[    0.000000] pcpu-alloc: s57624 r8192 d32488 u98304 alloc=24*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] CPU features: enabling workaround for ARM erratum 832075
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1023544
[    0.000000] Kernel command line: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1125 core_edp_ma=4000 gpt tegra_fbmem=0x800000@0x92ca9000 is_hdmi_initialised=1  earlycon=uart8250,mmio32,0x70006000  root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 
[    0.000000] log_buf_len individual max cpu contribution: 32768 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 98304 bytes
[    0.000000] log_buf_len min size: 32768 bytes
[    0.000000] log_buf_len: 131072 bytes
[    0.000000] early log buf free: 29856(91%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Memory: 3560276K/4159488K available (15358K kernel code, 2962K rwdata, 6652K rodata, 8640K init, 610K bss, 124076K reserved, 475136K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008f80000   ( 15360 KB)
[    0.000000]     .rodata : 0xffffff8008f80000 - 0xffffff8009610000   (  6720 KB)
[    0.000000]       .init : 0xffffff8009610000 - 0xffffff8009e80000   (  8640 KB)
[    0.000000]       .data : 0xffffff8009e80000 - 0xffffff800a164808   (  2963 KB)
[    0.000000]        .bss : 0xffffff800a164808 - 0xffffff800a1fd0b4   (   611 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf03fc8000   (    63 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc0ff200000   (  4082 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] /interrupt-controller@60004000: 192 interrupts forwarded to /interrupt-controller
[    0.000000] t210 clock and reset probe
[    0.000000] tegra-pmc: get_secure_pmc_setting: done secure_pmc=1
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] clk_cbus_recalc_rate: no gbus parent
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000006] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.001706] Console: colour dummy device 80x25
[    0.001715] console [tty0] enabled
[    0.001722] bootconsole [uart8250] disabled
[    0.001742] kmemleak: Kernel memory leak detector disabled
[    0.001761] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[    0.001774] pid_max: default: 32768 minimum: 301
[    0.002229] Security Framework initialized
[    0.002452] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.002461] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.003643] ftrace: allocating 47193 entries in 185 pages
[    0.173124] sched-energy: CPU device node has no sched-energy-costs
[    0.173158] ASID allocator initialised with 65536 entries
[    0.211914] tegra-id: chipid=22117.
[    0.211928] tegra-id: opt_subrevision=0.
[    0.211947] Tegra Speedo/IDDQ fuse revision 4
[    0.211952] Tegra: CPU Speedo ID 9, SoC Speedo ID 0, GPU Speedo ID 2
[    0.211956] Tegra: CPU Process ID 0, SoC Process ID 0, GPU Process ID 0
[    0.211961] Tegra: CPU Speedo Value 2008, SoC Speedo Value 1904, GPU Speedo Value 2022
[    0.211965] Tegra: CPU IDDQ Value 1588, SoC IDDQ Value 1804, GPU IDDQ Value 2235
[    0.211984] Tegra Revision: A02 SKU: 0x8f CPU Process: 0 SoC Process: 0
[    0.211999] DTS File Name: /dvs/git/dirty/git-master_linux/kernel/kernel-4.9/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0000-p3449-0000-b00.dts
[    0.212007] DTB Build time: Jul 26 2021 12:16:29
[    0.261100] CPU1: Booted secondary processor [411fd071]
[    0.293013] CPU2: Booted secondary processor [411fd071]
[    0.324976] CPU3: Booted secondary processor [411fd071]
[    0.325070] Brought up 4 CPUs
[    0.325077] SMP: Total of 4 processors activated.
[    0.325086] CPU features: detected feature: 32-bit EL0 Support
[    0.325352] CPU: All CPU(s) started at EL2
[    0.325371] alternatives: patching kernel code
[    0.333882] devtmpfs: initialized
[    0.372079] Initilizing CustomIPI irq domain
[    0.372385] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.372406] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.383971] pinctrl core: initialized pinctrl subsystem
[    0.384588] OS set in device tree is not L4T.
[    0.385063] regulator-dummy: no parameters
[    0.385376] Initializing plugin-manager
[    0.385541] Plugin module not found
[    0.385735] node /plugin-manager/fragement@0 match with board >=3448-0000-100
[    0.386251] node /plugin-manager/fragment@1 match with board >=3448-0000-101
[    0.387213] node /plugin-manager/fragement@7 match with odm-data enable-pmic-wdt
[    0.387416] node /plugin-manager/fragement@8 match with odm-data enable-pmic-wdt
[    0.388045] node /plugin-manager/fragement@13 match with board >=3448-0000-300
[    0.391694] NET: Registered protocol family 16
[    0.410147] pstore: using zlib compression
[    0.410187] console [pstore-1] enabled
[    0.410193] pstore: Registered ramoops as persistent store backend
[    0.410198] ramoops: attached 0x200000@0xb0000000, ecc: 0/0
[    0.425117] cpuidle: using governor menu
[    0.429567] tegra_smmu 70019000.iommu: Loaded Tegra IOMMU driver
[    0.431368] vdso: 2 pages (1 code @ ffffff8008f87000, 1 data @ ffffff8009e84000)
[    0.431388] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.433738] atomic_pool_init():622: DMA: preallocated 1024 KiB pool for atomic allocations
[    0.436183] Serial: AMBA PL011 UART driver
[    0.436689] tegra_powergate_init: DONE
[    0.436704] DTS File Name: /dvs/git/dirty/git-master_linux/kernel/kernel-4.9/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-p3448-0000-p3449-0000-b00.dts
[    0.436710] DTB Build time: Jul 26 2021 12:16:29
[    0.438652] Tegra reboot handler registered.
[    0.443252] iommu: Adding device tegra-carveouts to group 0
[    0.443393] platform tegra-carveouts: domain=ffffffc0f94c23d8 allocates as[0]=ffffffc0f94b80a8
[    0.443759] iommu: Adding device smmu_test to group 1
[    0.443811] platform smmu_test: domain=ffffffc0f94c2618 allocates as[0]=ffffffc0f94b8110
[    0.444658] mc: mapped MMIO address: 0xffffff8008041000 -> 0x70019000
[    0.444715] mc: mapped MMIO address: 0xffffff8008067000 -> 0x7001c000
[    0.444774] mc: mapped MMIO address: 0xffffff800807b000 -> 0x7001d000
[    0.444784] nv-tegra-mc 70019000.mc: No mssnvlink node
[    0.444808] mc-err: mcerr ops are set to t21x
[    0.455499] iommu: Adding device 70090000.xusb to group 2
[    0.455781] iommu: Adding device 70006000.serial to group 3
[    0.455861] platform 70006000.serial: domain=ffffffc0f9544558 allocates as[0]=ffffffc0f94b8178
[    0.456306] iommu: Adding device 70006040.serial to group 4
[    0.456587] iommu: Adding device 70006200.serial to group 5
[    0.456817] iommu: Adding device sound to group 6
[    0.456867] platform sound: domain=ffffffc0f9544a98 allocates as[0]=ffffffc0f94b81e0
[    0.457469] iommu: Adding device 7000d400.spi to group 7
[    0.457723] iommu: Adding device 7000d600.spi to group 8
[    0.457992] iommu: Adding device 70410000.spi to group 9
[    0.458299] iommu: Adding device 50000000.host1x to group 10
[    0.458569] iommu: Adding device 54080000.vi to group 11
[    0.458960] iommu: Adding device 54600000.isp to group 12
[    0.459258] iommu: Adding device 54680000.isp to group 13
[    0.459535] iommu: Adding device tegradc.0 to group 14
[    0.459591] platform tegradc.0: domain=ffffffc0f954f9d8 allocates as[0]=ffffffc0f94b8248
[    0.463784] platform tegradc.0: IOVA linear map 0x0000000092ca9000(800000)
[    0.464172] platform tegradc.0: IOVA linear map 0x00000000d7000000(19000000)
[    0.464514] iommu: Adding device tegradc.1 to group 15
[    0.464562] platform tegradc.1: domain=ffffffc0f954fc18 allocates as[0]=ffffffc0f94b82b0
[    0.468739] platform tegradc.1: IOVA linear map 0x0000000092ca9000(800000)
[    0.469153] platform tegradc.1: IOVA linear map 0x00000000d7000000(19000000)
[    0.469421] iommu: Adding device 54340000.vic to group 16
[    0.469636] iommu: Adding device 544c0000.nvenc to group 17
[    0.469845] iommu: Adding device 54500000.tsec to group 18
[    0.470048] iommu: Adding device 54100000.tsecb to group 19
[    0.470273] iommu: Adding device 54480000.nvdec to group 20
[    0.470463] iommu: Adding device 54380000.nvjpg to group 21
[    0.471513] iommu: Adding device 546c0000.i2c to group 22
[    0.471840] iommu: Adding device 57000000.gpu to group 23
[    0.471894] platform 57000000.gpu: domain=ffffffc0f9580c18 allocates as[0]=ffffffc0f94b8318
[    0.471931] platform 57000000.gpu: domain=ffffffc0f9580c18 allocates as[1]=ffffffc0f94b8380
[    0.471975] platform 57000000.gpu: domain=ffffffc0f9580c18 allocates as[2]=ffffffc0f94b83e8
[    0.472036] platform 57000000.gpu: domain=ffffffc0f9580c18 allocates as[3]=ffffffc0f94b8450
[    0.472930] tegra-pmc 7000e400.pmc: i2c-thermtrip node not found, emergency thermal reset disabled.
[    0.472940] tegra-pmc 7000e400.pmc: scratch reg offset dts data not present
[    0.472952] tegra-pmc: ### PMC reset source: TEGRA_SOFTWARE_RESET
[    0.472956] tegra-pmc: ### PMC reset level: TEGRA_RESET_LEVEL_WARM
[    0.472959] tegra-pmc: ### PMC reset status reg: 0x3
[    0.525194] padctrl padctrl.0: Pad control driver tegra-pmc-padctrl registered
[    0.525202] tegra-pmc: Clear bootloader IO dpd settings
[    0.525223] tegra-pmc 7000e400.pmc: IO padctrl driver initialized
[    0.525287] tegra-pmc 7000e400.pmc: PMC: Successfully configure bootrom reset commands
[    0.525584] iommu: Adding device 70012000.se to group 24
[    0.526430] iommu: Adding device 7000c000.i2c to group 25
[    0.526757] iommu: Adding device 7000c400.i2c to group 26
[    0.527096] iommu: Adding device 7000c500.i2c to group 27
[    0.527397] iommu: Adding device 7000c700.i2c to group 28
[    0.527704] iommu: Adding device 7000d000.i2c to group 29
[    0.528005] iommu: Adding device 7000d100.i2c to group 30
[    0.528356] iommu: Adding device sdhci-tegra.0 to group 31
[    0.528407] platform sdhci-tegra.0: domain=ffffffc0f95e9e58 allocates as[0]=ffffffc0f94b84b8
[    0.529404] iommu: Adding device 700d0000.xudc to group 32
[    0.533439] vdd-ac-bat: 5000 mV 
[    0.533896] vdd-5v0-sys: 5000 mV 
[    0.534703] vdd-5v0-hdmi: 5000 mV 
[    0.535120] vdd-5v0-hdmi: supplied by vdd-5v0-sys
[    0.535443] vdd-1v8-sys: 1800 mV 
[    0.535878] vdd-fan: 5000 mV 
[    0.536109] vdd-fan: supplied by vdd-5v0-sys
[    0.536358] vdd-usb-vbus: 5000 mV 
[    0.536632] vdd-usb-vbus: supplied by vdd-5v0-sys
[    0.537048] vdd-usb-vbus2: 5000 mV 
[    0.569864] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.572074] gpio gpiochip0: gpio-line-names specifies 240 line names but there are 256 lines on the chip
[    0.573271] GPIO line 6 (system-suspend-gpio) hogged as output/high
[    0.573299] GPIO line 151 (camera-control-output-low) hogged as output/low
[    0.573319] GPIO line 152 (camera-control-output-low) hogged as output/low
[    0.573669] gpiochip_setup_dev: registered GPIOs 0 to 255 on device: gpiochip0 (tegra-gpio)
[    0.580998] random: fast init done
[    0.581856] eventlib_kernel: keventlib is initialized, test id: 0
[    0.582194] SCSI subsystem initialized
[    0.582375] libata version 3.00 loaded.
[    0.582674] usbcore: registered new interface driver usbfs
[    0.582724] usbcore: registered new interface driver hub
[    0.582763] usbcore: registered new device driver usb
[    0.586749] max77620 4-003c: PMIC Version OTP:0x35 and ES:0x8
[    0.593108] vdd-core: 600 <--> 1162 mV at 1125 mV 
[    0.594065] vdd-ddr-1v1: Bringing 1125000uV into 1150000-1150000uV
[    0.597001] vdd-ddr-1v1: 1150 mV 
[    0.600995] vdd-pre-reg-1v35: 1350 mV 
[    0.604999] vdd-1v8: 1800 mV 
[    0.608994] avdd-sys-1v2: 1200 mV 
[    0.612998] vdd-pex-1v0: 1050 mV 
[    0.613609] vddio-sdmmc-ap: 1800 <--> 3300 mV at 3300 mV 
[    0.614126] max77620-ldo3: at 3100 mV 
[    0.617000] vdd-rtc: 850 <--> 1100 mV at 1000 mV 
[    0.617521] max77620-ldo5: at 3100 mV 
[    0.621000] vddio-sdmmc3-ap: 1800 <--> 3300 mV at 2800 mV 
[    0.624993] avdd-1v05-pll: 1050 mV 
[    0.628996] avdd-io-hdmi-dp: 1050 mV 
[    0.631423] GPIO line 505 (spmic-default-output-high) hogged as output/high
[    0.631702] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip1 (max77620-gpio)
[    0.631976] max77620 4-003c: max77620 probe successful
[    0.634698] media: Linux media interface: v0.10
[    0.634758] Linux video capture interface: v2.00
[    0.635694] pps_core: LinuxPPS API ver. 1 registered
[    0.635699] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.635726] PTP clock support registered
[    0.639011] tegra210-emc 7001b000.external-memory-controller: validated EMC DFS table
[    0.639951] Advanced Linux Sound Architecture Driver Initialized.
[    0.640708] Bluetooth: Core ver 2.22
[    0.640761] NET: Registered protocol family 31
[    0.640766] Bluetooth: HCI device and connection manager initialized
[    0.640780] Bluetooth: HCI socket layer initialized
[    0.640788] Bluetooth: L2CAP socket layer initialized
[    0.640841] Bluetooth: SCO socket layer initialized
[    0.642664] tegra210_dvfs: no clock found for sdmmc2_ddr
[    0.642678] tegra210_dvfs: no clock found for sdmmc4_ddr
[    0.642723] tegra210_dvfs: no clock found for sdmmc1_ddr
[    0.642737] tegra210_dvfs: no clock found for sdmmc3_ddr
[    0.646336] tegra_dvfs: Unable to get vdd-cpu rail for step info, defering probe
[    0.647656] vdd-3v3-sys: 3300 mV 
[    0.648044] vdd-3v3-sys: supplied by vdd-5v0-sys
[    0.648098] vdd-1v8-sys: supplied by vdd-3v3-sys
[    0.653184] vdd-usb-vbus2: supplied by vdd-3v3-sys
[    0.653670] vdd-3v3-sd: 3300 mV 
[    0.654075] vdd-3v3-sd: supplied by vdd-3v3-sys
[    0.654669] avdd-io-edp-1v05: 1050 mV 
[    0.655025] avdd-io-edp-1v05: supplied by avdd-1v05-pll
[    0.655156] vdd-usb-hub-en: 5000 mV 
[    0.655484] vdd-usb-hub-en: supplied by vdd-1v8-sys
[    0.656619] camchar: rtcpu character device driver loaded
[    0.657496] extcon-gpio-states extcon:extcon@1: Cable state:0, cable id:0
[    0.658888] clocksource: Switched to clocksource arch_sys_counter
[    0.699577] VFS: Disk quotas dquot_6.6.0
[    0.699705] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.700203] nvmap_heap_init: nvmap_heap_init: created heap block cache
[    0.700688] dma_declare_coherent_resizable_cma_memory:324: resizable heap=vpr, base=0x00000000d7000000, size=0x19000000
[    0.700703]  dma-vpr: heap size is not multiple of cma_chunk_size heap_info->num_chunks (13) rem_chunk_size(0x1000000)
[    0.700914] cma: enabled page replacement for spfn=d7000, epfn=f0000
[    0.700920] dma_declare_coherent_resizable_cma_memory:373: resizable cma heap=vpr create successful
[    0.700932] tegra-carveouts tegra-carveouts: assigned reserved memory node vpr-carveout
[    0.700959] tegra-carveouts tegra-carveouts: iram :dma coherent mem declare 0x0000000040001000,258048
[    0.700965] tegra-carveouts tegra-carveouts: assigned reserved memory node iram-carveout
[    0.700980] nvmap: nvmap_select_cache_ops() nvmap cache ops set to set/ways
[    0.700988] nvmap_page_pool_init: Total RAM pages: 1008853
[    0.700992] nvmap_page_pool_init: nvmap page pool size: 126106 pages (492 MB)
[    0.701096] nvmap_background_zero_thread: PP zeroing thread starting.
[    0.701613] misc nvmap: created heap iram base 0x0000000040001000 size (252KiB)
[    0.702663] misc nvmap: created heap vpr base 0x00000000d7000000 size (409600KiB)
[    0.710817] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type AO-therm
[    0.711278] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type CPU-therm
[    0.711645] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type GPU-therm
[    0.711915] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
[    0.712089] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type PMIC-Die
[    0.712347] pre_t19x_iso_plat_init(): iso emc max clk=1600000KHz
[    0.712351] pre_t19x_iso_plat_init(): max_iso_bw=11520000KB
[    0.712790] NET: Registered protocol family 2
[    0.713790] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.714004] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.714499] TCP: Hash tables configured (established 32768 bind 32768)
[    0.714657] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.714737] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.715268] NET: Registered protocol family 1
[    0.715960] RPC: Registered named UNIX socket transport module.
[    0.715965] RPC: Registered udp transport module.
[    0.715968] RPC: Registered tcp transport module.
[    0.715972] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.715986] PCI: CLS 0 bytes, default 64
[    0.716224] Trying to unpack rootfs image as initramfs...
[    1.012453] Freeing initrd memory: 6992K
[    1.022279] host1x 50000000.host1x: initialized
[    1.024248] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    1.027640] audit: initializing netlink subsys (disabled)
[    1.027737] audit: type=2000 audit(0.875:1): initialized
[    1.028209] Initialise system trusted keyrings
[    1.028475] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    1.038383] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.039905] ntfs: driver 2.1.32 [Flags: R/W].
[    1.040710] 9p: Installing v9fs 9p2000 file system support
[    1.044008] Key type asymmetric registered
[    1.044016] Asymmetric key parser 'x509' registered
[    1.044322] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 240)
[    1.044440] io scheduler noop registered
[    1.044735] io scheduler cfq registered (default)
[    1.047557] gic 702f9000.agic: GIC IRQ controller registered
[    1.050535] iommu: Adding device 702ef000.adsp to group 33
[    1.059652] iommu: Adding device aconnect@702c0000:adsp_audio to group 34
[    1.059826] tegra-aconnect aconnect@702c0000: Tegra ACONNECT bus registered
[    1.060469] tegra-xusb-padctl 7009f000.xusb_padctl: TEGRA_FUSE_SKU_CALIB_0 = 0x61a640d
[    1.060477] tegra-xusb-padctl 7009f000.xusb_padctl: TEGRA_FUSE_USB_CALIB_EXT_0 = 0x4
[    1.062101] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.0, lane = usb2-0, function = xusb
[    1.062199] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.1, lane = usb2-1, function = xusb
[    1.062291] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.2, lane = usb2-2, function = xusb
[    1.062485] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.3, lane = pcie-0, function = pcie-x1
[    1.062576] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.4, lane = pcie-1, function = pcie-x4
[    1.062667] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.5, lane = pcie-2, function = pcie-x4
[    1.062758] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.6, lane = pcie-3, function = pcie-x4
[    1.062840] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.7, lane = pcie-4, function = pcie-x4
[    1.062970] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.8, lane = pcie-5, function = xusb
[    1.063049] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.9, lane = pcie-6, function = xusb
[    1.069134] tegra-pwm 7000a000.pwm: PWM clk cannot sleep in ops
[    1.070811] tegra-dfll-pwm 70110000.pwm: DFLL pwm-rate: 12800000
[    1.072810] tegra-pcie 1003000.pcie: 4x1, 1x1 configuration
[    1.074091] tegra-pcie 1003000.pcie: PCIE: Enable power rails
[    1.074452] tegra-pcie 1003000.pcie: probing port 0, using 4 lanes
[    1.075744] tegra_camera_platform tegra-camera-platform: tegra_camera_probe:camera_platform_driver probe
[    1.075964] misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=1500000, vi_iso_bw=1500000, max_bw=1500000
[    1.076206] Adding domain tsec-pd to PM domain host1x-pd
[    1.078450] tegra-pcie 1003000.pcie: probing port 1, using 1 lanes
[    1.079479] tsec 54500000.tsec: initialized
[    1.081112] tsec 54100000.tsecb: initialized
[    1.081823] Adding domain nvdec-pd to PM domain host1x-pd
[    1.085388] nvdec 54480000.nvdec: initialized
[    1.086499] Adding domain vic03-pd to PM domain host1x-pd
[    1.086678] Adding domain msenc-pd to PM domain host1x-pd
[    1.086840] Adding domain nvjpg-pd to PM domain host1x-pd
[    1.090910] falcon 54340000.vic: initialized
[    1.092216] falcon 544c0000.nvenc: initialized
[    1.093542] falcon 54380000.nvjpg: initialized
[    1.098065] tegra_cec 70015000.tegra_cec: dt=1 start=0x70015000 end=0x70015FFF irq=97
[    1.098104] tegra_cec 70015000.tegra_cec: Enable clock result: 0.
[    1.098141] tegra_cec 70015000.tegra_cec: tegra_cec_init started
[    1.098223] tegradc tegradc.0: disp0 connected to head0->/host1x/sor1
[    1.098322] display board info: id 0x0, fab 0x0
[    1.098378] generic_infoframe_type: 0x87
[    1.098414] tegra_cec 70015000.tegra_cec: cec_add_sysfs ret=0
[    1.098421] tegra_cec 70015000.tegra_cec: probed
[    1.098547] tegradc tegradc.0: DT parsed successfully
[    1.098602] tegradc tegradc.0: Display dc.ffffff800abc0000 registered with id=0
[    1.099329] tegradc tegradc.0: Bootloader disp_param detected. Detected mode: 1920x1080 (on 0x0mm) pclk=148350781
[    1.106677] tegra-apbdma 60020000.dma: Tegra20 APB DMA driver register 32 channels
[    1.106866] tegradc tegradc.0: probed
[    1.113738] tegra-adma 702e2000.adma: Tegra210 ADMA driver registered 22 channels
[    1.115010] tegra-fuse-burn 7000f800.efuse:efuse-burn: shutdown limit check disabled
[    1.115021] tegra-fuse-burn 7000f800.efuse:efuse-burn: Fuse burn driver initialized
[    1.115450] kfuse 7000fc00.kfuse: initialized
[    1.117048] tegra-pmc-iopower pmc-iopower: Regulator supply iopower-dbg-supply not available
[    1.117993] tegra-pmc-iopower pmc-iopower: NO_IOPOWER setting 0x0
[    1.120350] tegra-pcie 1003000.pcie: PCI host bridge to bus 0000:00
[    1.120370] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.120376] pci_bus 0000:00: root bus resource [mem 0x13000000-0x1fffffff]
[    1.120383] pci_bus 0000:00: root bus resource [mem 0x20000000-0x3fffffff pref]
[    1.120390] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.120463] pci 0000:00:01.0: [10de:0fae] type 01 class 0x060400
[    1.120633] pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.121008] pci 0000:00:02.0: [10de:0faf] type 01 class 0x060400
[    1.121113] pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.121593] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.121613] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.121628] tegra-dfll-pwm 70110000.pwm: DFLL_PWM regulator is available now
[    1.121645] vdd-cpu: 708 <--> 1322 mV at 708 mV 
[    1.121983] pci 0000:01:00.0: [8086:24fd] type 00 class 0x028000
[    1.122046] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    1.122301] pwm-regulator pwm_regulators:pwm-regulator@0: PWM regulator registration passed
[    1.122318] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    1.124104] vdd-gpu: applied init 1000000uV constraint
[    1.124115] vdd-gpu: 708 <--> 1323 mV at 997 mV 
[    1.124608] pwm-regulator pwm_regulators:pwm-regulator@1: PWM regulator registration passed
[    1.129580] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.129757] No Device Node present for smmu client: serial8250 !!
[    1.129772] platform serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[    1.129836] iommu: Adding device serial8250 to group 35
[    1.131113] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.131379] pci 0000:02:00.0: [10ec:8168] type 00 class 0x020000
[    1.131424] pci 0000:02:00.0: reg 0x10: [io  0x0000-0x00ff]
[    1.131463] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
[    1.131490] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
[    1.131704] pci 0000:02:00.0: supports D1 D2
[    1.131710] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.134361] console [ttyS0] disabled
[    1.134422] 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 63, base_baud = 25500000) is a Tegra
[    1.134516] console [ttyS0] enabled
[    1.135539] 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 64, base_baud = 0) is a TEGRA_UART
[    1.135866] serial-tegra 70006200.serial: RX in PIO mode
[    1.135958] 70006200.serial: ttyTHS2 at MMIO 0x70006200 (irq = 65, base_baud = 0) is a TEGRA_UART
[    1.136947] [drm] Initialized
[    1.139461] Console: switching to colour frame buffer device 240x67
[    1.139588] tegradc tegradc.0: fb registered
[    1.146306] tegradc tegradc.0: DC initialized, skipping tegra_dc_program_mode.
[    1.146351] tegradc tegradc.0: hdmi: tmds rate:148351K prod-setting:prod_c_hdmi_75m_150m
[    1.147355] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.147447] pci 0000:00:01.0: BAR 14: assigned [mem 0x13000000-0x130fffff]
[    1.147456] pci 0000:00:02.0: BAR 14: assigned [mem 0x13100000-0x131fffff]
[    1.147464] pci 0000:00:02.0: BAR 13: assigned [io  0x1000-0x1fff]
[    1.147477] pci 0000:01:00.0: BAR 0: assigned [mem 0x13000000-0x13001fff 64bit]
[    1.147506] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.147516] pci 0000:00:01.0:   bridge window [mem 0x13000000-0x130fffff]
[    1.147530] pci 0000:02:00.0: BAR 4: assigned [mem 0x13100000-0x13103fff 64bit]
[    1.147551] pci 0000:02:00.0: BAR 2: assigned [mem 0x13104000-0x13104fff 64bit]
[    1.147570] pci 0000:02:00.0: BAR 0: assigned [io  0x1000-0x10ff]
[    1.147578] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.147583] pci 0000:00:02.0:   bridge window [io  0x1000-0x1fff]
[    1.147590] pci 0000:00:02.0:   bridge window [mem 0x13100000-0x131fffff]
[    1.148281] pcieport 0000:00:01.0: Signaling PME through PCIe PME interrupt
[    1.148290] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    1.148301] pcie_pme 0000:00:01.0:pcie001: service driver pcie_pme loaded
[    1.148467] aer 0000:00:01.0:pcie002: service driver aer loaded
[    1.148787] pcieport 0000:00:02.0: Signaling PME through PCIe PME interrupt
[    1.148795] pci 0000:02:00.0: Signaling PME through PCIe PME interrupt
[    1.148803] pcie_pme 0000:00:02.0:pcie001: service driver pcie_pme loaded
[    1.148940] aer 0000:00:02.0:pcie002: service driver aer loaded
[    1.149404] tegradc tegradc.0: hdmi: get RGB quant from REG programmed by BL.
[    1.149415] tegradc tegradc.0: hdmi: get YCC quant from REG programmed by BL.
[    1.150700] brd: module loaded
[    1.156169] loop: module loaded
[    1.156259] tegra_profiler: version: 1.145, samples/io: 49/28
[    1.156387] tegra_profiler: auth: init
[    1.157768] THERMAL EST: found 2 subdevs
[    1.157778] THERMAL EST num_resources: 0
[    1.157783] [THERMAL EST subdev 0]
[    1.157789] [THERMAL EST subdev 1]
[    1.158250] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type thermal-fan-est
[    1.158256] THERMAL EST: thz register success.
[    1.158408] THERMAL EST: end of probe, return err: 0
[    1.159758] sd: No Scsi addr parsed to reserve index
[    1.159802] hisi_sas: driver version v1.6
[    1.164901] tegra-qspi 70410000.spi: Prod settings list not found
[    1.166076] qspi_mtd spi32766.0: MX25U3235F (4096 Kbytes)
[    1.166085] qspi_mtd spi32766.0: mtd .name = spi32766.0, .size = 0x400000 (4MiB) .erasesize = 0x00001000 (4KiB) .numeraseregions = 0
[    1.169237] libphy: Fixed MDIO Bus: probed
[    1.170078] tun: Universal TUN/TAP device driver, 1.6
[    1.170085] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.171286] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.171291] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.171358] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    1.171361] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.171409] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.171412] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.171459] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 4.4.0-k
[    1.171462] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
[    1.172617] r8168 0000:02:00.0: enabling device (0000 -> 0003)
[    1.172649] r8168 Gigabit Ethernet driver 8.045.08-NAPI loaded
[    1.175793] extcon-disp-state extcon:disp-state: cable 47 state 1
[    1.175802] Extcon AUX1(HDMI) enable
[    1.176788] tegradc tegradc.1: disp1 connected to head1->/host1x/sor
[    1.176867] tegradc tegradc.1: No lt-data, using default setting
[    1.176897] tegradc tegradc.1: No hpd-gpio in DT
[    1.176929] tegradc tegradc.1: DT parsed successfully
[    1.176985] tegradc tegradc.1: Display dc.ffffff800d540000 registered with id=1
[    1.178509] tegradc tegradc.1: dpd enable lookup fail:-19
[    1.188391] r8168 0000:02:00.0 (unnamed net_device) (uninitialized): Invalid ethernet address 00:00:00:00:00:00, trying device tree node
[    1.188538] r8168 0000:02:00.0 (unnamed net_device) (uninitialized): Found valid ethernet address 48:b0:2d:51:f7:b1 from device tree
[    1.188736] tegradc tegradc.1: probed
[    1.189251] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[    1.189316] tegradc tegradc.1: fb registered
[    1.189327] r8168  Copyright (C) 2017  Realtek NIC software team <nicfae@realtek.com> 
                This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>. 
                This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>. 
[    1.190228] PPP generic driver version 2.4.2
[    1.190471] PPP BSD Compression module registered
[    1.190481] PPP Deflate Compression module registered
[    1.190525] PPP MPPE Compression module registered
[    1.190533] NET: Registered protocol family 24
[    1.190612] usbcore: registered new interface driver r8152
[    1.190658] usbcore: registered new interface driver asix
[    1.190748] usbcore: registered new interface driver ax88179_178a
[    1.190791] usbcore: registered new interface driver cdc_ether
[    1.190824] usbcore: registered new interface driver net1080
[    1.190858] usbcore: registered new interface driver cdc_subset
[    1.190935] usbcore: registered new interface driver zaurus
[    1.190994] usbcore: registered new interface driver cdc_ncm
[    1.191214] VFIO - User Level meta-driver version: 0.3
[    1.192552] hpd: state 7 (Takeover from bootloader), hpd 0, pending_hpd_evt 1
[    1.192558] hpd: switching from state 7 (Takeover from bootloader) to state 0 (Reset)
[    1.192568] hpd: state 0 (Reset), hpd 0, pending_hpd_evt 0
[    1.192587] tegradc tegradc.1: blank - powerdown
[    1.192607] extcon-disp-state extcon:disp-state: cable 44 state 0 already set.
[    1.192612] Extcon DP: HPD disabled
[    1.192618] hpd: hpd_switch 0
[    1.192623] hpd: switching from state 0 (Reset) to state 1 (Check Plug)
[    1.192632] hpd: state 1 (Check Plug), hpd 0, pending_hpd_evt 0
[    1.192639] hpd: switching from state 1 (Check Plug) to state 3 (Disabled)
[    1.192683] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.192715] ehci-pci: EHCI PCI platform driver
[    1.192772] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.192807] ohci-pci: OHCI PCI platform driver
[    1.192862] ohci-platform: OHCI generic platform driver
[    1.195648] tegra-xusb 70090000.xusb: USB2 port 0 has OTG_CAP
[    1.196270] tegra-xusb-padctl 7009f000.xusb_padctl: enabled OTG on UTMI pad 0
[    1.197437] tegra-xusb 70090000.xusb: extcon 0: ffffffc0f9195400 id
[    1.199614] usbcore: registered new interface driver uas
[    1.199693] usbcore: registered new interface driver usb-storage
[    1.199819] usbcore: registered new interface driver usbserial
[    1.203102] tegra-xusb 70090000.xusb: Firmware timestamp: 2020-07-31 09:33:12 UTC, Version: 50.26 release
[    1.203161] tegra-xusb 70090000.xusb: xHCI Host Controller
[    1.203190] tegra-xusb 70090000.xusb: new USB bus registered, assigned bus number 1
[    1.203961] tegra-xusb 70090000.xusb: hcc params 0x0184f525 hci version 0x100 quirks 0x00050010
[    1.204003] tegra-xusb 70090000.xusb: irq 61, io mem 0x70090000
[    1.204220] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.204227] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.204232] usb usb1: Product: xHCI Host Controller
[    1.204237] usb usb1: Manufacturer: Linux 4.9.253-tegra xhci-hcd
[    1.204241] usb usb1: SerialNumber: 70090000.xusb
[    1.205018] hub 1-0:1.0: USB hub found
[    1.205069] hub 1-0:1.0: 5 ports detected
[    1.205718] tegra-xusb 70090000.xusb: xHCI Host Controller
[    1.205732] tegra-xusb 70090000.xusb: new USB bus registered, assigned bus number 2
[    1.205837] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.205923] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.205929] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.205934] usb usb2: Product: xHCI Host Controller
[    1.205938] usb usb2: Manufacturer: Linux 4.9.253-tegra xhci-hcd
[    1.205942] usb usb2: SerialNumber: 70090000.xusb
[    1.206407] tegra-xudc-new 700d0000.xudc: device count: 1
[    1.206913] hub 2-0:1.0: USB hub found
[    1.206949] hub 2-0:1.0: 4 ports detected
[    1.208802] tegra-xudc-new 700d0000.xudc: USB charger detection disabled
[    1.208816] tegra-xudc-new 700d0000.xudc: vbus state: 0
[    1.209455] tegra-xudc-new 700d0000.xudc: entering ELPG
[    1.209772] tegra-xudc-new 700d0000.xudc: entering ELPG done
[    1.209840] tegra-xusb 70090000.xusb: Upgrade port 0 to USB3.0
[    1.209846] tegra-xusb 70090000.xusb: Upgrade port 1 to USB3.0
[    1.210195] mousedev: PS/2 mouse device common for all mice
[    1.210328] usbcore: registered new interface driver xpad
[    1.213946] tegradc tegradc.0: nominal-pclk:148351648 parent:148350781 div:1.0 pclk:148350781 146868084~161703244
[    1.306950] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 1
[    1.307004] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 2
[    1.310382] tegradc tegradc.0: blank - powerdown
[    1.311088] usb usb2: usb_suspend_both: status 0
[    1.339669] max77686-rtc max77620-rtc: rtc core: registered max77620-rtc as rtc0
[    1.341943] rtc rtc1: alarm rtc device
[    1.341956] tegra_rtc 7000e000.rtc: rtc core: registered 7000e000.rtc as rtc1
[    1.341973] tegra_rtc 7000e000.rtc: Tegra internal Real Time Clock
[    1.342378] i2c /dev entries driver
[    1.343918] i2c i2c-6: Added multiplexed i2c bus 7
[    1.344264] i2c i2c-6: Added multiplexed i2c bus 8
[    1.344269] i2c-mux-gpio cam_i2cmux: 2 port mux on Tegra I2C adapter adapter
[    1.344864] imx219 7-0010: tegracam sensor driver:imx219_v2.0.6
[    1.347966] extcon-disp-state extcon:disp-state: cable 47 state 0
[    1.347969] Extcon AUX1(HDMI) disable
[    1.368139] tegra-vii2c 546c0000.i2c: no acknowledge from address 0x10
[    1.368540] imx219 7-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.368667] imx219 7-0010: board setup failed
[    1.368744] imx219: probe of 7-0010 failed with error -121
[    1.369494] imx219 8-0010: tegracam sensor driver:imx219_v2.0.6
[    1.392795] tegra-vii2c 546c0000.i2c: no acknowledge from address 0x10
[    1.392888] imx219 8-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.392987] imx219 8-0010: board setup failed
[    1.393056] imx219: probe of 8-0010 failed with error -121
[    1.394908] max77620-power max77620-power: Event recorder REG_NVERC : 0x0
[    1.397756] tegra_soctherm 700e2000.soctherm: pllx_offset tz:0 max:14, min:2
[    1.397761] tegra_soctherm 700e2000.soctherm: pllx_offset tz:2 max:8, min:4
[    1.398255] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.398271] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when cpu reaches 102500 mC
[    1.398282] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when cpu reaches 100500 mC
[    1.398417] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.398427] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when gpu reaches 103000 mC
[    1.398434] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when gpu reaches 101000 mC
[    1.398579] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.398590] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when pll reaches 127000 mC
[    1.398595] tegra_soctherm 700e2000.soctherm: throttrip: pll: missing hot temperature
[    1.398775] tegra_soctherm 700e2000.soctherm: failed to register sensor: -19
[    1.399663] tegra_aotag tegra-aotag: Registering sensor 0
[    1.399719] tegra_aotag tegra-aotag: Invalid temp readout
[    1.399747] tegra_aotag tegra-aotag: Invalid temp readout
[    1.399765] tegra_aotag tegra-aotag: Bound to TZ : ID 0
[    1.399773] tegra_aotag tegra-aotag: Probe done [SUCCESS]:0
[    1.400821] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.400843] tegra_dfll_action dfll-cdev-cap: Tegra DFLL 'cap cooling device' registered
[    1.401035] tegra_aotag tegra-aotag: Invalid temp readout
[    1.401068] tegra_dfll_action dfll-cdev-floor: Tegra DFLL 'floor cooling device' registered
[    1.401518] parse_throttle_dt_data: Num cap clks = 6
[    1.401524] parse_throttle_dt_data: clk=cclk_g type=2
[    1.401540] parse_throttle_dt_data: clk=gpu type=4
[    1.401567] parse_throttle_dt_data: clk=cap.throttle.c2bus type=0
[    1.401589] parse_throttle_dt_data: clk=cap.throttle.c3bus type=0
[    1.401612] parse_throttle_dt_data: clk=cap.throttle.sclk type=0
[    1.401615] parse_throttle_dt_data: clk=emc type=3
[    1.402079] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.402187] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.402348] tegra_throttle_probe: probe successful. #cdevs=4
[    1.403252] FAN dev name: pwm-fan
[    1.403348] FAN:gpio request success.
[    1.403410] pwm_fan_driver pwm-fan: cap state:7, cap pwm:255
[    1.403739] pwm_fan_driver pwm-fan: got pwm for fan. polarity is normal
[    1.403923] pwm_fan_driver pwm-fan: fan tach request irq success
[    1.403934] pwm_fan_driver pwm-fan: tach period: 1000
[    1.404042] pwm_fan_driver pwm-fan: index 0: pwm=0, rpm=0, rru=40, rrd=40, state:2
[    1.404046] pwm_fan_driver pwm-fan: index 1: pwm=80, rpm=1000, rru=2, rrd=2, state:2
[    1.404051] pwm_fan_driver pwm-fan: index 2: pwm=120, rpm=2000, rru=1, rrd=1, state:2
[    1.404055] pwm_fan_driver pwm-fan: index 3: pwm=160, rpm=3000, rru=1, rrd=1, state:2
[    1.404059] pwm_fan_driver pwm-fan: index 4: pwm=255, rpm=4000, rru=1, rrd=1, state:3
[    1.404063] pwm_fan_driver pwm-fan: index 5: pwm=255, rpm=5000, rru=1, rrd=1, state:3
[    1.404066] pwm_fan_driver pwm-fan: index 6: pwm=255, rpm=6000, rru=1, rrd=1, state:3
[    1.404070] pwm_fan_driver pwm-fan: index 7: pwm=255, rpm=7000, rru=1, rrd=1, state:4
[    1.404074] pwm_fan_driver pwm-fan: index 8: pwm=255, rpm=10000, rru=1, rrd=1, state:4
[    1.404078] pwm_fan_driver pwm-fan: index 9: pwm=255, rpm=11000, rru=1, rrd=1, state:4
[    1.407143] device-mapper: uevent: version 1.0.3
[    1.407706] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    1.408503] tegradc tegradc.0: unblank
[    1.412984] tegra210-cpufreq cpufreq: probe()...completed
[    1.413849] sdhci: Secure Digital Host Controller Interface driver
[    1.413850] sdhci: Copyright(c) Pierre Ossman
[    1.413852] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.414415] sdhci-tegra sdhci-tegra.0: Got CD GPIO
[    1.414865] sdhci-tegra sdhci-tegra.0: Client registration for eMC Successful
[    1.415013] sdhci-tegra sdhci-tegra.0: wakeup init done, cdirq 300
[    1.419770] tegra-se 70012000.se: tegra_se_probe: complete
[    1.420369] hidraw: raw HID events driver (C) Jiri Kosina
[    1.421508] usbcore: registered new interface driver usbhid
[    1.421509] usbhid: USB HID core driver
[    1.423748] tegra21x_actmon 6000c800.actmon: in actmon_register()...
[    1.423916] tegra21x_actmon 6000c800.actmon: initialization Completed for the device mc_all
[    1.425914] nvpmodel: initialized successfully
[    1.426903] tegradc tegradc.0: nominal-pclk:410500000 parent:410493750 div:1.0 pclk:410493750 406395000~447445000
[    1.426921] usbcore: registered new interface driver snd-usb-audio
[    1.426949] tegradc tegradc.0: hdmi: tmds rate:410500K prod-setting:prod_c_hdmi_300m_600m
[    1.426981] No Device Node present for smmu client: snd-soc-dummy !!
[    1.426986] platform snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[    1.427004] iommu: Adding device snd-soc-dummy to group 36
[    1.427990] tegradc tegradc.0: hdmi: get YCC quant from EDID.
[    1.439947] OPE platform probe
[    1.440079] OPE platform probe successful
[    1.440108] OPE platform probe
[    1.440192] OPE platform probe successful
[    1.440877] input: tegra-hda HDMI/DP,pcm=3 as /devices/70030000.hda/sound/card0/input0
[    1.463035] mmc0: SDHCI controller on sdhci-tegra.0 [sdhci-tegra.0] using ADMA 64-bit with 64 bit addr
[    1.464247] tegra-asoc: sound: ADMAIF1 <-> ADMAIF1 mapping ok
[    1.464377] tegra-asoc: sound: ADMAIF2 <-> ADMAIF2 mapping ok
[    1.464495] tegra-asoc: sound: ADMAIF3 <-> ADMAIF3 mapping ok
[    1.464611] tegra-asoc: sound: ADMAIF4 <-> ADMAIF4 mapping ok
[    1.464729] tegra-asoc: sound: ADMAIF5 <-> ADMAIF5 mapping ok
[    1.464851] tegra-asoc: sound: ADMAIF6 <-> ADMAIF6 mapping ok
[    1.464966] tegra-asoc: sound: ADMAIF7 <-> ADMAIF7 mapping ok
[    1.465084] tegra-asoc: sound: ADMAIF8 <-> ADMAIF8 mapping ok
[    1.465199] tegra-asoc: sound: ADMAIF9 <-> ADMAIF9 mapping ok
[    1.465318] tegra-asoc: sound: ADMAIF10 <-> ADMAIF10 mapping ok
[    1.477195] u32 classifier
[    1.477196]     Actions configured
[    1.477264] Initializing XFRM netlink socket
[    1.477962] NET: Registered protocol family 10
[    1.478670] NET: Registered protocol family 17
[    1.478680] NET: Registered protocol family 15
[    1.478753] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.478801] Bluetooth: RFCOMM socket layer initialized
[    1.478810] Bluetooth: RFCOMM ver 1.11
[    1.478814] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.478818] Bluetooth: HIDP socket layer initialized
[    1.478834] 9pnet: Installing 9P2000 support
[    1.478886] Key type dns_resolver registered
[    1.479274] Registered cp15_barrier emulation handler
[    1.479280] Registered setend emulation handler
[    1.480362] registered taskstats version 1
[    1.480364] Loading compiled-in X.509 certificates
[    1.480992] Adding domain ve2-pd to PM domain host1x-pd
[    1.481227] Adding domain ve-pd to PM domain host1x-pd
[    1.483216] isp 54600000.isp: initialized
[    1.484140] isp 54680000.isp: initialized
[    1.494165] last reset is due to software reset
[    1.494169] KERNEL: PMC reset status reg: 0x3
[    1.494226] BL: PMC reset status reg: 0x3
[    1.494228] BL: PMIC poweroff Event Recorder: 0x0
[    1.495030] extcon-disp-state extcon:disp-state: cable 47 state 1
[    1.495032] Extcon AUX1(HDMI) enable
[    1.495726] clk_cbus_recalc_rate: no gbus parent
[    1.495731] clk_cbus_round_rate: no gbus parent
[    1.495732] clk_cbus_round_rate: no gbus parent
[    1.495739] clk_cbus_recalc_rate: no gbus parent
[    1.495836] clk_cbus_recalc_rate: no gbus parent
[    1.495839] clk_cbus_round_rate: no gbus parent
[    1.495841] clk_cbus_round_rate: no gbus parent
[    1.495844] clk_cbus_recalc_rate: no gbus parent
[    1.496533] tegra_dvfs: GPU-cap: registered
[    1.496588] tegra dvfs: vdd-cpu: nominal 1168mV, offset 708000uV, step 19200uV, scaling enabled
[    1.496591] tegra dvfs: vdd-core: nominal 1125mV, offset 600000uV, step 12500uV, scaling enabled
[    1.496592] tegra dvfs: vdd-gpu: nominal 1078mV, offset 708000uV, step 10000uV, scaling enabled
[    1.498015] tegra_dvfs: vdd-gpu-vts: registered
[    1.498231] tegradc tegradc.0: sync windows ret = 250
[    1.498400] tegra_core_action core_dvfs_cdev_floor: Tegra CORE DVFS 'floor cooling device' registered
[    1.499083] tegra_core_action core_dvfs_cdev_cap: Tegra CORE DVFS 'cap cooling device' registered
[    1.499581] input: gpio-keys as /devices/gpio-keys/input/input1
[    1.535343] usb 1-2: new high-speed USB device number 2 using tegra-xusb
[    1.541790] tegra_rtc 7000e000.rtc: setting system clock to 2022-01-16 11:33:52 UTC (1642332832)
[    1.542836] vi 54080000.vi: vi_probe: ++
[    1.546992] extcon-disp-state extcon:disp-state: cable 51 state 1
[    1.546995] Extcon HDMI: HPD enabled
[    1.547024] tegradc tegradc.0: hdmi: plugged
[    1.550217] vi 54080000.vi: initialized
[    1.552256] vi 54080000.vi: subdev nvcsi--2 bound
[    1.552363] vi 54080000.vi: subdev nvcsi--1 bound
[    1.553880] Disable partitions left on by BL
[    1.553884]   disb
[    1.553933] bwmgr: missing cdev-type property
[    1.554019] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    1.554026] DRAM derating cdev registered.
[    1.554898] ALSA device list:
[    1.554902]   #0: tegra-hda at 0x70038000 irq 83
[    1.554904]   #1: tegra-snd-t210ref-mobile-rt565x
[    1.558048] Freeing unused kernel memory: 8640K
[    1.574861] usb 1-2: New USB device found, idVendor=0bda, idProduct=5411
[    1.574867] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.574886] usb 1-2: Product: 4-Port USB 2.1 Hub
[    1.574889] usb 1-2: Manufacturer: Generic
[    1.578442] hub 1-2:1.0: USB hub found
[    1.579519] hub 1-2:1.0: 4 ports detected
[    1.583207] Root device found: mmcblk0p1
[    1.680894] mmc0: hw tuning done ...
[    1.680929] mmc0: new ultra high speed SDR104 SDXC card at address aaaa
[    1.681274] mmcblk0: mmc0:aaaa SN128 119 GiB 
[    1.683307] usb 2-1: new SuperSpeed USB device number 2 using tegra-xusb
[    1.686283]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14
[    1.715236] usb 2-1: New USB device found, idVendor=0bda, idProduct=0411
[    1.715243] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.715247] usb 2-1: Product: 4-Port USB 3.1 Hub
[    1.715251] usb 2-1: Manufacturer: Generic
[    1.718385] hub 2-1:1.0: USB hub found
[    1.719168] hub 2-1:1.0: 4 ports detected
[    1.788371] Found dev node: /dev/mmcblk0p1
[    1.826999] usb 1-3: new full-speed USB device number 3 using tegra-xusb
[    1.837320] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    1.839302] Rootfs mounted over mmcblk0p1
[    1.849169] usb 1-3: New USB device found, idVendor=8087, idProduct=0a2b
[    1.849174] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.866122] Switching from initrd to actual rootfs
[    1.926952] usb 1-2.3: new high-speed USB device number 4 using tegra-xusb
[    1.964198] usb 1-2.3: New USB device found, idVendor=0bda, idProduct=5411
[    1.964203] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.964207] usb 1-2.3: Product: 4-Port USB 2.0 Hub
[    1.964209] usb 1-2.3: Manufacturer: Generic
[    1.965545] hub 1-2.3:1.0: USB hub found
[    1.966536] hub 1-2.3:1.0: 4 ports detected
[    2.035730] usb 2-1.3: new SuperSpeed USB device number 3 using tegra-xusb
[    2.068312] usb 2-1.3: New USB device found, idVendor=0bda, idProduct=0411
[    2.068318] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.068323] usb 2-1.3: Product: 4-Port USB 3.0 Hub
[    2.068326] usb 2-1.3: Manufacturer: Generic
[    2.072464] hub 2-1.3:1.0: USB hub found
[    2.074743] hub 2-1.3:1.0: 4 ports detected
[    2.078172] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.090795] cgroup: cgroup2: unknown option "nsdelegate"
[    2.102978] tegra_cec 70015000.tegra_cec: physical address: 20:00.
[    2.110751] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    2.111601] systemd[1]: Detected architecture arm64.
[    2.134234] systemd[1]: Set hostname to <ubuntu>.
[    2.167503] tegra_cec 70015000.tegra_cec: Sent <Text View On> res: -113.
[    2.167508] tegra_cec 70015000.tegra_cec: tegra_cec_init Done.
[    2.258953] usb 1-2.3.2: new full-speed USB device number 5 using tegra-xusb
[    2.281727] usb 1-2.3.2: New USB device found, idVendor=1050, idProduct=0407
[    2.281732] usb 1-2.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.281735] usb 1-2.3.2: Product: YubiKey OTP+FIDO+CCID
[    2.281738] usb 1-2.3.2: Manufacturer: Yubico
[    2.284402] input: Yubico YubiKey OTP+FIDO+CCID as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.2/1-2.3.2:1.0/0003:1050:0407.0001/input/input2
[    2.343561] hid-generic 0003:1050:0407.0001: input,hidraw0: USB HID v1.10 Keyboard [Yubico YubiKey OTP+FIDO+CCID] on usb-70090000.xusb-2.3.2/input0
[    2.344782] hid-generic 0003:1050:0407.0002: hidraw1: USB HID v1.10 Device [Yubico YubiKey OTP+FIDO+CCID] on usb-70090000.xusb-2.3.2/input1
[    2.366024] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    2.366033] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    2.367216] usb 2-1.3.1: new SuperSpeed USB device number 4 using tegra-xusb
[    2.388031] usb 2-1.3.1: New USB device found, idVendor=0bda, idProduct=8153
[    2.388036] usb 2-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[    2.388039] usb 2-1.3.1: Product: USB 10/100/1000 LAN
[    2.388042] usb 2-1.3.1: Manufacturer: CMI
[    2.388045] usb 2-1.3.1: SerialNumber: 000001
[    2.466957] usb 1-2.3.3: new full-speed USB device number 6 using tegra-xusb
[    2.489387] usb 1-2.3.3: New USB device found, idVendor=1532, idProduct=0084
[    2.489392] usb 1-2.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.489395] usb 1-2.3.3: Product: Razer DeathAdder V2
[    2.489398] usb 1-2.3.3: Manufacturer: Razer
[    2.491886] input: Razer Razer DeathAdder V2 as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.3/1-2.3.3:1.0/0003:1532:0084.0003/input/input3
[    2.492163] hid-generic 0003:1532:0084.0003: input,hidraw2: USB HID v1.00 Mouse [Razer Razer DeathAdder V2] on usb-70090000.xusb-2.3.3/input0
[    2.494354] input: Razer Razer DeathAdder V2 as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.3/1-2.3.3:1.1/0003:1532:0084.0004/input/input4
[    2.551135] hid-generic 0003:1532:0084.0004: input,hidraw3: USB HID v1.00 Keyboard [Razer Razer DeathAdder V2] on usb-70090000.xusb-2.3.3/input1
[    2.552294] input: Razer Razer DeathAdder V2 as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.3/1-2.3.3:1.2/0003:1532:0084.0005/input/input5
[    2.571466] usb 2-1.3.1: reset SuperSpeed USB device number 4 using tegra-xusb
[    2.577869] random: systemd: uninitialized urandom read (16 bytes read)
[    2.577902] systemd[1]: Reached target Remote File Systems.
[    2.578204] random: systemd: uninitialized urandom read (16 bytes read)
[    2.580217] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    2.580261] random: systemd: uninitialized urandom read (16 bytes read)
[    2.580281] systemd[1]: Reached target Swap.
[    2.580316] systemd[1]: Reached target User and Group Name Lookups.
[    2.580783] systemd[1]: Created slice System Slice.
[    2.611592] hid-generic 0003:1532:0084.0005: input,hidraw4: USB HID v1.00 Keyboard [Razer Razer DeathAdder V2] on usb-70090000.xusb-2.3.3/input2
[    2.614475] hid-generic 0003:1532:0084.0006: hidraw5: USB HID v1.11 Device [Razer Razer DeathAdder V2] on usb-70090000.xusb-2.3.3/input3
[    2.629490] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[    2.643805] r8152 2-1.3.1:1.0 eth1: v2.09.00 (2017/08/21)
[    2.643811] r8152 2-1.3.1:1.0 eth1: This product is covered by one or more of the following patents:
                    US6,570,884, US6,115,776, and US6,327,625.

[    2.694913] usb 1-2.3.4: new full-speed USB device number 7 using tegra-xusb
[    2.718214] usb 1-2.3.4: New USB device found, idVendor=1532, idProduct=0257
[    2.718220] usb 1-2.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.718224] usb 1-2.3.4: Product: Razer Huntsman Mini
[    2.718227] usb 1-2.3.4: Manufacturer: Razer
[    2.718230] usb 1-2.3.4: SerialNumber: 00000000001A
[    2.720975] input: Razer Razer Huntsman Mini as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.4/1-2.3.4:1.0/0003:1532:0257.0007/input/input6
[    2.730420] nvgpu: 57000000.gpu           gm20b_init_clk_setup_sw:1268 [INFO]  GPCPLL initial settings: NA mode, M=1, N=34, P=3 (id = 1)
[    2.779510] hid-generic 0003:1532:0257.0007: input,hidraw6: USB HID v1.11 Keyboard [Razer Razer Huntsman Mini] on usb-70090000.xusb-2.3.4/input0
[    2.782278] input: Razer Razer Huntsman Mini as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.4/1-2.3.4:1.1/0003:1532:0257.0008/input/input7
[    2.810182] systemd-journald[1994]: Received request to flush runtime journal from PID 1
[    2.839536] hid-generic 0003:1532:0257.0008: input,hidraw7: USB HID v1.11 Keyboard [Razer Razer Huntsman Mini] on usb-70090000.xusb-2.3.4/input1
[    2.841205] input: Razer Razer Huntsman Mini as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.4/1-2.3.4:1.2/0003:1532:0257.0009/input/input8
[    2.841471] hid-generic 0003:1532:0257.0009: input,hidraw8: USB HID v1.11 Mouse [Razer Razer Huntsman Mini] on usb-70090000.xusb-2.3.4/input2
[    2.845275] input: Razer Razer Huntsman Mini as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.4/1-2.3.4:1.3/0003:1532:0257.000A/input/input9
[    2.903126] hid-generic 0003:1532:0257.000A: input,hidraw9: USB HID v1.11 Device [Razer Razer Huntsman Mini] on usb-70090000.xusb-2.3.4/input3
[    3.670573] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    3.670595] cpu-throttle-alert cooling device registered.
[    3.670727] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    3.670741] gpu-throttle-alert cooling device registered.
[    3.670921] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    3.670934] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[    3.670948] hot-surface-alert cooling device registered.
[    3.976214] eth0: 0xffffff800a40c000, 48:b0:2d:51:f7:b1, IRQ 406
[    4.047578] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.082104] Intel(R) Wireless WiFi driver for Linux
[    4.082107] Copyright(c) 2003- 2015 Intel Corporation
[    4.082322] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
[    4.096249] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-26.ucode failed with error -2
[    4.105715] iwlwifi 0000:01:00.0: Falling back to user helper
[    4.113780] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-25.ucode failed with error -2
[    4.123196] iwlwifi 0000:01:00.0: Falling back to user helper
[    4.129751] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-24.ucode failed with error -2
[    4.139131] iwlwifi 0000:01:00.0: Falling back to user helper
[    4.146377] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-23.ucode failed with error -2
[    4.155885] iwlwifi 0000:01:00.0: Falling back to user helper
[    4.240627] iwlwifi 0000:01:00.0: loaded firmware version 22.391740.0 op_mode iwlmvm
[    4.328149] usbcore: registered new interface driver btusb
[    4.332591] Bluetooth: hci0: Firmware revision 0.1 build 226 week 17 2018
[    4.368965] iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
[    4.371204] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled
[    4.371904] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled
[    4.513662] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    4.514457] thermal thermal_zone6: failed to read out thermal zone (-5)
[    4.521356] thermal thermal_zone6: Registering thermal zone thermal_zone6 for type iwlwifi_1
[    5.421760] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.421769] Bluetooth: BNEP socket layer initialized
[    5.656519] using random self ethernet address
[    5.667868] using random host ethernet address
[    6.124849] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    6.135321] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    6.144870] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    6.147467] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled
[    6.147781] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled
[    6.161692] r8152 2-1.3.1:1.0 eth1: carrier on
[    6.270394] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled
[    6.270707] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled
[    6.302206] Mass Storage Function, version: 2009/09/11
[    6.302213] LUN: removable file: (no medium)
[    6.323404] using random self ethernet address
[    6.323407] using random host ethernet address
[    6.326141] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    6.327500] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[    6.518560] zram: Added device: zram0
[    6.523112] zram: Added device: zram1
[    6.523595] zram: Added device: zram2
[    6.545467] zram: Added device: zram3
[    6.599669] zram0: detected capacity change from 0 to 518533120
[    7.527108] tegradc tegradc.0: unblank
[    7.527398] tegradc tegradc.1: blank - powerdown
[    7.634011] Adding 506376k swap on /dev/zram0.  Priority:5 extents:1 across:506376k SS
[    7.635731] zram1: detected capacity change from 0 to 518533120
[    8.647520] Adding 506376k swap on /dev/zram1.  Priority:5 extents:1 across:506376k SS
[    8.649229] zram2: detected capacity change from 0 to 518533120
[    8.920285] random: crng init done
[    8.923686] random: 7 urandom warning(s) missed due to ratelimiting
[    8.955725] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    9.034834] Adding 506376k swap on /dev/zram2.  Priority:5 extents:1 across:506376k SS
[    9.036561] zram3: detected capacity change from 0 to 518533120
[    9.046590] Adding 506376k swap on /dev/zram3.  Priority:5 extents:1 across:506376k SS
[    9.663543] nvgpu: 57000000.gpu             railgate_enable_store:297  [INFO]  railgate is disabled.
[   12.319779] wlan0: authenticate with 7a:da:88:db:4e:dd
[   12.328902] wlan0: send auth to 7a:da:88:db:4e:dd (try 1/3)
[   12.334998] wlan0: authenticated
[   12.338427] wlan0: associate with 7a:da:88:db:4e:dd (try 1/3)
[   12.341481] wlan0: RX AssocResp from 7a:da:88:db:4e:dd (capab=0x1511 status=0 aid=2)
[   12.342903] wlan0: associated
[   12.366049] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   12.369920] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 7a:da:88:db:4e:dd
[   31.868683] vdd-usb-vbus: disabling
[   31.868687] vdd-usb-vbus2: disabling
[   31.868699] vddio-sdmmc3-ap: disabling
[   31.868772] avdd-io-edp-1v05: disabling
[   31.868775] vdd-usb-hub-en: disabling
[ 5285.175509] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5285.175515] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5285.187832] i2c i2c-3: clk rate 50000 not supported
[ 5285.192726] Could not change i2c_ddc sclk rate
[ 5285.197204] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5290.295475] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5290.295480] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5290.307795] i2c i2c-3: clk rate 50000 not supported
[ 5290.312689] Could not change i2c_ddc sclk rate
[ 5290.317163] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5295.415400] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5295.415406] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5295.427708] i2c i2c-3: clk rate 50000 not supported
[ 5295.432591] Could not change i2c_ddc sclk rate
[ 5295.437066] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5300.535348] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5300.535354] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5300.547664] i2c i2c-3: clk rate 50000 not supported
[ 5300.552550] Could not change i2c_ddc sclk rate
[ 5300.557026] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5305.655301] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5305.655308] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5305.667670] i2c i2c-3: clk rate 50000 not supported
[ 5305.672725] Could not change i2c_ddc sclk rate
[ 5305.677254] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5310.775240] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5310.775246] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5310.787551] i2c i2c-3: clk rate 50000 not supported
[ 5310.792443] Could not change i2c_ddc sclk rate
[ 5310.796921] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5315.895178] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5315.895185] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5315.907491] i2c i2c-3: clk rate 50000 not supported
[ 5315.912379] Could not change i2c_ddc sclk rate
[ 5315.916852] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5321.015182] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5321.015189] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5321.027781] i2c i2c-3: clk rate 50000 not supported
[ 5321.032716] Could not change i2c_ddc sclk rate
[ 5321.037220] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5326.135088] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5326.135094] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5326.147410] i2c i2c-3: clk rate 50000 not supported
[ 5326.152302] Could not change i2c_ddc sclk rate
[ 5326.156775] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5331.255037] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5331.255042] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5331.267352] i2c i2c-3: clk rate 50000 not supported
[ 5331.272239] Could not change i2c_ddc sclk rate
[ 5331.276708] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5336.374970] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5336.374976] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5336.387300] i2c i2c-3: clk rate 50000 not supported
[ 5336.392195] Could not change i2c_ddc sclk rate
[ 5336.396677] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5341.494920] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5341.494925] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5341.507237] i2c i2c-3: clk rate 50000 not supported
[ 5341.512130] Could not change i2c_ddc sclk rate
[ 5341.516612] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5346.614865] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5346.614871] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5346.627177] i2c i2c-3: clk rate 50000 not supported
[ 5346.632064] Could not change i2c_ddc sclk rate
[ 5346.636540] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5351.735806] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5351.735812] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5351.748150] i2c i2c-3: clk rate 50000 not supported
[ 5351.753047] Could not change i2c_ddc sclk rate
[ 5351.757531] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5356.858778] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5356.858784] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5356.871152] i2c i2c-3: clk rate 50000 not supported
[ 5356.876042] Could not change i2c_ddc sclk rate
[ 5356.880517] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5361.974729] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5361.974735] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
[ 5361.987049] i2c i2c-3: clk rate 50000 not supported
[ 5361.991938] Could not change i2c_ddc sclk rate
[ 5361.996414] tegradc tegradc.0: hdmi: scdc scrambling status is reset, trying to reconfigure.
[ 5367.094659] tegra_i2c_handle_xfer_error: 2 callbacks suppressed
[ 5367.094665] tegra-i2c 7000c700.i2c: no acknowledge from address 0x54
sh1sh1n11 commented 2 years ago

Any help in resolving this issue would be awesome! Thank you :)

lah7 commented 2 years ago

As a guess, the 4.9 kernel is not compatible with OpenRazer's 3.2.0 codebase, so it cannot be compiled.

It looks like this device uses a custom kernel. 4.9.253-tegra that's running doesn't seem to use a generic kernel like linux-headers-4.15.0-166-generic which is what it installed but probably can't use.

Some suggestions:

sh1sh1n11 commented 2 years ago

Thank you so much @lah7 for such a quick response! Means a lot :) And I hear what you're saying about the kernel being custom.

Here's part of the output of 'dpkg-query -l | grep -i headers'.

nvidia-l4t-kernel-headers            4.9.253-tegra-32.6.1-20210726122000  arm64        NVIDIA Linux Tegra Kernel Headers Package

According to Nvidia's documentation for Jetson Nano, under the Preparing to Build External Kernel Modules section, it is specified that the following kernel directory should be used in order to build external kernel modules.

/usr/src/linux-headers-$(uname -r)-ubuntu18.04_aarch64
or
/lib/modules/$(uname -r)/build

I checked, and the above mentioned 4.9.253-tegra kernel indeed sits in the below directory.

/usr/src/linux-headers-4.9.253-tegra-ubuntu18.04_aarch64/kernel-4.9

I tried following Nvidia's instructions on Building External Kernel Modules, and ran similar commands as so. But got the same result as mentioned above in the make.log output.

$ cd <path_to_module_source>
$ make ARCH=arm64 –C <kernel_directory> M=$(pwd)

As this is the first time I am building kernel modules, I'm really not sure about my approach. Based on the above mentioned 'make.log' that openrazer generated at the time of installation, I found that the openrazer script created four files in the below folder.

pwd
/lib/modules/4.15.0-166-generic/updates/dkms
ls -ahl
total 420K
drwxr-xr-x 2 root root 4.0K Jan 16 10:00 .
drwxr-xr-x 3 root root 4.0K Jan 16 10:00 ..
-rw-r--r-- 1 root root  87K Jan 16 10:00 razeraccessory.ko
-rw-r--r-- 1 root root 122K Jan 16 10:00 razerkbd.ko
-rw-r--r-- 1 root root  29K Jan 16 10:00 razerkraken.ko
-rw-r--r-- 1 root root 160K Jan 16 10:00 razermouse.ko

Can these files be somehow used to build the kernel modules against the 4.9.253-tegra kernel?

Sadly, I don't think I can make use of any other kernel with this device. But I may be wrong.

Also, are you suggesting that since Nvidia uses a quite old (4.9.253-tegra) version of the linux kernel, it is not supported by the new openrazer-driver-dkms (and other relevant openrazer tools)?

If so, I can give the old versions thing a try also. Please let me know what you think. And thanks much for your help once again :)

z3ntu commented 2 years ago

You can try reverting commit https://github.com/openrazer/openrazer/commit/dbd0d90aa90bb8a8ab905cfe6d033270cc4cef29 or just disable compilation of the razeraccessory module as that doesn't seem to be compatible with your old kernel.

sh1sh1n11 commented 2 years ago

Thank you @z3ntu for the detailed analysis on this. Much appreciated! :) And how would I go about doing either of those? Reverting the commit or disabling the compilation of the razeraccessory module altogether. I understand if it's something very basic and probably not the right place to ask. Maybe you could just give me a couple of pointers to get started?

PS: I do understand that I will need to build openrazer tools from source in doing so.

z3ntu commented 2 years ago

You can either manually edit/patch the installed source files in /usr/src/ (e.g. remove razeraccessory from this file https://github.com/openrazer/openrazer/blob/master/driver/Makefile) or patch the razeraccessory_driver.c file there.

Or clone this repo, revert the mentioned commit and follow https://github.com/openrazer/openrazer/wiki/Building-a-package#ubuntu--linux-mint

sh1sh1n11 commented 2 years ago

Thank much @z3ntu, I will give that a try! And feel free to close this issue. Although, I wish that Nvidia Jetson and other such soc devices in the Nvidia lineup are at some point added to the supported list for OpenRazer. Thanks again, and have a great weekend! :)

sh1sh1n11 commented 2 years ago

Thanks much @lah7 and @z3ntu. And apologies for the late response. I went ahead and manually patched the file in question. Then ran the compilation once again, and this time everything went through successfully, thus generating the binaries. Everything now runs perfectly! Thank you!