ACPI Attach (acpi_ibm) stops mouse from working

John Baldwin jhb at freebsd.org
Thu Oct 25 12:20:07 PDT 2007


On Thursday 25 October 2007 01:27:59 pm Tom Judge wrote:
> Why would the psm/ibm_acpi attach order be changed by where abouts 
> acpi_ibm_load is in loader.conf?

Drivers are stored in linked lists in the kernel.  They are added to the list 
when the driver is added via the SYSINIT() in DRIVER_MODULE().  The order of 
SYSINIT's with the same (subsystem, level) depends on the order the modules 
are loaded (and even the order that files are linked when the kernel is 
built.. since the Makefile has the files in alpha order, this means /dev/aaa 
will usually get probed before /dev/bbb if both are in the kernel for 
example), and since psm(4) and acpi_ibm(4) both returned the same probe 
priority for this device, the first driver to probe it "won".

-- 
John Baldwin


More information about the freebsd-mobile mailing list