OpenBSD is a monolithic kernel, unlike Linux module design.

You can enter the kernel on boot and disable device drivers, boot-config(8) .

On February 19, 2024 9:30:22 AM MST, "Kirill A. Korinsky" <kir...@korins.ky> 
wrote:
>On Mon, 19 Feb 2024 17:10:27 +0100,
>Nowarez Market wrote:
>> 
>> You should be able to do it by the /etc/bsd.re-config file, you can start 
>> from here:
>> 
>> http://man.openbsd.org/bsd.re-config
>> 
>> Please be very careful.
>> 
>> (It needs two reboots to apply any change)
>> 
>
>I feel consfused: isn't it a way to exclude some module?
>
>If yes, it isn't that I'm looking.
>
>For example, I'm using USB audio, but I'd like to ban USB audio which is
>included into my display, but not ban the module because if I do so, I
>won't able to use USB audio dingle which I use to connect to wireless
>headphones.
>
>Right now I have:
>
>  ~ $ usbdevs  
>  Controller /dev/usb0:
>  addr 01: 8086:0000 Intel, xHCI root hub
>  addr 02: 1050:0404 Yubico, YubiKey CCID
>  addr 03: 13d3:56f2 Azurewave, USB camera
>  addr 04: 8087:0026 Intel, Bluetooth
>  addr 05: 043e:9a61 LG Electronics Inc., USB2.1 Hub
>  addr 06: 043e:9a73 LG USA, product 0x9a73
>  addr 07: 043e:9a66 LG Electronics Inc., LG UltraFine Display Audio
>  addr 08: 043e:9a68 LG Electronlcs Inc., LG UltraFine Display Camera
>  addr 09: 05ac:0265 Apple Inc., Magic Trackpad
>  addr 10: 05ac:026c Apple Inc., Magic Keyboard with Numeric Keypad
>  addr 11: 043e:9a70 LG Electronics Inc., LG UltraFine Display Controls
>  addr 12: 0a12:4010 Cambridge Silicon Radio, product 0x4010
>  addr 13: 041e:3130 Creative, Creative BT-W5
>  ~ $
>
>and I would like somehow to disable
>
>  addr 07: 043e:9a66 LG Electronics Inc., LG UltraFine Display Audio
>  addr 08: 043e:9a68 LG Electronlcs Inc., LG UltraFine Display Camera
>
>but keeping
>
>  addr 03: 13d3:56f2 Azurewave, USB camera
>  addr 13: 041e:3130 Creative, Creative BT-W5
>
>I've tried to play with config -e /bsd but the best that I can figure
>out is how to disable uaudio, and not only one, specific, device.
>
>-- 
>wbr, Kirill
>

Reply via email to