Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Block specific module by udev on specific Hardware ?
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
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 357
Location: Germany

PostPosted: Mon Feb 17, 2020 7:06 am    Post subject: Block specific module by udev on specific Hardware ? Reply with quote

Hello,

i like to prevent my "04:00.2 USB controller: NVIDIA Corporation Device 1ad8 (rev a1)" from be taken by the xhci_pci module at boot:

Code:
lspci -nnk -d 10de:1ad8
04:00.2 USB controller [0c03]: NVIDIA Corporation Device [10de:1ad8] (rev a1)
        Subsystem: NVIDIA Corporation Device [10de:12a6]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci


Is there a way to tell UDEV that "10de:1ad8" must not use this module?

I like this controller to be taken by "Kernel driver in use: vfio-pci" instead and even that i got this:

Code:

/etc/modprobe.d/vfio.conf
--------------------------------------
options vfio-pci ids=10de:1e87,10de:10f8,10de:1ad8,10de:1ad9
install vfio-pci /opt/virt-tools/vfio-pci-override.sh


...xhci_hcd is loading faster. When i disable it in kernel, it works - but then its missing for all other usb3 controllers ^^

Thanks <3
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