Fwd: autoloading module when matching device
- Reply: Warner Losh : "Re: autoloading module when matching device"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Dec 2022 19:46:16 UTC
Forwarding from developers@ by indication of Hans, Maybe a devd(8) can do this? Just to be clear, the keyboard works nicely, but it would be better if it was detected during the hotplug :-) Thanks! ---------- Forwarded message --------- From: Hans Petter Selasky <hps@selasky.org> Date: Fri, Dec 9, 2022 at 8:34 PM Subject: Re: autoloading module when matching device To: Fernando Apesteguía <fernape@freebsd.org>, developers <developers@freebsd.org> On 12/9/22 19:57, Fernando Apesteguía wrote: > Hi all, > > I have a new usb keyboard that uses the ums(4) driver. However I need > to add it to kld_list to preload it since the module is not autoloaded > when the keyboard is plugged in. The keyboard I want to replace is > properly detected when plugged in, though. I thought there would be > some place where I could add some device id and map it to ums(4), but > I can't find it. I've had a look at devmatch(8) but I can't find any > related config files. > > Where do I need to look? > > Thanks! Hi Fernando, There is no such quirk yet. There are only quirks via usbconfig to prevent attach of ums or ukbd. However, this is a perfect question for freebsd-usb@freebsd.org . Let's continue there! --HPS