Hello! I have installed your system on the Hgole2 Pro mini-computer. How can I install the drivers for the accelerometer and GoodixTouchDriver?
And is it possible for the driver to support this device?
Sincerely, Roman.
[x86-64] Hgole2 pro
-
Roomen -
September 1, 2025 at 7:16 AM -
Thread is Unresolved
-
-
Drivers need to be included at image creation/compile time. You cannot install or add them afterwards. If you can tell us the specific kernel modules that need to be enabled, we can add them to future images.
-
Thank you for your reply!!!
Code
Display MoreDescription: Desktop Computer Product: Default string (Default string) manufacturer: Default string version: Default string Serial number: Default string Bit depth: 64 bits Features: SMBIOS-3.3.0 DMI-3.3.0 SMP VSYSCALL32 configuration: boot=normal chassis=desktop family=Default string sku=Default string uuid=03000200-0400-0500-0006-000700080009 *-core Description: Motherboard Product: Default string Manufacturer: Default string physical ID: 0 version: Default string Serial number: Default string Slot: Default string *-firmware Description: BIOS Manufacturer: American Megatrends International, LLC. Physical ID: 0 version: GOLE2_JSL_D88R2_720P_U0T9G3L1 date: 03/26/2024 Size: 64KiB capacity: 16MiB Features: PCI upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer usb biosbootspecification uefi *-memory Description: System Memory Physical ID: 3b Slot: System board or Motherboard Size: 16GiB *-bank:0 description: A number of LPDDR4 Synchronous chips 3733 MHz (0.3 ns) Product: 53D512M64D4RQ-046 Manufacturer: Samsung Physical ID: 0 Serial number: 20000000 Slot: Controller0-ChannelA Size: 8GiB Bit depth: 32 bits Frequency: 3733MHz (0.3ns) *-bank:1 Description: A number of LPDDR4 Synchronous chips 3733 MHz (0.3 ns) Product: 53D512M64D4RQ-046 Manufacturer: Samsung Physical ID: 1 Serial Number: 20000000 Slot: Controller0-channelB Size: 8GiB Bit depth: 32 bits Frequency: 3733MHz (0.3ns) *-cache:0 Description: L1 cache physical ID: 43 Slot: L1 Cache Size: 256KiB capacity: 256KiB features: synchronous internal write-back Configuration: level=1 *-cache:1 Description: L2 cache physical ID: 44 Slot: L2 Cache Size: 6MiB capacity: 6MiB features: synchronous internal write-back unified Configuration: level=2 *-cache:2 Description: L3 cache physical ID: 45 Slot: L3 Cache Size: 4MiB capacity: 4MiB features: synchronous internal write-back unified Configuration: level=3 *-cpu Description: CPU Product: Intel(R) Celeron(R) N5095 @ 2.00GHz Manufacturer: Intel Corp. Physical ID: 46 Bus information: CPU@0 version: 6.156.0 Serial Number: To Be Filled By O.E.M. Slot: U3E1 Size: 2800MHz capacity: 2900MHz Bit depth: 64 bits Frequency: 100MHz opportunities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp x86-64 constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms rdt_a rdseed smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi umip waitpkg gfni rdpid movdiri movdir64b md_clear flush_l1d arch_capabilities cpufreq configuration: cores=4 enabledcores=4 microcode=603979814 threads=4 *-pci Description: Host bridge Product: Intel Corporation Manufacturer: Intel Corporation Physical ID: 100 Bus information: PCI@0000:00:00.0 version: 00 Bit depth: 32 bits Frequency: 33MHz *-display Description: VGA compatible controller Product: JasperLake [UHD Graphics] Manufacturer: Intel Corporation physical ID: 2 Bus information: PCI@0000:00:02.0 logical name: /dev/fb0 version: 01 Bit depth: 64 bits Frequency: 33MHz Features: pcieexpress msi pm vga_controller bus_master cap_list rom fb configuration: depth=32 driver=i915 latency=0 mode=720x1280 resolution=720,1280 visual=truecolor xres=720 yres=1280 Resources: iomemory:600-5ff iomemory:400-3ff IRQ:132 memory:6000000000-6000ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff *-generic:0 Description: Signal processing controller product: Dynamic Tuning service Manufacturer: Intel Corporation Physical ID: 4 Bus information: PCI@0000:00:04.0 version: 00 Bit depth: 64 bits Frequency: 33MHz Features: msi pm cap_list configuration: driver=proc_thermal latency=0 Resources: iomemory:600-5ff IRQ:16 memory:6001110000-600111ffff *-generic:1 UNCLAIMED Description: peripheral System Product: Intel Corporation Manufacturer: Intel Corporation physical ID: 8 Bus information: PCI@0000:00:08.0 version: 00 Bit depth: 64 bits Frequency: 33MHz Features: msi pm cap_list configuration: latency=0 resources: iomemory:600-5ff Memory:600112f000-600112ffff *-usb Description: USB controller Product: Intel Corporation Manufacturer: Intel Corporation Physical ID: 14 information about the bus: pci@0000:00:14.0 version: 01 Bit depth: 64 bits Frequency: 33MHz Features: pm msi xhci bus_master cap_list configuration: driver=xhci_hcd latency=0 resources: iomemory:600-5ff IRQ:124 Memory:6001100000-600110ffff *-usbhost:0 Product: xHCI Host Controller Manufacturer: Linux 6.8.0-79-generic xhci-hcd Physical ID: 0 Bus information: USB@1 Logical name: USB1 version: 6.08 Features: USB-2.00 Configuration: driver=hub slots=8 speed=480Mbit/s *-USB:0 Description: Bluetooth Wireless Interface Product: Bluetooth Radio Manufacturer: Realtek Physical ID: 1 Bus information: USB@1:1 version: 1.10 Serial number: 00e04c000001 Features: Bluetooth USB-1.10 Configuration: driver=BTUSB maxpower=500mA speed=12Mbit/s *-USB:1 Description: Keyboard Product: USB Keyboard Consumer Control Manufacturer: Holtek Semiconductor, Inc. Physical ID: 5 Bus information: USB@1:5 Logical name: input23 logical name: /dev/input/event17 Logical name: input23::capslock logical name: input23::numlock Logical name: input23::scrolllock Logical name: input24 logical name: /dev/input/event18 Logical name: input25 logical name: /dev/input/event19 version: 2.60 features: USB-1.10 USB Configuration: driver=usbhid maxpower=100mA speed=1Mbit/s *-USB:2 Description: Mouse Product: MOSART Semi. 2.4G Wireless Mouse Manufacturer: MOSART Semi. Physical ID: 6 Bus information: USB@1:6 Logical name: input21 logical name: /dev/input/event8 logical name: /dev/input/mouse1 Logical name: input22 logical name: /dev/input/event9 version: 1.08 Features: USB-1.10 USB Configuration: driver=usbhid maxpower=100mA speed=12Mbit/s *-usbhost:1 Product: xHCI Host Controller Manufacturer: Linux 6.8.0-79-generic xhci-hcd Physical ID: 1 Bus information: USB@2 Logical name: USB2 version: 6.08 Features: USB-3.10 Configuration: driver=hub slots=6 speed=10000Mbit/s *-usb Description: A device of the storage device class Product: SanDisk 3.2Gen1 Manufacturer: USB Physical ID: 1 Bus information: USB@2:1 Logical name: scsi0 version: 1.00 Serial No.: 04018D39479AD87E62DE5543F41E66BBA318BEE01BA4688892B604A7766C97306B7D000000000000 Features: USB-3.20 SCSI emulated SCSI-host Configuration: driver=USB-storage maxpower=896mA speed=5000Mbit/s *-disk Description: SCSI Disk Product: SanDisk 3.2Gen1 Manufacturer: USB Physical ID: 0.0.0 information about the bus: scsi@0:0.0.0 Logical name: /dev/sda version: 1.00 Serial number: 04018d39479ad87e62de Size: 232GiB (250GB) Features: removable configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512 *-medium Physical ID: 0 Logical name: /dev/sda size: 232GiB (250GB) Features: GPT-1.00 partitioned partitioned:gpt Configuration: GUID=8626af57-F454-4144-80FE-4110b8e78c52 *-volume description: data partition Manufacturer: Windows physical ID: 1 Logical name: /dev/sda1 Logical name: /media/roomen/Roomen Serial number: 38B7517B-E040-403C-A3AC-ADE8523F18F2 capacity: 232GiB configuration: mount.fstype=exfat mount.options=rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro name=Main Data Partition state=mounted *-memory UNCLAIMED Description: RAM memory Product: Intel Corporation Manufacturer: Intel Corporation Physical ID: 14.2 Bus information: pci@0000:00:14 . Version 2: 01 Bit depth: 64 bits Frequency: 33MHz (30.3ns) Features: PM cap_list configuration: latency=0 resources: iomemory:600-5ff iomemory:600-5ff memory:6001124000-6001125fff memory:600112e000-600112efff *-serial:0 Description: Serial bus controller Product: Serial IO I2C Host Controller manufacturer: Intel Corporation Physical ID: 15 Bus information: PCI@0000:00:15.0 version: 01 Bit depth: 64 bits Frequency: 33MHz Features: pm bus_master cap_list configuration: driver=intel-lpss latency=0 Resources: IRQ:16 Memory:4010000000-4010000fff *-serial:1 Description: Serial bus controller Product: Serial IO I2C Host Controller Manufacturer: Intel Corporation Physical ID: 15.1 Bus information: PCI@0000:00:15.1 version: 01 Bit depth: 64 bits Frequency: 33MHz Features: pm bus_master cap_list Configuration: driver=intel-lpss latency=0 Resources: IRQ:17 Memory:4010001000-4010001fff *-serial:2 Description: Serial bus controller Product: Intel Corporation Manufacturer: Intel Corporation physical ID: 15.2 Bus information: PCI@0000:00:15. Version 2: 01 Bit depth: 64 bits Frequency: 33MHz Features: pm bus_master cap_list Configuration: driver=intel-lpss latency=0 Resources: IRQ:18 Memory:4010002000-4010002fff *-serial:3 Description: Serial bus controller Product: Intel Corporation Manufacturer: Intel Corporation physical ID: 15.3 Bus information: PCI@0000:00:15. Version 3: 01 Bit depth: 64 bits Frequency: 33MHz Features: pm bus_master cap_list Configuration: driver=intel-lpss latency=0 Resources: iomemory:400-3ff IRQ:19 Memory:4010003000-4010003fff *-communication Description: Communication controller product: Management Engine Interface Manufacturer: Intel Corporation Physical ID: 16 Bus information: PCI@0000:00:16.0 version: 01 Bit depth: 64 bits Frequency: 33MHz Features: pm msi bus_master cap_list configuration: driver=mei_me latency=0 resources: iomemory:600-5ff IRQ:131 Memory:6001129000-6001129fff *-serial:4 Description: Serial bus controller Product: Intel Corporation Manufacturer: Intel Corporation Physical ID: 19 Bus information: PCI@0000:00:19.0 version: 01 Bit depth: 64 bits Frequency: 33MHz Features: pm bus_master cap_list Configuration: driver=intel-lpss latency=0 Resources: IRQ:32 Memory:4010004000-4010004fff *-generic:2 Description: MMC Host Product: Intel Corporation Manufacturer: Intel Corporation Physical ID: 1a information about the bus: pci@0000:00:1a.0 Logical name: mmc0 version: 01 Bit depth: 64 bits Frequency: 33MHz Features: pm bus_master cap_list Configuration: driver=sdhci-pci latency=0 Resources: iomemory:600-5ff IRQ:16 Memory:6001127000-6001127fff *-device Description: SD/MMC Device Product: SCA256 Manufacturer: Unknown (223) Physical ID: 1 Bus information: mmc@0:0001 date: 03/2025 Serial number: 2945765893 Features: mmc *-interface:0 Physical ID: 1 Logical name: /dev/mmcblk0rpmb *-interface:1 physical ID: 2 logical name: /dev/mmcblk0 size: 250114736128 Features: GPT-1.00 partitioned partitioned:gpt Configuration: guid=3e6865ee-455f-44a8-b358-4bd7ee0a4da4 logicalsectorsize=512 sectorsize=512 *-volume:0 UNCLAIMED Description: Windows FAT volume manufacturer: mkfs.fat physical ID: 1 version: FAT32 Serial number: D981-FE79 Size: 510MiB capacity: 511MiB Features: boot fat initialized configuration: FATs=2 filesystem=fat name=EFI System Partition *-volume:1 Description: EXT4 Volume Manufacturer: Linux Physical ID: 2 Logical name: /dev/mmcblk0p2 Logical name: / version: 1.0 Serial number: 200F5336-2F61-42AA-9415-D3F2291454F8 Size: 232GiB Features: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized configuration: created=2025-09-02 00:18:16 filesystem=ext4 lastmountpoint=/ modified=2025-09-02 10:28:31 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro mounted=2025-09-02 10:28:32 state=mounted *-PCI:0 Description: PCI bridge Product: Intel Corporation Manufacturer: Intel Corporation Physical ID: 1c Bus information: pci@0000:00:1c.0 version: 01 Bit depth: 32 bits Frequency: 33MHz Features: PCI pcieexpress msi pm normal_decode bus_master cap_list Configuration: driver=pcieport Resources: IRQ:122 ioport:4000(size=4096) memory:7fd00000-7fdfffff *-network Description: Ethernet interface Product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller Manufacturer: Realtek Semiconductor Co., Ltd. Physical ID: 0 Bus information: PCI@0000:01:00.0 Logical name: enp1s0 version: 15 Serial number: 88:83:5d:b8:d7:7e capacity: 1Gbit/s Bit depth: 64 bits Frequency: 33MHz Features: PM msi pcieexpress msix bus_master cap_list ethernet physical TP mii 10bt 10bt-FD 100bt 100bt-FD 1000bt-FD autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.8.0-79-generic firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=twisted pair Resources: IRQ:18 ioport:4000(size=256) Memory:7fd04000-7fd04fff memory:7fd00000-7fd03fff *-PCI:1 Description: PCI bridge Product: Intel Corporation Manufacturer: Intel Corporation Physical ID: 1c.6 Bus information: pci@0000:00:1c . Version 6: 01 Bit depth: 32 bits Frequency: 33MHz Features: PCI pcieexpress msi pm normal_decode bus_master cap_list Configuration: driver=pcieport Resources: IRQ:123 ioport:3000(size=4096) memory:7fc00000-7fcfffff *-network Description: Wireless Interface Product: RTL8821CE 802.11ac PCIe Wireless Network Adapter Manufacturer: Realtek Semiconductor Co., Ltd. physical ID: 0 Bus information: pci@0000:02:00.0 Logical name: WLP2S0 version: 00 Serial number: 70:68:71:5f:1c:3a bit depth: 64 bits Frequency: 33MHz Features: PM msi pcieexpress bus_master cap_list ethernet physical wireless Configuration: broadcast=yes driver=rtw_8821ce driverversion=6.8.0-79-generic firmware=N/A ip=192.168.43.54 latency=0 link=yes multicast=yes wireless=IEEE 802.11 resources: IRQ:133 ioport:3000(size=256) Memory:7fc00000-7fc0ffff *-isa Description: ISA bridge Product: Intel Corporation Manufacturer: Intel Corporation Physical ID: 1f Bus information: PCI@0000:00:1f.0 version: 01 Bit depth: 32 bits Frequency: 33MHz Features: ISA bus_master Configuration: latency=0 *-pnp00:00 product: PnP device PNP0c02 Physical ID: 0 Features: PNP Configuration: driver=system *-pnp00:01 Product: PnP device INT3f0d Manufacturer: Interphase Corporation Physical ID: 1 Features: PNP Configuration: driver=system *-pnp00:02 Product: PnP device PNP0c02 physical ID: 2 possibilities: PNP Configuration: driver=system *-pnp00:03 Product: PnP device PNP0303 Physical ID: 3 Features: PNP Configuration: driver=i8042 kbd *-pnp00:04 Product: PnP device PNP0c02 Physical ID: 4 Features: PNP Configuration: driver=system *-pnp00:05 Product: PnP device PNP0c02 Physical ID: 5 Features: PNP Configuration: driver=system *-pnp00:06 Product: PnP device PNP0c02 Physical ID: 6 Features: PNP Configuration: driver=system *-multimedia Description: Audio device Product: Intel Corporation Manufacturer: Intel Corporation Physical ID: 1f.3 Bus information: PCI@0000:00:1f.3 Logical name: card0 logical name: /dev/snd/controlC0 logical name: /dev/snd/hwC0D0 logical name: /dev/snd/hwC0D2 Logical name: /dev/snd/pcmC0D0c Logical name: /dev/snd/pcmC0D0p Logical name: /dev/snd/pcmC0D3p Logical name: /dev/snd/pcmC0D7p Logical name: /dev/snd/pcmC0D8p Logical name: /dev/snd/pcmC0D9p version: 01 Bit depth: 64 bits Frequency: 33MHz Features: pm msi bus_master cap_list configuration: driver=snd_hda_intel latency=32 Resources: iomemory:600-5ff iomemory:600-5ff IRQ:134 memory:6001120000-6001123fff memory:6001000000-60010fffff *-input:0 Product: HDA Intel PCH Mic Physical ID: 0 Logical name: input12 logical name: /dev/input/event11 *-input:1 Product: HDA Intel PCH Headset physical ID: 1 logical name: input13 logical name: /dev/input/event12 *-input:2 Product: HDA Intel PCH HDMI/DP,PCM=3 physical ID: 2 logical name: input14 logical name: /dev/input/event13 *-input:3 Product: HDA Intel PCH HDMI/DP,PCM=7 Physical ID: 3 Logical name: input15 logical name: /dev/input/event14 *-input:4 Product: HDA Intel PCH HDMI/DP,pcm=8 Physical ID: 4 Logical name: input16 logical name: /dev/input/event15 *-input:5 Product: HDA Intel PCH HDMI/DP,PCM=9 physical ID: 5 logical name: input17 logical name: /dev/input/event16 *-serial:5 Description: SMBus Product: JaserLake SMBus Manufacturer: Intel Corporation Physical ID: 1f.4 Bus information: PCI@0000:00:1f. Version 4: 01 Bit depth: 64 bits Frequency: 33MHz configuration: driver=i801_smbus latency=0 resources: iomemory:600-5ff IRQ:16 memory:6001126000-60011260ff ioport:efa0(size=32) *-serial:6 Description: Serial bus controller Product: JaserLake SPI (flash) Controller Manufacturer: Intel Corporation Physical ID: 1f.5 Bus information: PCI@0000:00:1f. Version 5: 01 Bit depth: 32 bits Frequency: 33MHz Configuration: driver=intel-spi latency=0 resources: IRQ:0 memory:7fe00000-7fe00fff *-battery:0 Description: Nickel-Cadmium Battery Product: Battery Name Manufacturer: Battery Manufacturer Physical ID: 1 Version: 01/01/2012 Serial Number: Serial Number Slot: Location of the battery *-battery:1 Description: Nickel-Cadmium Battery Product: Battery Name Manufacturer: Battery Manufacturer physical ID: Version 2: 01/01/2012 Serial Number: Serial Number Slot: Location of the battery *-battery:2 Description: Nickel-Cadmium Battery Product: Battery Name Manufacturer: Battery Manufacturer Physical ID: 3 Version: 01/01/2012 Serial Number: Serial Number Slot: Location of the battery *-battery:3 Description: Nickel-Cadmium Battery Product: Battery Name Manufacturer: Battery Manufacturer Physical ID: 4 Version: 01/01/2012 Serial Number: Serial Number Slot: Location of the battery *-power UNCLAIMED Description: To Be Filled By O.E.M. Product: To Be Filled By O.E.M. Manufacturer: To Be Filled By O.E.M. Physical ID: 5 Version: To Be Filled By O.E.M. Serial No.: To Be Filled By O.E.M. capacity: 32768mWh *-input:0 Product: Lid Switch physical ID: 6 logical name: input0 logical name: /dev/input/event0 Features: platform *-input:1 Product: Sleep Button physical ID: 7 logical name: input1 logical name: /dev/input/event1 Features: platform *-input:2 Product: Video Bus physical ID: 8 logical name: input11 Logical name: /dev/input/event10 Features: platform *-input:3 Product: Power Button physical ID: 9 logical name: input2 logical name: /dev/input/event2 Features: platform *-input:4 product: Power Button physical ID: a logical name: input3 logical name: /dev/input/event3 Features: platform *-input:5 Product: AT Translated Set 2 keyboard physical ID: b logical name: input4 logical name: /dev/input/event4 Logical name: input4::capslock logical name: input4::numlock logical name: input4::scrolllock Features: i8042 *-input:6 Product: Intel HID events Physical ID: c logical name: input5 Logical name: /dev/input/event5 Features: platform *-input:7 product: Intel HID 5 button array physical ID: d logical name: input6 logical name: /dev/input/event6 Features: platform *-input:8 Product: Goodix Capacious TouchScreen physical ID: e logical name: input7 logical name: /dev/input/event7 logical name: /dev/input/mouse0 Features: I2C
-
Module Size Used by
Code
Display Moreexfat 110592 1 uas 28672 0 usb_storage 86016 2 uas ccm 20480 6 rfcomm 102400 4 cmac 12288 2 algif_hash 12288 1 algif_skcipher 16384 1 af_alg 32768 6 algif_hash,algif_skcipher bnep 32768 2 snd_sof_pci_intel_icl 12288 0 snd_sof_intel_hda_common 217088 1 snd_sof_pci_intel_icl soundwire_intel 73728 1 snd_sof_intel_hda_common snd_sof_intel_hda_mlink 45056 2 soundwire_intel,snd_sof_intel_hda_common soundwire_cadence 45056 1 soundwire_intel snd_sof_intel_hda 24576 1 snd_sof_intel_hda_common snd_sof_pci 24576 2 snd_sof_pci_intel_icl,snd_sof_intel_hda_common snd_sof_xtensa_dsp 12288 1 snd_sof_intel_hda_common snd_sof 380928 3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda snd_sof_utils 16384 1 snd_sof snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common snd_hda_ext_core 32768 4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda snd_soc_acpi_intel_match 98304 2 snd_sof_pci_intel_icl,snd_sof_intel_hda_common snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common soundwire_generic_allocation 12288 1 soundwire_intel x86_pkg_temp_thermal 20480 0 intel_powerclamp 24576 0 soundwire_bus 110592 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence coretemp 24576 0 snd_soc_core 442368 4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda snd_hda_codec_hdmi 94208 1 snd_compress 28672 1 snd_soc_core kvm_intel 487424 0 ac97_bus 12288 1 snd_soc_core snd_hda_codec_realtek 200704 1 snd_hda_codec_generic 122880 1 snd_hda_codec_realtek snd_pcm_dmaengine 16384 1 snd_soc_core kvm 1413120 1 kvm_intel binfmt_misc 24576 1 snd_hda_intel 61440 3 irqbypass 12288 1 kvm snd_intel_dspcfg 36864 3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common crct10dif_pclmul 12288 1 snd_intel_sdw_acpi 16384 2 snd_sof_intel_hda_common,snd_intel_dspcfg snd_hda_codec 204800 6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda polyval_generic 12288 0 snd_hda_core 139264 9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda ghash_clmulni_intel 16384 0 sha256_ssse3 32768 0 rtw88_8821ce 12288 0 snd_hwdep 20480 1 snd_hda_codec sha1_ssse3 32768 0 hid_generic 12288 0 mei_pxp 16384 0 mei_hdcp 28672 0 intel_rapl_msr 20480 0 joydev 32768 0 snd_pcm 192512 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine aesni_intel 356352 7 rtw88_8821c 94208 1 rtw88_8821ce rtw88_pci 32768 1 rtw88_8821ce crypto_simd 16384 1 aesni_intel cryptd 24576 3 crypto_simd,ghash_clmulni_intel i915 4300800 11 rtw88_core 360448 2 rtw88_pci,rtw88_8821c snd_seq_midi 24576 0 processor_thermal_device_pci_legacy 12288 0 snd_seq_midi_event 16384 1 snd_seq_midi intel_cstate 24576 0 processor_thermal_device 20480 1 processor_thermal_device_pci_legacy input_leds 12288 0 snd_rawmidi 57344 1 snd_seq_midi nls_iso8859_1 12288 1 btusb 77824 0 mac80211 1753088 2 rtw88_pci,rtw88_core snd_seq 118784 2 snd_seq_midi,snd_seq_midi_event btrtl 32768 1 btusb cmdlinepart 12288 0 processor_thermal_wt_hint 16384 1 processor_thermal_device snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi drm_buddy 20480 1 i915 btintel 57344 1 btusb btbcm 24576 1 btusb btmtk 12288 1 btusb serio_raw 20480 0 snd_timer 49152 2 snd_seq,snd_pcm wmi_bmof 12288 0 bluetooth 1032192 34 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm spi_nor 163840 0 usbhid 77824 0 processor_thermal_rfim 32768 1 processor_thermal_device ttm 110592 1 i915 cfg80211 1363968 2 rtw88_core,mac80211 mtd 98304 3 spi_nor,cmdlinepart hid 180224 2 usbhid,hid_generic snd 143360 20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi ecdh_generic 16384 1 bluetooth drm_display_helper 237568 1 i915 mei_me 53248 2 processor_thermal_rapl 16384 1 processor_thermal_device soundcore 16384 1 snd libarc4 12288 1 mac80211 ecc 45056 1 ecdh_generic intel_rapl_common 40960 2 intel_rapl_msr,processor_thermal_rapl mei 167936 5 mei_hdcp,mei_pxp,mei_me processor_thermal_wt_req 12288 1 processor_thermal_device cec 94208 2 drm_display_helper,i915 processor_thermal_power_floor 12288 1 processor_thermal_device rc_core 73728 1 cec processor_thermal_mbox 12288 4 processor_thermal_power_floor,processor_thermal_wt_req,processor_thermal_rfim,processor_thermal_wt_hint i2c_algo_bit 16384 1 i915 int340x_thermal_zone 16384 1 processor_thermal_device intel_soc_dts_iosf 20480 1 processor_thermal_device_pci_legacy mxc4005 20480 0 industrialio_triggered_buffer 12288 1 mxc4005 kfifo_buf 12288 1 industrialio_triggered_buffer ov13858 24576 0 goodix_ts 40960 0 industrialio 126976 3 industrialio_triggered_buffer,kfifo_buf,mxc4005 v4l2_fwnode 36864 1 ov13858 v4l2_async 28672 2 v4l2_fwnode,ov13858 soc_button_array 20480 0 intel_pmc_core 118784 0 videodev 356352 3 v4l2_async,v4l2_fwnode,ov13858 intel_vsec 20480 1 intel_pmc_core mc 81920 3 v4l2_async,videodev,ov13858 pmt_telemetry 16384 1 intel_pmc_core mac_hid 12288 0 int3400_thermal 24576 0 intel_hid 28672 0 pmt_class 12288 1 pmt_telemetry acpi_thermal_rel 20480 1 int3400_thermal sparse_keymap 12288 1 intel_hid acpi_pad 184320 0 acpi_tad 20480 0 sch_fq_codel 24576 2 msr 12288 0 parport_pc 53248 0 ppdev 24576 0 lp 28672 0 parport 73728 3 parport_pc,lp,ppdev efi_pstore 12288 0 ip_tables 32768 0 x_tables 65536 1 ip_tables autofs4 57344 2 mmc_block 65536 2 crc32_pclmul 12288 0 r8169 118784 0 sdhci_pci 94208 0 i2c_i801 36864 0 spi_intel_pci 12288 0 i2c_smbus 16384 1 i2c_i801 intel_lpss_pci 28672 0 spi_intel 32768 1 spi_intel_pci cqhci 40960 1 sdhci_pci realtek 36864 1 sdhci 90112 1 sdhci_pci intel_lpss 12288 1 intel_lpss_pci xhci_pci 24576 0 idma64 20480 0 xhci_pci_renesas 20480 1 xhci_pci video 77824 1 i915 wmi 28672 2 video,wmi_bmof pinctrl_jasperlake 20480 3
-
I am ready to make my contribution.!!!
It is possible to help within 2-3 weeks.
-
This test image has the mxc4005 and goodix_ts drivers (and their dependencies) enabled:
https://chewitt.libreelec.tv/testing/LibreELEC-gbm.x86_64-12.90.1.img.gz
This kind of portable device is not the kind of x86_64 hardware that we normally target so I have no idea if any other config is required to make things work.
-
I installed the image. But unfortunately, the flip doesn't work and the touch doesn't work either.
-
IAutomatic rotation would require something like a windowing environment to be rotation-aware, but being minimalist LE does not run Kodi under a windowing environment. The same is probably true for the touch driver.
I think you would be better off running Kodi under a conventional distro.
-
I've tried installing Windows and Ubuntu, but everything keeps crashing. In Windows 11, the video playback is very poor. It's very inconvenient. In Ubuntu, it's impossible to mirror the screen. So, is it possible to make the touchscreen and accelerometer work in Libreelec-Kodi?
-
Nothing is impossible, but we don't normally support hardware with those features; they aren't needed on HTPC devices connected to a TV that don't move. So we have no idea what's required, you don't either, and Google searching on "HiGole 2 Pro" mostly finds complaints about being unable to find drivers, no support from the vendor, and it being rubbish hardware that dissapointed and then died. If the screen is mirrored then you definitely need a windowing environment like Wayland or Xorg. Our legacy image has Xorg but you'd need to configure it to use various drivers and how that's done is not documented.
Sorry, but we are quite focussed on HTPC hardware and are not a general purpose OS.
-
Thank you for your reply!!! The problem is clear! We have Rockchip RK3399 devices, but they don't have a touch Screen. Which complicates the work process. It is necessary to connect a remote control or a mouse. So we're trying to find a Linux program. But your development is the best fit for us. If your colleagues can help us, we will be very grateful!!!
The Hgole 2 pro device is the only one we've found with a touch screen so far.And of course we don't need an accelerometer.
Is it not possible to install a Kodi zip file with an accelerometer and touchscreen driver separately?
-
Grok4 went and got itself some extra neurons, so here’s its hot takes. Might not be complete trash, who knows?
Grok4:
From the system details you provided (which appear to be from a Ubuntu-like distro, not LibreELEC, based on the kernel version and module list), the hardware is detected:
- Touchscreen: Goodix capacitive over I2C (driver: goodix_ts.ko).
- Accelerometer: MXC4005 (driver: mxc4005.ko).
- Both modules are loaded in your current setup, but if they're not functioning (e.g., no input events), it could be due to missing firmware, I2C bus probing issues, or calibration.
LibreELEC's filesystem is read-only (squashfs), so you can't simply "install" drivers like in a full distro. Instead, you'll need to build a custom LibreELEC image with the drivers enabled in the kernel. This is straightforward if you follow the steps below. I'll assume you're starting from a clean LibreELEC install on your device (download the Generic-x86_64 image from libreelec.tv/downloads and boot/install via USB). If you're currently on Ubuntu, switch to LibreELEC first for testing.
Step 1: Verify Hardware Detection in Stock LibreELEC
Before building custom, test if the drivers are partially working in a standard LibreELEC install:- Install LibreELEC 12.x (or latest nightly) Generic x86_64 on a USB drive or your internal storage (eMMC via /dev/mmcblk0).
- Boot into LibreELEC and enable SSH (Settings > LibreELEC > Services > SSH).
- SSH in (default user: root, password: libreelec).
- Check for devices:
-
(for touchscreen).
-
(for accelerometer).
-
and
for load errors.
-
to list input devices and test touch/accel events (if evtest isn't available, it's because these modules aren't in the stock image).
-
to list I2C buses; then
(try buses 0-3 based on your serial controllers) to see if the Goodix (usually at address 0x5d) or MXC4005 (address 0x15) shows up.
If the modules aren't present (likely), proceed to custom build.
Step 2: Build Custom LibreELEC with Drivers Enabled
You'll need a Linux build host (e.g., Ubuntu 22.04+ VM with at least 4 cores, 8GB RAM, 50GB free space). This enables the drivers as kernel modules.- Set Up Build Environment:
- Install dependencies: Code
sudo apt update && sudo apt install git gcc g++ make ncurses-dev bc lzop libssl-dev flex bison qemu-utils java-runtime-headless dosfstools
.
- Clone LibreELEC repo:
.
- Checkout the branch for your version (e.g.,
for stable, or master for nightly).
- Enable the Drivers in Kernel Config:
- The kernel config is in
(for Generic x86_64).
- Edit
to add a patch for config changes.
- Create a patch file
with contents:
Diff
Display More--- a/.config +++ b/.config @@ -XXXX +XXXX @@ # Find the IIO/INPUT sections via `grep` in the config # CONFIG_TOUCHSCREEN_GOODIX is not set +CONFIG_TOUCHSCREEN_GOODIX=m # CONFIG_MXC4005 is not set +CONFIG_MXC4005=m # Ensure dependencies: +CONFIG_INPUT_TOUCHSCREEN=y +CONFIG_IIO=y +CONFIG_IIO_BUFFER=y +CONFIG_IIO_TRIGGER=y +CONFIG_I2C_HID=y # For Goodix HID mode if needed
- Replace
with actual line numbers—extract the default config first by running a partial build (see below) and checking
.
- Build the Image:
- Run:
.
- This takes 1-2 hours. Output is in
(e.g., LibreELEC-Generic.x86_64-12.0.0.img.gz).
- Write the .img to USB:
(replace /dev/sdX with your USB device).
- Install and Test:
- Boot the custom image on your GOLE2 Pro.
- SSH in and load modules if not auto-loaded:
and
.
- Check
for errors. If Goodix fails with firmware issues, it may need a binary firmware blob—copy from your Ubuntu setup (
) to
in LibreELEC and reboot (per LibreELEC wiki).
- Test touch:
(find the Goodix event).
- Test accel:
or
(adjust device number).
Step 3: Enable Touch in Kodi
- Kodi supports touch natively, but ensure:
- Settings > Interface > Skin > Configure skin > Enable touchscreen mode.
- If calibration is off, use
(if available) or edit
for touch params.
- For multi-touch gestures, it should work once the driver is loaded.
Step 4: Enable Auto-Rotation (Flip)
- Accelerometer provides orientation data via IIO.
- LibreELEC/Kodi doesn't auto-rotate by default (no desktop manager like GNOME).
- Install the "Screen Orientation" addon from Kodi repo (if available) or script it:
- SSH in, install Python if needed (via unofficial addons or custom build).
- Create a script
:
Code
Display Moreimport xbmc import subprocess import time while True: try: with open('/sys/bus/iio/devices/iio:device0/in_accel_z_raw', 'r') as f: # Adjust path/device z = int(f.read()) if z > 500: # Threshold for upright/flipped; calibrate based on your tests subprocess.call(['kodi-send', '--action="SetGUIOrientation(0)"']) # 0=normal, 2=180 deg flip else: subprocess.call(['kodi-send', '--action="SetGUIOrientation(2)"']) except: pass time.sleep(1)
- This monitors accel and flips Kodi's GUI. Test thresholds with
.
- For GBM rotation, if needed: Edit
to add
or similar, but test.
Troubleshooting
- If I2C not probing: Add kernel params in
(append line:
).
- Build errors: Check logs in
. If kernel patch fails, manually edit the config during build (pause at menuconfig:
).
- If modules load but no events: Check ACPI tables (
) for HID overrides; might need a DSDT patch (advanced).
- Performance: N5095 has UHD Graphics; enable VAAPI in Kodi for hardware decoding (Settings > Player > Video > Allow hardware acceleration - VAAPI).
- Community: Post your build logs on the LibreELEC forum (your recent thread there is a good start) for x86-specific help.
If this doesn't resolve it, provide dmesg output from LibreELEC.
-
Thank you so much for your help. Let's start working on creating the right image!!!
-
If your colleagues can help us, we will be very grateful!!!
I have friends in the project, but no colleagues; because we are not a company, there is no product, and we do not undertake commerical development or support work. Good luck with the AI suggestions!!!
-