LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-11-2021, 08:33 AM   #1
debu_chocobo
LQ Newbie
 
Registered: May 2021
Distribution: Fedora, Debian, Arch
Posts: 3

Rep: Reputation: Disabled
i2c problems - no mouse or keyboard after loading kernel modules


Hi everyone,

Apologies if this is in the wrong place.

tldr

I'm getting an error message on boot:

Code:
May 11 09:58:26 brownie systemd-modules-load[830]: Failed to find module 'softdep elan_i2c pre: built-in'
The module is located in
Code:
/usr/lib/modules/5.11.18-200.fc33.x86_64/kernel/drivers/input/mouse
so I'm not sure why it wouldn't load.

/etc/modules-load.d/99_touchpad.conf
Code:
softdep elan_i2c pre: built-in
softdep hid_elan pre: built-in
-----------------------------------------------

I've been having problems with my i2c on my HP Spectre x360 recently. It takes about fifteen resets before the trackpad and keyboard will respond to input. They both respond fine during the password entry for LUKS. I can toggle plymouth until it gets to the end of the boot process.

This seems to be true of all Linux distributions - Arch, Debian, Fedora, but Windows works fine.

I read elsewhere on the net (sorry, can't find the original bugzilla, but most of the info seems to be the same) that the problem is related modules being loaded in a different order. It seems in the responsive boot that the i2h module is being loaded before the webcam, but in the unresponsive boot it's being loaded last.

Responsive boot
Code:
May 11 11:31:11 brownie kernel: input: SYNA329A:00 06CB:CD4F Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA329A:00/0018:06CB:CD4F.0001/input/input3
May 11 11:31:11 brownie kernel: input: SYNA329A:00 06CB:CD4F Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA329A:00/0018:06CB:CD4F.0001/input/input5
May 11 11:31:11 brownie kernel: hid-generic 0018:06CB:CD4F.0001: input,hidraw0: I2C HID v1.00 Mouse [SYNA329A:00 06CB:CD4F] on i2c-SYNA329A:00
May 11 11:31:11 brownie kernel: usb 1-6: New USB device found, idVendor=04f2, idProduct=b67b, bcdDevice= 0.11
May 11 11:31:11 brownie kernel: usb 1-6: New USB device strings: Mfr=3, Product=1, SerialNumber=2
May 11 11:31:11 brownie kernel: usb 1-6: Product: HP Wide Vision FHD Camera
May 11 11:31:11 brownie kernel: usb 1-6: Manufacturer: Generic
May 11 11:31:11 brownie kernel: usb 1-6: SerialNumber: 200901010001
May 11 11:31:11 brownie systemd[1]: Found device KXG50PNV2T04 KIOXIA primary.
May 11 11:31:11 brownie systemd[1]: Starting Cryptography Setup for luks-d1da8945-df4c-44a6-bb95-52e233a5fbfa...
May 11 11:31:11 brownie kernel: MXM: GUID detected in BIOS
--------------

Code:
11:31:11 brownie kernel: nouveau 0000:01:00.0: DRM: DCB conn 02: 00010261
May 11 11:31:11 brownie kernel: nouveau 0000:01:00.0: DRM: DCB conn 04: 01000446
May 11 11:31:11 brownie kernel: nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
May 11 11:31:11 brownie kernel: input: SYNA329A:00 06CB:CD4F Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA329A:00/0018:06CB:CD4F.0001/input/input6
May 11 11:31:11 brownie kernel: input: SYNA329A:00 06CB:CD4F Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA329A:00/0018:06CB:CD4F.0001/input/input8
May 11 11:31:11 brownie kernel: hid-multitouch 0018:06CB:CD4F.0001: input,hidraw0: I2C HID v1.00 Mouse [SYNA329A:00 06CB:CD4F] on i2c-SYNA329A:00
May 11 11:31:11 brownie kernel: usb 1-7: New USB device found, idVendor=8087, idProduct=0029, bcdDevice= 0.01
May 11 11:31:11 brownie kernel: usb 1-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0
May 11 11:31:11 brownie kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
May 11 11:31:11 brownie kernel: [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 1
Unresponsive boot
Code:
May 11 11:10:21 brownie kernel: input: SYNA329A:00 06CB:CD4F Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA329A:00/0018:06CB:CD4F.0001/input/input3
May 11 11:10:21 brownie kernel: input: SYNA329A:00 06CB:CD4F Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA329A:00/0018:06CB:CD4F.0001/input/input5
May 11 11:10:21 brownie kernel: hid-generic 0018:06CB:CD4F.0001: input,hidraw0: I2C HID v1.00 Mouse [SYNA329A:00 06CB:CD4F] on i2c-SYNA329A:00
May 11 11:10:21 brownie systemd[1]: Found device KXG50PNV2T04 KIOXIA primary.
May 11 11:10:21 brownie systemd[1]: Starting Cryptography Setup for luks-d1da8945-df4c-44a6-bb95-52e233a5fbfa...
May 11 11:10:21 brownie systemd[1]: Started Forward Password Requests to Plymouth.
Code:
nouveau 0000:01:00.0: bios: version 90.17.1b.00.56
May 11 11:10:21 brownie kernel: nouveau 0000:01:00.0: pmu: firmware unavailable
May 11 11:10:21 brownie kernel: nouveau 0000:01:00.0: fb: 4096 MiB GDDR5
May 11 11:10:21 brownie kernel: input: SYNA329A:00 06CB:CD4F Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA329A:00/0018:06CB:CD4F.0001/input/input6
May 11 11:10:21 brownie kernel: input: SYNA329A:00 06CB:CD4F Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA329A:00/0018:06CB:CD4F.0001/input/input8
May 11 11:10:21 brownie kernel: hid-multitouch 0018:06CB:CD4F.0001: input,hidraw0: I2C HID v1.00 Mouse [SYNA329A:00 06CB:CD4F] on i2c-SYNA329A:00
May 11 11:10:21 brownie kernel: usb 1-7: new full-speed USB device number 4 using xhci_hcd
May 11 11:10:21 brownie kernel: [TTM] Zone  kernel: Available graphics memory: 7994042 KiB
May 11 11:10:21 brownie kernel: [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
May 11 11:10:21 brownie kernel: nouveau 0000:01:00.0: DRM: VRAM: 4096 MiB
Any help would be very gratefully received.
 
Old 05-12-2021, 12:47 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,502
Blog Entries: 1

Rep: Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232
Try adding to, or creating /etc/modules with, the following:
Code:
i2c
I just solved a very different module loading problem this way in this thread.
 
Old 05-12-2021, 01:35 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,274

Rep: Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966
the name of these modules are elan_i2c and hid_elan
Quote:
Failed to find module 'softdep elan_i2c pre: built-in'
'softdep elan_i2c pre: built-in' is not a valid name
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i2c-dev.h missing i2c read/write functions dbrazeau Programming 1 12-17-2015 10:40 PM
How to forward IOCTL's from i2c-dev.c to adapter driver (i2c-rt3352.c) elonica.pl Linux - Kernel 2 08-23-2011 02:03 AM
[SOLVED] No /dev/i2c-0 entry after insmod i2c-dev sajnanazeer Linux - Newbie 1 08-10-2011 07:39 AM
Help! Problems with i2c-dev. No more /dev/i2c-* em1l Fedora 0 10-28-2005 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration