Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Force a device to use a different driver?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
berzs
n00b
n00b


Joined: 20 Mar 2020
Posts: 19
Location: Latvija

PostPosted: Wed May 20, 2020 4:03 pm    Post subject: Force a device to use a different driver? Reply with quote

I've had a nonfunctional touchpad for a long time now, on my ASUS X540UA
I've followed the troubleshooting I've found in other forum posts, however it still does not detect the device.
However, I found somebody who recommended to try to boot up another liveusb and find the module from there.
I booted up Ubuntu on a flash drive with a working touchpad, and through dmesg I found it detected an hid-multitouch i2c hid mouse as my touchpad.
and in lspci -vv it says the "SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)" uses i2c_i801 module.
I enabled this in the kernel, built, reinstalled, but when I lspci -vv on here:
Code:
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
        Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP SMBus
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at ef132000 (64-bit, non-prefetchable) [size=256]
        Region 4: I/O ports at f040 [size=32]
        Kernel driver in use: i801_smbus

It uses i801_smbus as the driver instead, and the touchpad doesn't work.
Is there any way to force it to use the i2c_i801 instead of i801_smbus?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3268

PostPosted: Wed May 20, 2020 4:26 pm    Post subject: Reply with quote

Have you tried i2cdetect and libinput list-devices?
What about topic 1065972?
Back to top
View user's profile Send private message
berzs
n00b
n00b


Joined: 20 Mar 2020
Posts: 19
Location: Latvija

PostPosted: Wed May 20, 2020 4:50 pm    Post subject: Reply with quote

charles17 wrote:
Have you tried i2cdetect and libinput list-devices?
What about topic 1065972?


libinput list-devices does not list the touchpad device
I'm not exactly sure what you want from i2cdetect, but here's i2cdetect -l:
Code:
i2c-3   unknown      DPDDC-A                            N/A
i2c-1   unknown      i915 gmbus dpb                     N/A
i2c-4   unknown      DPDDC-B                            N/A
i2c-2   unknown      i915 gmbus dpd                     N/A
i2c-0   unknown      i915 gmbus dpc                     N/A
i2c-5   unknown      SMBus I801 adapter at f040         N/A


I have the module specified in that thread enabled.
Is there no way to simply change the driver for the device?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45435
Location: 56N 3W

PostPosted: Wed May 20, 2020 7:23 pm    Post subject: Reply with quote

berzs,

Please put your entire kernel .config onto a pastebin site.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
berzs
n00b
n00b


Joined: 20 Mar 2020
Posts: 19
Location: Latvija

PostPosted: Thu May 21, 2020 1:25 pm    Post subject: Reply with quote

NeddySeagoon wrote:
berzs,

Please put your entire kernel .config onto a pastebin site.

http://dpaste.com/0J86M51
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum