I Need help rebuilding the Kernel, and excluding built-in modules, on jetson nano

I have wacom cintiq pro 13. Im trying to rebuild the kernel to exclude the built in wacom.ko, and wacom_8001.ko modules. The reason is because the built in modules wacom modules are out dated and dont work with my Cintiq. I use GitHub - JetsonHacksNano/buildKernelAndModules: Build the Linux Kernel and Modules on board the NVIDIA Jetson Nano Developer Kit to rebuild a kernel, i use ./editConfig to customize the kernel, excludinging the modules in HID/ and Input/, then i save the config. as no-wacom.comfig, then rebuild the kernel. But i dont think the nowacom.config is used when building the kernel. 2-5 hours later after its finally finish if it didnt end with a error,i copy the new kernel to the boot folder, reboot. i then clone https://github.com/linuxwacom/input-wacom/wiki/Installing-input-wacom-from-source, run ./configure, the run make && make install, then it say the wacom is built-in in my kernel config, but i though i told it not make them built in with the config.

any help would be greatly appreciated. ill put terminal outputs in a little while.

Some base information might be useful for youā€¦

Every kernel results in a version which you can see via ā€œuname -rā€. Module files are always searched for within ā€œ/lib/modules/$(uname -r)/kernel/ā€. If the base kernel is compiled with a different ā€œCONFIG_LOCALVERSIONā€, then that version changes, and so does the search location for modules.

Some features are directly added to the kernel (and in fact most are), and are not in the format of a separate module. During configuration the ā€œyā€ for ā€œyesā€ puts a feature directly in the base kernel, and not as a module. The ā€œmā€ creates a module. If you were to go to ā€œ/lib/modules/$(uname -r)/kernel/ā€, and then find a module, followed by moving it elsewhere, or gzip of the file to change its name, then the module would not load and the feature would essentially become ā€œnā€ (for ā€œnoā€).

If you want to see what the kernel feature mix is on the Jetson, then you could run:

zcat /proc/config.gz

To specifically see what you have with ā€œwacomā€ in the name:

zcat /proc/config.gz | grep -i "wacom"

On one system (not a Nano, but a TX2) I see:

# zcat /proc/config.gz | grep -i wacom
# CONFIG_TABLET_SERIAL_WACOM4 is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_WACOM_I2C is not set
CONFIG_HID_WACOM<b>=y</b>

This tells me there are no ā€œ.koā€ kernel module files involved and that the feature is integrated. You can remove the feature, but this is not done via a module. Adding a feature is a separate step once this is removed.

The ā€œuname -rā€ of this system is ā€œ4.9.140-tegraā€. This means that the ā€œCONFIG_LOCALVERSIONā€ was set (within the kernel configuration, prior to compile) as ā€œ-tegraā€. If I wanted to remove the wacom parameter, then Iā€™d need to rebuild the base kernel, and not modules. I would reuse all of the original modules, as there is no reason to rebuild everything since wacom is not a module. In order to reuse the existing modules I would make sure my ā€œCONFIG_LOCALVERSIONā€ remains as ā€œ-tegraā€, and the only config change (after I have ā€œ/proc/config.gzā€ uncompressed and named ā€œ.configā€ in the kernel source build) would be to change this config item:

CONFIG_HID_WACOM<b>=n</b>

Then I would build the ā€œ.koā€ kernel module from the external source you really want. A simple file copy to the right location, and an ā€œsudo depmod -Aā€ (or reboot) should put your module in place (the ā€œ=nā€ does not disable a feature, but instead simply chooses to not build the moduleā€¦your module in the correct location will still work).

In the kernel source the Wacom driver for HID is under ā€œdrivers/hid/ā€, and so the traditional place to put the module would be here:

/lib/modules/$(uname -r)/kernel/<b>drivers/hid/</b>

Summary:

  1. Use the existing configuration by copying "/proc/config.gz" somewhere safe.
  2. Wherever you compile your source, copy the "config.gz" to the top level directory.
  3. Unpack:
    gunzip config.gz
    mv config .config
    
  4. Edit ".config", and if your "uname -r" ends in "-tegra", then edit:
    CONFIG_LOCALVERSION="-tegra"
    

    (this ā€œ.configā€ replaces any ā€œmake something_defconfigā€)

  5. Use your favorite kernel config editor and disable the Wacom feature with "=n" (my favorite editor is "make nconfig" since it can search for symbols, e.g., it can go straight to "CONFIG_HID_WACOM").
  6. Build the kernel, and ignore modules. Assuming you compile natively
  7. At this point the Image file is what you want since it has no Wacom in it.
  8. Follow instructions for adding the new Image file and reboot. Verify your "uname -r" has not changed...if it has, then modules will fail since search is now in the wrong location.
  9. At this point your system is running normally other than not having the Wacom driver. Verify the CONFIG_HID_WACOM is now "=n":
    zcat /proc/config.gz | grep -i "wacom"
    
  10. Follow your instructions for building only the Wacom driver as a ".ko" module.
  11. Copy the ".ko" file to "/lib/modules/$(uname -r)/kernel/drivers/hid/".
  12. Run "sudo depmod -A" or reboot (or both).
  13. Verify the ".ko" file is visible:
    lsmod | grep -i wacom
    

NOTE: If you build the base kernel Image file, and ā€œuname -rā€ changes such that it has an extra ā€œ+ā€ on the end of the ā€œuname -rā€, then you can "get rid of the pesky ā€œ+ā€. If you have this issue, then in the kernel source find ā€œscripts/setlocalversionā€. Then edit this file, find function ā€œscm_version()ā€, and make sure it forcibly returns prior to getting a chance to append the ā€œ+ā€:

scm_version()
{
        local short
        short=false
        **return**

Sorry, for going M.I.A, but i have just been really busy. But after doing alot of digging, i realised that all ubuntu derivatives have the same issue it seems, from pop-os linux mint, xbuntu, etc, regardless up the distro. The input-wacom, and linuxwacom are out of date, and updating them seems to be a pain, because of missing dependencies, or those dependencies in ubuntu repos are out of date. This makes compiling linuxwacom driver difficult. i tried what you suggested, but it kept outputting the same error. I will post he error later today, after i get off work. But i was able to recompile the kernel with the new input-wacom source files, but i havent tested the new image. I bought a 3rd nano to help speed up this whole process. And installed barrier to server as a kvm, so testing can go alot smoother. Because i ranned into alot of road blocks and issues. Ill post more info later when i get home, its the weekend so i have time to work on it. Thanks linuxdev

1 Like

This is the error that keeps popping up, even after trying what you suggested

input-wacom-0.45.0 if test -x ./autogen.sh; then ./autogen.sh; else ./configure; fi && make && sudo make install || echo ā€œBuild Failedā€

checking for a BSD-compatible installā€¦ /usr/bin/install -c
checking whether build environment is saneā€¦ yes
checking for a thread-safe mkdir -pā€¦ /bin/mkdir -p
checking for gawkā€¦ no
checking for mawkā€¦ mawk
checking whether make sets $(MAKE)ā€¦ yes
checking whether make supports nested variablesā€¦ yes
checking whether to enable maintainer-specific portions of Makefilesā€¦ no
checking for gccā€¦ gcc
checking whether the C compiler worksā€¦ yes
checking for C compiler default output file nameā€¦ a.out
checking for suffix of executablesā€¦
checking whether we are cross compilingā€¦ no
checking for suffix of object filesā€¦ o
checking whether we are using the GNU C compilerā€¦ yes
checking whether gcc accepts -gā€¦ yes
checking for gcc option to accept ISO C89ā€¦ none needed
checking whether gcc understands -c and -o togetherā€¦ yes
checking whether make supports the include directiveā€¦ yes (GNU style)
checking dependency style of gccā€¦ none
checking if build path ā€˜/home/mark/Downloads/input-wacom-0.45.0ā€™ has spacesā€¦ no
checking for kernel typeā€¦ Linux
checking for linux-based kernelā€¦ yes
checking for kernel source/headersā€¦ /lib/modules/4.9.140-tegra/source
checking kernel versionā€¦ 4.9.140-tegra
checking RHEL6 minor releaseā€¦ 0
checking RHEL7 minor releaseā€¦ 0
checking power supply versionā€¦ v4.1+
checking abs accessor versionā€¦ v2.6.36+
checking CONFIG_MODULE_SIGā€¦
checking CONFIG_MODULE_SIG_FORCEā€¦
checking CONFIG_LOCK_DOWN_KERNELā€¦
checking CONFIG_LOCK_DOWN_IN_EFI_SECURE_BOOTā€¦
checking secure boot stateā€¦ off
checking if modules must be signedā€¦ no
checking CONFIG_MODULE_SIG_HASHā€¦
checking for module signing hash algorithmā€¦ sha512
checking for kernel autogenerated key at /lib/modules/4.9.140-tegra/source/ā€¦ no
checking for kernel autogenerated cert at /lib/modules/4.9.140-tegra/source/certs/signing_key.x509ā€¦ no
checking for shim MOK key at /var/lib/shim-signed/mok/MOK.privā€¦ no
checking for shim MOK cert at /var/lib/shim-signed/mok/MOK.derā€¦ no
checking for rEFInd MOK key at /etc/refind.d/keys/refind_local.keyā€¦ no
checking for rEFInd MOK cert at /etc/refind.d/keys/refind_local.cerā€¦ no
checking for module signing keyā€¦
checking for module signing certificateā€¦

checking that generated files are newer than configureā€¦ done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating 2.6.32/Makefile
config.status: creating 2.6.38/Makefile
config.status: creating 3.7/Makefile
config.status: creating 3.17/Makefile
config.status: creating 4.5/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure:

BUILD ENVIRONMENT:
linux kernel - yes 4.5
kernel source - yes /lib/modules/4.9.140-tegra/source

NOTE: The kernel drivers included in this package are only tested with the
X Wacom driver built from xf86-input-wacom. If you are running an X server
version older than 1.7, please use the drivers provided by the linuxwacom
package.

Please run ā€˜make && make installā€™.
make all-recursive
make[1]: Entering directory ā€˜/home/mark/Downloads/input-wacom-0.45.0ā€™
Making all in 4.5
make[2]: Entering directory ā€˜/home/mark/Downloads/input-wacom-0.45.0/4.5ā€™
Building input-wacom drivers for 4.5 kernel.
make -C /lib/modules/4.9.140-tegra/source M=/home/mark/Downloads/input-wacom-0.45.0/4.5
make[3]: Entering directory ā€˜/usr/src/linux-headers-4.9.140-tegra-ubuntu18.04_aarch64/kernel-4.9ā€™
/home/mark/Downloads/input-wacom-0.45.0/4.5/Makefile:14: *** You requested to build wacom with configure, but wacom is configured as built-in in your kernel config. Stop.
Makefile:1629: recipe for target ā€˜module/home/mark/Downloads/input-wacom-0.45.0/4.5ā€™ failed
make[3]: *** [module/home/mark/Downloads/input-wacom-0.45.0/4.5] Error 2
make[3]: Leaving directory ā€˜/usr/src/linux-headers-4.9.140-tegra-ubuntu18.04_aarch64/kernel-4.9ā€™
Makefile:39: recipe for target ā€˜allā€™ failed
make[2]: *** [all] Error 2
make[2]: Leaving directory ā€˜/home/mark/Downloads/input-wacom-0.45.0/4.5ā€™
Makefile:376: recipe for target ā€˜all-recursiveā€™ failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory ā€˜/home/mark/Downloads/input-wacom-0.45.0ā€™
Makefile:307: recipe for target ā€˜allā€™ failed
make: *** [all] Error 2
Build Failed

Im currently trying to make a script to auto the process and add the source file to build a new kernel image, and install everything thing else. this is a hea

NOTE: To see your current L4T release use ā€œhead -n 1 /etc/nv_tegra_releaseā€. Also, I substitute ā€œ$(uname -r)ā€ in places below, but for you this is the same as ā€œ4.9.140-tegraā€. You will maybe use that information as you work, e.g., in a kernel config item ā€œCONFIG_LOCALVERSIONā€, the ā€œ-tegraā€ suffix implies ā€œCONFIG_LOCALVERSION=-tegraā€.

Changing the actual Xorg X11 server release is problematic, but from what I see you shouldnā€™t need to worry about it. The configure warns about releases prior to 1.7, but you can verify your version is more recent with:

egrep 'X.Org X Server [0-9]' /var/log/Xorg.0.log

There are, however, two issues you do need to consider. The file ā€œ/lib/modules/$(uname -r)/sourceā€ would normally by a symbolic link pointed to ā€œ/lib/modules/$(uname -r)/buildā€, and this in turn would point at the kernel source which is configured to match your currently running system. This is rather long, but it explains how to set up the full kernel source on the Jetson and to configure that source:
https://devtalk.nvidia.com/default/topic/1047880/jetson-tx1/mount-network-folder-samba-cifs/post/5322451/#5322451

If you place your full kernel source into the Jetson, and need to figure out the symbolic links, just ask. The ā€œsourceā€ and ā€œbuildā€ symbolic links are not actually used for boot, and so having these wrong wonā€™t in any way risk boot problems (some application builds require kernel headers, and others require full kernel source, and it looks like your build wants kernel source with a symbolic link pointing at more than just headers).

The most recent R32.3.1+ release may already have kernel headers, but if you need full source, then you may still need to follow the above paragraph to install not just headers, but full source. I donā€™t know if R32.3.1+ release has added a ā€œ.debā€ package method to add full source, but I do know the above will work, and that even if source is installed, then you will still want to configure that source to match your running system. Even if you use a package based kernel source install you would still need to configure it.

The second problem is:

*** You requested to build wacom with configure, but wacom is configured as built-in in your kernel config. Stop.

Once you have fully configured the source, then you could remove the built-in configuration for the Wacom, and then reconfigure it as a module, e.g., via taking a previously matching config and using ā€œmake nconfigā€ from the source directory to change only that item while keeping the rest of the config the same.

Make sure you follow the instructions for placing the new Image on your version of the Nano or the system may not boot. You could leave out the new Wacom tablet module for now and this shouldnā€™t prevent boot, and then when you build the module against that source it will just be a file copy and it should work.

NOTE: Official docs show how to cross compile from a host PC. This would also work. In that case you would still configure your kernel source to match the running system, then use a config editor to remove the built-in Wacom feature, and change it instead to module format. Then you could cross compile the third party Wacom module against that.

If you want to know more about modules versus integrated kernel features, then see this (not necessary, but you might find it useful):
https://devtalk.nvidia.com/default/topic/1012382/jetson-tx2/usb-wifi-adapter-s-/post/5290682/#5290682

i want to provide some more log info. i used the kernel to build the modules, this is the output of dmesg and syslog kern.log, when my cintiq pro us plugged up.

==> /var/log/kern.log <==
Mar 8 10:06:58 mark-desktop kernel: [ 1098.578458] usb 1-2.3.4.1: new full-speed USB device number 10 using tegra-xusb

==> /var/log/dmesg.log <==
[ 1098.578458] usb 1-2.3.4.1: new full-speed USB device number 10 using tegra-xusb
[ 1098.600819] usb 1-2.3.4.1: New USB device found, idVendor=056a, idProduct=034f
[ 1098.600826] usb 1-2.3.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1098.600830] usb 1-2.3.4.1: Product: Cintiq Pro 13
[ 1098.600834] usb 1-2.3.4.1: Manufacturer: Wacom Co.,Ltd.
[ 1098.600837] usb 1-2.3.4.1: SerialNumber: 8KQ0061000119

==> /var/log/syslog <==
Mar 8 10:06:58 mark-desktop kernel: [ 1098.600819] usb 1-2.3.4.1: New USB device found, idVendor=056a, idProduct=034f
Mar 8 10:06:58 mark-desktop kernel: [ 1098.600826] usb 1-2.3.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 8 10:06:58 mark-desktop kernel: [ 1098.600830] usb 1-2.3.4.1: Product: Cintiq Pro 13
Mar 8 10:06:58 mark-desktop kernel: [ 1098.600834] usb 1-2.3.4.1: Manufacturer: Wacom Co.,Ltd.
Mar 8 10:06:58 mark-desktop kernel: [ 1098.600837] usb 1-2.3.4.1: SerialNumber: 8KQ0061000119

==> /var/log/kern.log <==
Mar 8 10:06:58 mark-desktop kernel: [ 1098.600819] usb 1-2.3.4.1: New USB device found, idVendor=056a, idProduct=034f
Mar 8 10:06:58 mark-desktop kernel: [ 1098.600826] usb 1-2.3.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 8 10:06:58 mark-desktop kernel: [ 1098.600830] usb 1-2.3.4.1: Product: Cintiq Pro 13
Mar 8 10:06:58 mark-desktop kernel: [ 1098.600834] usb 1-2.3.4.1: Manufacturer: Wacom Co.,Ltd.
Mar 8 10:06:58 mark-desktop kernel: [ 1098.600837] usb 1-2.3.4.1: SerialNumber: 8KQ0061000119

==> /var/log/dmesg.log <==
[ 1098.608367] input: Wacom Co.,Ltd. Cintiq Pro 13 Pen as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.4/1-2.3.4.1/1-2.3.4.1:1.0/0003:056A:034F.0006/input/input6
[ 1098.609222] wacom 0003:056A:034F.0006: hidraw2: USB HID v1.10 Device [Wacom Co.,Ltd. Cintiq Pro 13] on usb-70090000.xusb-2.3.4.1/input0

==> /var/log/syslog <==
Mar 8 10:06:58 mark-desktop kernel: [ 1098.608367] input: Wacom Co.,Ltd. Cintiq Pro 13 Pen as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.4/1-2.3.4.1/1-2.3.4.1:1.0/0003:056A:034F.0006/input/input6
Mar 8 10:06:58 mark-desktop kernel: [ 1098.609222] wacom 0003:056A:034F.0006: hidraw2: USB HID v1.10 Device [Wacom Co.,Ltd. Cintiq Pro 13] on usb-70090000.xusb-2.3.4.1/input0

==> /var/log/kern.log <==
Mar 8 10:06:58 mark-desktop kernel: [ 1098.608367] input: Wacom Co.,Ltd. Cintiq Pro 13 Pen as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.4/1-2.3.4.1/1-2.3.4.1:1.0/0003:056A:034F.0006/input/input6
Mar 8 10:06:58 mark-desktop kernel: [ 1098.609222] wacom 0003:056A:034F.0006: hidraw2: USB HID v1.10 Device [Wacom Co.,Ltd. Cintiq Pro 13] on usb-70090000.xusb-2.3.4.1/input0

==> /var/log/syslog <==
Mar 8 10:06:58 mark-desktop nautilus-autostart.desktop[6713]: message repeated 68 times: [ Error: Canā€™t initialize nvrm channel]
Mar 8 10:06:58 mark-desktop mtp-probe: checking bus 1, device 10: ā€œ/sys/devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.4/1-2.3.4.1ā€
Mar 8 10:06:58 mark-desktop mtp-probe: bus: 1, device: 10 was not an MTP device
Mar 8 10:06:58 mark-desktop nautilus-autostart.desktop[6713]: Error: Canā€™t initialize nvrm channel
Mar 8 10:06:58 mark-desktop nautilus-autostart.desktop[6713]: Error: Canā€™t initialize nvrm channel
Mar 8 10:06:58 mark-desktop fwupd[8256]: failed to add USB device 056a:034f: command response was 0 expected 213
Mar 8 10:06:58 mark-desktop nautilus-autostart.desktop[6713]: Error: Canā€™t initialize nvrm channel
Mar 8 10:06:58 mark-desktop /usr/lib/gdm3/gdm-x-session[5617]: (II) config/udev: Adding input device (unnamed) (/dev/input/event3)
Mar 8 10:06:58 mark-desktop /usr/lib/gdm3/gdm-x-session[5617]: () (unnamed): Applying InputClass ā€œlibinput tablet catchallā€
Mar 8 10:06:58 mark-desktop /usr/lib/gdm3/gdm-x-session[5617]: (II) Using input driver ā€˜libinputā€™ for ā€˜(unnamed)ā€™
Mar 8 10:06:58 mark-desktop /usr/lib/gdm3/gdm-x-session[5617]: (EE) systemd-logind: failed to take device /dev/input/event3: No such device
Mar 8 10:06:58 mark-desktop /usr/lib/gdm3/gdm-x-session[5617]: (
) (unnamed): always reports core events
Mar 8 10:06:58 mark-desktop /usr/lib/gdm3/gdm-x-session[5617]: () Option ā€œDeviceā€ ā€œ/dev/input/event3ā€
Mar 8 10:06:58 mark-desktop /usr/lib/gdm3/gdm-x-session[5617]: (
) Option ā€œ_sourceā€ ā€œserver/udevā€
Mar 8 10:06:58 mark-desktop /usr/lib/gdm3/gdm-x-session[5617]: (EE) client bug: Invalid path /dev/input/event3
Mar 8 10:06:58 mark-desktop /usr/lib/gdm3/gdm-x-session[5617]: (EE) libinput: (unnamed): Failed to create a device for /dev/input/event3
Mar 8 10:06:58 mark-desktop /usr/lib/gdm3/gdm-x-session[5617]: (EE) PreInit returned 2 for ā€œ(unnamed)ā€
Mar 8 10:06:58 mark-desktop /usr/lib/gdm3/gdm-x-session[5617]: (II) UnloadModule: ā€œlibinputā€
Mar 8 10:06:58 mark-desktop nautilus-autostart.desktop[6713]: Error: Canā€™t initialize nvrm channel
Mar 8 10:06:59 mark-desktop nautilus-autostart.desktop[6713]: message repeated 51 times: [ Error: Canā€™t initialize nvrm channel]
Mar 8 10:06:59 mark-desktop ModemManager[4255]: Couldnā€™t check support for device ā€˜/sys/devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3.4/1-2.3.4.4ā€™: not supported by any plugin
Mar 8 10:06:59 mark-desktop nautilus-autostart.desktop[6713]: Error: Canā€™t initialize nvrm channel
Mar 8 10:08:56 mark-desktop kernel: [ 1216.270177] FAN rising trip_level:1 cur_temp:51000 trip_temps[2]:61000

==> /var/log/kern.log <==
Mar 8 10:08:56 mark-desktop kernel: [ 1216.270177] FAN rising trip_level:1 cur_temp:51000 trip_temps[2]:61000

==> /var/log/dmesg.log <==
[ 1216.270177] FAN rising trip_level:1 cur_temp:51000 trip_temps[2]:61000

seems like it recognized it as a input but no modules are loaded that were built from the kernel. but i was able to get it to make the modules externally. so i will try to build a image and see if i can try to get the newer modules built from source. but im also wonder if the xserver/ xserver-input-wacom, could also be causing part of the problem

Here is the output from Kali linux, where the same tablet is working just fine out of the box no configuration/installation needed, i quickly realized the outputs arent the same.

==> /var/log/messages <==
Mar 8 10:41:23 R-kali kernel: [565148.734008] usb 2-3: new high-speed USB device number 29 using xhci_hcd

==> /var/log/dmesg.log <==
[565148.754339] usb 2-3: New USB device found, idVendor=056a, idProduct=036f, bcdDevice= 1.00
[565148.754343] usb 2-3: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[565148.754344] usb 2-3: SerialNumber: 8F03006110CE
[565148.754758] hub 2-3:1.0: USB hub found
[565148.754821] hub 2-3:1.0: 4 ports detected

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali kernel: [565148.754339] usb 2-3: New USB device found, idVendor=056a, idProduct=036f, bcdDevice= 1.00
Mar 8 10:41:23 R-kali kernel: [565148.754343] usb 2-3: New USB device strings: Mfr=0, Product=0, SerialNumber=1
Mar 8 10:41:23 R-kali kernel: [565148.754344] usb 2-3: SerialNumber: 8F03006110CE
Mar 8 10:41:23 R-kali kernel: [565148.754758] hub 2-3:1.0: USB hub found
Mar 8 10:41:23 R-kali kernel: [565148.754821] hub 2-3:1.0: 4 ports detected

==> /var/log/messages <==
Mar 8 10:41:23 R-kali kernel: [565148.754339] usb 2-3: New USB device found, idVendor=056a, idProduct=036f, bcdDevice= 1.00
Mar 8 10:41:23 R-kali kernel: [565148.754343] usb 2-3: New USB device strings: Mfr=0, Product=0, SerialNumber=1
Mar 8 10:41:23 R-kali kernel: [565148.754344] usb 2-3: SerialNumber: 8F03006110CE
Mar 8 10:41:23 R-kali kernel: [565148.754758] hub 2-3:1.0: USB hub found
Mar 8 10:41:23 R-kali kernel: [565148.754821] hub 2-3:1.0: 4 ports detected

==> /var/log/dmesg.log <==
[565149.042001] usb 2-3.4: new high-speed USB device number 30 using xhci_hcd

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali kernel: [565149.042001] usb 2-3.4: new high-speed USB device number 30 using xhci_hcd

==> /var/log/messages <==
Mar 8 10:41:23 R-kali kernel: [565149.042001] usb 2-3.4: new high-speed USB device number 30 using xhci_hcd

==> /var/log/dmesg.log <==
[565149.062473] usb 2-3.4: New USB device found, idVendor=056a, idProduct=0366, bcdDevice= 1.00
[565149.062477] usb 2-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[565149.062479] usb 2-3.4: SerialNumber: AF03008110CE
[565149.062922] hub 2-3.4:1.0: USB hub found

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali kernel: [565149.062473] usb 2-3.4: New USB device found, idVendor=056a, idProduct=0366, bcdDevice= 1.00
Mar 8 10:41:23 R-kali kernel: [565149.062477] usb 2-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=1
Mar 8 10:41:23 R-kali kernel: [565149.062479] usb 2-3.4: SerialNumber: AF03008110CE
Mar 8 10:41:23 R-kali kernel: [565149.062922] hub 2-3.4:1.0: USB hub found
Mar 8 10:41:23 R-kali kernel: [565149.062951] hub 2-3.4:1.0: 4 ports detected

==> /var/log/dmesg.log <==
[565149.062951] hub 2-3.4:1.0: 4 ports detected

==> /var/log/messages <==
Mar 8 10:41:23 R-kali kernel: [565149.062473] usb 2-3.4: New USB device found, idVendor=056a, idProduct=0366, bcdDevice= 1.00
Mar 8 10:41:23 R-kali kernel: [565149.062477] usb 2-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=1
Mar 8 10:41:23 R-kali kernel: [565149.062479] usb 2-3.4: SerialNumber: AF03008110CE
Mar 8 10:41:23 R-kali kernel: [565149.062922] hub 2-3.4:1.0: USB hub found
Mar 8 10:41:23 R-kali kernel: [565149.062951] hub 2-3.4:1.0: 4 ports detected

==> /var/log/dmesg.log <==
[565149.350009] usb 2-3.4.1: new full-speed USB device number 31 using xhci_hcd

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali kernel: [565149.350009] usb 2-3.4.1: new full-speed USB device number 31 using xhci_hcd

==> /var/log/messages <==
Mar 8 10:41:23 R-kali kernel: [565149.350009] usb 2-3.4.1: new full-speed USB device number 31 using xhci_hcd

==> /var/log/dmesg.log <==
[565149.452226] usb 2-3.4.1: New USB device found, idVendor=056a, idProduct=034f, bcdDevice= 1.23
[565149.452229] usb 2-3.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[565149.452231] usb 2-3.4.1: Product: Cintiq Pro 13
[565149.452233] usb 2-3.4.1: Manufacturer: Wacom Co.,Ltd.

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali kernel: [565149.452226] usb 2-3.4.1: New USB device found, idVendor=056a, idProduct=034f, bcdDevice= 1.23
Mar 8 10:41:23 R-kali kernel: [565149.452229] usb 2-3.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 8 10:41:23 R-kali kernel: [565149.452231] usb 2-3.4.1: Product: Cintiq Pro 13
Mar 8 10:41:23 R-kali kernel: [565149.452233] usb 2-3.4.1: Manufacturer: Wacom Co.,Ltd.
Mar 8 10:41:23 R-kali kernel: [565149.452234] usb 2-3.4.1: SerialNumber: 8KQ0061000119

==> /var/log/dmesg.log <==
[565149.452234] usb 2-3.4.1: SerialNumber: 8KQ0061000119

==> /var/log/messages <==
Mar 8 10:41:23 R-kali kernel: [565149.452226] usb 2-3.4.1: New USB device found, idVendor=056a, idProduct=034f, bcdDevice= 1.23
Mar 8 10:41:23 R-kali kernel: [565149.452229] usb 2-3.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 8 10:41:23 R-kali kernel: [565149.452231] usb 2-3.4.1: Product: Cintiq Pro 13
Mar 8 10:41:23 R-kali kernel: [565149.452233] usb 2-3.4.1: Manufacturer: Wacom Co.,Ltd.
Mar 8 10:41:23 R-kali kernel: [565149.452234] usb 2-3.4.1: SerialNumber: 8KQ0061000119

==> /var/log/dmesg.log <==
[565149.459080] input: Wacom Cintiq Pro 13 Pen as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.1/2-3.4.1:1.0/0003:056A:034F.0016/input/input41
[565149.459274] input: Wacom Cintiq Pro 13 Pad as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.1/2-3.4.1:1.0/0003:056A:034F.0016/input/input43

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali kernel: [565149.459080] input: Wacom Cintiq Pro 13 Pen as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.1/2-3.4.1:1.0/0003:056A:034F.0016/input/input41
Mar 8 10:41:23 R-kali kernel: [565149.459274] input: Wacom Cintiq Pro 13 Pad as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.1/2-3.4.1:1.0/0003:056A:034F.0016/input/input43
Mar 8 10:41:23 R-kali kernel: [565149.459460] wacom 0003:056A:034F.0016: hidraw2: USB HID v1.10 Device [Wacom Co.,Ltd. Cintiq Pro 13] on usb-0000:00:14.0-3.4.1/input0

==> /var/log/dmesg.log <==
[565149.459460] wacom 0003:056A:034F.0016: hidraw2: USB HID v1.10 Device [Wacom Co.,Ltd. Cintiq Pro 13] on usb-0000:00:14.0-3.4.1/input0

==> /var/log/messages <==
Mar 8 10:41:23 R-kali kernel: [565149.459080] input: Wacom Cintiq Pro 13 Pen as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.1/2-3.4.1:1.0/0003:056A:034F.0016/input/input41
Mar 8 10:41:23 R-kali kernel: [565149.459274] input: Wacom Cintiq Pro 13 Pad as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.1/2-3.4.1:1.0/0003:056A:034F.0016/input/input43
Mar 8 10:41:23 R-kali kernel: [565149.459460] wacom 0003:056A:034F.0016: hidraw2: USB HID v1.10 Device [Wacom Co.,Ltd. Cintiq Pro 13] on usb-0000:00:14.0-3.4.1/input0

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali mtp-probe: checking bus 2, device 31: ā€œ/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.1ā€

==> /var/log/messages <==
Mar 8 10:41:23 R-kali mtp-probe: checking bus 2, device 31: ā€œ/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.1ā€

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali mtp-probe: bus: 2, device: 31 was not an MTP device

==> /var/log/messages <==
Mar 8 10:41:23 R-kali mtp-probe: bus: 2, device: 31 was not an MTP device

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali kernel: [565149.538026] usb 2-3.4.2: new full-speed USB device number 32 using xhci_hcd

==> /var/log/dmesg.log <==
[565149.538026] usb 2-3.4.2: new full-speed USB device number 32 using xhci_hcd

==> /var/log/messages <==
Mar 8 10:41:23 R-kali kernel: [565149.538026] usb 2-3.4.2: new full-speed USB device number 32 using xhci_hcd

==> /var/log/dmesg.log <==
[565149.643832] usb 2-3.4.2: New USB device found, idVendor=056a, idProduct=0353, bcdDevice= 1.01
[565149.643836] usb 2-3.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[565149.643839] usb 2-3.4.2: Product: Cintiq Pro 13 Touch

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali kernel: [565149.643832] usb 2-3.4.2: New USB device found, idVendor=056a, idProduct=0353, bcdDevice= 1.01
Mar 8 10:41:23 R-kali kernel: [565149.643836] usb 2-3.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 8 10:41:23 R-kali kernel: [565149.643839] usb 2-3.4.2: Product: Cintiq Pro 13 Touch
Mar 8 10:41:23 R-kali kernel: [565149.643841] usb 2-3.4.2: Manufacturer: Wacom Co.,Ltd.

==> /var/log/dmesg.log <==
[565149.643841] usb 2-3.4.2: Manufacturer: Wacom Co.,Ltd.

==> /var/log/messages <==
Mar 8 10:41:23 R-kali kernel: [565149.643832] usb 2-3.4.2: New USB device found, idVendor=056a, idProduct=0353, bcdDevice= 1.01
Mar 8 10:41:23 R-kali kernel: [565149.643836] usb 2-3.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 8 10:41:23 R-kali kernel: [565149.643839] usb 2-3.4.2: Product: Cintiq Pro 13 Touch
Mar 8 10:41:23 R-kali kernel: [565149.643841] usb 2-3.4.2: Manufacturer: Wacom Co.,Ltd.

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali mtp-probe: checking bus 2, device 31: ā€œ/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.1ā€

==> /var/log/messages <==
Mar 8 10:41:23 R-kali mtp-probe: checking bus 2, device 31: ā€œ/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.1ā€

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali mtp-probe: bus: 2, device: 31 was not an MTP device

==> /var/log/messages <==
Mar 8 10:41:23 R-kali mtp-probe: bus: 2, device: 31 was not an MTP device

==> /var/log/dmesg.log <==
[565149.650016] input: Wacom Cintiq Pro 13 Touch Finger as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.2/2-3.4.2:1.0/0003:056A:0353.0017/input/input45
[565149.650406] wacom 0003:056A:0353.0017: hidraw3: USB HID v1.11 Device [Wacom Co.,Ltd. Cintiq Pro 13 Touch] on usb-0000:00:14.0-3.4.2/input0

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali kernel: [565149.650016] input: Wacom Cintiq Pro 13 Touch Finger as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.2/2-3.4.2:1.0/0003:056A:0353.0017/input/input45
Mar 8 10:41:23 R-kali kernel: [565149.650406] wacom 0003:056A:0353.0017: hidraw3: USB HID v1.11 Device [Wacom Co.,Ltd. Cintiq Pro 13 Touch] on usb-0000:00:14.0-3.4.2/input0

==> /var/log/messages <==
Mar 8 10:41:23 R-kali kernel: [565149.650016] input: Wacom Cintiq Pro 13 Touch Finger as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.2/2-3.4.2:1.0/0003:056A:0353.0017/input/input45
Mar 8 10:41:23 R-kali kernel: [565149.650406] wacom 0003:056A:0353.0017: hidraw3: USB HID v1.11 Device [Wacom Co.,Ltd. Cintiq Pro 13 Touch] on usb-0000:00:14.0-3.4.2/input0

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali mtp-probe: checking bus 2, device 32: ā€œ/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.2ā€

==> /var/log/messages <==
Mar 8 10:41:23 R-kali mtp-probe: checking bus 2, device 32: ā€œ/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.2ā€

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali mtp-probe: bus: 2, device: 32 was not an MTP device

==> /var/log/messages <==
Mar 8 10:41:23 R-kali mtp-probe: bus: 2, device: 32 was not an MTP device

==> /var/log/dmesg.log <==
[565149.730022] usb 2-3.4.3: new high-speed USB device number 33 using xhci_hcd

==> /var/log/syslog <==
Mar 8 10:41:23 R-kali kernel: [565149.730022] usb 2-3.4.3: new high-speed USB device number 33 using xhci_hcd

==> /var/log/messages <==
Mar 8 10:41:23 R-kali kernel: [565149.730022] usb 2-3.4.3: new high-speed USB device number 33 using xhci_hcd

==> /var/log/dmesg.log <==
[565149.754199] usb 2-3.4.3: New USB device found, idVendor=05e3, idProduct=0749, bcdDevice=15.31
[565149.754202] usb 2-3.4.3: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[565149.754204] usb 2-3.4.3: Product: USB3 Reader
[565149.754206] usb 2-3.4.3: Manufacturer: Genesys
[565149.754207] usb 2-3.4.3: SerialNumber: 8KQ0061000119
[565149.755062] usb-storage 2-3.4.3:1.0: USB Mass Storage device detected
[565149.755248] scsi host7: usb-storage 2-3.4.3:1.0

==> /var/log/syslog <==
Mar 8 10:41:24 R-kali kernel: [565149.754199] usb 2-3.4.3: New USB device found, idVendor=05e3, idProduct=0749, bcdDevice=15.31
Mar 8 10:41:24 R-kali kernel: [565149.754202] usb 2-3.4.3: New USB device strings: Mfr=3, Product=4, SerialNumber=5
Mar 8 10:41:24 R-kali kernel: [565149.754204] usb 2-3.4.3: Product: USB3 Reader
Mar 8 10:41:24 R-kali kernel: [565149.754206] usb 2-3.4.3: Manufacturer: Genesys
Mar 8 10:41:24 R-kali kernel: [565149.754207] usb 2-3.4.3: SerialNumber: 8KQ0061000119
Mar 8 10:41:24 R-kali kernel: [565149.755062] usb-storage 2-3.4.3:1.0: USB Mass Storage device detected
Mar 8 10:41:24 R-kali kernel: [565149.755248] scsi host7: usb-storage 2-3.4.3:1.0

==> /var/log/messages <==
Mar 8 10:41:24 R-kali kernel: [565149.754199] usb 2-3.4.3: New USB device found, idVendor=05e3, idProduct=0749, bcdDevice=15.31
Mar 8 10:41:24 R-kali kernel: [565149.754202] usb 2-3.4.3: New USB device strings: Mfr=3, Product=4, SerialNumber=5
Mar 8 10:41:24 R-kali kernel: [565149.754204] usb 2-3.4.3: Product: USB3 Reader
Mar 8 10:41:24 R-kali kernel: [565149.754206] usb 2-3.4.3: Manufacturer: Genesys
Mar 8 10:41:24 R-kali kernel: [565149.754207] usb 2-3.4.3: SerialNumber: 8KQ0061000119
Mar 8 10:41:24 R-kali kernel: [565149.755062] usb-storage 2-3.4.3:1.0: USB Mass Storage device detected
Mar 8 10:41:24 R-kali kernel: [565149.755248] scsi host7: usb-storage 2-3.4.3:1.0

==> /var/log/syslog <==
Mar 8 10:41:24 R-kali mtp-probe: checking bus 2, device 33: ā€œ/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.3ā€

==> /var/log/messages <==
Mar 8 10:41:24 R-kali mtp-probe: checking bus 2, device 33: ā€œ/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.3ā€

==> /var/log/syslog <==
Mar 8 10:41:24 R-kali mtp-probe: bus: 2, device: 33 was not an MTP device

==> /var/log/messages <==
Mar 8 10:41:24 R-kali mtp-probe: bus: 2, device: 33 was not an MTP device

==> /var/log/syslog <==
Mar 8 10:41:24 R-kali mtp-probe: checking bus 2, device 33: ā€œ/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.3ā€

==> /var/log/messages <==
Mar 8 10:41:24 R-kali mtp-probe: checking bus 2, device 33: ā€œ/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.3ā€

==> /var/log/syslog <==
Mar 8 10:41:24 R-kali mtp-probe: bus: 2, device: 33 was not an MTP device

==> /var/log/messages <==
Mar 8 10:41:24 R-kali mtp-probe: bus: 2, device: 33 was not an MTP device

==> /var/log/syslog <==
Mar 8 10:41:24 R-kali mtp-probe: checking bus 2, device 32: ā€œ/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.2ā€

==> /var/log/messages <==
Mar 8 10:41:24 R-kali mtp-probe: checking bus 2, device 32: ā€œ/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.4/2-3.4.2ā€

==> /var/log/syslog <==
Mar 8 10:41:24 R-kali mtp-probe: bus: 2, device: 32 was not an MTP device

==> /var/log/messages <==
Mar 8 10:41:24 R-kali mtp-probe: bus: 2, device: 32 was not an MTP device

==> /var/log/dmesg.log <==
[565150.850206] usb 2-3.4.3: reset high-speed USB device number 33 using xhci_hcd

==> /var/log/syslog <==
Mar 8 10:41:25 R-kali kernel: [565150.850206] usb 2-3.4.3: reset high-speed USB device number 33 using xhci_hcd

==> /var/log/messages <==
Mar 8 10:41:25 R-kali kernel: [565150.850206] usb 2-3.4.3: reset high-speed USB device number 33 using xhci_hcd

==> /var/log/syslog <==
Mar 8 10:41:25 R-kali dbus-daemon[582]: [system] Activating via systemd: service name=ā€˜org.freedesktop.Avahiā€™ unit=ā€˜dbus-org.freedesktop.Avahi.serviceā€™ requested by ā€˜:1.31981ā€™ (uid=130 pid=234528 comm="/usr/lib/colord/colord-sane ")
Mar 8 10:41:25 R-kali dbus-daemon[582]: [system] Activation via systemd failed for unit ā€˜dbus-org.freedesktop.Avahi.serviceā€™: Unit dbus-org.freedesktop.Avahi.service not found.

==> /var/log/dmesg.log <==
[565150.974246] usb 2-3.4.3: reset high-speed USB device number 33 using xhci_hcd

==> /var/log/syslog <==
Mar 8 10:41:25 R-kali kernel: [565150.974246] usb 2-3.4.3: reset high-speed USB device number 33 using xhci_hcd

==> /var/log/messages <==
Mar 8 10:41:25 R-kali kernel: [565150.974246] usb 2-3.4.3: reset high-speed USB device number 33 using xhci_hcd

==> /var/log/dmesg.log <==
[565151.090218] usb 2-3.4.3: reset high-speed USB device number 33 using xhci_hcd

==> /var/log/syslog <==
Mar 8 10:41:25 R-kali kernel: [565151.090218] usb 2-3.4.3: reset high-speed USB device number 33 using xhci_hcd

==> /var/log/messages <==
Mar 8 10:41:25 R-kali kernel: [565151.090218] usb 2-3.4.3: reset high-speed USB device number 33 using xhci_hcd

==> /var/log/dmesg.log <==
[565151.206241] usb 2-3.4.3: reset high-speed USB device number 33 using xhci_hcd

==> /var/log/syslog <==
Mar 8 10:41:25 R-kali kernel: [565151.206241] usb 2-3.4.3: reset high-speed USB device number 33 using xhci_hcd

==> /var/log/messages <==
Mar 8 10:41:25 R-kali kernel: [565151.206241] usb 2-3.4.3: reset high-speed USB device number 33 using xhci_hcd

==> /var/log/syslog <==
Mar 8 10:41:27 R-kali dbus-daemon[582]: [system] Activating via systemd: service name=ā€˜org.freedesktop.Avahiā€™ unit=ā€˜dbus-org.freedesktop.Avahi.serviceā€™ requested by ā€˜:1.31982ā€™ (uid=130 pid=234528 comm="/usr/lib/colord/colord-sane ")
Mar 8 10:41:27 R-kali dbus-daemon[582]: [system] Activation via systemd failed for unit ā€˜dbus-org.freedesktop.Avahi.serviceā€™: Unit dbus-org.freedesktop.Avahi.service not found.
Mar 8 10:45:01 R-kali CRON[234668]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)

could gdm on my jetson nano be one of my problems? because seems like it doesnt know what to do with it. the tablet, nor does it seems to comprehend what anything really is, while kali linux sees the different parts of the tablet, loads and loads the modules just fine

USB appears to do what it is intended to do. Actual driver install is up to the kernel, and if the driver is in the form of a module, then you will see it listed by the command ā€œlsmodā€ (integrated drivers wonā€™t show up in lsmod). Do you see the module?

If all of the above is good, then X has the ability to use the device, but it isnā€™t up to the driver. This decision is from the X11 server, and the logs to this will show what is going on (if and only if lsmod shows the driver module is loaded). You can attach the log ā€œ/var/log/Xorg.0.logā€ and we can see what X thinks of the device. If you hover your mouse over the quote icon in the upper right of one of your existing posts, then other icons will show up. The paper clip icon is for attaching files (you might need to rename the log with a ā€œ.txtā€ suffix).

Here is the log

mark@mark-desktop:/usr/src/kernel/kernel-4.9$ tail -f /var/log/Xorg.0.log
[ 3412.380] (II) event2 - Keyboard K380: device is a keyboard
[ 3412.380] (II) event2 - Keyboard K380: device removed
[ 3412.380] () Option ā€œconfig_infoā€ ā€œudev:/sys/devices/70090000.xusb/usb1/1-3/1-3:1.0/bluetooth/hci0/hci0:256/0005:046D:B342.0011/input/input29/event2ā€
[ 3412.380] (II) XINPUT: Adding extended input device ā€œKeyboard K380ā€ (type: KEYBOARD, id 7)
[ 3412.381] (
) Option ā€œxkb_modelā€ ā€œpc105ā€
[ 3412.381] (**) Option ā€œxkb_layoutā€ ā€œusā€
[ 3412.381] (WW) Option ā€œxkb_variantā€ requires a string value
[ 3412.381] (WW) Option ā€œxkb_optionsā€ requires a string value
[ 3412.383] (II) event2 - Keyboard K380: is tagged by udev as: Keyboard
[ 3412.383] (II) event2 - Keyboard K380: device is a keyboard
[ 3819.350] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): connected
[ 3819.354] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): External TMDS
[ 3819.366] (II) NVIDIA(0): Setting mode ā€œHDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}ā€
[ 3819.412] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): connected
[ 3819.412] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): External TMDS
[ 3819.451] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): connected
[ 3819.451] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): External TMDS
[ 3819.474] (ā€“) NVIDIA(GPU-0): Wacom Tech Cintiq Pro 13 (DFP-1): connected
[ 3819.474] (ā€“) NVIDIA(GPU-0): Wacom Tech Cintiq Pro 13 (DFP-1): External TMDS
[ 3819.476] (II) NVIDIA(0): Setting mode ā€œHDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}ā€
[ 3819.611] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): connected
[ 3819.611] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): External TMDS
[ 3819.611] (ā€“) NVIDIA(GPU-0): Wacom Tech Cintiq Pro 13 (DFP-1): connected
[ 3819.611] (ā€“) NVIDIA(GPU-0): Wacom Tech Cintiq Pro 13 (DFP-1): External TMDS
[ 3819.692] (II) NVIDIA(0): Setting mode ā€œHDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DP-0: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}ā€
[ 3819.845] (II) NVIDIA(0): Setting mode ā€œHDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DP-0: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}ā€
[ 3819.932] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): connected
[ 3819.932] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): External TMDS
[ 3819.932] (ā€“) NVIDIA(GPU-0): Wacom Tech Cintiq Pro 13 (DFP-1): connected
[ 3819.932] (ā€“) NVIDIA(GPU-0): Wacom Tech Cintiq Pro 13 (DFP-1): External TMDS
[ 3867.116] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): connected
[ 3867.116] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): External TMDS
[ 3867.165] (II) NVIDIA(0): Setting mode ā€œHDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DP-0: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}ā€
[ 3867.207] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): connected
[ 3867.207] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): External TMDS
[ 3867.218] (II) NVIDIA(0): Setting mode ā€œHDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}ā€
[ 3867.326] (II) NVIDIA(0): Setting mode ā€œHDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}ā€
[ 3867.391] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): connected
[ 3867.392] (ā€“) NVIDIA(GPU-0): Samsung SMC23A750X (DFP-0): External TMDS

Also i was able to get pass the error with compiling the kernel driver. I didnt realize it was looking in ā€œ/lib/modules/4.9.140-tegra/source/.configā€ so after i went and edit it the error went away. But a new one popped up

root@mark-desktop:/home/mark/input-wacom-0.45.0# ./configure
checking for a BSD-compatible installā€¦ /usr/bin/install -c
checking whether build environment is saneā€¦ yes
checking for a thread-safe mkdir -pā€¦ /bin/mkdir -p
checking for gawkā€¦ no
checking for mawkā€¦ mawk
checking whether make sets $(MAKE)ā€¦ yes
checking whether make supports nested variablesā€¦ yes
checking whether to enable maintainer-specific portions of Makefilesā€¦ no
checking for gccā€¦ gcc
checking whether the C compiler worksā€¦ yes
checking for C compiler default output file nameā€¦ a.out
checking for suffix of executablesā€¦
checking whether we are cross compilingā€¦ no
checking for suffix of object filesā€¦ o
checking whether we are using the GNU C compilerā€¦ yes
checking whether gcc accepts -gā€¦ yes
checking for gcc option to accept ISO C89ā€¦ none needed
checking whether gcc understands -c and -o togetherā€¦ yes
checking whether make supports the include directiveā€¦ yes (GNU style)
checking dependency style of gccā€¦ none
checking if build path ā€˜/home/mark/input-wacom-0.45.0ā€™ has spacesā€¦ no
checking for kernel typeā€¦ Linux
checking for linux-based kernelā€¦ yes
checking for kernel source/headersā€¦ /lib/modules/4.9.140-tegra/source
checking kernel versionā€¦ 4.9.140-tegra
checking RHEL6 minor releaseā€¦ 0
checking RHEL7 minor releaseā€¦ 0
checking power supply versionā€¦ v4.1+
checking abs accessor versionā€¦ v2.6.36+
checking CONFIG_MODULE_SIGā€¦
checking CONFIG_MODULE_SIG_FORCEā€¦
checking CONFIG_LOCK_DOWN_KERNELā€¦
checking CONFIG_LOCK_DOWN_IN_EFI_SECURE_BOOTā€¦
checking secure boot stateā€¦ off
checking if modules must be signedā€¦ no
checking CONFIG_MODULE_SIG_HASHā€¦
checking for module signing hash algorithmā€¦ sha512
checking for kernel autogenerated key at /lib/modules/4.9.140-tegra/source/ā€¦ no
checking for kernel autogenerated cert at /lib/modules/4.9.140-tegra/source/certs/signing_key.x509ā€¦ no
checking for shim MOK key at /var/lib/shim-signed/mok/MOK.privā€¦ no
checking for shim MOK cert at /var/lib/shim-signed/mok/MOK.derā€¦ no
checking for rEFInd MOK key at /etc/refind.d/keys/refind_local.keyā€¦ no
checking for rEFInd MOK cert at /etc/refind.d/keys/refind_local.cerā€¦ no
checking for module signing keyā€¦
checking for module signing certificateā€¦

checking that generated files are newer than configureā€¦ done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating 2.6.32/Makefile
config.status: creating 2.6.38/Makefile
config.status: creating 3.7/Makefile
config.status: creating 3.17/Makefile
config.status: creating 4.5/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure:

BUILD ENVIRONMENT:
linux kernel - yes 4.5
kernel source - yes /lib/modules/4.9.140-tegra/source

NOTE: The kernel drivers included in this package are only tested with the
X Wacom driver built from xf86-input-wacom. If you are running an X server
version older than 1.7, please use the drivers provided by the linuxwacom
package.

Please run ā€˜make && make installā€™.
root@mark-desktop:/home/mark/input-wacom-0.45.0# make
make all-recursive
make[1]: Entering directory ā€˜/home/mark/input-wacom-0.45.0ā€™
Making all in 4.5
make[2]: Entering directory ā€˜/home/mark/input-wacom-0.45.0/4.5ā€™
Building input-wacom drivers for 4.5 kernel.
make -C /lib/modules/4.9.140-tegra/source M=/home/mark/input-wacom-0.45.0/4.5
make[3]: Entering directory ā€˜/usr/src/kernel/kernel-4.9ā€™

WARNING: Symbol version dump ./Module.symvers
is missing; modules will have no dependencies and modversions.

Building modules, stage 2.
MODPOST 0 modules
make[3]: Leaving directory ā€˜/usr/src/kernel/kernel-4.9ā€™
make[2]: Leaving directory ā€˜/home/mark/input-wacom-0.45.0/4.5ā€™
make[2]: Entering directory ā€˜/home/mark/input-wacom-0.45.0ā€™
make[2]: Leaving directory ā€˜/home/mark/input-wacom-0.45.0ā€™
make[1]: Leaving directory ā€˜/home/mark/input-wacom-0.45.0ā€™
root@mark-desktop:/home/mark/input-wacom-0.45.0# make install
Making install in 4.5
make[1]: Entering directory ā€˜/home/mark/input-wacom-0.45.0/4.5ā€™
make -C /lib/modules/4.9.140-tegra/source M=/home/mark/input-wacom-0.45.0/4.5 modules_install mod_sign_cmd=ā€˜ā€™
make[2]: Entering directory ā€˜/usr/src/kernel/kernel-4.9ā€™
DEPMOD 4.9.140-tegra
make[2]: Leaving directory ā€˜/usr/src/kernel/kernel-4.9ā€™
mkdir -p /etc/depmod.d
echo ā€œoverride wacom * extraā€ > /etc/depmod.d/input-wacom.conf
PATH=ā€œ/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/bin:/sbinā€ depmod -a 4.9.140-tegra
/usr/sbin/update-initramfs -u -k 4.9.140-tegra
update-initramfs: Generating /boot/initrd.img-4.9.140-tegra
Warning: couldnā€™t identify filesystem type for fsck hook, ignoring.
I: The initramfs will attempt to resume from /dev/zram3
I: (UUID=65b184ce-cabe-422a-8cc2-7765977d6914)
I: Set the RESUME variable to override this.
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/aarch64-linux-gnu_EGL.conf: No such file or directory
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/aarch64-linux-gnu_GL.conf: No such file or directory
make[1]: Leaving directory ā€˜/home/mark/input-wacom-0.45.0/4.5ā€™
make[1]: Entering directory ā€˜/home/mark/input-wacom-0.45.0ā€™
make[2]: Entering directory ā€˜/home/mark/input-wacom-0.45.0ā€™
make[2]: Nothing to be done for ā€˜install-exec-amā€™.
make[2]: Nothing to be done for ā€˜install-data-amā€™.
make[2]: Leaving directory ā€˜/home/mark/input-wacom-0.45.0ā€™
make[1]: Leaving directory ā€˜/home/mark/input-wacom-0.45.0ā€™
root@mark-desktop:/home/mark/input-wacom-0.45.0#

Just so you know, if you ran ā€œmake installā€ it probably wonā€™t do what is expected on an embedded system. Typically you would do some manual steps instead since booting differs between a PC and embedded systems.

About this file: ā€œ/lib/modules/4.9.140-tegra/source/.configā€: You should start by copying the running systemā€™s unmodified ā€œ/proc/config.gzā€ ā€œ/lib/modules/4.9.140-tegra/source/ā€, gunzip it, rename it ā€œ.configā€, and then edit the CONFIG_LOCALVERSION line:

CONFIG_LOCALVERSION="-tegra"

Once this is in place, then you can configure with ā€œmake menuconfigā€ or whatever your favorite editor is for any changes you need. However, if your source is somewhere else, then the same ā€œ.configā€ needs to be at the alternate location.

Instead of ā€œmake installā€ you would end up looking for the ā€œImageā€ file, and then copying it to ā€œ/boot/ā€ (to become ā€œ/boot/Imageā€). Be very careful with this, because if it is incorrect, then your system will be unbootable and perhaps need to be flashed. Donā€™t ever throw out the previous Image file, keep it on your host PC somewhere. Keep a clone of the working system before doing this. Because procedures change from one release to the next, consider reading the kernel customization section of the documentation for that specific release before making any changes (for example, some content now needs to be signed to prevent the boot stages from rejecting the content, or if redundancy features are in use, this too can change procedures).

Once the kernel Image is in place the module itself will be a simple file copy somewhere within ā€œ/lib/modules/$(uname -r)/kernel/drivers/ā€. Basically the location will be a mirror of where the ā€œ.koā€ module is in the kernel sourceā€¦and that will be somewhere under ā€œdrivers/ā€ of the source.

NOTE: If you have the SD card release then it is a lot safer than changing a kernel Image with eMMC since you can just mount the card on the host PC and move the original Image back in place if it doesnā€™t work.

So I think i figure out the first problem. My tablet isnt supported on kernel 4.9 but is supported on 4.12

https://github.com/linuxwacom/input-wacom/wiki/Device-IDs

My Cintiq Pro 13 is supported by kernel 4.12 or later.

Is there anyway to update my kernel from 4.9 to 4.12?

At this point it would be easier to backport the driver to the 4.9 kernel (though this is not necessarily easyā€¦if there is a driver dependency, then you probably have to backport that dependencyā€¦if that has dependencies, then those may need backporting, so on).

Someone from NVIDIA may be able to comment on whether 4.12 is being considered, but usually, even if this is planned, there wouldnā€™t be a specific date available.

NOTE: Usually the driver maintainer would be the one to ask as to his thoughts on difficulty of backporting to 4.9. He/she could probably tell you if there are dependencies in need of porting, versus if it is just the driver needing porting.

Im going to try backporting it.

Hey linuxdev, i managed to build the modules by ripping apart the makefile. but ranned into another problem which is installing them now. when i run ā€œmake installā€ as root, i get permission denied

root@mark-desktop44:/home/mark/input-wacom-0.45.0# make install
Making install in 4.5
make[1]: Entering directory '/home/mark/input-wacom-0.45.0/4.5'
make -C /lib/modules/4.9.140-tegra/source M=/home/mark/input-wacom-0.45.0/4.5 modules_install mod_sign_cmd=''
make[2]: Entering directory '/usr/src/linux-headers-4.9.140-tegra-ubuntu18.04_aarch64/kernel-4.9'
  INSTALL /home/mark/input-wacom-0.45.0/4.5/wacom.ko
/bin/sh: 1: /lib/modules/4.9.140-tegra/extra/wacom.ko: Permission denied
  INSTALL /home/mark/input-wacom-0.45.0/4.5/wacom_w8001.ko
/bin/sh: 1: /lib/modules/4.9.140-tegra/extra/wacom_w8001.ko: Permission denied
  DEPMOD  4.9.140-tegra

any suggestions?

On embedded systems, and in a cross compile environment as well, you never want to just ā€œmake installā€. This will attempt to put the modules directly into the running system. On the host PC you wonā€™t boot with ARM modules. When compiling directly on a Jetson, in theory you could directly install a module, but it is usually a bad idea.

Instead, install to a specific output location you have set aside as temporary space. I donā€™t know which options you currently use, but Iā€™ll mention:

  • O=$TEGRA_KERNEL_OUT
  • INSTALL_MOD_PATH=$TEGRA_MODULES_OUT

Any time you go to build kernel source you should put all temporary output in a second temp location via first setting an environment variable (in my example I call it TEGRA_KERNEL_OUT), e.g.:

mkdir -p ~/kernel_build/out
export TEGRA_KERNEL_OUT=~/kernel_build/out
# Verify the variable is set up correctly:
echo $TEGRA_KERNEL_OUT
ls $TEGRA_KERNEL_OUT
# Now all build lines should include:
make O=$TEGRA_KERNEL_OUT ...more options...

If youā€™ve built within the actual kernel source, then you might clean it out with ā€œmake mrproperā€ and no ā€œO=ā€. This also deletes any configuration in your kernel source, and any ā€œ.configā€ or manual configuration is then from the ā€œ$TEGRA_KERNEL_OUTā€ directory.

Similar for ā€œ$INSTALL_MOD_PATH=$TEGRA_MODULES_OUTā€. You could do this to create a temporary output location of ā€œ~/kernel_build/modulesā€:

mkdir -p ~/kernel_build/modules
export TEGRA_MODULES_OUT=~/kernel_build/modules
# Verify:
echo $TEGRA_MODULES_OUT
ls $TEGRA_MODULES_OUT
# Now you can install to $TEGRA_MODULES_OUT:
make O=$TEGRA_KERNEL_OUT modules_install INSTALL_MOD_PATH=$TEGRA_MODULES_OUT

After this is done you will have content in ā€œ~/kernel_build/modulesā€, but youā€™ll have to cd in to find the actual modules. Incidentally, before you build anything, you would want to verify your CONFIG_LOCALVERSION is correct, or else module install path may not preserve the original ā€œuname -rā€ (which is part of the module search path and part of the module install pathā€¦if it changes from the previous kernel, then you may need to reinstall all content and not just one module). For example, if your editor happens to be ā€œnanoā€:
nano $TEGRA_KERNEL_OUT/.config
ā€¦then search for ā€œCONFIG_LOCALVERSIONā€ and make sure it is:
CONFIG_LOCALVERSION="-tegra"

If this is all correct, then you can simply copy one file manually to the mirror location of the ā€œ$TEGRA_MODULES_OUTā€, e.g., your actual Jetson has directory:
/lib/modules/$(uname -r)/kernel/
ā€¦and the install process would have:
~/kernel_build/modules/lib/modules/$(uname -r)/kernel/
ā€¦and somewhere in that directory tree is the file you want, and it would go under the mirrored subdirectory of the running systemā€™s ā€œ/lib/modules/$(uname -r)/kernel/ā€.

So i managed to get get my wacom one tablet to work on my jetson nano, pressure sensitivity works and everything, my cintiq pro 13 oddly isnt work even though the cintiq is older. But now im trying to recompile the jetson xavier kernel, but i get these errors

CC drivers/base/regmap/regmap.o
CC drivers/base/regmap/regcache.o
CC drivers/base/regmap/regcache-rbtree.o
drivers/base/regmap/regcache-rbtree.c:36:1: error: alignment 1 of ā€˜struct regcache_rbtree_nodeā€™ is less than 8 [-Werror=packed-not-aligned]
36 | } attribute ((packed));
| ^
drivers/base/regmap/regcache-rbtree.c: In function ā€˜regcache_rbtree_insertā€™:
drivers/base/regmap/regcache-rbtree.c:130:15: error: taking address of packed member of ā€˜struct regcache_rbtree_nodeā€™ may result in an unaligned pointer value [-Werror=address-of-packed-member]
130 | rb_link_node(&rbnode->node, parent, new);
| ^~~~~~~~~~~~~
drivers/base/regmap/regcache-rbtree.c:131:18: error: taking address of packed member of ā€˜struct regcache_rbtree_nodeā€™ may result in an unaligned pointer value [-Werror=address-of-packed-member]
131 | rb_insert_color(&rbnode->node, root);
| ^~~~~~~~~~~~~
drivers/base/regmap/regcache-rbtree.c: In function ā€˜regcache_rbtree_exitā€™:
drivers/base/regmap/regcache-rbtree.c:243:18: error: taking address of packed member of ā€˜struct regcache_rbtree_nodeā€™ may result in an unaligned pointer value [-Werror=address-of-packed-member]
243 | next = rb_next(&rbtree_node->node);
| ^~~~~~~~~~~~~~~~~~
drivers/base/regmap/regcache-rbtree.c:244:12: error: taking address of packed member of ā€˜struct regcache_rbtree_nodeā€™ may result in an unaligned pointer value [-Werror=address-of-packed-member]
244 | rb_erase(&rbtree_node->node, &rbtree_ctx->root);
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [scripts/Makefile.build:336: drivers/base/regmap/regcache-rbtree.o] Error 1
make[2]: *** [scripts/Makefile.build:649: drivers/base/regmap] Error 2
make[1]: *** [scripts/Makefile.build:649: drivers/base] Error 2
make: *** [Makefile:1104: drivers] Error 2
āžœ kernel-4.9

ive tried excluding them, from kernelconfig file, i tried removing them from the makefile, and removing from the Kconfig in those directories

i tried it on both my xavier and on pc

also get these errors in addition to the others ones

drivers/base/regmap/regcache-rbtree.c:36:1: error: alignment 1 of ā€˜struct regcache_rbtree_nodeā€™ is less than 8 [-Werror=packed-not-aligned]
36 | } attribute ((packed));
| ^
drivers/base/regmap/regcache-rbtree.c: In function ā€˜regcache_rbtree_insertā€™:
drivers/base/regmap/regcache-rbtree.c:130:15: error: taking address of packed member of ā€˜struct regcache_rbtree_nodeā€™ may result in an unaligned pointer value [-Werror=address-of-packed-member]
130 | rb_link_node(&rbnode->node, parent, new);
| ^~~~~~~~~~~~~
drivers/base/regmap/regcache-rbtree.c:131:18: error: taking address of packed member of ā€˜struct regcache_rbtree_nodeā€™ may result in an unaligned pointer value [-Werror=address-of-packed-member]
131 | rb_insert_color(&rbnode->node, root);
| ^~~~~~~~~~~~~
drivers/base/regmap/regcache-rbtree.c: In function ā€˜regcache_rbtree_exitā€™:
drivers/base/regmap/regcache-rbtree.c:243:18: error: taking address of packed member of ā€˜struct regcache_rbtree_nodeā€™ may result in an unaligned pointer value [-Werror=address-of-packed-member]
243 | next = rb_next(&rbtree_node->node);
| ^~~~~~~~~~~~~~~~~~
drivers/base/regmap/regcache-rbtree.c:244:12: error: taking address of packed member of ā€˜struct regcache_rbtree_nodeā€™ may result in an unaligned pointer value [-Werror=address-of-packed-member]
244 | rb_erase(&rbtree_node->node, &rbtree_ctx->root);
| ^~~~~~~~~~~~~~~~~~

/usr/src/nvidia/sound/soc/tegra-alt/utils/tegra_asoc_machine_alt.c: In function ā€˜tegra_asoc_populate_dai_linksā€™:
/usr/src/nvidia/sound/soc/tegra-alt/utils/tegra_asoc_machine_alt.c:4136:3: error: ā€˜subnpā€™ may be used uninitialized in this function [-Werror=maybe-uninitialized]
4136 | of_node_put(subnp);
| ^~~~~~~~~~~~~~~~~~

I do not know about the specific errors. However, when such things hit, the first thing I ask is if the configuration was changed with a valid method, e.g., with a configuration editor instead of directl .config or direct Kconfig edits? If dependencies are not met, then it is extremely likely that you will get a series of compile failures. Do know that you said you are recompiling the Xavier kernel, but this is a Nano forum, so I have to wonder if perhaps there is some sort of incorrect mix of configuration.

Do know that you should always start with an existing configuration, and then use a correct config edit tool to add or remove whatever you need. By what method did you set up the initial configuration, and which editing tool did you use? I tend to favor the editing tool ā€œmake nconfigā€.

Also, if at any time you compiled something directly within the source code, then used the ā€œO=/some/where/elseā€ to set a temporary output location, then the previous compile will mix in and cause failure. If you are in the actual kernel source tree, then this exact command will clear it completely and make sure it is ready for building from a brand new start:
make mrproper

If you have a location for temporary build from ā€œ$TEGRA_KERNEL_OUTā€, then you can cd to ā€œ$TEGRA_KERNEL_OUTā€ and recursively delete everything before starting (you could leave the ā€œ.configā€ file if you want to save the config). The trick is that without a clean start it is hard to debug an error like the above. If we know this isnā€™t from a bad configuration or old leftover build content, then more debugging can be performed.

Updatesā€¦

so i after banging my head against the wall, i managed to get both tablets to work completely with pressure sensitivity working on my Xavier, im going to do the same thing for my Jetson nano also. I made a script to rip out everything wacom related from the kernel source, add -tegra to Local versions, afterward i compiled the external modules added them to /lib/modules/4.9.140-tegra/, next i updated the xf86-input-wacom and the libwacom and finally deleted the /lib/modules/4.9.140-tegra/modules.builtin, which was preventing the external modules to load. since it was looking for builtin drivers. after i did that everthing just worked as it expected.

Thanks for your help linuxdev, i wouldnt have been able to do it with out your help.

Im going to do the same process but build it into the Jetson Nano SD image. Thanks linuxdev